1 2 3 4 5 6 7 8
grammar t032subrulePredict; options { language = JavaScript; } a: 'BEGIN' b WS+ 'END'; b: ( WS+ 'A' )+; WS: ' ';