MCPcopy Create free account
hub / github.com/acl-dev/acl / next_node

Method next_node

lib_acl_cpp/src/stdlib/token_tree.cpp:121–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121const token_node* token_tree::next_node()
122{
123 if (iter_ == NULL) {
124 logger_error("call first_node first!");
125 return NULL;
126 }
127
128 ACL_TOKEN* token = tree_->iter_next(iter_, tree_);
129 if (token == NULL) {
130 return NULL;
131 }
132 node_.set_node(token, this);
133 return &node_;
134}
135
136} // namespace acl

Callers

nothing calls this directly

Calls 1

set_nodeMethod · 0.80

Tested by

no test coverage detected