Enum cpp_demangle::ast::MangledName[][src]

pub enum MangledName {
    Encoding(Encoding),
    Type(TypeHandle),
    GlobalCtorDtor(GlobalCtorDtor),
}

The root AST node, and starting production.

<mangled-name> ::= _Z <encoding>

Variants

The encoding of the mangled symbol name.

A top-level type. Technically not allowed by the standard, however in practice this can happen, and is tested for by libiberty.

A global constructor or destructor. This is another de facto standard extension (I think originally from g++?) that is not actually part of the standard proper.

Trait Implementations

impl Clone for MangledName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MangledName
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MangledName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MangledName
[src]

Auto Trait Implementations

impl Send for MangledName

impl Sync for MangledName