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:358
Parse one generic for-in loop over a list-valued expression.
Parameters
-
for_loc — For loc.; Type: SourceLocation
-
loop_var_name — Name of loop var.; Type: str
-
loop_var_loc — Loop var loc.; Type: SourceLocation
-
iterable — Iterable.; Type: astx.Expr
Returns
Parsed one generic for-in loop over a list-valued expression.; Type: astx.ForInLoopStmt