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

Function ts_decl_rec

internal/cbm/doclink_ts.c:559–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559static void ts_decl_rec(ts_walk_t *w, TSNode name, bool exported, bool dflt) {
560 ts_sb_puts(w->sb, "\nD");
561 ts_node_field(w, name);
562 char flags[CBM_SZ_4];
563 size_t f = 0;
564 if (exported) {
565 flags[f++] = 'e';
566 }
567 if (dflt) {
568 flags[f++] = 'd';
569 }
570 ts_sb_field(w->sb, flags, f);
571}
572
573static void ts_walk_namespaces(ts_walk_t *w, TSNode body, const char *prefix, int depth);
574

Callers 1

ts_walk_declFunction · 0.85

Calls 3

ts_sb_putsFunction · 0.85
ts_node_fieldFunction · 0.85
ts_sb_fieldFunction · 0.85

Tested by

no test coverage detected