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:709
Declared as: python:astx:astx.flows.BreakStmt.__init__
Initialize the BreakStmt instance.
Parameters
-
loc — Source coordinates associated with the node.; Type: SourceLocation
-
parent — Parent node or enclosing scope.; Type: Optional[ASTNodes]
Returns
Type: None