Mercurial > projects > ddmd
view 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 |
line wrap: on
line source
module dmd.ArrayTypes; import dmd.Array; alias Vector!Object Objects; class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Statements : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class BaseClasses : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class ClassDeclarations : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Arguments : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Identifiers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Initializers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }