pub enum Literal<'tree> {
BinaryIntegerLiteral(Box<BinaryIntegerLiteral<'tree>>),
CharacterLiteral(Box<CharacterLiteral<'tree>>),
DecimalFloatingPointLiteral(Box<DecimalFloatingPointLiteral<'tree>>),
DecimalIntegerLiteral(Box<DecimalIntegerLiteral<'tree>>),
False(Box<False<'tree>>),
HexFloatingPointLiteral(Box<HexFloatingPointLiteral<'tree>>),
HexIntegerLiteral(Box<HexIntegerLiteral<'tree>>),
NullLiteral(Box<NullLiteral<'tree>>),
OctalIntegerLiteral(Box<OctalIntegerLiteral<'tree>>),
StringLiteral(Box<StringLiteral<'tree>>),
True(Box<True<'tree>>),
}Variants§
BinaryIntegerLiteral(Box<BinaryIntegerLiteral<'tree>>)
CharacterLiteral(Box<CharacterLiteral<'tree>>)
DecimalFloatingPointLiteral(Box<DecimalFloatingPointLiteral<'tree>>)
DecimalIntegerLiteral(Box<DecimalIntegerLiteral<'tree>>)
False(Box<False<'tree>>)
HexFloatingPointLiteral(Box<HexFloatingPointLiteral<'tree>>)
HexIntegerLiteral(Box<HexIntegerLiteral<'tree>>)
NullLiteral(Box<NullLiteral<'tree>>)
OctalIntegerLiteral(Box<OctalIntegerLiteral<'tree>>)
StringLiteral(Box<StringLiteral<'tree>>)
True(Box<True<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Literal<'tree>
impl<'tree> RefUnwindSafe for Literal<'tree>
impl<'tree> Send for Literal<'tree>
impl<'tree> Sync for Literal<'tree>
impl<'tree> Unpin for Literal<'tree>
impl<'tree> UnsafeUnpin for Literal<'tree>
impl<'tree> UnwindSafe for Literal<'tree>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more