浏览该文件的文档.
63 int isHeaderline(
const char *data,
int size,
bool allowAdjustLevel);
68 int blockStart,
int blockEnd);
80 using Action_t = std::function<int(
const char *,
int,
int)>;
98 const std::shared_ptr<Entry> &root,
104 std::unique_ptr<Private>
p;
void writeOneLineHeaderOrRuler(const char *data, int size)
bool needsPreprocessing(const QCString &) const
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed t...
int isAtxHeader(const char *data, int size, QCString &header, QCString &id, bool allowAdjustLevel)
QCString process(const QCString &input, int &startNewlines, bool fromParseInput=false)
int isHeaderline(const char *data, int size, bool allowAdjustLevel)
returns whether the line is a setext-style hdr underline
int writeTableBlock(const char *data, int size)
QCString markdownFileNameToId(const QCString &fileName)
processes string s and converts markdown into doxygen/html commands.
int processHtmlTagWrite(const char *data, int offset, int size, bool doWrite)
Process a HTML tag.
int processEmphasis1(const char *data, int size, char c)
process single emphasis
std::unique_ptr< Private > p
void findEndOfLine(const char *data, int size, int &pi, int &i, int &end)
QCString processBlocks(const QCString &s, int indent)
QCString extractPageTitle(QCString &docs, QCString &id, int &prepend)
std::function< int(const char *, int, int)> Action_t
virtual ~MarkdownOutlineParser()
QCString isBlockCommand(const char *data, int offset, int size)
Class representing a string buffer optimised for growing.
DirIterator end(const DirIterator &) noexcept
int processEmphasis(const char *data, int offset, int size)
void setIndentLevel(int level)
std::unordered_map< std::string, LinkRef > m_linkRefs
int processNmdash(const char *data, int off, int size)
Process ndash and mdashes
QCString processQuotations(const QCString &s, int refIndent)
int processCodeSpan(const char *data, int, int size)
'‘’ parsing a code span (assuming codespan != 0)
void writeFencedCodeBlock(const char *data, const char *lng, int blockStart, int blockEnd)
void parsePrototype(const QCString &text)
Callback function called by the comment block scanner.
int processSpecialCommand(const char *data, int offset, int size)
QCString detab(const QCString &s, int &refIndent)
void processInline(const char *data, int size)
Markdown(const QCString &fileName, int lineNr, int indentLevel=0)
int writeBlockQuote(const char *data, int size)
int findEmphasisChar(const char *data, int size, char c, int c_size)
looks for the next emph char, skipping other constructs, and stopping when either it is found,...
void parseInput(const QCString &fileName, const char *fileBuf, const std::shared_ptr< Entry > &root, ClangTUParser *clangParser)
Parses a single input file with the goal to build an Entry tree.
int writeCodeBlock(const char *data, int size, int refIndent)
int processQuoted(const char *data, int, int size)
Process quoted section "...", can contain one embedded newline
int processEmphasis2(const char *data, int size, char c)
process double emphasis
QCString fileName
file this entry was extracted from
Markdown::Action_t m_actions[256]
Represents an unstructured piece of information, about an entity found in the sources.
void addStrEscapeUtf8Nbsp(const char *s, int len)
Helper class to process markdown formatted text
Abstract interface for outline parsers.
Clang parser object for a single translation unit, which consists of a source file and the directly o...
A model of a file symbol.
int processLink(const char *data, int, int size)
void writeMarkdownImage(const char *fmt, bool explicitTitle, const QCString &title, const QCString &content, const QCString &link, const FileDef *fd)
LinkRef(const QCString &l, const QCString &t)
int processHtmlTag(const char *data, int offset, int size)
int processEmphasis3(const char *data, int size, char c)
Parsing triple emphasis.
This is an alternative implementation of QCString.