create From
open fun createFrom(@NotNull type: @NotNull String, resolveAlias: Boolean, lang: LanguageFrontend): Type
A specialized version of the type parsing function that needs a language frontend and does magic with generics and typedefs. This is legacy code and currently only used for CXX frontend and should be removed at some point.
@NotNull
Use this function for parsing new types and obtaining a new Type the TypeParser creates from the typeString.
Return
new type representing the type string. If an exception occurs during the parsing, UnknownType is returned
Parameters
type
string with type information
language
the language in which the type exists.
resolve Alias
should replace with original type in typedefs
scope Manager
optional, but required if resolveAlias is true
@NotNull
@NotNull
Parses the type from a char sequence and the supplied language.