wake.ir.statements.block
module
#
Block
class
#
Bases: StatementAbc
Block statements group multiple statements into a single block.
Example
Lines 3-5 in the following code:
Source code in wake/ir/statements/block.py
children
property
#
Yields:
Type | Description |
---|---|
StatementAbc
|
Direct children of this node. |
parent
property
#
Returns:
Type | Description |
---|---|
Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement, FunctionDefinition, ModifierDefinition, TryCatchClause]
|
Parent IR node. |