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