diff --git a/src/lexer.rs b/src/lexer.rs index c6b0800..dfd0424 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -157,6 +157,13 @@ pub struct Token { pub value: String, } +pub enum TokenValue { + StringValue(String), + IntValue(i64), + DecValue(f64), + VecValue(Vec), +} + fn is_part_int_numeric(part: &str) -> bool { let mut chars = part.chars();