Expand description
Conditional (? :) expression parsing and evaluation.
Parses ternary conditionals with right associativity on top of Coalesce
expressions and flattens into Conditional for efficient evaluation.
The condition is evaluated first; on error the error is propagated without
evaluating either branch. Otherwise the selected branch is evaluated based on
Value::to_bool.
Enums§
- Conditional
- Conditional expression node.
Functions§
- parse_
conditional - Parse a conditional expression.