[type]
Parser

[grammar]
grammar T;
a : A {<InputText():writeln()>} ;
A : ('a'|'b')? 'c' ;

[start]
a

[input]
ac

[output]
"""ac
"""

