IronPython.Compiler.Ast.Parameter.FinishBind C# (CSharp) Метод

FinishBind() приватный Метод

private FinishBind ( bool needsLocalsDictionary ) : Expression
needsLocalsDictionary bool
Результат System.Linq.Expressions.Expression
        internal MSAst.Expression FinishBind(bool needsLocalsDictionary) {
            if (_variable.AccessedInNestedScope || needsLocalsDictionary) {
                _parameter = Expression.Parameter(typeof(object), Name);
                var cell = Ast.Parameter(typeof(ClosureCell), Name);
                return new ClosureExpression(_variable, cell, _parameter);
            } else {
                return _parameter = Ast.Parameter(typeof(object), Name);
            }
        }