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

Function toString

eval/CIPO_evaluation/common/gason.h:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 return fval;
71 }
72 char *toString() const {
73 assert(getTag() == JSON_STRING);
74 return (char *)getPayload();
75 }
76 JsonNode *toNode() const {
77 assert(getTag() == JSON_ARRAY || getTag() == JSON_OBJECT);
78 return (JsonNode *)getPayload();

Callers

nothing calls this directly

Calls 2

getTagFunction · 0.85
getPayloadFunction · 0.85

Tested by

no test coverage detected