public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     if (Process(runtimeArgumentHandleExpression))
     {
         visitor.Visit(runtimeArgumentHandleExpression);
     }
     base.Visit(runtimeArgumentHandleExpression);
 }
Пример #2
0
 public virtual void onASTElement(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression) { }
Пример #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public RuntimeArgumentHandleExpression(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
     : base(runtimeArgumentHandleExpression)
 {
 }
Пример #4
0
 public void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     Contract.Requires(runtimeArgumentHandleExpression != null);
       throw new NotImplementedException();
 }
Пример #5
0
 public void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     this.traverser.Traverse(runtimeArgumentHandleExpression);
 }
Пример #6
0
 /// <summary>
 /// Traverses the runtime argument handle expression.
 /// </summary>
 public void Traverse(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     Contract.Requires(runtimeArgumentHandleExpression != null);
       if (this.preorderVisitor != null) this.preorderVisitor.Visit(runtimeArgumentHandleExpression);
       if (this.StopTraversal) return;
       this.TraverseChildren(runtimeArgumentHandleExpression);
       if (this.StopTraversal) return;
       if (this.postorderVisitor != null) this.postorderVisitor.Visit(runtimeArgumentHandleExpression);
 }
Пример #7
0
        public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
{ MethodEnter(runtimeArgumentHandleExpression);
            base.TraverseChildren(runtimeArgumentHandleExpression);
     MethodExit();   }
Пример #8
0
 public void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     this.result = this.copier.Copy(runtimeArgumentHandleExpression);
 }
Пример #9
0
 public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     allElements.Add(new InvokInfo(Traverser, "IRuntimeArgumentHandleExpression", runtimeArgumentHandleExpression));
 }
Пример #10
0
 public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     base.TraverseChildren(runtimeArgumentHandleExpression);
     ((RuntimeArgumentHandleExpression)runtimeArgumentHandleExpression).Type = this.platformType.SystemRuntimeArgumentHandle;
 }
Пример #11
0
 /// <summary>
 /// Generates IL for the specified runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression">The runtime argument handle expression.</param>
 public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     this.generator.Emit(OperationCode.Arglist);
       this.StackSize++;
 }
 public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     if(Process(runtimeArgumentHandleExpression)){visitor.Visit(runtimeArgumentHandleExpression);}
     base.Visit(runtimeArgumentHandleExpression);
 }
Пример #13
0
 public void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     this.result = this.rewriter.Rewrite(runtimeArgumentHandleExpression);
 }
Пример #14
0
 /// <summary>
 /// Rewrites the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public virtual IExpression Rewrite(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     var mutableRuntimeArgumentHandleExpression = runtimeArgumentHandleExpression as RuntimeArgumentHandleExpression;
       if (mutableRuntimeArgumentHandleExpression == null) return runtimeArgumentHandleExpression;
       this.RewriteChildren(mutableRuntimeArgumentHandleExpression);
       return mutableRuntimeArgumentHandleExpression;
 }
Пример #15
0
 /// <summary>
 /// Visits the specified runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression">The runtime argument handle expression.</param>
 public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     RuntimeArgumentHandleExpression mutableRuntimeArgumentHandleExpression = runtimeArgumentHandleExpression as RuntimeArgumentHandleExpression;
     if (alwaysMakeACopy || mutableRuntimeArgumentHandleExpression == null) mutableRuntimeArgumentHandleExpression = new RuntimeArgumentHandleExpression(runtimeArgumentHandleExpression);
     this.resultExpression = this.myCodeMutator.Visit(mutableRuntimeArgumentHandleExpression);
 }
Пример #16
0
 /// <summary>
 /// Returns a shallow copy of the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public RuntimeArgumentHandleExpression Copy(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     return new RuntimeArgumentHandleExpression(runtimeArgumentHandleExpression);
 }
 /// <summary>
 /// Rewrites the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public virtual IExpression Rewrite(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     return runtimeArgumentHandleExpression;
 }
Пример #18
0
 public virtual void onASTElement(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
 }
Пример #19
0
 public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression) {
   base.TraverseChildren(runtimeArgumentHandleExpression);
   ((RuntimeArgumentHandleExpression)runtimeArgumentHandleExpression).Type = this.platformType.SystemRuntimeArgumentHandle;
 }
Пример #20
0
 /// <summary>
 /// Performs some computation with the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public virtual void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
 }
Пример #21
0
    /// <summary>
    /// Returns a shallow copy of the given runtime argument handle expression.
    /// </summary>
    /// <param name="runtimeArgumentHandleExpression"></param>
    public RuntimeArgumentHandleExpression Copy(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression) {
      Contract.Requires(runtimeArgumentHandleExpression != null);
      Contract.Ensures(Contract.Result<RuntimeArgumentHandleExpression>() != null);

      return new RuntimeArgumentHandleExpression(runtimeArgumentHandleExpression);
    }
Пример #22
0
 /// <summary>
 /// Traverses the children of the runtime argument handle expression.
 /// </summary>
 public virtual void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     Contract.Requires(runtimeArgumentHandleExpression != null);
       this.TraverseChildren((IExpression)runtimeArgumentHandleExpression);
 }
Пример #23
0
    /// <summary>
    /// Returns a deep copy of the given runtime argument handle expression.
    /// </summary>
    /// <param name="runtimeArgumentHandleExpression"></param>
    public RuntimeArgumentHandleExpression Copy(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression) {
      Contract.Requires(runtimeArgumentHandleExpression != null);
      Contract.Ensures(Contract.Result<RuntimeArgumentHandleExpression>() != null);

      var mutableCopy = this.shallowCopier.Copy(runtimeArgumentHandleExpression);
      this.CopyChildren((Expression)mutableCopy);
      return mutableCopy;
    }
Пример #24
0
 /// <summary>
 /// Performs some computation with the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public virtual void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     this.Visit((IExpression)runtimeArgumentHandleExpression);
 }
 /// <summary>
 /// Performs some computation with the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public virtual void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
 }
Пример #26
0
 public void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     throw new NotImplementedException();
 }
Пример #27
0
 /// <summary>
 /// Visits the specified runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression">The runtime argument handle expression.</param>
 public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     RuntimeArgumentHandleExpression mutableRuntimeArgumentHandleExpression = new RuntimeArgumentHandleExpression(runtimeArgumentHandleExpression);
     this.resultExpression = this.myCodeCopier.DeepCopy(mutableRuntimeArgumentHandleExpression);
 }
 public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression) {
   base.TraverseChildren(runtimeArgumentHandleExpression);
 }
Пример #29
0
 /// <summary>
 /// Returns a deep copy of the given runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression"></param>
 public RuntimeArgumentHandleExpression Copy(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     var mutableCopy = this.shallowCopier.Copy(runtimeArgumentHandleExpression);
       this.CopyChildren((Expression)mutableCopy);
       return mutableCopy;
 }
Пример #30
0
 public override void TraverseChildren(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     MethodEnter(runtimeArgumentHandleExpression);
     base.TraverseChildren(runtimeArgumentHandleExpression);
     MethodExit();
 }
Пример #31
0
 /// <summary>
 /// Visits the specified runtime argument handle expression.
 /// </summary>
 /// <param name="runtimeArgumentHandleExpression">The runtime argument handle expression.</param>
 public override void Visit(IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression)
 {
     RuntimeArgumentHandleExpression mutableRuntimeArgumentHandleExpression = runtimeArgumentHandleExpression as RuntimeArgumentHandleExpression;
     if (mutableRuntimeArgumentHandleExpression == null) {
       this.resultExpression = runtimeArgumentHandleExpression;
       return;
     }
     this.resultExpression = this.myCodeMutator.Visit(mutableRuntimeArgumentHandleExpression);
 }