示例#1
0
文件: Local.cs 项目: viktorius/Viktor
 internal Local(Compiler.CompilerContext ctx, Type type)
 {
     this.ctx = ctx;
     if (ctx != null)
     {
         value = ctx.GetFromPool(type);
     }
 }
示例#2
0
 internal Local(CompilerContext ctx, System.Type type)
 {
     this.ctx = ctx;
     if (ctx != null)
     {
         this.@value = ctx.GetFromPool(type);
     }
     this.type = type;
 }
示例#3
0
 internal Local(CompilerContext ctx, Type type)
 {
     this.ctx = ctx;
     if (ctx is object)
     {
         value = ctx.GetFromPool(type);
     }
     this.type = type;
 }
示例#4
0
 internal Local(Compiler.CompilerContext ctx, Type type)
 {
     this.ctx = ctx;
     if (ctx != null) { value = ctx.GetFromPool(type); }
     this.type = type;
 }