Mercurial > projects > ddmd
view dmd/TupleDeclaration.d @ 13:427f8aa74d28
On the road to make Phobos compilable
author | korDen |
---|---|
date | Mon, 12 Apr 2010 16:29:33 +0400 |
parents | 10317f0c89a5 |
children | 460959608115 |
line wrap: on
line source
module dmd.TupleDeclaration; import dmd.Declaration; import dmd.ArrayTypes; import dmd.TypeTuple; import dmd.Loc; import dmd.Identifier; import dmd.Dsymbol; import dmd.Type; class TupleDeclaration : Declaration { Objects objects; int isexp; // 1: expression tuple TypeTuple tupletype; // !=NULL if this is a type tuple this(Loc loc, Identifier ident, Objects objects) { super(ident); this.type = null; this.objects = objects; this.isexp = 0; this.tupletype = null; } Dsymbol syntaxCopy(Dsymbol) { assert(false); } string kind() { assert(false); } Type getType() { assert(false); } bool needThis() { assert(false); } TupleDeclaration isTupleDeclaration() { return this; } };