Antlr-generated parser, skeleton