[antlr-interest] Passing information into the parser
antlr at mirality.co.nz
Sun Dec 28 22:37:39 PST 2008
At 19:31 29/12/2008, Gokulakannan Somasundaram wrote:
>Can you also give me some pointers on how to pass arguments into
>the parser from external code?
Just define an additional constructor, or (easier) add some member
Don't forget though that the parser cannot influence the operation
of the lexer. The lexer runs independently and up front.
More information about the antlr-interest