IronPython.Compiler.Ast.ExecStatement.NeedsLocalsDictionary C# (CSharp) Метод

NeedsLocalsDictionary() публичный Метод

public NeedsLocalsDictionary ( ) : bool
Результат bool
        public bool NeedsLocalsDictionary() {
            return _globals == null && _locals == null;
        }

Usage Example

Пример #1
0
        public override void PostWalk(ExecStatement node)
        {
            if (node.NeedsLocalsDictionary())
            {
                _currentScope.NeedsLocalsDictionary = true;
            }

            if (node.Locals == null)
            {
                _currentScope.HasLateBoundVariableSets = true;
            }
        }
All Usage Examples Of IronPython.Compiler.Ast.ExecStatement::NeedsLocalsDictionary