wake.ir.statements.revert_statement
module
#
RevertStatement
class
#
Bases: StatementAbc
Warning
Only matches reverts with user-defined errors:
This is an ExpressionStatement with a FunctionCall expression:Source code in wake/ir/statements/revert_statement.py
children: Iterator[FunctionCall]
property
#
Yields:
Type | Description |
---|---|
FunctionCall
|
Direct children of this node. |
error_call: FunctionCall
property
#
parent: Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement]
property
#
Returns:
Type | Description |
---|---|
Union[Block, DoWhileStatement, ForStatement, IfStatement, UncheckedBlock, WhileStatement]
|
Parent IR node. |