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

Method ConstFunction

eval/eval/function_step_test.cc:69–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67class ConstFunction : public CelFunction {
68 public:
69 explicit ConstFunction(const CelValue& value, absl::string_view name)
70 : CelFunction(CreateDescriptor(name)), value_(value) {}
71
72 static CelFunctionDescriptor CreateDescriptor(absl::string_view name) {
73 return CelFunctionDescriptor{name, false, {}};

Callers

nothing calls this directly

Calls 1

CreateDescriptorFunction · 0.85

Tested by

no test coverage detected