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

Method NextId

parser/parser.cc:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 int64_t NextId(const SourceRange& range) {
204 auto id = expr_id_++;
205 if (range.begin != -1 || range.end != -1) {
206 positions_.insert(std::pair{id, range});
207 }
208 return id;
209 }
210
211 bool HasErrors() const { return error_count_ != 0; }
212

Callers 15

visitPrimaryExprMethod · 0.45
visitExprMethod · 0.45
visitConditionalOrMethod · 0.45
visitConditionalAndMethod · 0.45
visitRelationMethod · 0.45
visitCalcMethod · 0.45
visitUnaryMethod · 0.45
visitLogicalNotMethod · 0.45
visitNegateMethod · 0.45
visitSelectMethod · 0.45
visitMemberCallMethod · 0.45
visitIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected