]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / MathParser.h
index a64b85d66e3f9f74046e739f70ac2b3220fd8a1e..5be3b10275ee3e7816858141d4342e735898c6c5 100644 (file)
@@ -23,9 +23,9 @@ namespace lyx {
 
 
 class MathAtom;
-class MathArray;
+class MathData;
 class InsetMathGrid;
-class LyXLex;
+class Lexer;
 
 
 ///
@@ -63,17 +63,16 @@ latexkeys const * in_word_set(docstring const & str);
 
 /// parse formula from a string
 bool mathed_parse_normal(MathAtom &, docstring const &);
-/// ... a stream
-bool mathed_parse_normal(MathAtom &, std::istream &);
-/// ... the LyX lexxer
-bool mathed_parse_normal(MathAtom &, LyXLex &);
 /// ... the LyX lexxer
+bool mathed_parse_normal(MathAtom &, Lexer &);
+/// parse formula from a string into a grid
 void mathed_parse_normal(InsetMathGrid &, docstring const &);
 
 /// parse a single cell from a string
-void mathed_parse_cell(MathArray & ar, docstring const &);
-/// ... a stream
-void mathed_parse_cell(MathArray & ar, std::istream &);
+void mathed_parse_cell(MathData & ar, docstring const &);
+/// parse a single cell from a stream. Only use this for reading from .lyx
+/// file format, for the reason see Parser::tokenize(std::istream &).
+void mathed_parse_cell(MathData & ar, std::istream &);
 
 void initParser();