I had another thought.
In my project it would be nicve to be able to tell the parser
which object it should use to store the ignored tokens.
Something like:
Parser oParser = new Parser( oSomeLexer, oIgnoredTokensManager )
Where the IgnoredTokensManager has the same methods and attributes
as the AnalysisAdapter except for the visitor methods.
Thomas
===============================================================================
Thomas Leonhardt email leonhardt@informatik.tu-darmstadt.de
TU Darmstadt WWW http://www.pi.informatik.tu-darmstadt.de
FG Praktische Informatik phone +49 / (0)6151 / 16 - 5313
Wilhelminenstr. 7 fax +49 / (0)6151 / 16 - 5472
D-64283 Darmstadt
Germany
===============================================================================