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

Function toString

bolt/parse/TypeResolver.cpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace {
40
41std::string toString(
42 const std::string& functionName,
43 const std::vector<TypePtr>& argTypes) {
44 std::ostringstream signature;
45 signature << functionName << "(";
46 for (auto i = 0; i < argTypes.size(); i++) {
47 if (i > 0) {
48 signature << ", ";
49 }
50 signature << argTypes[i]->toString();
51 }
52 signature << ")";
53 return signature.str();
54}
55
56std::string toString(
57 const std::vector<std::shared_ptr<const exec::FunctionSignature>>&

Callers 1

Calls 3

strMethod · 0.80
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected