[antlr-interest] public final void mFOO() in lexers?
Kenneth Domino
kenneth.domino at domemtech.com
Thu Mar 20 07:58:30 PDT 2008
Hi,
I was looking at the code generated for lexers and I noticed that
token type rules are translated into public routines, not private. I
understand why rules are public in parsers, and why mTokens() is
public. But, I don't understand why this is the case for the rest of
the token rules in the lexer. Is there a reason why, maybe to
influence the lexing by selecting some subset of rules?
Ken Domino
More information about the antlr-interest
mailing list