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

Method find

lib_acl_cpp/src/stdlib/token_tree.cpp:74–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74const token_node* token_tree::find(const char* key)
75{
76 ACL_TOKEN* token = acl_token_tree_word_match(tree_, key);
77 if (token == NULL) {
78 return NULL;
79 }
80
81 node_.set_node(token, this);
82 return &node_;
83}
84
85const token_node* token_tree::search(const char** text, const char* delimiters,
86 const char* delimiters_tab)

Callers

nothing calls this directly

Calls 2

set_nodeMethod · 0.80

Tested by

no test coverage detected