wake.ir.statements.unchecked_block
module
#
UncheckedBlock
class
#
Bases: StatementAbc
Example
Lines 2-4 in the following code:
Source code in wake/ir/statements/unchecked_block.py
children: Iterator[StatementAbc]
property
#
Yields:
Type | Description |
---|---|
StatementAbc
|
Direct children of this node. |
parent: Union[Block, DoWhileStatement, ForStatement, IfStatement, WhileStatement]
property
#
Returns:
Type | Description |
---|---|
Union[Block, DoWhileStatement, ForStatement, IfStatement, WhileStatement]
|
Parent IR node. |
statements: Tuple[StatementAbc, ...]
property
#
Can be empty.
Returns:
Type | Description |
---|---|
Tuple[StatementAbc, ...]
|
Statements in the block. |