MCPcopy Create free account
hub / github.com/Snapchat/Valdi / toString

Method toString

valdi/src/valdi/runtime/Attributes/TextAttributeValueParser.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293StringBox TextAttributeValueParser::toString(const Value& value) {
294 auto parsed = doParse(nullptr, value, nullptr, false);
295 if (!parsed) {
296 return StringBox();
297 }
298
299 return StringCache::getGlobal().makeString(parsed.value()->toString());
300}
301
302} // namespace Valdi

Callers

nothing calls this directly

Calls 6

doParseFunction · 0.85
getGlobalFunction · 0.85
makeStringMethod · 0.80
toStringMethod · 0.65
valueMethod · 0.65
StringBoxClass · 0.50

Tested by

no test coverage detected