pub enum TokenKind {
Show 30 variants
Void,
Any,
IntegerLiteral(i64),
FloatLiteral(f64),
BooleanLiteral(bool),
StringLiteral(String),
Identifier(String),
Label(String),
End,
Push,
Pop,
Peek,
Add,
Sub,
Mul,
Div,
LessThan,
LessThanEqual,
GreaterThan,
GreaterThanEqual,
Equal,
NotEqual,
Jump,
RelativeJump,
JumpIfTrue,
JumpIfFalse,
Print,
PrintNewLine,
Set,
Call,
}Variants§
Void
Any
IntegerLiteral(i64)
FloatLiteral(f64)
BooleanLiteral(bool)
StringLiteral(String)
Identifier(String)
Label(String)
End
Push
Pop
Peek
Add
Sub
Mul
Div
LessThan
LessThanEqual
GreaterThan
GreaterThanEqual
Equal
NotEqual
Jump
RelativeJump
JumpIfTrue
JumpIfFalse
PrintNewLine
Set
Call
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenKind
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