コード例 #1
0
        public static Expression Pack(ExpressionCollection Value)
        {
            Expression x = new Expression.ArrayLiteral(null, null);

            foreach (Expression y in Value._Values)
            {
                x.AddChild(y);
            }
            return(x);
        }
コード例 #2
0
        public static ExpressionCollection Unpack(Expression Value)
        {
            ExpressionCollection x = new ExpressionCollection();

            foreach (Expression y in Value.Children)
            {
                x.Add(y.NameOf("F0" + x.Count.ToString()), y);
            }
            return(x);
        }