================================================================================
simple conditional expression
================================================================================

foo = predicate() ? 1 : 2

--------------------------------------------------------------------------------

(config_file
  (body
    (attribute
      (identifier)
      (expression
        (conditional
          (expression
            (function_call
              (identifier)))
          (expression
            (literal_value
              (numeric_lit)))
          (expression
            (literal_value
              (numeric_lit))))))))

================================================================================
nested conditional expression expression
================================================================================

foo = ( true ? false : true ) ? "yes" : "no"

--------------------------------------------------------------------------------

(config_file
  (body
    (attribute
      (identifier)
      (expression
        (conditional
          (expression
            (expression
              (conditional
                (expression
                  (literal_value
                    (bool_lit)))
                (expression
                  (literal_value
                    (bool_lit)))
                (expression
                  (literal_value
                    (bool_lit))))))
          (expression
            (literal_value
              (string_lit
                (quoted_template_start)
                (template_literal)
                (quoted_template_end))))
          (expression
            (literal_value
              (string_lit
                (quoted_template_start)
                (template_literal)
                (quoted_template_end)))))))))

================================================================================
nested conditional expression expression without parentheses
================================================================================

foo =  true ? false : true  ? "yes" : "no"

--------------------------------------------------------------------------------

(config_file
  (body
    (attribute
      (identifier)
      (expression
        (conditional
          (expression
            (conditional
              (expression
                (literal_value
                  (bool_lit)))
              (expression
                (literal_value
                  (bool_lit)))
              (expression
                (literal_value
                  (bool_lit)))))
          (expression
            (literal_value
              (string_lit
                (quoted_template_start)
                (template_literal)
                (quoted_template_end))))
          (expression
            (literal_value
              (string_lit
                (quoted_template_start)
                (template_literal)
                (quoted_template_end)))))))))
