Home | History | Annotate | Download | only in functional
      1 grammar t051treeRewriteASTl;
      2 options {
      3     language=JavaScript;
      4     output=AST;
      5 }
      6 a : ID INT -> ^(ID INT);
      7 ID : 'a'..'z'+ ;
      8 INT : '0'..'9'+;
      9 WS : (' '|'\n') {$channel=HIDDEN;} ;
     10