[type] Parser [grammar] grammar T; s @init { } @after { } : r=a ; a : 'x' 'y' ; Z : 'z' ; [start] s [input] xzy [output] """(a x z y) """ [errors] """line 1:1 extraneous input 'z' expecting 'y' """