MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / node_has_token

Function node_has_token

internal/cbm/extract_calls.c:3900–3908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3898}
3899
3900static bool node_has_token(TSNode node, const char *token) {
3901 uint32_t count = ts_node_child_count(node);
3902 for (uint32_t i = 0; i < count; i++) {
3903 if (strcmp(ts_node_type(ts_node_child(node, i)), token) == 0) {
3904 return true;
3905 }
3906 }
3907 return false;
3908}
3909
3910static bool is_callable_reference_value(CBMLanguage language, TSNode node) {
3911 const char *kind = ts_node_type(node);

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected