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

Method GetSourceRange

parser/parser.cc:196–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 }
195
196 SourceRange GetSourceRange(int64_t id) const {
197 if (auto it = positions_.find(id); it != positions_.end()) {
198 return it->second;
199 }
200 return SourceRange{};
201 }
202
203 int64_t NextId(const SourceRange& range) {
204 auto id = expr_id_++;

Callers 3

GlobalCallOrMacroImplMethod · 0.80
ExtractQualifiedNameMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected