aboutsummaryrefslogtreecommitdiff
path: root/include/lexer/token_type.hpp
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-02-09 11:59:14 +0000
committerCori Barker <coribarker2@gmail.com>2026-02-09 11:59:14 +0000
commitb3f83360282bfe327c0ccbeecab706e0e7d2c050 (patch)
tree1ab29e9ebbf3d3f2fb66f59cbbc687451f8da62e /include/lexer/token_type.hpp
parent26738e6c932038ea309a5dbaa9e941fc1ce144b8 (diff)
Changed .h to .hpp
Diffstat (limited to 'include/lexer/token_type.hpp')
-rw-r--r--include/lexer/token_type.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/lexer/token_type.hpp b/include/lexer/token_type.hpp
new file mode 100644
index 0000000..f83c6d6
--- /dev/null
+++ b/include/lexer/token_type.hpp
@@ -0,0 +1,25 @@
+#ifndef TOKEN_TYPE_H
+#define TOKEN_TYPE_H
+
+enum class TokenType {
+ INT,
+ STRING,
+
+ NUMBER,
+ IDENTIFIER,
+
+ PLUS,
+ MINUS,
+ MULTIPLY,
+ DIVIDE,
+
+ ASSIGN,
+
+ SEMICOLON,
+
+ END_OF_FILE,
+ INVALID
+
+};
+
+#endif