예제 #1
0
        public static TypeDefinitionCollection FromArray(params Boo.Lang.Compiler.Ast.TypeDefinition[] items)
        {
            TypeDefinitionCollection collection = new TypeDefinitionCollection();

            collection.Extend(items);
            return(collection);
        }
예제 #2
0
 public Boo.Lang.Compiler.Ast.TypeDefinitionCollection PopRange(int begin)
 {
     Boo.Lang.Compiler.Ast.TypeDefinitionCollection range = new Boo.Lang.Compiler.Ast.TypeDefinitionCollection(_parent);
     range.InnerList.Extend(InternalPopRange(begin));
     return(range);
 }