public Scope(ScopeStatement node, IScope outerScope, IPythonModule module) { OuterScope = outerScope; Module = module; if (node != null) { Module.AddAstNode(this, node); } DeclareBuiltinVariables(); }
public Scope(ScopeStatement node, IScope outerScope, IPythonModule module) { Check.ArgumentNotNull(nameof(module), module); OuterScope = outerScope; Module = module; if (node != null) { Module.AddAstNode(this, node); } DeclareBuiltinVariables(); }