pub enum TokenKind {
Show 49 variants
Error,
Whitespace,
Comment,
LineBreak,
Identifier,
Number,
String,
KeywordAsm,
KeywordTrue,
KeywordFalse,
ParenOpen,
ParenClose,
BracketOpen,
BracketClose,
BraceOpen,
BraceClose,
Dot,
Comma,
Colon,
ColonColon,
ArrowRight,
ArrowLeft,
HeavyArrowRight,
Hash,
Equal,
Plus,
Minus,
Asterisk,
Slash,
Percent,
Question,
Exclamation,
Ampersand,
VerticalBar,
Circumflex,
Tilde,
Grave,
At,
DoubleAmpersand,
DoubleVerticalBar,
DoubleEqual,
ExclamationEqual,
LessThan,
DoubleLessThan,
LessThanEqual,
GreaterThan,
DoubleGreaterThan,
TripleGreaterThan,
GreaterThanEqual,
}
Variants§
Error
Whitespace
Comment
LineBreak
Identifier
Number
String
KeywordAsm
KeywordTrue
KeywordFalse
ParenOpen
ParenClose
BracketOpen
BracketClose
BraceOpen
BraceClose
Dot
Comma
Colon
ColonColon
ArrowRight
ArrowLeft
HeavyArrowRight
Hash
Equal
Plus
Minus
Asterisk
Slash
Percent
Question
Exclamation
Ampersand
VerticalBar
Circumflex
Tilde
Grave
At
DoubleAmpersand
DoubleVerticalBar
DoubleEqual
ExclamationEqual
LessThan
DoubleLessThan
LessThanEqual
GreaterThan
DoubleGreaterThan
TripleGreaterThan
GreaterThanEqual
Implementations§
Trait Implementations§
source§impl PartialEq for TokenKind
impl PartialEq for TokenKind
impl Copy for TokenKind
impl Eq for TokenKind
impl StructuralEq for TokenKind
impl StructuralPartialEq for TokenKind
Auto Trait Implementations§
impl RefUnwindSafe for TokenKind
impl Send for TokenKind
impl Sync for TokenKind
impl Unpin for TokenKind
impl UnwindSafe for TokenKind
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