API reference
python:astx:astx.GotoStmt
class GotoStmt
GotoStmt(label: Identifier, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/flows.py:1244
Declared as: python:astx:astx.flows.GotoStmt
AST class for function Goto statement.
Attributes
-
kind — Type: ASTKind
-
label — Type: Identifier
Methods
-
__init__ — Initialize the Return instance.
-
__str__ — Return a string representation of the object.
-
get_struct — Return the AST structure of the object.