Beispiel #1
0
 /// <summary>
 /// Visits the specified division.
 /// </summary>
 /// <param name="division">The division.</param>
 /// <returns></returns>
 protected virtual IExpression DeepCopy(Division division)
 {
     return this.DeepCopy((BinaryOperation)division);
 }
Beispiel #2
0
 /// <summary>
 /// Visits the specified division.
 /// </summary>
 /// <param name="division">The division.</param>
 public override void Visit(IDivision division)
 {
     Division mutableDivision = new Division(division);
     this.resultExpression = this.myCodeCopier.DeepCopy(mutableDivision);
 }
Beispiel #3
0
 /// <summary>
 /// Visits the specified division.
 /// </summary>
 /// <param name="division">The division.</param>
 /// <returns></returns>
 public virtual IExpression Visit(Division division)
 {
     return this.Visit((BinaryOperation)division);
 }
Beispiel #4
0
 /// <summary>
 /// Rewrites the children of the given division expression.
 /// </summary>
 public virtual void RewriteChildren(Division division)
 {
     this.RewriteChildren((BinaryOperation)division);
 }
Beispiel #5
0
 /// <summary>
 /// Visits the specified division.
 /// </summary>
 /// <param name="division">The division.</param>
 public override void Visit(IDivision division)
 {
     Division mutableDivision = division as Division;
     if (alwaysMakeACopy || mutableDivision == null) mutableDivision = new Division(division);
     this.resultExpression = this.myCodeMutator.Visit(mutableDivision);
 }