16 struct LyXLex::Pimpl : public noncopyable {
24 Pimpl(keyword_item * tab, int num);
26 string const GetString() const;
28 void printError(string const & message) const;
30 void printTable(std::ostream & os);
32 void pushTable(keyword_item * tab, int num);
36 bool setFile(string const & filename);
38 void setStream(std::istream & i);
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];
76 : table_elem(0), table_siz(0) {}
78 pushed_table(keyword_item * ki, int siz)
79 : table_elem(ki), table_siz(siz) {}
81 keyword_item * table_elem;
86 std::stack<pushed_table> pushed;