TemplateDeclNode

Undocumented in source.

Members

Functions

hasVariadic
bool hasVariadic()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin AstNodeData!(AstType.decl_template)
Undocumented in source.

Variables

after_body
AstIndex after_body;

Points to the next index after body data

body
AstIndex body;

Templated AST node (currently function or struct)

body_start
AstIndex body_start;

Points to the first index that needs to be copied

id
Identifier id;

Template id. Same as underlying entity.

instances
Array!TemplateInstance instances;

Cached template instances

numParamsBeforeVariadic
ushort numParamsBeforeVariadic;

Number of parameters before variadic parameter Is equal to parameters.length when no variadic is present

parameters
AstNodes parameters;

Template parameters

parentScope
ScopeIndex parentScope;

For template name register

Meta