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