Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Rewrites the children of the given left shift expression.
 /// </summary>
 public virtual void RewriteChildren(LeftShift leftShift)
 {
     this.RewriteChildren((BinaryOperation)leftShift);
 }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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);
 }