API reference
python:astx:astx.flows.GotoStmt.__init__
method __init__
__init__(label: Identifier, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/flows.py:1260
Initialize the Return instance.
Parameters
-
label โ Type: Identifier
-
loc โ Type: SourceLocation
-
parent โ Type: Optional[ASTNodes]