Mercurial > projects > ddmd
diff dmd/StructInitializer.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 7427ded8caf7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/StructInitializer.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,62 @@ +module dmd.StructInitializer; + +import dmd.Initializer; +import dmd.ArrayTypes; +import dmd.Array; +import dmd.Loc; +import dmd.Type; +import dmd.Scope; +import dmd.Identifier; +import dmd.AggregateDeclaration; +import dmd.OutBuffer; +import dmd.HdrGenState; +import dmd.Expression; + +import dmd.backend.dt_t; + +class StructInitializer : Initializer +{ + Identifiers field; // of Identifier *'s + Initializers value; // parallel array of Initializer *'s + + Array vars; // parallel array of VarDeclaration *'s + AggregateDeclaration ad; // which aggregate this is for + + this(Loc loc) + { + assert(false); + super(loc); + } + + Initializer syntaxCopy() + { + assert(false); + } + + void addInit(Identifier field, Initializer value) + { + assert(false); + } + + Initializer semantic(Scope sc, Type t) + { + assert(false); + } + + Expression toExpression() + { + assert(false); + } + + void toCBuffer(OutBuffer buf, HdrGenState* hgs) + { + assert(false); + } + + dt_t* toDt() + { + assert(false); + } + + StructInitializer isStructInitializer() { return this; } +} \ No newline at end of file