TemplateParameter

Constructors

this
this(Loc loc, Identifier ident)
Undocumented in source.

Members

Functions

accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
declareParameter
bool declareParameter(Scope* sc)
Undocumented in source.
defaultArg
RootObject defaultArg(Loc instLoc, Scope* sc)
Undocumented in source.
dummyArg
void* dummyArg()
Undocumented in source.
hasDefaultArg
bool hasDefaultArg()
Undocumented in source.
isTemplateAliasParameter
TemplateAliasParameter isTemplateAliasParameter()
Undocumented in source. Be warned that the author may not have intended to support it.
isTemplateThisParameter
TemplateThisParameter isTemplateThisParameter()
Undocumented in source. Be warned that the author may not have intended to support it.
isTemplateTupleParameter
TemplateTupleParameter isTemplateTupleParameter()
Undocumented in source. Be warned that the author may not have intended to support it.
isTemplateTypeParameter
TemplateTypeParameter isTemplateTypeParameter()
Undocumented in source. Be warned that the author may not have intended to support it.
isTemplateValueParameter
TemplateValueParameter isTemplateValueParameter()
Undocumented in source. Be warned that the author may not have intended to support it.
matchArg
MATCH matchArg(Loc instLoc, Scope* sc, Objects* tiargs, size_t i, TemplateParameters* parameters, Objects* dedtypes, Declaration* psparam)

Match to a particular TemplateParameter. Input: instLoc location that the template is instantiated. tiargs[] actual arguments to template instance i i'th argument parameters[] template parameters dedtypes[] deduced arguments to template instance *psparam set to symbol declared and initialized to dedtypesi

matchArg
MATCH matchArg(Scope* sc, RootObject oarg, size_t i, TemplateParameters* parameters, Objects* dedtypes, Declaration* psparam)
Undocumented in source.
print
void print(RootObject oarg, RootObject oded)
Undocumented in source.
semantic
bool semantic(Scope* sc, TemplateParameters* parameters)
Undocumented in source.
specialization
RootObject specialization()
Undocumented in source.
syntaxCopy
TemplateParameter syntaxCopy()
Undocumented in source.

Variables

dependent
bool dependent;
Undocumented in source.
ident
Identifier ident;
Undocumented in source.
loc
Loc loc;
Undocumented in source.

Meta