8 #include <boost/utility.hpp>
17 struct LyXLex::Pimpl : boost::noncopyable {
25 Pimpl(keyword_item * tab, int num);
27 string const getString() const;
29 void printError(string const & message) const;
31 void printTable(std::ostream & os);
33 void pushTable(keyword_item * tab, int num);
37 bool setFile(string const & filename);
39 void setStream(std::istream & i);
41 void setCommentChar(char c);
43 bool next(bool esc = false);
45 int search_kw(char const * const tag) const;
53 void pushToken(string const &);
54 /// fb__ is only used to open files, the stream is accessed through is
56 /// the stream that we use.
65 char buff[LEX_MAX_BUFF];
81 : table_elem(0), table_siz(0) {}
83 pushed_table(keyword_item * ki, int siz)
84 : table_elem(ki), table_siz(siz) {}
86 keyword_item * table_elem;
91 std::stack<pushed_table> pushed;