pub enum TokenType {
Show 62 variants
And,
Break,
Do,
Else,
ElseIf,
End,
False,
For,
Function,
Goto,
IDiv,
If,
In,
Local,
Nil,
Not,
Or,
Repeat,
Return,
Then,
True,
Until,
While,
Concat,
Dots,
Eq,
Ge,
Le,
Ne,
Shl,
Shr,
DbColon,
Eos,
Flt,
Int,
Name,
String,
Lp,
Rp,
Ls,
Rs,
Lb,
Rb,
Add,
Minus,
Mul,
Div,
Mod,
Pow,
Len,
Assign,
Lt,
Gt,
BAnd,
BOr,
BXor,
Colon,
Comma,
Semi,
Attr,
SComment,
MComment,
}
Variants§
And
Break
Do
Else
ElseIf
End
False
For
Function
Goto
IDiv
If
In
Local
Nil
Not
Or
Repeat
Return
Then
True
Until
While
Concat
Dots
Eq
Ge
Le
Ne
Shl
Shr
DbColon
Eos
Flt
Int
Name
String
Lp
Rp
Ls
Rs
Lb
Rb
Add
Minus
Mul
Div
Mod
Pow
Len
Assign
Lt
Gt
BAnd
BOr
BXor
Colon
Comma
Semi
Attr
SComment
MComment
Implementations§
Trait Implementations§
impl Copy for TokenType
impl StructuralPartialEq for TokenType
Auto Trait Implementations§
impl Freeze for TokenType
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnwindSafe for TokenType
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