blob: f7a38cc511c89956b0fbe42254e05ec2457d9b5d [file] [log] [blame]
grammar t058rewriteAST42;
options {language=JavaScript;output=AST;}
a : type ID (',' ID)* ';' -> ^(type ID)+ ;
type : 'int' ;
ID : 'a'..'z'+ ;
WS : (' '|'\n') {$channel=HIDDEN;} ;