diff options
author | Alistair Delva <adelva@google.com> | 2024-04-10 14:15:29 -0700 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2024-04-11 12:58:28 -0700 |
commit | d0f0f90be16c2ac553b5fa08512045273135147a (patch) | |
tree | 5d9ebb7a04807ea8a609ddd18b0162bc87530e4b /Source/Doxygen/doxyparser.h | |
parent | 6ffc1dbf29ba98c4d8aa71ebc9b484e973fe1030 (diff) | |
download | swig-d0f0f90be16c2ac553b5fa08512045273135147a.tar.gz |
Change-Id: I47cef2be94299220d80265d949a95b58eee2c23b
Diffstat (limited to 'Source/Doxygen/doxyparser.h')
-rw-r--r-- | Source/Doxygen/doxyparser.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/Doxygen/doxyparser.h b/Source/Doxygen/doxyparser.h index 96c71d22f..a60446517 100644 --- a/Source/Doxygen/doxyparser.h +++ b/Source/Doxygen/doxyparser.h @@ -4,13 +4,13 @@ * terms also apply to certain portions of SWIG. The full details of the SWIG * license and copyrights can be found in the LICENSE and COPYRIGHT files * included with the SWIG source code as distributed by the SWIG developers - * and at http://www.swig.org/legal.html. + * and at https://www.swig.org/legal.html. * * doxyparser.h * ----------------------------------------------------------------------------- */ -#ifndef DOXYGENPARSER_H_ -#define DOXYGENPARSER_H_ +#ifndef SWIG_DOXYPARSER_H +#define SWIG_DOXYPARSER_H #include <string> #include <list> #include <map> @@ -21,6 +21,11 @@ #include "doxyentity.h" +// Utility function to return the base part of a command that may +// include options, e.g. param[in] -> param +std::string getBaseCommand(const std::string &cmd); + + class DoxygenParser { private: @@ -233,7 +238,7 @@ private: * Method for Adding a Simple Command * Format: @command * Plain commands, such as newline etc, they contain no other data - * \n \\ \@ \& \$ \# \< \> \% + * \n \\ \@ \& \$ \# \< \> \% \{ \} */ void addSimpleCommand(const std::string &theCommand, DoxygenEntityList &doxyList); /* |