Пример #1
0
 public virtual IExpression Clone(MultiplicationOperator op)
 {
     return(new MultiplicationOperator()
     {
         Left = CloneAndReturn(op.Left),
         Right = CloneValue(op.Left, op.Right)
     }.Normalize());
 }
Пример #2
0
 public virtual void Visit(MultiplicationOperator op)
 {
     AddParenthesesIfNeeded(op, () =>
     {
         op.Left.Visit(this);
         Writer.Write(" * ");
         op.Right.Visit(this);
     });
 }
Пример #3
0
 public virtual void Visit(MultiplicationOperator op)
 {
     op.Left.Visit(this);
     op.Right.Visit(this);
 }
 void IExpressionVisitor.Visit(MultiplicationOperator op)
 {
     throw new NotSupportedException();
 }
Пример #5
0
 void IExpressionVisitor.Visit(MultiplicationOperator op)
 {
     _clone = Clone(op);
 }