core.demangle

The demangle module converts mangled D symbols to a representation similar to what would have existed in code.

Members

Functions

demangle
char[] demangle(const(char)[] buf, char[] dst = null)

Demangles D mangled names. If it is not a D mangled name, it returns its argument name.

demangleType
char[] demangleType(const(char)[] buf, char[] dst = null)

Demangles a D mangled type.

mangle
char[] mangle(const(char)[] fqn, char[] dst = null)

Mangles a D symbol.

mangleFunc
char[] mangleFunc(const(char)[] fqn, char[] dst = null)

Mangles a D function.

reencodeMangled
char[] reencodeMangled(const(char)[] mangled)

reencode a mangled symbol name that might include duplicate occurrences of the same identifier by replacing all but the first occurence with a back reference. *

Variables

cPrefix
enum string cPrefix;

C name mangling is done by adding a prefix on some platforms.

Meta

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Authors

Sean Kelly

Suggestion Box / Bug Report