Definition at line 86 of file ControlFlow.py.
◆ __init__()
ControlFlow.ControlFlowBool.__init__ |
( |
| self, |
|
|
| value ) |
Definition at line 87 of file ControlFlow.py.
87 def __init__(self, value):
88 self.value = value
89
◆ __and__()
ControlFlow.ControlFlowBool.__and__ |
( |
| self, |
|
|
| rhs ) |
Definition at line 90 of file ControlFlow.py.
90 def __and__(self, rhs):
91 return rhs if self.value else self
92
◆ __invert__()
ControlFlow.ControlFlowBool.__invert__ |
( |
| self | ) |
|
Definition at line 96 of file ControlFlow.py.
96 def __invert__(self):
97 return CFFalse if self.value else CFTrue
98
◆ __or__()
ControlFlow.ControlFlowBool.__or__ |
( |
| self, |
|
|
| rhs ) |
Definition at line 93 of file ControlFlow.py.
93 def __or__(self, rhs):
94 return self if self.value else rhs
95
◆ __repr__()
ControlFlow.ControlFlowBool.__repr__ |
( |
| self | ) |
|
Definition at line 99 of file ControlFlow.py.
99 def __repr__(self):
100 return "CFTrue" if self.value else "CFFalse"
101
102
◆ value
ControlFlow.ControlFlowBool.value = value |
The documentation for this class was generated from the following file: