[antlr-interest] using the generatred parser and lexer classes
Ketan Maheshwari
ketancmaheshwari at gmail.com
Mon Mar 15 01:47:22 PDT 2010
Hello Friends
While looking at the ways I can use the generated Lexer and Parser classes
of my grammar I stumbled thru this page:
http://www.antlr.org/wiki/pages/viewpage.action?pageId=789
It says that we can use the parser something like this:
RuleReturnScope result = parser.compilationUnit();
But, on my Parser class I do not see any method that really returns result
of this type.
All my methods for the grammar rules are simply void. panic!
Am I missing anything here?
Many thanks!
Ketan
More information about the antlr-interest
mailing list