TransformExpressions() private method

private TransformExpressions ( IList arguments ) : AstExpressions
arguments IList
return AstExpressions
示例#1
0
        internal MSA.Expression /*!*/ TransformToArray(AstGenerator /*!*/ gen)
        {
            int splattedCount;
            int splatted = IndexOfSplatted(out splattedCount);

            if (splatted >= 0)
            {
                return(UnsplatArguments(gen, 0));
            }

            // TODO: optimize big arrays
            return(Methods.MakeArrayOpCall(gen.TransformExpressions(_expressions)));
        }
示例#2
0
        internal MSA.Expression/*!*/ TransformToArray(AstGenerator/*!*/ gen) {
            int splattedCount;
            int splatted = IndexOfSplatted(out splattedCount);
            if (splatted >= 0) {
                return UnsplatArguments(gen, 0);
            }

            // TODO: optimize big arrays
            return Methods.MakeArrayOpCall(gen.TransformExpressions(_expressions));
        }