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