pub fn parse_conditional(input: &str) -> IResult<&str, Conditional>Expand description
Parse a conditional expression.
Entry point for the ? : layer in the precedence chain.
Parses Coalesce first; if followed by ? it builds
Conditional::Ternary, otherwise it wraps into Conditional::Primary.
Right-associative by recursive call on the false branch.