public static GeneratorExpressionCollection FromArray(params Boo.Lang.Compiler.Ast.GeneratorExpression[] items) { var collection = new GeneratorExpressionCollection(); collection.AddRange(items); return(collection); }
public Boo.Lang.Compiler.Ast.GeneratorExpressionCollection PopRange(int begin) { Boo.Lang.Compiler.Ast.GeneratorExpressionCollection range = new Boo.Lang.Compiler.Ast.GeneratorExpressionCollection(_parent); range.InnerList.Extend(InternalPopRange(begin)); return(range); }