[antlr-interest] "protected" lexer rules

John D. Mitchell johnm-antlr at non.net
Sun Nov 7 15:19:39 PST 2004


>>>>> "matthew" == matthew ford <Matthew.Ford at forward.com.au> writes:
[...]

> what about private

Ugh. That would get even more confusing.

The "protected" keyword was used since the methods of those rules in the
generated lexer need to be overridable by sub-classes.

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