applyMissingParams

fun applyMissingParams(template: RecordTemplateDeclaration, constructExpression: ConstructExpression, templateParametersExplicitInitialization: Map<Node, Node>, templateParameterRealDefaultInitialization: Map<Node, Node?>, scopeManager: ScopeManager)

Apply missingParameters (either explicit or defaults) to the ConstructExpression and its type

Parameters

template

Template which is instantiated by the ConstructExpression

constructExpression
templateParametersExplicitInitialization

mapping of the template parameter to the explicit instantiation

templateParameterRealDefaultInitialization

mapping of template parameter to its real default (no recursive)