Mercurial > projects > ddmd
view dmd/TemplateThisParameter.d @ 136:9d194c848e3a
fixed a few null reference bugs, thx sagitario
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:27:38 +0200 |
parents | e28b18c23469 |
children | 438eaa11eed4 |
line wrap: on
line source
module dmd.TemplateThisParameter; import dmd.common; import dmd.TemplateTypeParameter; import dmd.Type; import dmd.Loc; import dmd.Identifier; import dmd.TemplateParameter; import dmd.OutBuffer; import dmd.HdrGenState; class TemplateThisParameter : TemplateTypeParameter { /* Syntax: * this ident : specType = defaultType */ Type specType; // type parameter: if !=NULL, this is the type specialization Type defaultType; this(Loc loc, Identifier ident, Type specType, Type defaultType) { assert(false); super(loc, ident, specType, defaultType); } override TemplateThisParameter isTemplateThisParameter() { assert(false); } override TemplateParameter syntaxCopy() { assert(false); } override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } }