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

Method node

include/sonic/dom/handler.h:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192#undef SONIC_ADD_NODE
193
194 sonic_force_inline bool node() noexcept {
195 if (sonic_likely(np_ < cap_)) {
196 np_++;
197 return true;
198 } else {
199 return false;
200 }
201 }
202
203 NodeType *st_{nullptr};
204 size_t np_{0};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected