t058rewriteAST42.g revision 324c4644fee44b9898524c09511bd33c3f12e2df
1
2grammar t058rewriteAST42;
3options {language=JavaScript;output=AST;}
4a : type ID (',' ID)* ';' -> ^(type ID)+ ;
5type : 'int' ;
6ID : 'a'..'z'+ ;
7WS : (' '|'\n') {$channel=HIDDEN;} ;