wake.ir.expressions.tuple_expression
module
#
TupleExpression
class
#
Bases: ExpressionAbc
Represents multiple expressions enclosed in parentheses.
Source code in wake/ir/expressions/tuple_expression.py
children: Iterator[ExpressionAbc]
property
#
Yields:
Type | Description |
---|---|
ExpressionAbc
|
Direct children of this node. |
components: Tuple[Optional[ExpressionAbc], ...]
property
#
Example
A component may be None
if it is omitted, for example (success, )
in the following code snippet:
Returns:
Type | Description |
---|---|
Tuple[Optional[ExpressionAbc], ...]
|
Tuple of expressions enclosed in parentheses in the order they appear in the source code. |