API reference
python:arx:arx.parser.exceptions.ExceptionParserMixin
class ExceptionParserMixin
Source: packages/arx/src/arx/parser/exceptions.py:18
Parse raising and structured exception regions.
Methods
-
exception_clause — Consume line markers only when a same-level clause follows.
-
exception_expression — Require an expression rather than a statement-valued operand.
-
exception_type_reference — Parse a nominal or module-qualified handler type reference.
-
parse_except_clause — Parse a handler with optional nominal types and local binding.
-
parse_raise_stmt — Parse an optional exception and optional explicit cause.
-
parse_statement — Keep exception statements out of expression operands.
-
parse_try_stmt — Parse ordered handlers, optional else, and optional finally.