// // Created by kagura on 4/24/24. // #ifndef INC_1_CLASSIFIER_H #define INC_1_CLASSIFIER_H #include #include #include using namespace std; class Classifier { private: vector reserveNames = {"if","else","while","for","return","switch","case","break","continue","default", "int","char","float","double","long","short","unsigned","signed","void"}; vector operators = {'+','-','*','/','%','<','>','&','|','=','!'}; vector isolators = {'(',')','{','}','[',']',';',','}; public: bool isreserveNames(const string &name); bool isOperator(char c); bool isIsolator(char c); }; #endif //INC_1_CLASSIFIER_H