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