wake.ir.expressions.conditional
module
#
Conditional
class
#
Bases: ExpressionAbc
Source code in wake/ir/expressions/conditional.py
children: Iterator[ExpressionAbc]
property
#
Yields:
Type | Description |
---|---|
ExpressionAbc
|
Direct children of this node. |
condition: ExpressionAbc
property
#
Returns:
Type | Description |
---|---|
ExpressionAbc
|
Condition expression. |
false_expression: ExpressionAbc
property
#
Returns:
Type | Description |
---|---|
ExpressionAbc
|
Expression evaluated when the condition is false. |
true_expression: ExpressionAbc
property
#
Returns:
Type | Description |
---|---|
ExpressionAbc
|
Expression evaluated when the condition is true. |