#ifndef SYMBOL_TABLE_DOT_H #define SYMBOL_TABLE_DOT_H #include #include #include "token.h" struct SymbolTableEntry{ std::string key; TokenIDT token; }; typedef SymbolTableEntry * SymbolTablePtr; class SymbolTableT{ public: bool IsPresent(std::string key); void Insert(std::string key, TokenIDT token); SymbolTablePtr Entry(std::string key); TokenIDT Token(std::string key); private: std::map theTable; }; #endif