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