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

Function usage_lexical_scope

internal/cbm/extract_usages.c:1638–1642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1636}
1637
1638static const CBMLexicalScope *usage_lexical_scope(const WalkState *state, uint32_t id) {
1639 return state && id > 0 && id <= (uint32_t)state->lexical_scope_count
1640 ? &state->lexical_scopes[id - 1U]
1641 : NULL;
1642}
1643
1644static uint32_t active_lexical_scope_id(const WalkState *state) {
1645 if (!state) {

Calls

no outgoing calls

Tested by

no test coverage detected