API reference
python:arx:arx.parser.control_flow.ControlFlowParserMixin
class ControlFlowParserMixin
Source: packages/arx/src/arx/parser/control_flow.py:38
Control-flow parser mixin.
Methods
-
_looks_like_removed_for_range_header — Return whether the current token begins the removed colon range.
-
_parse_for_iterable_stmt — Parse one generic for-in loop over a list-valued expression.
-
parse_assert_stmt — Parse one fatal assertion statement.
-
parse_block — Parse a block of nodes.
-
parse_for_count_stmt — Parse count-style for loop.
-
parse_for_stmt — Parse for-loop expressions.
-
parse_if_stmt — Parse the `if` expression.
-
parse_inline_var_declaration — Parse inline variable declaration used by count-style for loops.
-
parse_return_function — Parse the return expression.
-
parse_var_expr — Parse typed variable declarations.
-
parse_while_stmt — Parse the `while` expression.