Parser.putInsideTemplateDeclaration

Wraps a declaration inside a template declaration.

class Parser
putInsideTemplateDeclaration
(
Token* begin
,
Token* name
,
Declaration decl
,,
Expression constraint
)

Parameters

begin
Type: Token*

Begin token of decl.

name
Type: Token*

Name of decl.

decl
Type: Declaration

The declaration to be wrapped.

tparams

The template parameters.

constraint
Type: Expression

The constraint expression.

Meta