[antlr-interest] public final void mFOO() in lexers?
Johannes Luber
jaluber at gmx.de
Fri Mar 21 03:48:55 PDT 2008
Gavin Lambert schrieb:
> The ANTLR grammar does let you specify "private", "protected", or
> "public" on a rule. I'm not sure if it actually uses that in the code
> generation or not, but if you really wanted private rules you could give
> it a try.
I don't know why the ANTLR grammar does allow this, but so far nothing
happens when you do specify it.
Johannes
More information about the antlr-interest
mailing list