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