API reference
python:irx:irx.analysis.resolved_nodes.FunctionSignature
class FunctionSignature
FunctionSignature(name: str, parameters: tuple[ParameterSpec, ...], return_type: astx.DataType, calling_convention: CallingConvention, is_variadic: bool = False, is_extern: bool = False, exception_abi: bool = True, symbol_name: str = '', required_runtime_features: tuple[str, ...] = (), ffi: FFICallableInfo | None = None, metadata: dict[str, Any] = dict(), operation: CallOperation | None = None)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:369
Canonical semantic callable signature.
Normalize the stable callable contract that semantic analysis resolves and lowering consumes.
Attributes
-
name — Type: str
-
parameters — Type: tuple[ParameterSpec, Ellipsis]
-
return_type — Type: astx.DataType
-
calling_convention — Type: CallingConvention
-
is_variadic — Type: bool
-
is_extern — Type: bool
-
exception_abi — Type: bool; Generated functions return status and receive context plus a typed output slot for non-none results. Externs retain their declared ABI.
-
symbol_name — Type: str
-
required_runtime_features — Type: tuple[str, Ellipsis]
-
ffi — Type: FFICallableInfo | None
-
metadata — Type: dict[str, Any]
-
operation — Type: CallOperation | None
Methods
- __init__ —