pub enum TokenKind {
Show 94 variants
Plus,
Minus,
Times,
Slash,
Backslash,
Pow,
Eq,
Dot,
DotSuffix,
Comma,
Ampersand,
Colon,
SemiColon,
LAngle,
RAngle,
LParen,
RParen,
Option,
Comment,
Identifier,
Integer,
HexInteger,
OctalInteger,
Real,
String,
DateTime,
KeywordMod,
KeywordConst,
KeywordDim,
KeywordRedim,
KeywordSub,
KeywordFunction,
KeywordIf,
KeywordThen,
KeywordElse,
KeywordElseIf,
KeywordSet,
KeywordEnd,
KeywordClass,
KeywordProperty,
KeywordPublic,
KeywordPrivate,
KeywordPreserve,
KeywordDefault,
KeywordGet,
KeywordLet,
KeywordAs,
KeywordByVal,
KeywordByRef,
KeywordNew,
KeywordReturn,
KeywordFor,
KeywordEach,
KeywordIn,
KeywordTo,
KeywordStep,
KeywordNext,
KeywordWhile,
KeywordWend,
KeywordDo,
KeywordLoop,
KeywordUntil,
KeywordWith,
KeywordSelect,
KeywordCase,
KeywordCall,
KeywordExit,
KeywordMe,
KeywordStop,
KeywordUnused,
Empty,
Null,
Nothing,
True,
False,
Not,
And,
Or,
Xor,
Eqv,
Imp,
Neq,
Geq,
Leq,
Is,
On,
Error,
Resume,
Goto,
Whitespace,
Newline,
LineContinuation,
Eof,
ParseError,
}
Variants§
Plus
Minus
Times
Slash
Regular division
Backslash
Integer division
Pow
Eq
Dot
DotSuffix
Comma
Ampersand
Colon
SemiColon
LAngle
RAngle
LParen
RParen
Option
Comment
Identifier
Integer
HexInteger
OctalInteger
Real
String
DateTime
KeywordMod
KeywordConst
KeywordDim
KeywordRedim
KeywordSub
KeywordFunction
KeywordIf
KeywordThen
KeywordElse
KeywordElseIf
KeywordSet
KeywordEnd
KeywordClass
KeywordProperty
KeywordPublic
KeywordPrivate
KeywordPreserve
KeywordDefault
KeywordGet
KeywordLet
KeywordAs
KeywordByVal
KeywordByRef
KeywordNew
KeywordReturn
KeywordFor
KeywordEach
KeywordIn
KeywordTo
KeywordStep
KeywordNext
KeywordWhile
KeywordWend
KeywordDo
KeywordLoop
KeywordUntil
KeywordWith
KeywordSelect
KeywordCase
KeywordCall
KeywordExit
KeywordMe
KeywordStop
https://www.vbsedit.com/html/3ff21ea0-54e5-4f95-9c77-7f2d02977463.asp The Stop statement suspends execution, similar to setting a breakpoint in the code.
KeywordUnused
Any keywords that are reserved but not used, like “As” see https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/keywords/reserved-keywords
Empty
Null
Nothing
True
False
Not
And
Or
Xor
Eqv
Imp
Neq
Geq
Leq
Is
On
Error
Resume
Goto
Whitespace
Newline
CRLF, LF (or CR)
LineContinuation
Eof
ParseError
We found something that we can’t tokenize
Trait Implementations§
impl Copy for TokenKind
impl Eq for TokenKind
impl StructuralPartialEq for TokenKind
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