The MarkdownOutlineParser
Class Reference
Declaration
Included Headers
Base class
class | OutlineParserInterface |
Abstract interface for outline parsers. More... | |
Public Constructors Index
MarkdownOutlineParser () | |
Public Destructor Index
~MarkdownOutlineParser () override | |
Public Member Functions Index
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. More... | |
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. More... | |
void | parsePrototype (const QCString &text) override |
Callback function called by the comment block scanner. More... | |
Private Member Attributes Index
std::unique_ptr< Private > | p |
Definition at line 46 of file markdown.h.
Public Constructors
MarkdownOutlineParser()
|
Declaration at line 49 of file markdown.h, definition at line 3621 of file markdown.cpp.
Reference p.
Public Destructor
~MarkdownOutlineParser()
|
Declaration at line 50 of file markdown.h, definition at line 3625 of file markdown.cpp.
Public Member Functions
needsPreprocessing()
| inline virtual |
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser.
- See Also
Definition at line 56 of file markdown.h.
Reference FALSE.
parseInput()
| virtual |
Parses a single input file with the goal to build an Entry tree.
- Parameters
-
[in] fileName The full name of the file.
[in] fileBuf The contents of the file (zero terminated).
[inout] 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.
Declaration at line 52 of file markdown.h, definition at line 3629 of file markdown.cpp.
References FileInfo::absFilePath, Config_getBool, Config_getEnum, Config_getString, QCString::endsWith, explicitMainPage, explicitOtherPage, explicitPage, Markdown::extractPageTitle, FALSE, FileInfo::fileName, AnchorGenerator::generate, getFileNameExtension, AnchorGenerator::instance, QCString::isEmpty, isExplicitPage, QCString::left, QCString::length, QCString::lower, Debug::Markdown, markdownFileNameToId, notExplicit, p, QCString::prepend, Debug::print, Markdown::process, QCString::right, reg::search, Markdown::setIndentLevel, QCString::size, QCString::str, stripExtensionGeneral, stripFromPath, stripIndentation and QCString::stripWhiteSpace.
parsePrototype()
| virtual |
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.
Declaration at line 57 of file markdown.h, definition at line 3777 of file markdown.cpp.
Reference Doxygen::parserManager.
Private Member Attributes
p
|
Definition at line 60 of file markdown.h.
Referenced by MarkdownOutlineParser and parseInput.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.