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

John D. Mitchell johnm-antlr at non.net
Mon Nov 8 11:37:25 PST 2004


>>>>> "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.

Take care,
	John


 
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