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