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

Michael LeBlanc Mike at LeBlanc-Engineering.com
Thu Nov 1 11:16:55 PDT 2007


What is the usual way in v3 to reference the names from a grammar's  
tokens{} construct in the target language?  That is, if I have a  
token SOMETOKEN and my target is Java, how can I reference SOMETOKEN  
unqualified in a hand written Java file?


More information about the antlr-interest mailing list