API reference
python:astx:astx.exceptions.FinallyHandlerStmt
class FinallyHandlerStmt
FinallyHandlerStmt(body: Block[AST], parent: Optional[ASTNodes] = None, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/exceptions.py:332
AST class for finally statements.
Attributes
-
kind — Type: ASTKind
-
body — Type: Block[AST]
Methods
-
__init__ — Initialize the instance.
-
__str__ — Return a string that represents the object.
-
get_struct — Return the AST structure of the object.