API reference
python:irx:irx.builder.extensions.calls.CallLoweringServices.convert
method convert
convert(node: astx.AST, value: ir.Value, target: astx.DataType) -> ir.Value
Source: packages/irx/src/irx/builder/extensions/calls.py:85
Emit the conversion selected by the resolved operand contract.
Parameters
-
node โ Syntax node to process.; Type: astx.AST
-
value โ Value to process.; Type: ir.Value
-
target โ Destination of the operation.; Type: astx.DataType
Returns
Result of this operation: emit the conversion selected by the resolved operand contract.; Type: ir.Value