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

Function cs_node_is

internal/cbm/lsp/cs_lsp.c:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected