Mercurial > projects > ddmd
annotate dmd/ArrayTypes.d @ 94:3a0b150c9841
Objects -> Vector!Object iteration 1
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 23:00:34 +0100 |
parents | be2ab491772e |
children | 3482c73a991b |
rev | line source |
---|---|
0 | 1 module dmd.ArrayTypes; |
2 | |
3 import dmd.Array; | |
4 | |
5 class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
6 | |
7 class Statements : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
8 | |
9 class BaseClasses : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
10 | |
11 class ClassDeclarations : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
12 | |
74
7e0d548de9e6
Switch Arrays of Dsymbols to the new templated Vector type
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
0
diff
changeset
|
13 //class Dsymbols : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } |
0 | 14 |
94
3a0b150c9841
Objects -> Vector!Object iteration 1
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
84
diff
changeset
|
15 alias Vector!Object Objects; |
3a0b150c9841
Objects -> Vector!Object iteration 1
Eldar Insafutdinov <e.insafutdinov@gmail.com>
parents:
84
diff
changeset
|
16 //class Objects : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } |
0 | 17 |
18 class Arguments : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
19 | |
20 class Identifiers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } | |
21 | |
22 class Initializers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } |