createTypeAlias

@NotNull
open fun createTypeAlias(@NotNull frontend: @NotNull LanguageFrontend, rawCode: String, target: Type, aliasString: String): @NotNull Declaration

Creates a typedef / type alias in the form of a TypedefDeclaration to the scope manager and returns it.

Return

the typedef declaration

Parameters

frontend

the language frontend

rawCode

the raw code

target

the target type

aliasString

the alias / name of the typedef