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

Method InsertOrAssignValueProvider

runtime/activation.cc:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool Activation::InsertOrAssignValueProvider(absl::string_view name,
110 ValueProvider provider) {
111 return values_
112 .insert_or_assign(name, ValueEntry{absl::nullopt, std::move(provider)})
113 .second;
114}
115
116bool Activation::InsertFunction(const cel::FunctionDescriptor& descriptor,
117 std::unique_ptr<cel::Function> impl) {

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64