[antlr-interest] A question about Tokens

johnclarke72 johnclarke at hotmail.com
Tue Jul 2 13:04:08 PDT 2002


In my Lexer I create a token using my own custom Token Class.  This 
class has some custom methods in it (eg getAttributes - returns a 
Hashtable).  However I don't know how to access these methods from my 
parser.

How can I access methods from a custom Token Class in my parser ?

I would be grateful for all advice offered.

John


 

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



More information about the antlr-interest mailing list