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