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