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

Method MakeDescriptor

extensions/math_ext_test.cc:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 : CelFunction(MakeDescriptor(name)) {}
130
131 static FunctionDescriptor MakeDescriptor(absl::string_view name) {
132 return FunctionDescriptor(name, true,
133 {CelValue::Type::kBool, CelValue::Type::kInt64,
134 CelValue::Type::kInt64});
135 }
136
137 absl::Status Evaluate(absl::Span<const CelValue> args, CelValue* result,
138 Arena* arena) const override {

Callers

nothing calls this directly

Calls 1

FunctionDescriptorClass · 0.85

Tested by

no test coverage detected