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

Method Null

include/sonic/dom/schema_handler.h:116–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 } while (0)
115
116 sonic_force_inline bool Null() noexcept {
117 if (cur_node_) {
118 cur_node_->SetNull();
119 return true;
120 }
121 SONIC_ADD_NODE();
122 new (&st_[np_ - 1]) NodeType(kNull);
123 return true;
124 }
125
126 sonic_force_inline bool Bool(bool val) noexcept {
127 if (cur_node_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected