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

Function push_function_scope

internal/cbm/extract_unified.c:408–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408static bool push_function_scope(WalkState *state, uint32_t depth, const char *function_qn,
409 TSNode node) {
410 uint32_t existing_id = active_same_function_scope_id(state, function_qn, node);
411 return existing_id ? push_existing_lexical_scope(state, SCOPE_FUNC, depth, function_qn,
412 existing_id, node)
413 : push_lexical_scope(state, SCOPE_FUNC, depth, function_qn, node,
414 CBM_LEXICAL_SCOPE_FUNCTION);
415}
416
417static void push_call_scope(WalkState *state, uint32_t depth,
418 const CBMInvocationDescriptor *invocation) {

Callers 2

push_pre_node_scopeFunction · 0.85
push_boundary_scopesFunction · 0.85

Calls 3

push_lexical_scopeFunction · 0.85

Tested by

no test coverage detected