MCPcopy Create free account
hub / github.com/ablab/spades / parse

Function parse

ext/src/llvm/JSON.cpp:510–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508} // namespace
509
510Expected<Value> parse(StringRef JSON) {
511 Parser P(JSON);
512 Value E = nullptr;
513 if (P.checkUTF8())
514 if (P.parseValue(E))
515 if (P.assertEnd())
516 return std::move(E);
517 return P.takeError();
518}
519char ParseError::ID = 0;
520
521static std::vector<const Object::value_type *> sortedElements(const Object &O) {

Callers

nothing calls this directly

Calls 4

checkUTF8Method · 0.80
parseValueMethod · 0.80
assertEndMethod · 0.80
takeErrorMethod · 0.45

Tested by

no test coverage detected