refactor(TokenKind): remove unused kinds

This commit is contained in:
Khaïs COLIN 2025-05-04 13:57:23 +02:00
parent 80cbbab6ef
commit f634da3318
2 changed files with 1 additions and 8 deletions

View file

@ -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:

View file

@ -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,
} }