text: public void consume() {if (LA(1) == IntStream.EOF) {throw new IllegalStateException("cannot consume EOF");}lastChar = data[p];   if (p == n-1 && numMarkers==0) {n = 0;p = -1; lastCharBufferStart = lastChar;}p++;currentCharIndex++;sync(1);}