[antlr-interest] constructor in a Parser Class

Tarun Khanna tarunkhanna at gmail.com
Mon Jul 25 10:00:14 PDT 2005

If have some private variables to initialize, how do we specify these 
initializations in a constructor. If I try to write a constructor, the 
compiler complains..

I noticed the generated code contains constructors that do some stuff. I 
would want these constructors to additionally initialize some of my 
variables. How can that be done.

Tarun Khanna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050725/bd2beef7/attachment.html

More information about the antlr-interest mailing list