|
Doxygen
|
First pass comment processing. More...
#include <string>Go to the source code of this file.
Functions | |
| void | convertCppComments (const std::string &inBuf, std::string &outBuf, const std::string &fn) |
| Converts the comments in a file. | |
First pass comment processing.
Definition in file commentcnv.h.
| void convertCppComments | ( | const std::string & | inBuf, |
| std::string & | outBuf, | ||
| const std::string & | fn ) |
Converts the comments in a file.
| inBuf | input buffer holding the file content. |
| outBuf | output buffer to which the results after conversion are written to. |
| fn | the name of the file from which the comments originate. |
The following is converted:
C++ style multiline doxygen comments are converted to C style doxygen comments.
conditional sections are processed.
aliases are expanded.
This function does three things:
It converts multi-line C++ style comment blocks (that are aligned) to C style comment blocks (if MULTILINE_CPP_IS_BRIEF is set to NO).
It replaces aliases with their definition (see ALIASES)
It handles conditional sections (cond...endcond blocks)
Definition at line 2089 of file commentcnv.l.
References clearCommentStack(), Debug::CommentCnv, Config_getBool, convertFileNameFortranParserCode(), QCString::data(), FALSE, getLanguageFromFileName(), Debug::isFlagSet(), Debug::Lex_commentcnv, commentcnvYY_CondCtx::lineNr, Debug::print(), qPrint(), recognizeFixedForm(), commentcnvYY_CondCtx::sectionId, QCString::setNum(), QCString::sprintf(), QCString::stripWhiteSpace(), warn, and yylex().
Referenced by generateHtmlForComment(), and parseFile().