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

Method Evaluate

eval/eval/lazy_init_step.cc:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 subexpression_(std::move(subexpression)) {}
94
95 absl::Status Evaluate(ExecutionFrameBase& frame, Value& result,
96 AttributeTrail& attribute) const override {
97 CEL_RETURN_IF_ERROR(subexpression_->Evaluate(frame, result, attribute));
98
99 frame.comprehension_slots().ClearSlot(slot_index_);
100
101 return absl::OkStatus();
102 }
103
104 private:
105 size_t slot_index_;

Callers 2

EvaluateMethod · 0.45
EvaluateMethod · 0.45

Calls 1

ClearSlotMethod · 0.80

Tested by

no test coverage detected