[antlr-interest] Custom constructors in delegate grammars

Stevenson, Todd (GE Healthcare, consultant) ToddStevenson at ge.com
Thu Dec 10 09:32:54 PST 2009


I can't see how to create custom constructors for delegate grammars that
are part of a composite grammars.  On the surface it appears that I need
to use the '@members' block in the delegate grammar to create the custom
constructor.  However, this breaks when the delegate grammar is used by
multiple root grammars since the generated class name is a combination
of the two grammars.
 
Any suggestions?
 
thanks.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091210/80185b6f/attachment.html 


More information about the antlr-interest mailing list