MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / toNumber

Function toNumber

eval/CIPO_evaluation/common/gason.h:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 return ival & JSON_VALUE_PAYLOAD_MASK;
67 }
68 double toNumber() const {
69 assert(getTag() == JSON_NUMBER);
70 return fval;
71 }
72 char *toString() const {
73 assert(getTag() == JSON_STRING);
74 return (char *)getPayload();

Callers

nothing calls this directly

Calls 1

getTagFunction · 0.85

Tested by

no test coverage detected