MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / getMap

Method getMap

include/sonic/dom/dynamicnode.h:602–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600 }
601
602 sonic_force_inline map_type* getMap() const {
603 sonic_assert(this->IsObject());
604 if (nullptr == children()) return nullptr;
605 return ((MetaNode*)(this->o.next.children))->map;
606 }
607
608 sonic_force_inline map_type* getMapUnsfe() const {
609 sonic_assert(this->IsObject());

Callers

nothing calls this directly

Calls 1

IsObjectMethod · 0.80

Tested by

no test coverage detected