IronPython.Compiler.Ast.DictionaryExpression.Reduce C# (CSharp) Method

Reduce() public method

public Reduce ( ) : Expression
return System.Linq.Expressions.Expression
        public override MSAst.Expression Reduce() {
            // create keys & values into array and then call helper function
            // which creates the dictionary
            if (_items.Length != 0) {
                return ReduceConstant() ?? ReduceDictionaryWithItems();
            }

            // empty dictionary
            return EmptyDictExpression;
        }