[antlr-interest] what causes the Group of rules

bace.spam at gmx.net bace.spam at gmx.net
Fri Apr 27 14:38:23 PDT 2007


Hi all.

Just a short question, I am using antlr v3 and antlr.works. In antlr.works I found out that you can group parser and lexer rules. 

// $<Group
NEWLINE                    : (('\r')? '\n' | '\r');
// $>

What does it mean? Is it only to support overview or has this some consequences to the parser/lexer behavior?

Thank you very much!
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070427/70512d45/attachment.html 


More information about the antlr-interest mailing list