small changes

This commit is contained in:
2024-06-07 13:55:42 +02:00
parent d3b252fb28
commit 5fd9ab86bc
6 changed files with 122 additions and 51 deletions
+14
View File
@@ -0,0 +1,14 @@
use crate::lexer::LexerState;
#[derive(Clone, PartialEq, Debug)]
pub enum VariableType {
Var,
Func,
Keyword,
}
#[derive(Clone, Debug)]
pub struct Variable {
pub vtype: VariableType,
pub state: LexerState,
}