[type] Parser [grammar] grammar T; s @init { } @after { } : r=a ; a : 'x' | 'y' ; [start] s [input] y [output] """(a y) """