|
Doxygen
|
Helper class to process markdown formatted text. More...
#include <src/markdown.h>
Classes | |
| struct | Private |
Public Member Functions | |
| Markdown (const QCString &fileName, int lineNr, int indentLevel=0) | |
| ~Markdown () | |
| QCString | process (const QCString &input, int &startNewlines, bool fromParseInput=false) |
| QCString | extractPageTitle (QCString &docs, QCString &id, int &prepend, bool &isIdGenerated) |
| void | setIndentLevel (int level) |
Private Types | |
| using | Action_t = std::function<int(Private&,std::string_view,size_t)> |
| using | ActionTable_t = std::array<Action_t,256> |
Static Private Member Functions | |
| static ActionTable_t | fill_table () |
Private Attributes | |
| std::unique_ptr< Private > | prv |
Static Private Attributes | |
| static ActionTable_t | actions = Markdown::fill_table() |
Helper class to process markdown formatted text.
Definition at line 31 of file markdown.h.
|
private |
Definition at line 44 of file markdown.h.
|
private |
Definition at line 45 of file markdown.h.
| Markdown::Markdown | ( | const QCString & | fileName, |
| int | lineNr, | ||
| int | indentLevel = 0 ) |
Definition at line 201 of file markdown.cpp.
References prv.
Referenced by ~Markdown().
|
default |
References Markdown().
| QCString Markdown::extractPageTitle | ( | QCString & | docs, |
| QCString & | id, | ||
| int & | prepend, | ||
| bool & | isIdGenerated ) |
Definition at line 3645 of file markdown.cpp.
References AUTO_TRACE, AUTO_TRACE_EXIT, QCString::clear(), FALSE, QCString::mid(), prv, QCString::str(), and Trace::trunc().
Referenced by MarkdownOutlineParser::parseInput().
|
staticprivate |
Definition at line 182 of file markdown.cpp.
References Markdown::Private::processCodeSpan(), Markdown::Private::processEmphasis(), Markdown::Private::processHtmlTag(), Markdown::Private::processLink(), Markdown::Private::processNmdash(), Markdown::Private::processQuoted(), and Markdown::Private::processSpecialCommand().
| QCString Markdown::process | ( | const QCString & | input, |
| int & | startNewlines, | ||
| bool | fromParseInput = false ) |
Definition at line 3698 of file markdown.cpp.
References QCString::at(), QCString::data(), detab(), g_doxy_nbsp, QCString::isEmpty(), QCString::length(), literal_at(), Debug::Markdown, QCString::mid(), Debug::print(), prv, qPrint(), substitute(), and QCString::view().
Referenced by generateHtmlForComment(), handleCommentBlock(), handleCommentBlock(), handleCommentBlock(), VHDLOutlineParser::handleCommentBlock(), handleParametersCommentBlocks(), and MarkdownOutlineParser::parseInput().
| void Markdown::setIndentLevel | ( | int | level | ) |
Definition at line 210 of file markdown.cpp.
References prv.
Referenced by MarkdownOutlineParser::parseInput().
|
staticprivate |
Definition at line 47 of file markdown.h.
Referenced by Markdown::Private::processInline().
|
private |
Definition at line 43 of file markdown.h.
Referenced by extractPageTitle(), Markdown(), process(), and setIndentLevel().