| 452 | index_(0) {} |
| 453 | |
| 454 | void consume() override { |
| 455 | if (ABSL_PREDICT_FALSE(index_ >= size_)) { |
| 456 | ABSL_ASSERT(LA(1) == IntStream::EOF); |
| 457 | throw antlr4::IllegalStateException("cannot consume EOF"); |
| 458 | } |
| 459 | index_++; |
| 460 | } |
| 461 | |
| 462 | size_t LA(ptrdiff_t i) override { |
| 463 | if (ABSL_PREDICT_FALSE(i == 0)) { |