[type] Parser [grammar] grammar T; @parser::members {} s : a+ ; a : {} ID {}? {} | {} ID {}? {} ; ID : 'a'..'z'+ ; INT : '0'..'9'+; WS : (' '|'\n') -> skip ; [start] s [input] x x y [output] alt 1 alt 1 alt 1