[antlr-interest] reference tokens{} in other files

Johannes Luber jaluber at gmx.de
Thu Nov 1 14:21:01 PDT 2007


Michael LeBlanc wrote:
> On Nov 1, 2007, at 4:59 PM, Johannes Luber wrote:
> 
>> That's correct. It's not possible to change that, but adding fooParser
>> should be a minor inconvenience.
> 
> Unless you want to refer to them in case phrases in a switch statement. 
> Then it's a major inconvenience.
> 
In C#, you could use the alias directive to strip the prefix - but Java
doesn't that, does it?

Johannes


More information about the antlr-interest mailing list