Mercurial > projects > ddmd
view dmd/ArrayTypes.d @ 122:c77e9f4f1793
Statements -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 02 Sep 2010 23:37:49 +0100 |
parents | 347de076ad34 |
children | 767a01c2a272 |
line wrap: on
line source
module dmd.ArrayTypes; import dmd.common; import dmd.Array; import dmd.TemplateParameter; import dmd.Statement; alias Vector!Object Objects; alias Vector!TemplateParameter TemplateParameters; alias Vector!Statement Statements; 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; } }