mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-08 12:10:06 +01:00
23 lines
433 B
Python
23 lines
433 B
Python
#!/usr/bin/env python3
|
|
|
|
from osaca.parser.operand import Operand
|
|
|
|
|
|
class ConditionOperand(Operand):
|
|
def __init__(
|
|
self,
|
|
ccode=None,
|
|
source=False,
|
|
destination=False,
|
|
):
|
|
super().__init__("condition", source, destination)
|
|
self._ccode = ccode
|
|
|
|
@property
|
|
def ccode(self):
|
|
return self._ccode
|
|
|
|
@ccode.setter
|
|
def ccode(self, ccode):
|
|
self._ccode = ccode
|