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