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 void setCommentChar(char c);
42 bool next(bool esc = false);
44 int search_kw(char const * const tag) const;
52 void pushToken(string const &);
53 /// fb__ is only used to open files, the stream is accessed through is
55 /// the stream that we use.
64 char buff[LEX_MAX_BUFF];
80 : table_elem(0), table_siz(0) {}
82 pushed_table(keyword_item * ki, int siz)
83 : table_elem(ki), table_siz(siz) {}
85 keyword_item * table_elem;
90 std::stack<pushed_table> pushed;