コード例 #1
0
ファイル: Copier.cs プロジェクト: riverar/devtools
 /// <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
ファイル: Copier.cs プロジェクト: riverar/devtools
 /// <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
ファイル: Mutator.cs プロジェクト: riverar/devtools
 /// <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
ファイル: Mutator.cs プロジェクト: riverar/devtools
 /// <summary>
 /// Rewrites the children of the given exclusive or expression.
 /// </summary>
 public virtual void RewriteChildren(ExclusiveOr exclusiveOr)
 {
     this.RewriteChildren((BinaryOperation)exclusiveOr);
 }
コード例 #5
0
ファイル: Mutator.cs プロジェクト: riverar/devtools
 /// <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);
 }