The commentcnv.h
File Reference
First pass comment processing. More...
Included Headers
Functions Index
void | convertCppComments (const std::string &inBuf, std::string &outBuf, const std::string &fn) |
Converts the comments in a file. More... | |
Description
First pass comment processing.
Functions
convertCppComments()
|
Converts the comments in a file.
- Parameters
-
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)
Declaration at line 37 of file commentcnv.h, definition at line 1964 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.
Generated via doxygen2docusaurus by Doxygen 1.14.0.