API reference
python:astx:astx.AsyncForRangeLoopExpr.__init__
method __init__
__init__(variable: InlineVariableDeclaration, start: Optional[Expr], end: Expr, step: Optional[Expr], body: Block, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/flows.py:737
Declared as: python:astx:astx.flows.AsyncForRangeLoopExpr.__init__
Initialize the AsyncForRangeLoopExpr instance.
Parameters
-
variable — Type: InlineVariableDeclaration
-
start — Type: Optional[Expr]
-
end — Type: Expr
-
step — Type: Optional[Expr]
-
body — Type: Block
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]