Enum cpp_demangle::ast::UnqualifiedName
source · pub enum UnqualifiedName {
Operator(OperatorName),
CtorDtor(CtorDtorName),
Source(SourceName),
LocalSourceName(SourceName, Option<Discriminator>),
UnnamedType(UnnamedTypeName),
ABITag(TaggedName),
ClosureType(ClosureTypeName),
}
Expand description
The <unqualified-name>
production.
<unqualified-name> ::= <operator-name>
::= <ctor-dtor-name>
::= <source-name>
::= <local-source-name>
::= <unnamed-type-name>
::= <abi-tag>
::= <closure-type-name>
<local-source-name> ::= L <source-name> [<discriminator>]
Variants§
Operator(OperatorName)
An operator name.
CtorDtor(CtorDtorName)
A constructor or destructor name.
Source(SourceName)
A source name.
LocalSourceName(SourceName, Option<Discriminator>)
A local source name.
UnnamedType(UnnamedTypeName)
A generated name for an unnamed type.
ABITag(TaggedName)
An ABI tag.
ClosureType(ClosureTypeName)
A closure type name
Trait Implementations§
source§impl Clone for UnqualifiedName
impl Clone for UnqualifiedName
source§fn clone(&self) -> UnqualifiedName
fn clone(&self) -> UnqualifiedName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more