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

Method InsertValueProducer

eval/public/activation.cc:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void Activation::InsertValueProducer(
85 absl::string_view name, std::unique_ptr<CelValueProducer> value_producer) {
86 value_map_.try_emplace(name, ValueEntry(std::move(value_producer)));
87}
88
89bool Activation::RemoveValueEntry(absl::string_view name) {
90 return value_map_.erase(name);

Callers 1

TESTFunction · 0.80

Calls 1

ValueEntryClass · 0.70

Tested by 1

TESTFunction · 0.64