Enum cpp_demangle::ast::NestedName [−][src]
pub enum NestedName {
Unqualified(CvQualifiers, Option<RefQualifier>, PrefixHandle, UnqualifiedName),
Template(CvQualifiers, Option<RefQualifier>, PrefixHandle),
}The <nested-name> production.
<nested-name> ::= N [<CV-qualifiers>] [<ref-qualifier>] <prefix> <unqualified-name> E
::= N [<CV-qualifiers>] [<ref-qualifier>] <template-prefix> <template-args> E
Variants
Unqualified(CvQualifiers, Option<RefQualifier>, PrefixHandle, UnqualifiedName)A nested name.
Template(CvQualifiers, Option<RefQualifier>, PrefixHandle)A nested template name. The <template-args> are part of the PrefixHandle.
Implementations
impl NestedName[src]
impl NestedName[src]pub fn cv_qualifiers(&self) -> &CvQualifiers[src]
Get the CV-qualifiers for this name.
pub fn ref_qualifier(&self) -> Option<&RefQualifier>[src]
Get the ref-qualifier for this name, if one exists.
Trait Implementations
impl Clone for NestedName[src]
impl Clone for NestedName[src]fn clone(&self) -> NestedName[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<NestedName> for NestedName[src]
impl PartialEq<NestedName> for NestedName[src]