API reference
python:irx:irx.analysis.resolved_nodes.ResolvedOperator
class ResolvedOperator
ResolvedOperator(op_code: str, result_type: astx.DataType | None = None, mode: astx.NumericMode = astx.NumericMode.CHECKED, lhs_type: astx.DataType | None = None, rhs_type: astx.DataType | None = None, flags: SemanticFlags = SemanticFlags(), computation_type: astx.DataType | None = None, lhs_conversion: ImplicitConversion | None = None, rhs_conversion: ImplicitConversion | None = None)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:1293
Normalized operator meaning.
Capture the normalized operator opcode, operand types, result type, and semantic flags for one expression.
Attributes
-
op_code — Operator spelling.; Type: str
-
result_type — Resolved result type.; Type: astx.DataType | None
-
mode — Selected processing mode.; Type: astx.NumericMode
-
lhs_type — Type of left operand.; Type: astx.DataType | None
-
rhs_type — Type of right operand.; Type: astx.DataType | None
-
flags — Flags.; Type: SemanticFlags
-
computation_type — Numeric operand type, distinct from comparison results.; Type: astx.DataType | None
-
lhs_conversion — Left operand conversion.; Type: ImplicitConversion | None
-
rhs_conversion — Right operand conversion.; Type: ImplicitConversion | None
Methods
- __init__ —