API reference
python:astx:astx.iterables.ForInLoopStmt.__init__
method __init__
__init__(target: astx.AST, iterable: astx.AST, body: astx.Block, loc: SourceLocation = NO_SOURCE_LOCATION, parent: astx.ASTNodes | None = None) -> None
Source: packages/astx/src/astx/iterables.py:39
Initialize one for-in statement.
Parameters
-
target — Type: astx.AST
-
iterable — Type: astx.AST
-
body — Type: astx.Block
-
loc — Type: SourceLocation
-
parent — Type: astx.ASTNodes | None