API reference
python:irx:irx.analysis.bindings.VisibleBindings.bind
method bind
bind(local_name: str, binding: SemanticBinding, *, node: astx.AST, module_key: ModuleKey | None = None) -> SemanticBinding
Source: packages/irx/src/irx/analysis/bindings.py:112
Bind one visible name in a module namespace.
Parameters
-
local_name — Name of local.; Type: str
-
binding — Resolved binding for the operation.; Type: SemanticBinding
-
node — Syntax node to process.; Type: astx.AST
-
module_key — Canonical module identity.; Type: ModuleKey | None
Returns
Result of this operation: bind one visible name in a module namespace.; Type: SemanticBinding