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

Method getString

ext/src/llvm/JSON.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 return llvm::None;
54}
55llvm::Optional<llvm::StringRef> Object::getString(StringRef K) const {
56 if (auto *V = get(K))
57 return V->getAsString();
58 return llvm::None;
59}
60const json::Object *Object::getObject(StringRef K) const {
61 if (auto *V = get(K))
62 return V->getAsObject();

Callers

nothing calls this directly

Calls 2

getAsStringMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected