Beispiel #1
0
        public static ModuleCollection FromArray(params Boo.Lang.Compiler.Ast.Module[] items)
        {
            ModuleCollection collection = new ModuleCollection();

            collection.Extend(items);
            return(collection);
        }
Beispiel #2
0
        public static ModuleCollection FromArray(params Boo.Lang.Compiler.Ast.Module[] items)
        {
            var collection = new ModuleCollection();

            collection.AddRange(items);
            return(collection);
        }
Beispiel #3
0
 public Boo.Lang.Compiler.Ast.ModuleCollection PopRange(int begin)
 {
     Boo.Lang.Compiler.Ast.ModuleCollection range = new Boo.Lang.Compiler.Ast.ModuleCollection(_parent);
     range.InnerList.Extend(InternalPopRange(begin));
     return(range);
 }