MCPcopy Create free account
hub / github.com/Kitware/VTK / decodeNumber

Method decodeNumber

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:763–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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