MCPcopy Create free account
hub / github.com/Illumina/paragraph / decodeNumber

Method decodeNumber

external/jsoncpp/jsoncpp.cpp:770–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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