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

Function is_node_kind

internal/cbm/lsp/java_lsp.c:196–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196static bool is_node_kind(TSNode node, const char *kind) {
197 if (ts_node_is_null(node))
198 return false;
199 return strcmp(ts_node_type(node), kind) == 0;
200}
201
202static TSNode child_by_kind(TSNode parent, const char *kind) {
203 if (ts_node_is_null(parent))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected