#ifndef TOKENIZE_H #define TOKENIZE_H #include using namespace std; enum class TokenType { Type, Identifier, Number, Plus, Minus, Star, Slash, Percent, Equal, Semicolon, LParenthese, RParenthese }; enum class Type { Int }; union TokenData { double number; Type type; char* identifier; }; struct Token { TokenType type; TokenData data; }; #endif