Jurassic.Compiler.Scope.Scope C# (CSharp) Method

Scope() protected method

Creates a new Scope instance.
protected Scope ( Scope parentScope, int declaredVariableCount ) : System
parentScope Scope A reference to the parent scope, or null if this is /// the global scope.
declaredVariableCount int The number of variables declared in this scope.
return System
        protected Scope(Scope parentScope, int declaredVariableCount)
        {
            this.ParentScope = parentScope;
            this.variables = new Dictionary<string, DeclaredVariable>(declaredVariableCount);
            this.CanDeclareVariables = true;
            this.ExistsAtRuntime = true;
        }

Same methods

Scope::Scope ( Scope parentScope ) : System