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

Function sig_generic_params

internal/cbm/callable_sig.c:840–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838/* ── Generic ───────────────────────────────────────────────────── */
839
840static void sig_generic_params(sig_ctx_t *c, TSNode node) {
841 TSNode params = sig_field(node, "parameters");
842 uint32_t count = ts_node_is_null(params) ? 0 : ts_node_named_child_count(params);
843 for (uint32_t i = 0; i < count; i++) {
844 TSNode p = ts_node_named_child(params, i);
845 if (sig_skipped_kind(ts_node_type(p))) {
846 continue;
847 }
848 TSNode type = sig_field(p, "type");
849 sig_entry_type(c, type, NULL);
850 }
851}
852
853/* ── Spelling pass ─────────────────────────────────────────────── */
854

Callers 1

sig_renderFunction · 0.85

Calls 3

sig_fieldFunction · 0.85
sig_skipped_kindFunction · 0.85
sig_entry_typeFunction · 0.85

Tested by

no test coverage detected