ddl.Demangle
Provides support for parsing and decoding D's name mangling syntax.
Wraps std.demangle from phobos.
Authors:
Eric Anderton
License:
BSD Derivative (see source for details)
- enum DemangleType;
- The type of symbol that is represented by a given mangled name.
Any ordinary type of symbol that doesn't match a D symbol, or a D special symbol
is merely of type 'PublicSymbol'.
- char[] demangleSymbol(char[] symbol);
- Parses a mangled D symbol and returns the equivalent D code to match the symbol.
char[] symbol |
The mangled D symbol. |
Returns:
A D code representation of the symbol.
- DemangleType getDemangleType(char[] symbol);
- Parses a mangled D symbol and returns its DemangleType.
char[] symbol |
The mangled D symbol. |
Returns:
The DemangleType for the symbol.