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

Method FindLazyOverloads

eval/public/cel_function_registry.cc:107–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107std::vector<const CelFunctionDescriptor*>
108CelFunctionRegistry::FindLazyOverloads(
109 absl::string_view name, bool receiver_style,
110 const std::vector<CelValue::Type>& types) const {
111 std::vector<LazyOverload> lazy_overloads =
112 modern_registry_.FindLazyOverloads(name, receiver_style, types);
113 std::vector<const CelFunctionDescriptor*> result;
114 result.reserve(lazy_overloads.size());
115
116 for (const LazyOverload& overload : lazy_overloads) {
117 result.push_back(&overload.descriptor);
118 }
119 return result;
120}
121
122} // namespace google::api::expr::runtime

Callers 2

TESTFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.36