internal void AddScope(FunctionScope scope) { scopes.Add(scope); }
internal void AddChild(FunctionScope scope) { childScopes.Add(scope); scope.Parent = this; }
internal FlowSourceManager(Engine engine, bool debugMode, FunctionScope globalScope, FunctionScope contextScope, DebugController debugController) { this.engine = engine; this.debugMode = debugMode; this.contextScope = contextScope; this.globalScope = globalScope; this.debugController = debugController; callBackDictionary = new Dictionary <string, List <FlowCallEventHandler> >(); sources = new Dictionary <int, FlowSourceObjectBase>(); flowInfos = new List <FlowInfo>(); eventQueue = new EventQueue(); currentQueue = eventQueue; scope = new FunctionScope(ScopeType.Default); contextScope.AddChild(scope); scopes = new List <FunctionScope>(); breakPoints = new HashSet <int>(); Items = new Dictionary <string, object>(); }