demangler-1.1.0.0: Demangler for C++ mangled names.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Demangler

Synopsis

Documentation

data Context Source #

The Context provides a persistent information and collection over a set of demangling calls. This allows for additional efficiency in memory storage.

Instances

Instances details
Sayable saytag (WithContext Encoding) => Sayable saytag Result Source # 
Instance details

Defined in Demangler.PPrint

Methods

sayable :: Result -> Saying saytag #

Sayable "diagnostic" (WithContext Encoding) => Sayable "diagnostic" Result Source # 
Instance details

Defined in Demangler.PPrint

Methods

sayable :: Result -> Saying "diagnostic" #

newDemangling :: Context Source #

Return an initial Context useable for calls to demangle.

data Demangled Source #

Instances

Instances details
Sayable saytag (WithContext Encoding) => Sayable saytag Result Source # 
Instance details

Defined in Demangler.PPrint

Methods

sayable :: Result -> Saying saytag #

Sayable "diagnostic" (WithContext Encoding) => Sayable "diagnostic" Result Source # 
Instance details

Defined in Demangler.PPrint

Methods

sayable :: Result -> Saying "diagnostic" #

demangle :: Text -> Context -> Result Source #

Demangle an input string, given a Context for demangling.

The signature of this function makes it ideal for State evaluation.

demangle1 :: Text -> Result Source #

Demangle a single entry. If there are multiple entries to be demangled, use demangle for efficient batching and memory reduction.