grammar t058rewriteAST39;
options {language=JavaScript;output=AST;}
a : atom -> {this.adaptor.create(INT,"9")} atom ;
atom : INT ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;