dpp.translation.type

Type translations

Members

Aliases

Translator
alias Translator = string function(in from!"clang".Type type, ref from!"dpp.runtime.context".Context context, in from!"std.typecons".Flag!"translatingFunction" translatingFunction) @(safe)
Undocumented in source.
Translators
alias Translators = Translator[from!"clang".Type.Kind]
Undocumented in source.

Enums

TemplateArgumentKind
enum TemplateArgumentKind

libclang doesn't offer a lot of functionality when it comes to extracting template arguments from structs - this enum is the best we can do.

Functions

hasAnonymousSpelling
bool hasAnonymousSpelling(from!"clang".Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
isTypeParameter
bool isTypeParameter(from!"clang".Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
removeDppDecorators
string removeDppDecorators(string spelling)
Undocumented in source. Be warned that the author may not have intended to support it.
templateArgumentKind
TemplateArgumentKind templateArgumentKind(from!"clang".Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
templateParameterSpelling
string templateParameterSpelling(from!"clang".Type cursorType, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
string translate(from!"clang".Type type, from!"dpp.runtime.context".Context context, from!"std.typecons".Flag!"translatingFunction" translatingFunction)
Undocumented in source. Be warned that the author may not have intended to support it.
translateElaborated
string translateElaborated(string spelling, from!"dpp.runtime.context".Context context)
Undocumented in source. Be warned that the author may not have intended to support it.
translateOpaque
string translateOpaque(from!"clang".Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
translateString
string translateString(string spelling, from!"dpp.runtime.context".Context context)

Translate possibly problematic C++ spellings

translateTemplateParamSpecialisation
string translateTemplateParamSpecialisation(from!"clang".Type cursorType, from!"clang".Type type, int index, from!"dpp.runtime.context".Context context)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta