dmd.templateparamsem
Semantic analysis of template parameters.
License
Source: templateparamsem.d
Documentation: https://dlang.org/phobos/dmd_templateparamsem.html
-
Declaration
bool
tpsemantic
(TemplateParametertp
, Scope*sc
, TemplateParameters*parameters
);Performs semantic on TemplateParameter AST nodes.
Parameters
TemplateParameter
tp
element of
to be semantically analyzedparameters
Scope*
sc
context
TemplateParameters*
parameters
array of
TemplateParameters
supplied to theTemplateDeclaration
Return Value
true
if no errors -
Declaration
RootObject
aliasParameterSemantic
(Locloc
, Scope*sc
, RootObjecto
, TemplateParameters*parameters
);Support function for performing semantic analysis on
TemplateAliasParameter
.Parameters
Loc
loc
location (for error messages)
Scope*
sc
context
RootObject
o
object to run semantic() on, the
TemplateAliasParameter
sspecAlias
ordefaultAlias
TemplateParameters*
parameters
array of
TemplateParameters
supplied to theTemplateDeclaration
Return Value
object resulting from running
semantic
ono