Enum cpp_demangle::ast::UnresolvedName
[−]
[src]
pub enum UnresolvedName { Name(BaseUnresolvedName), Global(BaseUnresolvedName), Nested1(UnresolvedTypeHandle, Vec<UnresolvedQualifierLevel>, BaseUnresolvedName), Nested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName), GlobalNested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName), }
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>
# A::x, N::y, A<T>::z; "gs" means leading "::"
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
impl Clone for UnresolvedName
[src]
fn clone(&self) -> UnresolvedName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for UnresolvedName
[src]
impl Hash for UnresolvedName
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for UnresolvedName
[src]
fn eq(&self, __arg_0: &UnresolvedName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnresolvedName) -> bool
This method tests for !=
.