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

Method getInteger

ext/src/llvm/JSON.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return llvm::None;
49}
50llvm::Optional<int64_t> Object::getInteger(StringRef K) const {
51 if (auto *V = get(K))
52 return V->getAsInteger();
53 return llvm::None;
54}
55llvm::Optional<llvm::StringRef> Object::getString(StringRef K) const {
56 if (auto *V = get(K))
57 return V->getAsString();

Callers

nothing calls this directly

Calls 2

getFunction · 0.50
getAsIntegerMethod · 0.45

Tested by

no test coverage detected