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