pub enum LexItem {
Show 13 variants
LeftParen,
RightParen,
LeftCurly,
RightCurly,
LiteralValue(usize, Value),
SugaredContractIdentifier(usize, ContractName),
SugaredFieldIdentifier(usize, ContractName, ClarityName),
FieldIdentifier(usize, TraitIdentifier),
TraitReference(usize, ClarityName),
Variable(String),
CommaSeparator,
ColonSeparator,
Whitespace,
}
Variants
LeftParen
RightParen
LeftCurly
RightCurly
LiteralValue(usize, Value)
SugaredContractIdentifier(usize, ContractName)
SugaredFieldIdentifier(usize, ContractName, ClarityName)
FieldIdentifier(usize, TraitIdentifier)
TraitReference(usize, ClarityName)
Variable(String)
CommaSeparator
ColonSeparator
Whitespace
Auto Trait Implementations
impl RefUnwindSafe for LexItem
impl Send for LexItem
impl Sync for LexItem
impl Unpin for LexItem
impl UnwindSafe for LexItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more