| 107 | } |
| 108 | |
| 109 | bool 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 | |
| 116 | bool Activation::InsertFunction(const cel::FunctionDescriptor& descriptor, |
| 117 | std::unique_ptr<cel::Function> impl) { |