[antlr-interest] Custom lexer and parser constructors
Jim Idle
jimi at temporal-wave.com
Tue May 18 09:15:55 PDT 2010
Using a superClass=xyz option will probably get you where you want to be, but you might be better phrasing your question in terms of what you want to achieve rather than whether you can change the constructors.
However, it is just as easy to add members to the class and supply setter methods.
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Cameron Ross
> Sent: Tuesday, May 18, 2010 9:04 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Custom lexer and parser constructors
>
> Hi,
>
> Is there a way to define custom constructors for ANTLR lexers and
> parsers?
>
>
> Thanks,
> Cameon.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address
More information about the antlr-interest
mailing list