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
.
Methods
impl NestedName
[src]
fn cv_qualifiers(&self) -> &CvQualifiers
[src]
Get the CV-qualifiers for this name.
fn ref_qualifier(&self) -> Option<&RefQualifier>
[src]
Get the ref-qualifier for this name, if one exists.
Trait Implementations
impl Clone for NestedName
[src]
fn clone(&self) -> NestedName
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NestedName
[src]
impl PartialEq for NestedName
[src]
fn eq(&self, __arg_0: &NestedName) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NestedName) -> bool
[src]
This method tests for !=
.