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

Method call

bolt/expression/tests/ExprCompilerTest.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 core::TypedExprPtr call(
88 const std::string& name,
89 const std::vector<core::TypedExprPtr>& args) {
90 std::vector<TypePtr> argTypes;
91 for (auto& arg : args) {
92 argTypes.push_back(arg->type());
93 }
94 auto returnType = parse::resolveScalarFunctionType(name, argTypes);
95 return std::make_shared<core::CallTypedExpr>(returnType, args, name);
96 }
97
98 core::TypedExprPtr bigint(int64_t value) {
99 return std::make_shared<core::ConstantTypedExpr>(BIGINT(), value);

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected