Enum cpp_demangle::ast::OperatorName
source · pub enum OperatorName {
Simple(SimpleOperatorName),
Cast(TypeHandle),
Conversion(TypeHandle),
Literal(SourceName),
VendorExtension(u8, SourceName),
}
Expand description
The <operator-name>
production.
<operator-name> ::= <simple-operator-name>
::= cv <type> # (cast)
::= li <source-name> # operator ""
::= v <digit> <source-name> # vendor extended operator
Variants§
Simple(SimpleOperatorName)
A simple operator name.
Cast(TypeHandle)
A type cast.
Conversion(TypeHandle)
A type conversion.
Literal(SourceName)
Operator literal, ie operator ""
.
VendorExtension(u8, SourceName)
A non-standard, vendor extension operator.
Trait Implementations§
source§impl Clone for OperatorName
impl Clone for OperatorName
source§fn clone(&self) -> OperatorName
fn clone(&self) -> OperatorName
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