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]
impl Clone for ExprPrimaryfn clone(&self) -> ExprPrimary[src]
fn clone(&self) -> ExprPrimaryReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ExprPrimary[src]
impl Debug for ExprPrimaryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ExprPrimary[src]
impl PartialEq for ExprPrimaryfn eq(&self, other: &ExprPrimary) -> bool[src]
fn eq(&self, other: &ExprPrimary) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExprPrimary) -> bool[src]
fn ne(&self, other: &ExprPrimary) -> boolThis method tests for !=.
impl Eq for ExprPrimary[src]
impl Eq for ExprPrimaryAuto Trait Implementations
impl Send for ExprPrimary
impl Send for ExprPrimaryimpl Sync for ExprPrimary
impl Sync for ExprPrimary