Home | History | Annotate | Download | only in tests
      1 grammar t035ruleLabelPropertyRef;
      2 options {
      3   language = Python;
      4 }
      5 
      6 a returns [bla]: t=b
      7         {
      8             $bla = $t.start, $t.stop, $t.text
      9         }
     10     ;
     11 
     12 b: A+;
     13 
     14 A: 'a'..'z';
     15 
     16 WS: ' '+  { $channel = HIDDEN };
     17