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

Method node

include/sonic/dom/schema_handler.h:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314#undef SONIC_ADD_NODE
315
316 sonic_force_inline bool node() noexcept {
317 if (sonic_likely(np_ < cap_)) {
318 np_++;
319 return true;
320 } else {
321 return false;
322 }
323 }
324
325 NodeType *st_{nullptr};
326 NodeType *parent_node_{nullptr};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected