| 53 | } |
| 54 | |
| 55 | std::shared_ptr<const Type> resolveVectorFunction( |
| 56 | const std::string& functionName, |
| 57 | const std::vector<TypePtr>& argTypes) { |
| 58 | if (auto vectorFunctionSignatures = |
| 59 | exec::getVectorFunctionSignatures(functionName)) { |
| 60 | for (const auto& signature : vectorFunctionSignatures.value()) { |
| 61 | exec::SignatureBinder binder(*signature, argTypes); |
| 62 | if (binder.tryBind()) { |
| 63 | return binder.tryResolveReturnType(); |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | return nullptr; |
| 69 | } |
| 70 | |
| 71 | std::shared_ptr<VectorFunction> getVectorFunction( |
| 72 | const std::string& name, |
no test coverage detected