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

Function first_named_leaf

internal/cbm/extract_usages.c:1912–1917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1910}
1911
1912static TSNode first_named_leaf(TSNode node) {
1913 while (!ts_node_is_null(node) && ts_node_named_child_count(node) > 0) {
1914 node = ts_node_named_child(node, 0);
1915 }
1916 return node;
1917}
1918
1919static bool import_alias_contains(TSNode node, TSNode boundary) {
1920 for (TSNode parent = ts_node_parent(node);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected