pub enum TokenId {
Whitespace = 2,
Word = 7,
RoundBracketOpen = 10,
RoundBracketClose = 11,
CurlyBracketOpen = 12,
CurlyBracketClose = 14,
SquareBracketOpen = 15,
SquareBracketClose = 16,
StringNormal = 21,
StringExtended = 22,
CommentSingleLine = 31,
CommentMultiLine = 32,
}
Expand description
Token IDs or token types.
Variants§
Whitespace = 2
Word = 7
RoundBracketOpen = 10
RoundBracketClose = 11
CurlyBracketOpen = 12
CurlyBracketClose = 14
SquareBracketOpen = 15
SquareBracketClose = 16
StringNormal = 21
StringExtended = 22
CommentSingleLine = 31
CommentMultiLine = 32
Trait Implementations§
impl Copy for TokenId
impl StructuralPartialEq for TokenId
Auto Trait Implementations§
impl Freeze for TokenId
impl RefUnwindSafe for TokenId
impl Send for TokenId
impl Sync for TokenId
impl Unpin for TokenId
impl UnwindSafe for TokenId
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