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

Function py_scope_bind

internal/cbm/lsp/py_lsp.c:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192static void py_scope_bind(PyLSPContext *ctx, const char *name, const CBMType *type) {
193 ctx->type_cache_gen++;
194 cbm_scope_bind(ctx->current_scope, name, type);
195 if (name && !cbm_scope_contains(ctx->current_scope, name))
196 py_disable_callable_value_proof(ctx);
197}
198
199static void py_scope_bind_callable(PyLSPContext *ctx, const char *name, const CBMType *type,
200 const char *callable_qn) {

Callers 15

py_bind_dotted_prefixesFunction · 0.85
py_bind_import_indexFunction · 0.85
py_bind_for_targetFunction · 0.85
py_process_statementFunction · 0.85
py_emit_call_forFunction · 0.85
py_bind_walrus_inFunction · 0.85
py_walk_if_statementFunction · 0.85
py_bind_parametersFunction · 0.85
py_process_functionFunction · 0.85
py_bind_module_classFunction · 0.85

Calls 3

cbm_scope_bindFunction · 0.85
cbm_scope_containsFunction · 0.85

Tested by

no test coverage detected