Another feature I'm working on requires the ability to push an attribute scope to the stack without running any code in the *rule's* @init block. I hadn't planned an @after block, but I suppose one could be used with an implementation of IDisposable.
I'll have more details probably by next week. Sam -----Original Message----- From: Johannes Luber [mailto:[email protected]] Sent: Wednesday, January 21, 2009 1:58 PM To: Sam Harwell Cc: [email protected] Subject: Re: [antlr-dev] @init for global scopes? Sam Harwell schrieb: > I'd like to add a @init{} support for global scopes. The code from the > @init would simply go in the scope class' constructor. Any objections? > Do you plan an @after section as well? Or is one unnecessary? What would be a typical use case? Johannes > > Sam > > > ------------------------------------------------------------------------ > > _______________________________________________ > antlr-dev mailing list > [email protected] > http://www.antlr.org/mailman/listinfo/antlr-dev _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org/mailman/listinfo/antlr-dev
