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

Method GetReference

common/ast.cc:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53const Reference* absl_nullable Ast::GetReference(int64_t expr_id) const {
54 auto iter = reference_map_.find(expr_id);
55 if (iter == reference_map_.end()) {
56 return nullptr;
57 }
58 return &iter->second;
59}
60
61SourceLocation Ast::ComputeSourceLocation(int64_t expr_id) const {
62 const auto& source_info = this->source_info();

Callers 3

TEST_PFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls 1

endMethod · 0.45

Tested by 3

TEST_PFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64