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

Function OverloadExists

eval/compiler/qualified_reference_resolver.cc:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool OverloadExists(const Resolver& resolver, absl::string_view name,
74 const std::vector<cel::Kind>& arguments_matcher,
75 bool receiver_style = false) {
76 return !resolver.FindOverloads(name, receiver_style, arguments_matcher)
77 .empty() ||
78 !resolver.FindLazyOverloads(name, receiver_style, arguments_matcher)
79 .empty();
80}
81
82// Return the qualified name of the most qualified matching overload, or
83// nullopt if no matches are found.

Callers 2

BestOverloadMatchFunction · 0.85
MaybeUpdateCallNodeMethod · 0.85

Calls 3

emptyMethod · 0.45
FindOverloadsMethod · 0.45
FindLazyOverloadsMethod · 0.45

Tested by

no test coverage detected