MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / decodeNumber

Method decodeNumber

src/share/jsoncpp/jsoncpp.cpp:774–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774bool Reader::decodeNumber(Token& token) {
775 Value decoded;
776 if (!decodeNumber(token, decoded))
777 return false;
778 currentValue().swapPayload(decoded);
779 currentValue().setOffsetStart(token.start_ - begin_);
780 currentValue().setOffsetLimit(token.end_ - begin_);
781 return true;
782}
783
784bool Reader::decodeNumber(Token& token, Value& decoded) {
785 // Attempts to parse the number as an integer. If the number is

Callers

nothing calls this directly

Calls 3

swapPayloadMethod · 0.80
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected