API reference
python:irx:irx.builder.extensions.calls.CallLoweringServices.invoke
method invoke
invoke(node: astx.AST, feature: str, name: str, args: list[ir.Value]) -> ir.Value
Source: packages/irx/src/irx/builder/extensions/calls.py:112
Activate a registered symbol and read its output only on success.
Parameters
-
node — Syntax node to process.; Type: astx.AST
-
feature — Feature.; Type: str
-
name — Name identifying the declaration or operation.; Type: str
-
args — Arguments supplied to the operation.; Type: list[ir.Value]
Returns
Result of this operation: activate a registered symbol and read its output only on success.; Type: ir.Value