/// <summary> /// Visits the specified bitwise or. /// </summary> /// <param name="bitwiseOr">The bitwise or.</param> /// <returns></returns> protected virtual IExpression DeepCopy(BitwiseOr bitwiseOr) { return this.DeepCopy((BinaryOperation)bitwiseOr); }
/// <summary> /// Visits the specified bitwise or. /// </summary> /// <param name="bitwiseOr">The bitwise or.</param> public override void Visit(IBitwiseOr bitwiseOr) { BitwiseOr mutableBitwiseOr = new BitwiseOr(bitwiseOr); this.resultExpression = this.myCodeCopier.DeepCopy(mutableBitwiseOr); }
/// <summary> /// Visits the specified bitwise or. /// </summary> /// <param name="bitwiseOr">The bitwise or.</param> public override void Visit(IBitwiseOr bitwiseOr) { BitwiseOr mutableBitwiseOr = bitwiseOr as BitwiseOr; if (alwaysMakeACopy || mutableBitwiseOr == null) mutableBitwiseOr = new BitwiseOr(bitwiseOr); this.resultExpression = this.myCodeMutator.Visit(mutableBitwiseOr); }
/// <summary> /// Rewrites the children of the given bitwise or expression. /// </summary> public virtual void RewriteChildren(BitwiseOr bitwiseOr) { this.RewriteChildren((BinaryOperation)bitwiseOr); }
/// <summary> /// Visits the specified bitwise or. /// </summary> /// <param name="bitwiseOr">The bitwise or.</param> /// <returns></returns> public virtual IExpression Visit(BitwiseOr bitwiseOr) { return this.Visit((BinaryOperation)bitwiseOr); }