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:127
Bind one visible name in a module namespace.
Parameters
-
local_name — Type: str
-
binding — Type: SemanticBinding
-
node — Type: astx.AST
-
module_key — Type: ModuleKey | None
Returns
Type: SemanticBinding