All operands in the expression tree in prefix order
(self)
| 706 | |
| 707 | @property |
| 708 | def prefix_operands(self) -> List[MediumLevelILOperandType]: |
| 709 | """All operands in the expression tree in prefix order""" |
| 710 | result: List[MediumLevelILOperandType] = [MediumLevelILOperationAndSize(self.operation, self.size)] |
| 711 | for operand in self.operands: |
| 712 | if isinstance(operand, MediumLevelILInstruction): |
| 713 | result.extend(operand.prefix_operands) |
| 714 | else: |
| 715 | result.append(operand) |
| 716 | return result |
| 717 | |
| 718 | @property |
| 719 | def postfix_operands(self) -> List[MediumLevelILOperandType]: |
nothing calls this directly
no test coverage detected