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; } }
public ScriptDiscoveryVisitor(ScriptCompilerContext ctx) { this.ctx = ctx; }
public CompilerInstructionCollection(ScriptCompilerContext ctx) { this.ctx = ctx; }