예제 #1
0
 public AnonymousFunctionScope(ScriptCompilerContext ctx, AnonymousFunctionScope parent, ParameterDefinition[] parameters, int depth)
 {
     this.ctx          = ctx;
     this.Instructions = new CompilerInstructionCollection(ctx);
     Parent            = parent;
     Depth             = depth;
     Parameters        = new Dictionary <string, ParameterDefinition>();
     foreach (var param in parameters)
     {
         Parameters[param.Name] = param;
     }
 }
예제 #2
0
 public ScriptDiscoveryVisitor(ScriptCompilerContext ctx)
 {
     this.ctx = ctx;
 }
예제 #3
0
 public CompilerInstructionCollection(ScriptCompilerContext ctx)
 {
     this.ctx = ctx;
 }