module watt.text.demangle

Functions for demangling Volt mangled symbols.

Names of types and functions are processed during compilation, to ensure they are unique. This module contains functions for getting human readable information from these mangled names.

Code Map

//! Functions for demangling Volt mangled symbols.
module watt.text.demangle;


//! Demangle a given mangled name.
fn demangle(mangledName: const(char)[]) string { }
//! Demangle a given mangled name, but omit redundant information.
fn demangleShort(mangledName: const(char)[]) string { }
fn demangle(mangledName: const(char)[]) string

Demangle a given mangled name.

Parameters

mangledName

The name to demangle.

Return

A string containing the demangled version of mangledName.

Throws

  • Exception if mangledName is not a valid Volt mangled name.

fn demangleShort(mangledName: const(char)[]) string

Demangle a given mangled name, but omit redundant information.