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