[antlr-interest] "protected" lexer rules
Terence Parr
parrt at cs.usfca.edu
Tue Nov 9 07:18:20 PST 2004
On Nov 9, 2004, at 1:24 AM, Anthony Youngman wrote:
>
> My vote would go for "helper" or "subrule".
>
> As I understand it, though, the important difference is that these
> rules
> are "expanded" and don't exist in their own right in the generated
> code,
> so as long as that's made clear in the docu then okay.
Howdy. Actually, the rules still end up as methods in the lexer. :)
Need it for recursion and such. The issue is that they should not be
included in the overall rule that predicts which token will match.
Ter
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