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