diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-03 19:54:36 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-03 19:54:36 (GMT) |
commit | 3bda58a7b7b4f9094c2fcb2bad71c7174367605e (patch) | |
tree | 6b71e41e85f4dfd8822e2734c73bf7ff64b1fe35 /src/markdown.h | |
parent | 9b14bf58c30a02ef19abebec280568532dc58ed4 (diff) | |
download | Doxygen-3bda58a7b7b4f9094c2fcb2bad71c7174367605e.zip Doxygen-3bda58a7b7b4f9094c2fcb2bad71c7174367605e.tar.gz Doxygen-3bda58a7b7b4f9094c2fcb2bad71c7174367605e.tar.bz2 |
Split language parser into "outline parser" and "code parser"
Diffstat (limited to 'src/markdown.h')
-rw-r--r-- | src/markdown.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/markdown.h b/src/markdown.h index 2c9a496..4ce2f62 100644 --- a/src/markdown.h +++ b/src/markdown.h @@ -25,10 +25,10 @@ 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, @@ -37,26 +37,8 @@ class MarkdownFileParser : public ParserInterface bool sameTranslationUnit, QStrList &filesInSameTranslationUnit); bool needsPreprocessing(const QCString &) const { 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(); void parsePrototype(const char *text); }; - - #endif |