diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-01-19 09:35:45 +0000 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-01-19 09:35:45 +0000 |
| commit | e34338219036acf103d161dfbd36fa67597d23e7 (patch) | |
| tree | 00b4b09fd7fcb47502aee4b5be0e939fd771aab1 /include/lexer/token_type.h | |
lexer
Diffstat (limited to 'include/lexer/token_type.h')
| -rw-r--r-- | include/lexer/token_type.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/lexer/token_type.h b/include/lexer/token_type.h new file mode 100644 index 0000000..f83c6d6 --- /dev/null +++ b/include/lexer/token_type.h @@ -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 |
