Fixed comments in the source code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dfad1c8156
commit
549b2046b1
3 changed files with 11 additions and 8 deletions
|
|
@ -38,8 +38,6 @@ public:
|
|||
/*
|
||||
* Return the documentation for a given node formated for the correct
|
||||
* documentation system.
|
||||
* @param node The node to extract and translate documentation for.
|
||||
* @return The resulted documentation string, or empty string in case of any errors.
|
||||
*/
|
||||
String *getDocumentation(Node *node);
|
||||
/*
|
||||
|
|
@ -56,8 +54,6 @@ protected:
|
|||
/*
|
||||
* Overridden in subclasses to return the documentation formatted for a given
|
||||
* documentation system.
|
||||
* @param node The node to extract and translate documentation for.
|
||||
* @return The resulted documentation string
|
||||
*/
|
||||
virtual String *makeDocumentation(Node *node) = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,18 @@ public:
|
|||
String *makeDocumentation(Node *node);
|
||||
|
||||
protected:
|
||||
/*
|
||||
* Used to properly format JavaDoc-style command
|
||||
*/
|
||||
std::string formatCommand(std::string unformattedLine, int indent);
|
||||
/*
|
||||
* Translate every entity in a tree.
|
||||
*/
|
||||
std::string translateSubtree(DoxygenEntity & doxygenEntity);
|
||||
/*
|
||||
* Translate one entity with the appropriate handler, acording
|
||||
* to the tagHandlers
|
||||
*/
|
||||
void translateEntity(DoxygenEntity &tag, std::string &translatedComment);
|
||||
/*
|
||||
* Fix all endlines location, etc
|
||||
|
|
@ -95,7 +105,7 @@ protected:
|
|||
*/
|
||||
void handleTagPar(DoxygenEntity &tag, std::string &translatedComment, std::string &arg);
|
||||
/*
|
||||
* Insert @param command, if it is really a function param
|
||||
* Insert \@param command, if it is really a function param
|
||||
*/
|
||||
void handleTagParam(DoxygenEntity &tag, std::string &translatedComment, std::string &arg);
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ protected:
|
|||
/*
|
||||
* Format a string so it is justified and split over several lines
|
||||
* not exeeding a given length.
|
||||
* @param unformattedLine The string to justify and split.
|
||||
* @param indent An optional number of spaces to indent each line by.
|
||||
* @param maxWidth The approximate maximum line width.
|
||||
*/
|
||||
std::string justifyString(std::string unformattedLine, int indent = 0, int maxWidth = DOC_STRING_LENGTH);
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue