MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / str

Method str

lite/load_and_run/src/helpers/json_loader.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67std::string JsonLoader::Value::str() {
68 if (Type::STRING == m_type) {
69 auto t = safe_cast<StringValue>();
70 return t->value();
71 }
72 return std::string();
73}
74
75void JsonLoader::expect(char c) {
76 mgb_assert(c == (*m_buf));

Callers 5

TextTableClass · 0.45
parse_jsonMethod · 0.45
parse_objectMethod · 0.45
utils.cppFile · 0.45
format_and_printMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected