[antlr-interest] paraphrase option in token declaration

CC cormier at u-picardie.fr
Fri Feb 7 07:27:33 PST 2003


Hi,
         I have in a lexer :
...
tokens {
         DCC     =       "DefClassConcept";
         DCE     =       "DefClassEntity";
         DCP     =       "DefClassProposition";
         DCO     =       "DefClassObject";
...
}
...
Is it possible to paraphrase DCC, DCE etc. ? How to do that?

Ok, it's a stupid question :
found in doc/metalang.html#TokensSection :
You may define options on the tokens defined in the tokens section.  The 
only option available so far is AST=class-type-to-instantiate.

Best regards




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list