#ifndef _GRAMMAR_H_ #define _GRAMMAR_H_ #include #include #include typedef std::map::value_type tSSValue; class Grammar { std::string gfilename; boost::filesystem::path gfile; boost::filesystem::path gpath; std::map letypes; std::map lexemes; void readLexicon(const std::string &fn); public: Grammar(const std::string &); ~Grammar(); std::string letype(std::string &le); std::string lexeme(std::string &le); }; #endif