MCPcopy Create free account
hub / github.com/Samsung/UTopia / decodeNumber

Method decodeNumber

external/jsoncpp/jsoncpp.cpp:765–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765bool Reader::decodeNumber(Token &token) {
766 Value decoded;
767 if (!decodeNumber(token, decoded))
768 return false;
769 currentValue().swapPayload(decoded);
770 currentValue().setOffsetStart(token.start_ - begin_);
771 currentValue().setOffsetLimit(token.end_ - begin_);
772 return true;
773}
774
775bool Reader::decodeNumber(Token &token, Value &decoded) {
776 // 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