1
2
3
4
5
6
7
8
9
10
11
12
13
14
| #include "Lexer/Lexer.hpp"
|
| namespace Lexer {
| const std::vector<std::string> Lexer::Lexer::OPERATOR_RELATIONAL = { "==", "!=", "<", ">", "<=", ">=" };
| const std::vector<std::string> Lexer::Lexer::OPERATOR_INCREMENT = { "++", "--" };
| const std::vector<std::string> Lexer::Lexer::OPERATOR_ASSIGNMENT = { "=", "+=", "-=", "*=", "/=", "%=" };
| const std::vector<std::string> Lexer::Lexer::OPERATOR_LOGICAL = { "&&", "||" };
|
| const std::vector<std::string> Lexer::Lexer::OPERATOR_ARITHMETIC = { "+", "-", "*", "/", "%" };
| const std::vector<std::string> Lexer::Lexer::PUNCTUATION = { "(", ")", "{", "}", "[", "]", ",", ";" };
|
|
|
| }; // namespace Lexer
|
|