8 #include <boost/utility.hpp>
14 struct LyXLex::Pimpl : boost::noncopyable {
22 Pimpl(keyword_item * tab, int num);
24 string const getString() const;
26 void printError(string const & message) const;
28 void printTable(std::ostream & os);
30 void pushTable(keyword_item * tab, int num);
34 bool setFile(string const & filename);
36 void setStream(std::istream & i);
38 void setCommentChar(char c);
40 bool next(bool esc = false);
42 int search_kw(char const * const tag) const;
50 void pushToken(string const &);
51 /// fb__ is only used to open files, the stream is accessed through is
53 /// the stream that we use.
62 char buff[LEX_MAX_BUFF];
78 : table_elem(0), table_siz(0) {}
80 pushed_table(keyword_item * ki, int siz)
81 : table_elem(ki), table_siz(siz) {}
83 keyword_item * table_elem;
88 std::stack<pushed_table> pushed;