aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST8.g
blob: c3a6ffdf4f055dfa643fa0913542283b79ff3ce1 (plain)
1
2
3
4
5
6
7
8

grammar t058rewriteAST8;
options {language=JavaScript;output=AST;}
a : b -> b;
b : ID ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;