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

Function cs_field

internal/cbm/doclink_cs.c:930–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930static TSNode cs_field(TSNode n, const char *field) {
931 return ts_node_child_by_field_name(n, field, (uint32_t)strlen(field));
932}
933
934/* The children of a node, in order. ts_node_child(n, i) walks from the first
935 * child on every call, so a loop over i costs the square of the child count

Callers 12

cs_type_paramsFunction · 0.85
cs_put_tparamsFunction · 0.85
cs_put_sigFunction · 0.85
cs_first_param_thisFunction · 0.85
cs_collect_declaratorsFunction · 0.85
cs_header_brokenFunction · 0.85
cs_collect_memberFunction · 0.85
cs_collect_childFunction · 0.85
cs_put_basesFunction · 0.85
cs_emit_usingFunction · 0.85
cs_emit_typeFunction · 0.85
cs_place_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected