[antlr-interest] "protected" lexer rules
matthew ford
Matthew.Ford at forward.com.au
Sun Nov 7 15:13:39 PST 2004
what about
private
----- Original Message -----
From: "Terence Parr" <parrt at cs.usfca.edu>
To: <antlr-interest at yahoogroups.com>
Sent: Monday, November 08, 2004 10:04 AM
Subject: [antlr-interest] "protected" lexer rules
>
> Ok, folks, time to come up with a better name for lexer rules that are
> not real tokens (they are only rules called by other rules). Currently
> it's "protected", which is hideous:
>
> FLOAT : (DIGIT)+ '.' DIGIT | (DIGIT)+ ;
>
> protected
> DIGIT : '0'..'9' ;
>
> Ick. So, should it be an option or keyword? What would the name be?
> I can't even describe it exactly even in two words. :(
>
> "non token"? "method"? "macro"? "internal"?
>
> Help!
>
> I need to implement this now in the 3.0 system.
>
> 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
>
>
>
>
>
>
>
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