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