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

Method Evaluate

eval/eval/function_step_test.cc:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 absl::Status Evaluate(absl::Span<const CelValue> args, CelValue* result,
84 google::protobuf::Arena* arena) const override {
85 if (!args.empty()) {
86 return absl::Status(absl::StatusCode::kInvalidArgument,
87 "Bad arguments number");
88 }
89
90 *result = value_;
91 return absl::OkStatus();
92 }
93
94 private:
95 CelValue value_;

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected