conditionalExpression method

Parser conditionalExpression()

Implementation

Parser conditionalExpression() =>
    ref0(logicalOrExpression) &
    (ref1(token, '?') &
            ref0(expression) &
            ref1(token, ':') &
            ref0(expression))
        .optional();