dmd.dmangle
Does name mangling for extern(D) symbols.
Specification: Name Mangling
License
Source: dmangle.d
Documentation: https://dlang.org/phobos/dmd_dmangle.html
-
Declaration
const(char)*mangleExact(FuncDeclarationfd);Returns exact mangled name of function.
-
Declaration
voidmangleToFuncSignature(ref OutBufferbuf, FuncDeclarationfd);Mangle function signatures ('this' qualifier, and parameter types) to check conflicts in function overloads. It's different from
fd.type.deco. For example,fd.type.deco would benulliffdis an auto function.Parameters
OutBufferbufOutBufferto write the mangled function signature toFuncDeclarationfdFuncDeclarationto mangle -
Declaration
package nothrow boolisValidMangling(dcharc);Return Value
trueif the given character is a valid mangled character -
Declaration
TypedecoToType(const(char)[]deco);Convert a string representing a type (the
deco) and return its equivalent Type.Parameters
const(char)[]decostring containing the
decoReturn Value
nullfor failed to convert Type for succeeded