Home | History | Annotate | Download | only in tests
      1 grammar t031emptyAlt;
      2 options {
      3   language = Python;
      4 }
      5 
      6 r
      7     : NAME 
      8         ( {self.cond}?=> WS+ NAME
      9         | 
     10         )
     11         EOF
     12     ;
     13 
     14 NAME: ('a'..'z') ('a'..'z' | '0'..'9')+;
     15 NUMBER: ('0'..'9')+;
     16 WS: ' '+;
     17