summaryrefslogtreecommitdiffstats
path: root/src/markdown.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-22 17:48:17 (GMT)
committerGitHub <noreply@github.com>2019-12-22 17:48:17 (GMT)
commitd244b46490a6c5e1d9179c46683811ad56557809 (patch)
tree696d43a393d5a2785448e0dcb0566f57a000b70c /src/markdown.h
parenta6da9a48ad520206462632496fc4c83d72bffe5a (diff)
parent786f8c9d2b55ebcde9e2702fc9dfc8ab1e4609b6 (diff)
downloadDoxygen-d244b46490a6c5e1d9179c46683811ad56557809.zip
Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.gz
Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.bz2
Merge branch 'master' into feature/bug_550158
Diffstat (limited to 'src/markdown.h')
-rw-r--r--src/markdown.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/markdown.h b/src/markdown.h
index 1a3895e..3ffd155 100644
--- a/src/markdown.h
+++ b/src/markdown.h
@@ -25,38 +25,20 @@ class Entry;
QCString processMarkdown(const QCString &fileName,const int lineNr,Entry *e,const QCString &s);
QCString markdownFileNameToId(const QCString &fileName);
-class MarkdownFileParser : public ParserInterface
+class MarkdownOutlineParser : public OutlineParserInterface
{
public:
- virtual ~MarkdownFileParser() {}
+ virtual ~MarkdownOutlineParser() {}
void startTranslationUnit(const char *) {}
void finishTranslationUnit() {}
void parseInput(const char *fileName,
const char *fileBuf,
- Entry *root,
+ const std::shared_ptr<Entry> &root,
bool sameTranslationUnit,
QStrList &filesInSameTranslationUnit);
- bool needsPreprocessing(const QCString &) { return FALSE; }
- void parseCode(CodeOutputInterface &codeOutIntf,
- const char *scopeName,
- const QCString &input,
- SrcLangExt lang,
- bool isExampleBlock,
- const char *exampleName=0,
- FileDef *fileDef=0,
- int startLine=-1,
- int endLine=-1,
- bool inlineFragment=FALSE,
- const MemberDef *memberDef=0,
- bool showLineNumbers=TRUE,
- const Definition *searchCtx=0,
- bool collectXRefs=TRUE
- );
- void resetCodeParserState();
+ bool needsPreprocessing(const QCString &) const { return FALSE; }
void parsePrototype(const char *text);
};
-
-
#endif