Enum cpp_demangle::ast::ExprPrimary
source · pub enum ExprPrimary {
Literal(TypeHandle, usize, usize),
External(MangledName),
}
Expand description
The <expr-primary>
production.
<expr-primary> ::= L <type> <value number> E # integer literal
::= L <type> <value float> E # floating literal
::= L <string type> E # string literal
::= L <nullptr type> E # nullptr literal (i.e., "LDnE")
::= L <pointer type> 0 E # null pointer template argument
::= L <type> <real-part float> _ <imag-part float> E # complex floating point literal (C 2000)
::= L <mangled-name> E # external name
Variants§
Trait Implementations§
source§impl Clone for ExprPrimary
impl Clone for ExprPrimary
source§fn clone(&self) -> ExprPrimary
fn clone(&self) -> ExprPrimary
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