Mercurial > projects > ddmd
view dmd/ArrayTypes.d @ 77:ad4792a1cfd6
more D-ification container accessing
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Sun, 29 Aug 2010 14:36:55 +0100 |
parents | 7e0d548de9e6 |
children | be2ab491772e |
line wrap: on
line source
module dmd.ArrayTypes; import dmd.Array; class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Expressions : 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 Dsymbols : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Objects : 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; } }