Doxygen
|
#include <src/markdown.h>
Classes | |
struct | Private |
Public Member Functions | |
MarkdownOutlineParser () | |
~MarkdownOutlineParser () override | |
void | parseInput (const QCString &fileName, const char *fileBuf, const std::shared_ptr< Entry > &root, ClangTUParser *clangParser) override |
Parses a single input file with the goal to build an Entry tree. | |
bool | needsPreprocessing (const QCString &) const override |
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser. | |
void | parsePrototype (const QCString &text) override |
Callback function called by the comment block scanner. | |
Public Member Functions inherited from OutlineParserInterface |
Private Attributes | |
std::unique_ptr< Private > | p |
Definition at line 46 of file markdown.h.
MarkdownOutlineParser::MarkdownOutlineParser | ( | ) |
Definition at line 3579 of file markdown.cpp.
|
override |
Definition at line 3583 of file markdown.cpp.
|
inlineoverridevirtual |
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser.
Implements OutlineParserInterface.
Definition at line 56 of file markdown.h.
References FALSE.
|
overridevirtual |
Parses a single input file with the goal to build an Entry tree.
[in] | fileName | The full name of the file. |
[in] | fileBuf | The contents of the file (zero terminated). |
[in,out] | root | The root of the tree of Entry *nodes representing the information extracted from the file. |
[in] | clangParser | The clang translation unit parser object or nullptr if disabled. |
Implements OutlineParserInterface.
Definition at line 3587 of file markdown.cpp.
References FileInfo::absFilePath(), Config_getBool, Config_getEnum, Config_getString, QCString::endsWith(), explicitDirPage, explicitMainPage, explicitPage, Markdown::extractPageTitle(), FALSE, FileInfo::fileName(), AnchorGenerator::generate(), getFileNameExtension(), AnchorGenerator::instance(), QCString::isEmpty(), isExplicitPage(), QCString::left(), QCString::length(), QCString::lower(), Debug::Markdown, Markdown, markdownFileNameToId(), notExplicit, p, QCString::prepend(), Debug::print(), Markdown::process(), Public, qPrint(), QCString::right(), reg::search(), Markdown::setIndentLevel(), QCString::str(), stripExtensionGeneral(), stripFromPath(), and QCString::stripWhiteSpace().
|
overridevirtual |
Callback function called by the comment block scanner.
It provides a string text containing the prototype of a function or variable. The parser should parse this and store the information in the Entry node that corresponds with the node for which the comment block parser was invoked.
Implements OutlineParserInterface.
Definition at line 3730 of file markdown.cpp.
References ParserManager::getOutlineParser(), and Doxygen::parserManager.
|
private |
Definition at line 60 of file markdown.h.
Referenced by parseInput().