API reference
python:irx:irx.builder.protocols.VisitorMixinTypingBase._try_set_binary_op
method _try_set_binary_op
_try_set_binary_op(_lhs: ir.Value | None, _rhs: ir.Value | None, _op_code: str) -> bool
Source: packages/irx/src/irx/builder/protocols.py:1230
Try set binary op.
Parameters
-
_lhs โ Left operand.; Type: ir.Value | None
-
_rhs โ Right operand.; Type: ir.Value | None
-
_op_code โ Op code.; Type: str
Returns
Result of this operation: try set binary op.; Type: bool