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:355
Canonical semantic callable signature.
Normalize the stable callable contract that semantic analysis resolves and lowering consumes.
Attributes
-
name — Name identifying this declaration.; Type: str
-
parameters — Declared callable parameters.; Type: tuple[ParameterSpec, ...]
-
return_type — Declared result type.; Type: astx.DataType
-
calling_convention — Calling convention.; Type: CallingConvention
-
is_variadic — Whether is variadic.; Type: bool
-
is_extern — Whether is extern.; Type: bool
-
exception_abi — Generated functions return status and receive context plus a typed output slot for non-none results. Externs retain their declared ABI.; Type: bool
-
symbol_name — Name of symbol.; Type: str
-
required_runtime_features — Required runtime features.; Type: tuple[str, ...]
-
ffi — FFI.; Type: FFICallableInfo | None
-
metadata — Metadata associated with the operation.; Type: dict[str, Any]
-
operation — Operation to resolve or execute.; Type: CallOperation | None
Methods
- __init__ —