small refactoring for LAPCFGParser
add LAPCFGParser::Extent
add prunings of tag extension