TemplateDecl

class TemplateDecl : Declaration {
Token* name;
TemplateParameters tparams;
CompoundDecl decls;
}

Members

Functions

nameId
Identifier* nameId()

Returns the Identifier of this template.

Variables

constraint
Expression constraint;

If-constraint in D2.

isMixin
bool isMixin;

Is this a mixin template? (D2 feature.)

isWrapper
bool isWrapper;

Is this wrapping a func/class/struct/etc. declaration?

symbol
TemplateSymbol symbol;

Semantic symbol.

Meta