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

Function cs_node_is

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

Source from the content-addressed store, hash-verified

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

Callers 2

cs_process_assignmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected