/// <summary> /// Visits the specified left shift. /// </summary> /// <param name="leftShift">The left shift.</param> /// <returns></returns> protected virtual IExpression DeepCopy(LeftShift leftShift) { return this.DeepCopy((BinaryOperation)leftShift); }
/// <summary> /// Visits the specified left shift. /// </summary> /// <param name="leftShift">The left shift.</param> public override void Visit(ILeftShift leftShift) { LeftShift mutableLeftShift = new LeftShift(leftShift); this.resultExpression = this.myCodeCopier.DeepCopy(mutableLeftShift); }
/// <summary> /// Rewrites the children of the given left shift expression. /// </summary> public virtual void RewriteChildren(LeftShift leftShift) { this.RewriteChildren((BinaryOperation)leftShift); }
/// <summary> /// Visits the specified left shift. /// </summary> /// <param name="leftShift">The left shift.</param> /// <returns></returns> public virtual IExpression Visit(LeftShift leftShift) { return this.Visit((BinaryOperation)leftShift); }
/// <summary> /// Visits the specified left shift. /// </summary> /// <param name="leftShift">The left shift.</param> public override void Visit(ILeftShift leftShift) { LeftShift mutableLeftShift = leftShift as LeftShift; if (alwaysMakeACopy || mutableLeftShift == null) mutableLeftShift = new LeftShift(leftShift); this.resultExpression = this.myCodeMutator.Visit(mutableLeftShift); }