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