public override void Visit(TernaryExpression ternary)
        {
            EncapsulateNoValue(ternary.LeftExpression);

            Result.Append("? ");

            EncapsulateNoValue(ternary.MiddleExpression);

            Result.Append(": ");

            EncapsulateNoValue(ternary.RightExpression);
        }
        public override void Visit(TernaryExpression ternary)
        {
            // Evaluates the left expression and saves the value
            ternary.LeftExpression.Accept(this);

            var left = ConversionUtility.Convert <bool>(Result);

            if (left)
            {
                ternary.MiddleExpression.Accept(this);
            }
            else
            {
                ternary.RightExpression.Accept(this);
            }
        }