1
2grammar t058rewriteAST68;
3options {language=JavaScript;output=AST;}
4a : x=(INT|ID) -> $x ;
5INT: '0'..'9'+;
6ID : 'a'..'z'+;
7WS : (' '|'\n') {$channel=HIDDEN;} ;