public static Expression Pack(ExpressionCollection Value) { Expression x = new Expression.ArrayLiteral(null, null); foreach (Expression y in Value._Values) { x.AddChild(y); } return(x); }
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); }