Posted By:
Ian_Warner
Posted On:
Monday, March 25, 2002 07:07 AM
The generated code extends the antlr.Parser class because you've declared so in the grammar file.
You could create own antlr.Parser sub-class (abstract if you wish) implementing your interface and declare in your grammar file:
class MyClass extends ParserImpl;
That should do the trick.