Пример #1
0
 /// <summary>
 /// Visits the specified unary plus.
 /// </summary>
 /// <param name="unaryPlus">The unary plus.</param>
 public override void Visit(IUnaryPlus unaryPlus)
 {
     UnaryPlus mutableUnaryPlus = new UnaryPlus(unaryPlus);
     this.resultExpression = this.myCodeCopier.DeepCopy(mutableUnaryPlus);
 }
Пример #2
0
 /// <summary>
 /// Visits the specified unary plus.
 /// </summary>
 /// <param name="unaryPlus">The unary plus.</param>
 /// <returns></returns>
 protected virtual IExpression DeepCopy(UnaryPlus unaryPlus)
 {
     return this.DeepCopy((UnaryOperation)unaryPlus);
 }
Пример #3
0
 /// <summary>
 /// Visits the specified unary plus.
 /// </summary>
 /// <param name="unaryPlus">The unary plus.</param>
 public override void Visit(IUnaryPlus unaryPlus)
 {
     UnaryPlus mutableUnaryPlus = unaryPlus as UnaryPlus;
     if (alwaysMakeACopy || mutableUnaryPlus == null) mutableUnaryPlus = new UnaryPlus(unaryPlus);
     this.resultExpression = this.myCodeMutator.Visit(mutableUnaryPlus);
 }
Пример #4
0
 /// <summary>
 /// Rewrites the children of the given unary plus expression.
 /// </summary>
 public virtual void RewriteChildren(UnaryPlus unaryPlus)
 {
     this.RewriteChildren((UnaryOperation)unaryPlus);
 }
Пример #5
0
 /// <summary>
 /// Visits the specified unary plus.
 /// </summary>
 /// <param name="unaryPlus">The unary plus.</param>
 /// <returns></returns>
 public virtual IExpression Visit(UnaryPlus unaryPlus)
 {
     return this.Visit((UnaryOperation)unaryPlus);
 }