refactor(TokenKind): remove unused kinds
This commit is contained in:
parent
80cbbab6ef
commit
f634da3318
2 changed files with 1 additions and 8 deletions
|
|
@ -174,7 +174,7 @@ CLOCK: [2025-05-04 dim. 13:38]--[2025-05-04 dim. 13:44] => 0:06
|
||||||
CLOCK: [2025-05-04 dim. 13:45]--[2025-05-04 dim. 13:56] => 0:11
|
CLOCK: [2025-05-04 dim. 13:45]--[2025-05-04 dim. 13:56] => 0:11
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
*** TODO remove token types which are not recognized at all
|
*** DONE remove token types which are not recognized at all
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:EFFORT: 10
|
:EFFORT: 10
|
||||||
:END:
|
:END:
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,9 @@ use crate::meta_commands::MetaCommand;
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq)]
|
#[derive(Debug, Eq, PartialEq)]
|
||||||
pub enum TokenData {
|
pub enum TokenData {
|
||||||
/// INSERT
|
|
||||||
Insert,
|
Insert,
|
||||||
/// SELECT
|
|
||||||
Select,
|
Select,
|
||||||
/// 0, 1, -21635, 867463
|
|
||||||
Integer(i64),
|
|
||||||
/// Hello World!
|
|
||||||
String(String),
|
|
||||||
MetaCommand(MetaCommand),
|
MetaCommand(MetaCommand),
|
||||||
/// No file O.O?
|
|
||||||
EndOfFile,
|
EndOfFile,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue