public ScriptProcessor(ScriptContext context) { _hasParent = true; if (context != null && context.Parent == null) Context = context; else Context = new ScriptContext(this, context); Context.Initialize(); ErrorHandler = new ErrorHandler(this); }
internal ScriptContext(ScriptProcessor processor, ScriptContext parent) { _processor = processor; Parent = parent; }