[antlr-interest] Re: Can I do "extends MyParser"

anthos71 bonjonbovi at yahoo.com
Sun Apr 25 18:37:40 PDT 2004


of course MyParser would extend Parser.

I missed to mention this.

Anthos
--- In antlr-interest at yahoogroups.com, "anthos71" <bonjonbovi at y...> wrote:
> Hi
> 
> Can I do something like
> 
> class LanguageParser extends TokenHandler{...}
> 
> instead of standard
> 
> class LanguageParser extends Parser{...}
> 
> ?
> 
> When I tried this, the antlr.Tool errored saying
> 
> error: grammar TokenHandler not defined
> 
> Ta,
> Anthos



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list