[antlr-interest] Re: "protected" lexer rules

Terence Parr parrt at cs.usfca.edu
Mon Nov 8 13:32:29 PST 2004



On Nov 8, 2004, at 11:37 AM, John D. Mitchell wrote:

>
>>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
>>>>>>> On Nov 7, 2004, at 8:58 PM, kozchris writes:
> [...]
>
>> Hi.  Local makes sense too actually.  It's definitely not overloaded 
>> in
>> the grammar name space, but it too has a meaning as in "local 
>> variable".
>> Hmm...it's good actually.  subrule is very specific, but is an 
>> overloaded
>> term.  Damn!
>
> No, it runs into the same problem as with "private".  The rules are
> available to subclasses of the lexer so they aren't really local.

Well, I'm pretty sure inheritance of grammars will go away.

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!





 
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