API reference
python:irx:irx.analysis.resolved_nodes.ReturnResolution
class ReturnResolution
ReturnResolution(callable: CallableResolution, expected_type: astx.DataType, value_type: astx.DataType | None, returns_void: bool, implicit_conversion: ImplicitConversion | None = None)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:1320
Resolved return-statement semantics.
Capture how one return statement relates to the enclosing function signature and any implicit conversion that analysis inserted.
Attributes
-
callable — Type: CallableResolution
-
expected_type — Type: astx.DataType
-
value_type — Type: astx.DataType | None
-
returns_void — Type: bool
-
implicit_conversion — Type: ImplicitConversion | None
Methods
- __init__ —