API reference
python:irx:irx.analysis.resolved_nodes.ImplicitConversion
class ImplicitConversion
ImplicitConversion(source_type: astx.DataType | None, target_type: astx.DataType | None)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:996
One semantically inserted implicit conversion.
Record one source-to-target type conversion that semantic analysis validated and lowering should honor directly.
Attributes
-
source_type — Type: astx.DataType | None
-
target_type — Type: astx.DataType | None
-
numeric — Type: NumericConversion | None; Checked-policy classification for supported numeric domains. This describes required guards; lowering must implement the conversion plan.
Methods
-
__init__ —
-
__post_init__ — Classify numeric source and destination domains during analysis.
Attributes
-
numeric —