API reference
python:arx:arx.parser.expressions.ExpressionParserMixin.parse_unary
method parse_unary
parse_unary(min_precedence: int = 0) -> astx.AST
Source: packages/arx/src/arx/parser/expressions.py:854
Parse prefix expressions with comparison-binding word negation.
Word not binds below comparisons but above and/or and emits the existing Boolean ! operation. Symbolic prefixes retain their higher precedence; parenthesize not when used in a tighter operand.
Parameters
- min_precedence — Type: int
Returns
Type: astx.AST