Mercurial > projects > ddmd
diff dmd/TupleDeclaration.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 427f8aa74d28 5c9b78899f5d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/TupleDeclaration.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,45 @@ +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) + { + assert(false); + super(ident); + } + + Dsymbol syntaxCopy(Dsymbol) + { + assert(false); + } + + string kind() + { + assert(false); + } + + Type getType() + { + assert(false); + } + + bool needThis() + { + assert(false); + } + + TupleDeclaration isTupleDeclaration() { return this; } +}; \ No newline at end of file