Block
woke.ast.ir.statement.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 woke/ast/ir/statement/block.py
parent: Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement, FunctionDefinition, ModifierDefinition, TryCatchClause]
property
#
Returns:
Type | Description |
---|---|
Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement, FunctionDefinition, ModifierDefinition, TryCatchClause]
|
Parent IR node. |