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 Attributes | |
std::unique_ptr< Private > | prv |
Helper class to process markdown formatted text.
Definition at line 31 of file markdown.h.
Markdown::Markdown | ( | const QCString & | fileName, |
int | lineNr, | ||
int | indentLevel = 0 ) |
Definition at line 182 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 3454 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().
QCString Markdown::process | ( | const QCString & | input, |
int & | startNewlines, | ||
bool | fromParseInput = false ) |
Definition at line 3507 of file markdown.cpp.
References QCString::at(), QCString::data(), detab(), g_doxy_nbsp, QCString::isEmpty(), QCString::length(), Debug::Markdown, QCString::mid(), Debug::print(), prv, qPrint(), qstrncmp(), substitute(), and QCString::view().
Referenced by generateHtmlForComment(), handleCommentBlock(), handleCommentBlock(), handleCommentBlock(), VHDLOutlineParser::handleCommentBlock(), handleParametersCommentBlocks(), and MarkdownOutlineParser::parseInput().
void Markdown::setIndentLevel | ( | int | level | ) |
Definition at line 191 of file markdown.cpp.
References prv.
Referenced by MarkdownOutlineParser::parseInput().
|
private |
Definition at line 43 of file markdown.h.
Referenced by extractPageTitle(), Markdown(), process(), and setIndentLevel().