aboutsummaryrefslogtreecommitdiff
path: root/include/token_type.hpp
diff options
context:
space:
mode:
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
+
+};