[antlr-interest] Adding Utility Methods to a parser

Dave McD davemac2 at yahoo.com
Fri Mar 10 10:32:55 PST 2006


I'm not all that familiar with Java and am new to ANTLR, so this may be obvious for other folks here.  Question: How can I add additional methods to the Parser class that ANTLR generates?  I want to define some utlity methods that I can use in my actions within the rules.  Or is there a better way to do this?
   
  thanks
   
  Dave Mc
   

		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060310/689d488a/attachment-0001.html


More information about the antlr-interest mailing list