예제 #1
0
 private Expression ParseUnaryOperation(UnaryOperation unaryOperation)
 {
     unaryOperation.Operand = this.PopOperandStack();
       return unaryOperation;
 }
예제 #2
0
 private Expression ParseUnaryOperation(UnaryOperation unaryOperation) {
   Contract.Requires(unaryOperation != null);
   unaryOperation.Operand = this.PopOperandStack();
   return unaryOperation;
 }
예제 #3
0
파일: Copier.cs 프로젝트: riverar/devtools
 /// <summary>
 /// Visits the specified unary operation.
 /// </summary>
 /// <param name="unaryOperation">The unary operation.</param>
 /// <returns></returns>
 protected virtual IExpression DeepCopy(UnaryOperation unaryOperation)
 {
     unaryOperation.Operand = Substitute(unaryOperation.Operand);
       unaryOperation.Type = this.Substitute(unaryOperation.Type);
       return unaryOperation;
 }
예제 #4
0
파일: Copier.cs 프로젝트: riverar/devtools
 private void CopyChildren(UnaryOperation unaryOperation)
 {
     this.CopyChildren((Expression)unaryOperation);
       unaryOperation.Operand = this.Copy(unaryOperation.Operand);
 }
예제 #5
0
파일: Mutator.cs 프로젝트: riverar/devtools
 /// <summary>
 /// Visits the specified unary operation.
 /// </summary>
 /// <param name="unaryOperation">The unary operation.</param>
 /// <returns></returns>
 public virtual IExpression Visit(UnaryOperation unaryOperation)
 {
     unaryOperation.Operand = Visit(unaryOperation.Operand);
       unaryOperation.Type = this.Visit(unaryOperation.Type);
       return unaryOperation;
 }
예제 #6
0
파일: Mutator.cs 프로젝트: riverar/devtools
 /// <summary>
 /// Called from the type specific rewrite method to rewrite the common part of all unary operation expressions.
 /// </summary>
 public virtual void RewriteChildren(UnaryOperation unaryOperation)
 {
     this.RewriteChildren((Expression)unaryOperation);
       unaryOperation.Operand = this.Rewrite(unaryOperation.Operand);
 }