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

Function typeToBaseName

bolt/expression/fuzzer/ArgumentTypeFuzzer.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40namespace bytedance::bolt::fuzzer {
41
42std::string typeToBaseName(const TypePtr& type) {
43 return boost::algorithm::to_lower_copy(std::string{type->kindName()});
44}
45
46std::optional<TypeKind> baseNameToTypeKind(const std::string& typeName) {
47 auto kindName = boost::algorithm::to_upper_copy(typeName);

Calls 1

kindNameMethod · 0.45

Tested by

no test coverage detected