aboutsummaryrefslogtreecommitdiff
path: root/include/token_type.hpp
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-02-22 22:24:27 +0000
committerCori Barker <coribarker2@gmail.com>2026-02-22 22:24:27 +0000
commit5c1f937a7eb7a9cc9cd86cb69b3263f41f24408f (patch)
tree46154166a56f9a074c5b75dbb1a1b9560908b8f1 /include/token_type.hpp
parent2cfc45ff22cd9b6166de3cf963aceede21b358aa (diff)
Partially completed lots of changes, refactoring most of the files
Diffstat (limited to 'include/token_type.hpp')
-rw-r--r--include/token_type.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/token_type.hpp b/include/token_type.hpp
new file mode 100644
index 0000000..d123aaa
--- /dev/null
+++ b/include/token_type.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+enum class TokenType {
+ INT,
+ STRING,
+
+ NUMBER,
+ IDENTIFIER,
+
+ PLUS,
+ MINUS,
+ MULTIPLY,
+ DIVIDE,
+
+ ASSIGN,
+
+ SEMICOLON,
+
+ END_OF_FILE,
+ INVALID
+
+};