IronRuby.Compiler.Ast.AstGenerator.TransformToHashConstructor C# (CSharp) Method

TransformToHashConstructor() public method

public TransformToHashConstructor ( IList maplets ) : Expression
maplets IList
return System.Linq.Expressions.Expression
        public MSA.Expression/*!*/ TransformToHashConstructor(IList<Maplet>/*!*/ maplets) {
            return MakeHashOpCall(TransformMapletsToExpressions(maplets));
        }

Usage Example

Example #1
0
        private MSA.Expression /*!*/ TransformToReturnValue(AstGenerator /*!*/ gen)
        {
            Assert.NotNull(gen);

            if (_maplets != null && _expressions == null && _array == null)
            {
                return(gen.TransformToHashConstructor(_maplets));
            }

            return(TransformRead(gen, true /* Splat */));
        }
All Usage Examples Of IronRuby.Compiler.Ast.AstGenerator::TransformToHashConstructor