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

Method Evaluate

eval/eval/create_map_step.cc:242–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 explicit MutableMapStep(int64_t expr_id) : ExpressionStep(expr_id) {}
241
242 absl::Status Evaluate(ExecutionFrame* frame) const override {
243 frame->value_stack().Push(cel::CustomMapValue(
244 NewMutableMapValue(frame->arena()), frame->arena()));
245 return absl::OkStatus();
246 }
247};
248
249class DirectMutableMapStep final : public DirectExpressionStep {

Callers

nothing calls this directly

Calls 3

CustomMapValueClass · 0.50
PushMethod · 0.45
arenaMethod · 0.45

Tested by

no test coverage detected