[antlr-interest] ANTLR3 Actions after template rewrite

Kailey Joanette kaileyjo at bigbluebubble.com
Wed Mar 28 08:40:04 PDT 2007

Is it possible to perform an action after a template rewrite? I know you can
put code in the @after section. but this would perform before the rewrite
would it not? Since the way templates work they don't actual complete until
later (at least that is my understanding).  I have a list of symbols that I
need to use in the template rewrite, but I need to clear it for every
instance of a single rule.  But I don't want to hold on to a table for each
instance and then output it later.


Does that even make sense?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070328/194b2860/attachment.html 

More information about the antlr-interest mailing list