Пример #1
0
        public override void VisitExpressionInParentheses(ExpressionInParentheses expressionInParentheses)
        {
            sb.Append("new OpeningBrace(), ");

            expressionInParentheses.Expression.Accept(this);

            if (!expressionInParentheses.Expression.IsEmpty)
            {
                sb.Append(", ");
            }
            sb.Append("new ClosingBrace()");
        }
Пример #2
0
 public abstract void VisitExpressionInParentheses(ExpressionInParentheses expressionInParentheses);
Пример #3
0
 public override void VisitExpressionInParentheses(ExpressionInParentheses expressionInParentheses)
 {
     sb.Append("(");
     expressionInParentheses.Expression.Accept(this);
     sb.Append(")");
 }
Пример #4
0
 public override void VisitExpressionInParentheses(ExpressionInParentheses expressionInParentheses)
 {
     throw new NotImplementedException();
 }