]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.h
tex2lyx/text.cpp: take care of the brace pair after comment environments that are...
[lyx.git] / src / tex2lyx / Parser.h
index 5c8489821001d64d9db75e1726e64279da0dc144..713cbfcfa1eea1182f01d93f0028ecb9f31c7af2 100644 (file)
@@ -148,18 +148,29 @@ public:
        std::string getArg(char left, char right);
        /*!
         * \returns getFullArg('[', ']') including the brackets or the
-        * empty string if no argument was found.
+        * empty string if there is no such argument.
         */
        std::string getFullOpt();
-       /// \returns getArg('[', ']') including the brackets
+       /*!
+        * \returns getArg('[', ']') including the brackets or the
+        * empty string if there is no such argument.
+        */
        std::string getOpt();
+       /*!
+        * \returns getFullArg('(', ')') including the parentheses or the
+        * empty string if there is no such argument.
+        */
+       std::string getFullParentheseArg();
        /*!
         * \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.
+       /*!
+        * Returns the character of the current token and increments
+        * the token position.
+        */
        char getChar();
        ///
        void error(std::string const & msg);