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