comparison dmd/ArrayTypes.d @ 113:3482c73a991b

More cleanup for arrays
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Tue, 31 Aug 2010 23:57:32 +0100
parents 3a0b150c9841
children e28b18c23469
comparison
equal deleted inserted replaced
112:3f02152c5e68 113:3482c73a991b
1 module dmd.ArrayTypes; 1 module dmd.ArrayTypes;
2 2
3 import dmd.Array; 3 import dmd.Array;
4
5 alias Vector!Object Objects;
4 6
5 class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 7 class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
6 8
7 class Statements : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 9 class Statements : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
8 10
9 class BaseClasses : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 11 class BaseClasses : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
10 12
11 class ClassDeclarations : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 13 class ClassDeclarations : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
12 14
13 //class Dsymbols : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
14
15 alias Vector!Object Objects;
16 //class Objects : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
17
18 class Arguments : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 15 class Arguments : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
19 16
20 class Identifiers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 17 class Identifiers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }
21 18
22 class Initializers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } 19 class Initializers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }