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

Function scope_open

src/pipeline/doc_links_cs.c:5107–5112  ·  view source on GitHub ↗

An open scope: a using in view names a namespace or type the repository * does not declare, or the project's global usings could not be evaluated. * A name found nowhere may come from there. */

Source from the content-addressed store, hash-verified

5105 * does not declare, or the project's global usings could not be evaluated.
5106 * A name found nowhere may come from there. */
5107static bool scope_open(const cs_ctx_t *c) {
5108 if (c->unit >= 0 && c->ix->units[c->unit].open) {
5109 return true;
5110 }
5111 return c->f->regions[c->region].open;
5112}
5113
5114/* Why a simple name was found at no scope level. */
5115static cs_res_t simple_unfound(const cs_ctx_t *c) {

Callers 1

simple_unfoundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected