Enum cpp_demangle::ast::NestedName
source · pub enum NestedName {
Unqualified(CvQualifiers, Option<RefQualifier>, PrefixHandle, UnqualifiedName),
Template(CvQualifiers, Option<RefQualifier>, PrefixHandle),
}
Expand description
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§
source§impl NestedName
impl NestedName
sourcepub fn cv_qualifiers(&self) -> &CvQualifiers
pub fn cv_qualifiers(&self) -> &CvQualifiers
Get the CV-qualifiers for this name.
sourcepub fn ref_qualifier(&self) -> Option<&RefQualifier>
pub fn ref_qualifier(&self) -> Option<&RefQualifier>
Get the ref-qualifier for this name, if one exists.
Trait Implementations§
source§impl Clone for NestedName
impl Clone for NestedName
source§fn clone(&self) -> NestedName
fn clone(&self) -> NestedName
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