#[repr(u32)]pub enum TokenType {
Show 187 variants
Abort = 1,
Action = 2,
After = 3,
Analyze = 4,
Asc = 5,
Attach = 6,
Before = 7,
Begin = 8,
By = 9,
Cascade = 10,
Cast = 11,
Conflict = 12,
Database = 13,
Deferred = 14,
Desc = 15,
Detach = 16,
Each = 17,
End = 18,
Exclusive = 19,
Explain = 20,
Fail = 21,
Or = 22,
And = 23,
Not = 24,
Is = 25,
IsNot = 26,
Match = 27,
LikeKw = 28,
Between = 29,
In = 30,
IsNull = 31,
NotNull = 32,
Ne = 33,
Eq = 34,
Gt = 35,
Le = 36,
Lt = 37,
Ge = 38,
Escape = 39,
Id = 40,
ColumnKw = 41,
Do = 42,
For = 43,
Ignore = 44,
Immediate = 45,
Initially = 46,
Instead = 47,
No = 48,
Plan = 49,
Query = 50,
Key = 51,
Of = 52,
Offset = 53,
Pragma = 54,
Raise = 55,
Recursive = 56,
Release = 57,
Replace = 58,
Restrict = 59,
Row = 60,
Rows = 61,
Rollback = 62,
Savepoint = 63,
Temp = 64,
Trigger = 65,
Vacuum = 66,
View = 67,
Virtual = 68,
With = 69,
Without = 70,
Nulls = 71,
First = 72,
Last = 73,
Current = 74,
Following = 75,
Partition = 76,
Preceding = 77,
Range = 78,
Unbounded = 79,
Exclude = 80,
Groups = 81,
Others = 82,
Ties = 83,
Generated = 84,
Always = 85,
Within = 86,
Materialized = 87,
Reindex = 88,
Rename = 89,
CtimeKw = 90,
If = 91,
Any = 92,
Bitand = 93,
Bitor = 94,
Lshift = 95,
Rshift = 96,
Plus = 97,
Minus = 98,
Star = 99,
Slash = 100,
Rem = 101,
Concat = 102,
Ptr = 103,
Collate = 104,
Bitnot = 105,
On = 106,
Indexed = 107,
String = 108,
JoinKw = 109,
Integer = 110,
Float = 111,
Semi = 112,
Lp = 113,
Order = 114,
Rp = 115,
Group = 116,
As = 117,
Comma = 118,
Dot = 119,
Union = 120,
All = 121,
Except = 122,
Intersect = 123,
Exists = 124,
Null = 125,
Distinct = 126,
From = 127,
Case = 128,
When = 129,
Then = 130,
Else = 131,
Table = 132,
Constraint = 133,
Default = 134,
Primary = 135,
Unique = 136,
Check = 137,
References = 138,
Autoincr = 139,
Insert = 140,
Delete = 141,
Update = 142,
Set = 143,
Deferrable = 144,
Foreign = 145,
Into = 146,
Values = 147,
Where = 148,
Returning = 149,
Nothing = 150,
Blob = 151,
Qnumber = 152,
Variable = 153,
Drop = 154,
Index = 155,
Alter = 156,
To = 157,
Add = 158,
Commit = 159,
Transaction = 160,
Select = 161,
Having = 162,
Limit = 163,
Join = 164,
Using = 165,
Create = 166,
Window = 167,
Over = 168,
Filter = 169,
Column = 170,
AggFunction = 171,
AggColumn = 172,
TrueFalse = 173,
Function = 174,
Uplus = 175,
Uminus = 176,
Truth = 177,
Register = 178,
Vector = 179,
SelectColumn = 180,
IfNullRow = 181,
Asterisk = 182,
Span = 183,
Error = 184,
Space = 185,
Comment = 186,
Illegal = 187,
}Variants§
Abort = 1
Action = 2
After = 3
Analyze = 4
Asc = 5
Attach = 6
Before = 7
Begin = 8
By = 9
Cascade = 10
Cast = 11
Conflict = 12
Database = 13
Deferred = 14
Desc = 15
Detach = 16
Each = 17
End = 18
Exclusive = 19
Explain = 20
Fail = 21
Or = 22
And = 23
Not = 24
Is = 25
IsNot = 26
Match = 27
LikeKw = 28
Between = 29
In = 30
IsNull = 31
NotNull = 32
Ne = 33
Eq = 34
Gt = 35
Le = 36
Lt = 37
Ge = 38
Escape = 39
Id = 40
ColumnKw = 41
Do = 42
For = 43
Ignore = 44
Immediate = 45
Initially = 46
Instead = 47
No = 48
Plan = 49
Query = 50
Key = 51
Of = 52
Offset = 53
Pragma = 54
Raise = 55
Recursive = 56
Release = 57
Replace = 58
Restrict = 59
Row = 60
Rows = 61
Rollback = 62
Savepoint = 63
Temp = 64
Trigger = 65
Vacuum = 66
View = 67
Virtual = 68
With = 69
Without = 70
Nulls = 71
First = 72
Last = 73
Current = 74
Following = 75
Partition = 76
Preceding = 77
Range = 78
Unbounded = 79
Exclude = 80
Groups = 81
Others = 82
Ties = 83
Generated = 84
Always = 85
Within = 86
Materialized = 87
Reindex = 88
Rename = 89
CtimeKw = 90
If = 91
Any = 92
Bitand = 93
Bitor = 94
Lshift = 95
Rshift = 96
Plus = 97
Minus = 98
Star = 99
Slash = 100
Rem = 101
Concat = 102
Ptr = 103
Collate = 104
Bitnot = 105
On = 106
Indexed = 107
String = 108
JoinKw = 109
Integer = 110
Float = 111
Semi = 112
Lp = 113
Order = 114
Rp = 115
Group = 116
As = 117
Comma = 118
Dot = 119
Union = 120
All = 121
Except = 122
Intersect = 123
Exists = 124
Null = 125
Distinct = 126
From = 127
Case = 128
When = 129
Then = 130
Else = 131
Table = 132
Constraint = 133
Default = 134
Primary = 135
Unique = 136
Check = 137
References = 138
Autoincr = 139
Insert = 140
Delete = 141
Update = 142
Set = 143
Deferrable = 144
Foreign = 145
Into = 146
Values = 147
Where = 148
Returning = 149
Nothing = 150
Blob = 151
Qnumber = 152
Variable = 153
Drop = 154
Index = 155
Alter = 156
To = 157
Add = 158
Commit = 159
Transaction = 160
Select = 161
Having = 162
Limit = 163
Join = 164
Using = 165
Create = 166
Window = 167
Over = 168
Filter = 169
Column = 170
AggFunction = 171
AggColumn = 172
TrueFalse = 173
Function = 174
Uplus = 175
Uminus = 176
Truth = 177
Register = 178
Vector = 179
SelectColumn = 180
IfNullRow = 181
Asterisk = 182
Span = 183
Error = 184
Space = 185
Comment = 186
Illegal = 187
Trait Implementations§
Source§impl From<TokenType> for AnyTokenType
impl From<TokenType> for AnyTokenType
Source§fn from(t: TokenType) -> AnyTokenType
fn from(t: TokenType) -> AnyTokenType
Converts to this type from the input type.
Source§impl GrammarTokenType for TokenType
impl GrammarTokenType for TokenType
Source§fn from_token_type(raw: AnyTokenType) -> Option<Self>
fn from_token_type(raw: AnyTokenType) -> Option<Self>
Convert a type-erased
AnyTokenType into this grammar’s typed token
variant, or None if the ordinal is out of range.impl Copy for TokenType
impl Eq 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 UnsafeUnpin 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