Home | History | Annotate | Download | only in functional
      1 grammar t057autoAST43;
      2 options {language=JavaScript;output=AST;}
      3 a : A b=B b=B c+=C c+=C D {s = $D.text} ;
      4 A : 'a' ;
      5 B : 'b' ;
      6 C : 'c' ;
      7 D : 'd' ;
      8 WS : (' '|'\n') {$channel=HIDDEN;} ;
      9