API reference
python:astx:astx.BreakStmt.__init__
method __init__
__init__(loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/flows.py:828
Declared as: python:astx:astx.flows.BreakStmt.__init__
Initialize the BreakStmt instance.
Parameters
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]