Type Manager
Functions
Link copied to clipboard
open fun addTypeParameter(recordDeclaration: RecordDeclaration, typeParameters: List<ParameterizedType>)
Adds a List of ParameterizedType to recordToTypeParameters
open fun addTypeParameter(templateDeclaration: TemplateDeclaration, typeParameter: ParameterizedType)
Adds ParameterizedType to the templateToTypeParameters to be able to resolve this type when it is used
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun createOrGetTypeParameter(templateDeclaration: TemplateDeclaration, typeName: String, language: Language<out LanguageFrontend>): ParameterizedType
Check if a ParameterizedType with name typeName is already registered.
Link copied to clipboard
@NotNull
Creates a typedef / type alias in the form of a TypedefDeclaration to the scope manager and returns it.
Link copied to clipboard
@NotNull
Link copied to clipboard
@NotNull
This function is a relict from the old ages.
Link copied to clipboard
@Nullable
@Nullable
Searches templateToTypeParameters for ParameterizedTypes that were defined in a template matching the provided name
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun searchTemplateScopeForDefinedParameterizedTypes(scope: Scope, name: String): ParameterizedType
Searches for ParameterizedType if the scope is a TemplateScope.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard