Home | History | Annotate | Download | only in functional
      1 
      2 grammar t058rewriteAST42;
      3 options {language=JavaScript;output=AST;}
      4 a : type ID (',' ID)* ';' -> ^(type ID)+ ;
      5 type : 'int' ;
      6 ID : 'a'..'z'+ ;
      7 WS : (' '|'\n') {$channel=HIDDEN;} ;