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

Class LazyFunctionEntry

runtime/function_registry.h:127–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 };
126
127 struct LazyFunctionEntry {
128 LazyFunctionEntry(
129 const cel::FunctionDescriptor& descriptor,
130 std::unique_ptr<cel::runtime_internal::FunctionProvider> provider)
131 : descriptor(std::make_unique<cel::FunctionDescriptor>(descriptor)),
132 function_provider(std::move(provider)) {}
133
134 // Extra indirection needed to preserve pointer stability for the
135 // descriptors.
136 std::unique_ptr<cel::FunctionDescriptor> descriptor;
137 std::unique_ptr<cel::runtime_internal::FunctionProvider> function_provider;
138 };
139
140 struct RegistryEntry {
141 std::vector<StaticFunctionEntry> static_overloads;

Callers 1

RegisterLazyFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected