#include <utility>
+namespace lyx {
+
+
enum mode_type {UNDECIDED_MODE, TEXT_MODE, MATH_MODE, MATHTEXT_MODE, TABLE_MODE};
mode_type asMode(mode_type oldmode, std::string const & str);
std::string getFullOpt();
/// \returns getArg('[', ']') including the brackets
std::string getOpt();
+ /*!
+ * \returns the contents of the environment \p name.
+ * <tt>\begin{name}</tt> must be parsed already, <tt>\end{name}</tt>
+ * is parsed but not returned.
+ */
+ std::string const verbatimEnvironment(std::string const & name);
/// Returns the character of the current token and increments the token position.
char getChar();
///
};
+
+} // namespace lyx
+
#endif