wake.ir.statements.try_statement
module
#
TryStatement
class
#
Bases: StatementAbc
Example
Source code in wake/ir/statements/try_statement.py
children
property
#
Yields:
Type | Description |
---|---|
Union[TryCatchClause, FunctionCall]
|
Direct children of this node. |
clauses
property
#
Returns:
Type | Description |
---|---|
Tuple[TryCatchClause, ...]
|
Try/catch clauses. |
external_call
property
#
Returns:
Type | Description |
---|---|
FunctionCall
|
External call executed in the try statement. |
parent
property
#
Returns:
Type | Description |
---|---|
Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement]
|
Parent IR node. |