API reference
python:astx:astx.flows.DoWhileStmt.__init__
method __init__
__init__(condition: Expr, body: Block, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/flows.py:1318
Initialize the DoWhileStmt instance.
Parameters
-
condition — Type: Expr
-
body — Type: Block
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]