Added testcase with a set of all supported doxygen tags
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c461f1110d
commit
5500046b09
1 changed files with 115 additions and 0 deletions
115
Examples/test-suite/doxygen_translate.i
Normal file
115
Examples/test-suite/doxygen_translate.i
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
%module doxygen_translate
|
||||
|
||||
%inline %{
|
||||
|
||||
/**
|
||||
* \a Hello
|
||||
*
|
||||
* \arg some list item
|
||||
*
|
||||
* \authors lots of them
|
||||
*
|
||||
* \author Zubr
|
||||
*
|
||||
* \b boldword
|
||||
*
|
||||
* \c codeword
|
||||
*
|
||||
* \cite citationword
|
||||
*
|
||||
* \code some test code \endcode
|
||||
*
|
||||
* \cond SOMECONDITION
|
||||
* Some conditional comment
|
||||
* \endcond
|
||||
*
|
||||
* \copyright some copyright
|
||||
*
|
||||
* \deprecated Now use another function
|
||||
*
|
||||
* \e italicword
|
||||
*
|
||||
* \if ANOTHERCONDITION
|
||||
* First part of comment
|
||||
* \else
|
||||
* Second part of comment
|
||||
* \endif
|
||||
*
|
||||
* \example someFile.txt
|
||||
* Some details on using the example
|
||||
*
|
||||
* \exception SuperError
|
||||
*
|
||||
* \ifnot CONDITION
|
||||
* Write something if not
|
||||
* \endifnot
|
||||
*
|
||||
* \image html testImage.bmp
|
||||
*
|
||||
* <ul>
|
||||
*
|
||||
* \li Some unordered list
|
||||
* \li With lots of items
|
||||
* \li lots of lots of items
|
||||
*
|
||||
* </ul>
|
||||
*
|
||||
* \link someMember Some description follows \endlink
|
||||
*
|
||||
* \n \n \n
|
||||
*
|
||||
* \overload
|
||||
*
|
||||
* \p someword
|
||||
*
|
||||
* \package superPackage
|
||||
*
|
||||
* \par The paragraph title
|
||||
* The paragraph text.
|
||||
* Maybe even multiline
|
||||
*
|
||||
* \param a the first param
|
||||
*
|
||||
* \remark Some remark text
|
||||
*
|
||||
* \remarks Another remarks section
|
||||
*
|
||||
* \result Whatever
|
||||
*
|
||||
* \return it
|
||||
*
|
||||
* \returns may return
|
||||
*
|
||||
* \sa someOtherMethod
|
||||
*
|
||||
* \see function
|
||||
*
|
||||
* \since version 0.0.0.1
|
||||
*
|
||||
* \throw superException
|
||||
*
|
||||
* \throws RuntimeError
|
||||
*
|
||||
* \todo Some very important task
|
||||
*
|
||||
* \tparam b B is mentioned again...
|
||||
*
|
||||
* \verbatim
|
||||
* very long
|
||||
* text with tags <sometag>
|
||||
* \endverbatim
|
||||
*
|
||||
* \version 0.0.0.2
|
||||
*
|
||||
* \warning This is senseless!
|
||||
*
|
||||
* Here goes test of symbols:
|
||||
* \$ \@ \\ \& \~ \< \> \# \% \" \. \::
|
||||
*
|
||||
* And here goes simple text
|
||||
*/
|
||||
int function(int a, float b)
|
||||
{
|
||||
}
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue