pub enum TokenType {
Show 53 variants
Text,
Whitespace,
Newline,
Error,
Other,
Keyword,
KeywordRaw,
KeywordDDL,
KeywordDML,
KeywordCTE,
KeywordTZCast,
KeywordOrder,
Name,
NamePlaceholder,
NameBuiltin,
Literal,
String,
StringSingle,
StringSymbol,
Number,
NumberHexadecimal,
NumberFloat,
NumberInteger,
Punctuation,
Operator,
OperatorComparison,
Comparison,
Wildcard,
Comment,
CommentSingle,
CommentSingleHint,
CommentMultiline,
CommentMultilineHint,
Assignment,
Generic,
Command,
Token,
DML,
DDL,
CTE,
Case,
If,
For,
Begin,
Identifier,
IdentifierList,
Where,
Function,
Operation,
TypedLiteral,
Parenthesis,
SquareBrackets,
Values,
}
Variants§
Text
Whitespace
Newline
Error
Other
Keyword
KeywordRaw
KeywordDDL
KeywordDML
KeywordCTE
KeywordTZCast
KeywordOrder
Name
NamePlaceholder
NameBuiltin
Literal
String
StringSingle
StringSymbol
Number
NumberHexadecimal
NumberFloat
NumberInteger
Punctuation
Operator
OperatorComparison
Comparison
Wildcard
Comment
CommentSingle
CommentSingleHint
CommentMultiline
CommentMultilineHint
Assignment
Generic
Command
Token
DML
DDL
CTE
Case
If
For
Begin
Identifier
IdentifierList
Where
Function
Operation
TypedLiteral
Parenthesis
SquareBrackets
Values
Trait Implementations§
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