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