MCPcopy Create free account
hub / github.com/bytedance/bolt / resolveSimpleFunction

Function resolveSimpleFunction

bolt/functions/FunctionRegistry.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104std::shared_ptr<const Type> resolveSimpleFunction(
105 const std::string& functionName,
106 const std::vector<TypePtr>& argTypes) {
107 if (auto resolvedFunction =
108 exec::simpleFunctions().resolveFunction(functionName, argTypes)) {
109 return resolvedFunction->type();
110 }
111
112 return nullptr;
113}
114
115std::shared_ptr<const Type> resolveVectorFunction(
116 const std::string& functionName,

Callers 1

resolveFunctionFunction · 0.85

Calls 2

resolveFunctionMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected