public virtual void Visit(Concatenate e) { Expression[] operands = new Expression[e.Operands.Count]; for (int i = 0; i < e.Operands.Count; ++i) { operands[i] = Transform(e.Operands[i]); } result = new Concatenate(e.SourceSpan, operands); }
public virtual void Visit(Concatenate e) { o.Write("( "); bool bFirst = true; foreach (Expression operand in e.Operands) { if (!bFirst) { o.Write(" .. "); } bFirst = false; operand.Accept(this); } o.Write(" )"); }