/// <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); }
/// <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); }
/// <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); }
/// <summary> /// Rewrites the children of the given bitwise and expression. /// </summary> public virtual void RewriteChildren(BitwiseAnd bitwiseAnd) { this.RewriteChildren((BinaryOperation)bitwiseAnd); }
/// <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); }