[type] Parser [grammar] grammar T; a : t=('x'|'y') {} ; [start] a [input] x [output] """x """