8 #include <boost/utility.hpp>
15 struct LyXLex::Pimpl : boost::noncopyable {
17 Pimpl(keyword_item * tab, int num);
19 string const getString() const;
21 void printError(string const & message) const;
23 void printTable(std::ostream & os);
25 void pushTable(keyword_item * tab, int num);
29 bool setFile(string const & filename);
31 void setStream(std::istream & i);
33 void setCommentChar(char c);
35 bool next(bool esc = false);
37 int search_kw(char const * const tag) const;
45 void pushToken(string const &);
46 /// fb__ is only used to open files, the stream is accessed through is
48 /// the stream that we use.
57 std::vector<char> buff;
73 : table_elem(0), table_siz(0) {}
75 pushed_table(keyword_item * ki, int siz)
76 : table_elem(ki), table_siz(siz) {}
78 keyword_item * table_elem;
83 std::stack<pushed_table> pushed;