Enum cpp_demangle::ast::ExprPrimary
[−]
[src]
pub enum ExprPrimary {
Literal(TypeHandle, usize, usize),
External(MangledName),
}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
Literal(TypeHandle, usize, usize)A type literal.
External(MangledName)An external name.
Trait Implementations
impl Clone for ExprPrimary[src]
fn clone(&self) -> ExprPrimary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ExprPrimary[src]
impl PartialEq for ExprPrimary[src]
fn eq(&self, __arg_0: &ExprPrimary) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ExprPrimary) -> bool
This method tests for !=.