blob: 54ad312b891dc8a969afd080f5a289e873c7136a [file] [log] [blame]
grammar t058rewriteAST49;
options {language=JavaScript;output=AST;}
a : 'int' ID (',' ID)* ';' -> ^('int' ID+) ;
op : '+'|'-' ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;