[antlr-interest] Replacing the token type

Gokhan Caglar gcaglar at gmail.com
Wed May 30 17:35:16 PDT 2007


Hi, I was wondering what would be the simplest way of changing the
instantiated token class?  I guess I have to derive from CommonToken, and
and CommonTokenCreator, but how can I hook that up to the lexer?
Thanks,
Gokhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070530/77eb095f/attachment.html 


More information about the antlr-interest mailing list