And you should pretty much always use the superClass option for any serious project.
Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Terence Parr > Sent: Tuesday, February 23, 2010 12:09 PM > To: Christian Pontesegger > Cc: [email protected] > Subject: Re: [antlr-interest] Abstract tree parser > > Hi. when I need to do this I use superClass option. > Ter > On Feb 23, 2010, at 11:45 AM, Christian Pontesegger wrote: > > > Hi, > > > > I am creating a treeparser in java which needs some methods. I do not > > want to put them into the @members section as the code is quite > large. > > Is there a way to create an abstract class for the parser? Then I > could > > put the the abstract methods into the @members section and implement > > them in a subclass. > > > > Is there a way to do that? > > > > thanks > > Christian > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: http://www.antlr.org/mailman/options/antlr- > interest/your-email-address > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
