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

Function ts_has_default

internal/cbm/doclink_ts.c:669–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669static bool ts_has_default(TSNode stmt) {
670 uint32_t nc = ts_node_child_count(stmt);
671 for (uint32_t i = 0; i < nc; i++) {
672 if (ts_kind(ts_node_child(stmt, i), "default")) {
673 return true;
674 }
675 }
676 return false;
677}
678
679static void ts_walk_export_clause(ts_walk_t *w, TSNode clause, TSNode src) {
680 TSTreeCursor cur = ts_tree_cursor_new(clause);

Callers 1

ts_walk_exportFunction · 0.85

Calls 1

ts_kindFunction · 0.85

Tested by

no test coverage detected