API reference
python:arx:arx.parser.control_flow.ControlFlowParserMixin._parse_for_iterable_stmt
method _parse_for_iterable_stmt
_parse_for_iterable_stmt(*, for_loc: SourceLocation, loop_var_name: str, loop_var_loc: SourceLocation, iterable: astx.Expr) -> astx.ForInLoopStmt
Source: packages/arx/src/arx/parser/control_flow.py:253
Parse one generic for-in loop over a list-valued expression.
Parameters
-
for_loc — Type: SourceLocation
-
loop_var_name — Type: str
-
loop_var_loc — Type: SourceLocation
-
iterable — Type: astx.Expr
Returns
Type: astx.ForInLoopStmt