public virtual IExpression Clone(ModulusOperator op) { return(new ModulusOperator() { Left = CloneAndReturn(op.Left), Right = CloneValue(op.Left, op.Right) }.Normalize()); }
public override void Visit(ModulusOperator op) { Writer.Write("mod("); op.Left.Visit(this); Writer.Write(","); op.Right.Visit(this); Writer.Write(")"); }
public virtual void Visit(ModulusOperator op) { AddParenthesesIfNeeded(op, () => { op.Left.Visit(this); Writer.Write(" % "); op.Right.Visit(this); }); }
public virtual void Visit(ModulusOperator op) { op.Left.Visit(this); op.Right.Visit(this); }
void IExpressionVisitor.Visit(ModulusOperator op) { throw new NotSupportedException(); }
void IExpressionVisitor.Visit(ModulusOperator op) { _clone = Clone(op); }