public void consume() {boolean skipEofCheck;if (p >= 0) {if (fetchedEOF) {skipEofCheck = p < tokens.size() - 1;}else {skipEofCheck = p < tokens.size();}}else {skipEofCheck = false;}if (!skipEofCheck && LA(1) == EOF) {throw new IllegalStateException("cannot consume EOF");}if (sync(p + 1)) {p = adjustSeekIndex(p + 1);}}
public virtual void Consume(){bool skipEofCheck;if (p >= 0){if (fetchedEOF){skipEofCheck = p < tokens.Count - 1;}else{skipEofCheck = p < tokens.Count;}}else{skipEofCheck = false;}if (!skipEofCheck && LA(1) == IntStreamConstants.EOF){throw new InvalidOperationException("cannot consume EOF");}if (Sync(p + 1)){p = AdjustSeekIndex(p + 1);}}