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

Function node_is

internal/cbm/lsp/php_lsp.c:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static bool node_is(TSNode n, const char *kind) {
71 if (ts_node_is_null(n))
72 return false;
73 return strcmp(ts_node_type(n), kind) == 0;
74}
75
76static TSNode child_named(TSNode parent, const char *kind) {
77 if (ts_node_is_null(parent))

Callers 2

process_assignmentFunction · 0.85
parse_narrowing_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected