MCPcopy Create free account
hub / github.com/SOUI2/soui / decodeNumber

Method decodeNumber

third-part/jsoncpp/src/lib_json/json_reader.cpp:556–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556bool Reader::decodeNumber(Token& token) {
557 Value decoded;
558 if (!decodeNumber(token, decoded))
559 return false;
560 currentValue().swapPayload(decoded);
561 currentValue().setOffsetStart(token.start_ - begin_);
562 currentValue().setOffsetLimit(token.end_ - begin_);
563 return true;
564}
565
566bool Reader::decodeNumber(Token& token, Value& decoded) {
567 // 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