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