MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / consume

Method consume

parser/parser.cc:454–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)) {

Callers 1

consumeUntilMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected