|
Doxygen
|
#include <src/markdown.h>
Classes | |
| struct | Private |
Public Member Functions | |
| MarkdownOutlineParser () | |
| ~MarkdownOutlineParser () override | |
| void | parseInput (const DString &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 DString &) 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 DString &text) override |
| Callback function called by the comment block scanner. | |
Private Attributes | |
| std::unique_ptr< Private > | p |
Definition at line 50 of file markdown.h.
| MarkdownOutlineParser::MarkdownOutlineParser | ( | ) |
Definition at line 3815 of file markdown.cpp.
References p.
|
override |
Definition at line 3819 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 60 of file markdown.h.
|
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 3823 of file markdown.cpp.
References FileInfo::absFilePath(), Config_getBool, Config_getEnum, Config_getString, DString::empty(), DString::endsWith(), explicitMainPage, explicitOtherPage, explicitPage, Markdown::extractPageTitle(), FileInfo::fileName(), AnchorGenerator::generate(), getFileNameExtension(), AnchorGenerator::instance(), isExplicitPage(), DString::left(), DString::lower(), Debug::Markdown, markdownFileNameToId(), DString::mid(), notExplicit, p, DString::prepend(), Debug::print(), Markdown::process(), reg::search(), Markdown::setIndentLevel(), DString::size(), DString::str(), stripExtensionGeneral(), stripFromPath(), stripIndentation(), and DString::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 3971 of file markdown.cpp.
References ParserManager::getOutlineParser(), and Doxygen::parserManager.
|
private |
Definition at line 64 of file markdown.h.
Referenced by MarkdownOutlineParser(), and parseInput().