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