#pragma once #include #include #include #include #include #include class Token{ public: enum token_type{ NAME, NUMBER, SINGLE }; Token( token_type t, std::string s) : type( t), data( s) {} token_type getType(){ return type; } std::string getData(){ return data; } friend std::ostream& operator<<(std::ostream& os, Token& t){ return os<<"["< & tokens);