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

Function cs_node_is

internal/cbm/lsp/cs_lsp.c:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static bool cs_node_is(TSNode n, const char *kind) {
91 if (ts_node_is_null(n))
92 return false;
93 return strcmp(ts_node_type(n), kind) == 0;
94}
95
96static TSNode cs_child_named_kind(TSNode parent, const char *kind) {
97 if (ts_node_is_null(parent))

Calls

no outgoing calls

Tested by

no test coverage detected