Mercurial > projects > ddmd
view dmd/TemplateThisParameter.d @ 156:0c8cc2a10f99
+ ArrayInitializer.toAssocArrayLiteral()
+ FuncDeclaration.isUnique()
+ TypeEnum.alignsize()
+ TypeEnum.toChars()
+ TypeEnum.getProperty()
+ VarExp.equals()
+ expression.Util.fpunique()
* fixed missing default in TypeBasic
author | trass3r |
---|---|
date | Wed, 15 Sep 2010 18:24:39 +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); } }