Enum cpp_demangle::ast::UnresolvedName
source · pub enum UnresolvedName {
Name(BaseUnresolvedName),
Global(BaseUnresolvedName),
Nested1(UnresolvedTypeHandle, Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
Nested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
GlobalNested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
}
Expand description
The <unresolved-name>
production.
<unresolved-name> ::= [gs] <base-unresolved-name>
::= sr <unresolved-type> <base-unresolved-name>
::= srN <unresolved-type> <unresolved-qualifier-level>+ E <base-unresolved-name>
::= [gs] sr <unresolved-qualifier-level>+ E <base-unresolved-name>
Variants§
Name(BaseUnresolvedName)
x
Global(BaseUnresolvedName)
::x
Nested1(UnresolvedTypeHandle, Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
T::x
or decltype(p)::x
or T::N::x
or decltype(p)::N::x
Nested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
A::x
or N::y
or A<T>::z
GlobalNested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
::A::x
or ::N::y
or ::A<T>::z
Trait Implementations§
source§impl Clone for UnresolvedName
impl Clone for UnresolvedName
source§fn clone(&self) -> UnresolvedName
fn clone(&self) -> UnresolvedName
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