Enum cpp_demangle::ast::ExprPrimary [−][src]
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
Literal(TypeHandle, usize, usize)
A type literal.
External(MangledName)
Tuple Fields
0: MangledName
An external name.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExprPrimary
impl Send for ExprPrimary
impl Sync for ExprPrimary
impl Unpin for ExprPrimary
impl UnwindSafe for ExprPrimary
Blanket Implementations
Mutably borrows from an owned value. Read more