Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <sstream>
- #include <vector>
- using namespace std;
- enum class TokenType {
- DATE,
- EVENT,
- COLUMN,
- LOGICAL_OP,
- COMPARE_OP,
- PAREN_LEFT,
- PAREN_RIGHT,
- };
- struct Token {
- const string value;
- const TokenType type;
- };
- vector<Token> Tokenize(istream& cl);
Add Comment
Please, Sign In to add comment