Home | History | Annotate | Download | only in combined
      1 grammar Combined;
      2 
      3 options {
      4 	language=ObjC;
      5 }
      6 
      7 stat: identifier+  ;
      8 
      9 identifier
     10     : ID
     11     ;
     12 
     13 
     14 ID  :   ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')*
     15     ;
     16 
     17 INT :   ('0'..'9')+
     18     ;
     19 
     20 WS  :   (   ' '
     21         |   '\t'
     22         |   '\r'
     23         |   '\n'
     24         )+
     25         { $channel=99; }
     26     ;    
     27