API reference
python:astx:astx.GotoStmt.__init__
method __init__
__init__(label: Identifier, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/flows.py:1086
Declared as: python:astx:astx.flows.GotoStmt.__init__
Initialize the Return instance.
Parameters
-
label โ Label.; Type: Identifier
-
loc โ Source coordinates associated with the node.; Type: SourceLocation
-
parent โ Parent node or enclosing scope.; Type: Optional[ASTNodes]
Returns
Type: None