8 #include "support/gzstream.h"
10 #include <boost/utility.hpp>
17 struct LyXLex::Pimpl : boost::noncopyable {
19 Pimpl(keyword_item * tab, int num);
21 string const getString() const;
23 void printError(string const & message) const;
25 void printTable(std::ostream & os);
27 void pushTable(keyword_item * tab, int num);
31 bool setFile(string const & filename);
33 void setStream(std::istream & i);
35 void setCommentChar(char c);
37 bool next(bool esc = false);
39 int search_kw(char const * const tag) const;
47 void pushToken(string const &);
48 /// fb__ is only used to open files, the stream is accessed through is.
50 /// gz__ is only used to open files, the stream is accessed through is.
53 /// the stream that we use.
62 std::vector<char> 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;