1 /******************************************************************************
3 * Copyright (C) 1997-2012 by Dimitri van Heesch.
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
20 #include "parserintf.h"
24 /** processes string \a s and converts markdown into doxygen/html commands. */
25 QCString processMarkdown(const QCString &fileName,Entry *e,const QCString &s);
27 class MarkdownFileParser : public ParserInterface
30 virtual ~MarkdownFileParser() {}
31 void parseInput(const char *fileName,
34 bool needsPreprocessing(const QCString &) { return FALSE; }
35 void parseCode(CodeOutputInterface &codeOutIntf,
36 const char *scopeName,
37 const QCString &input,
39 const char *exampleName=0,
43 bool inlineFragment=FALSE,
44 MemberDef *memberDef=0,
45 bool showLineNumbers=TRUE,
46 Definition *searchCtx=0
48 void resetCodeParserState();
49 void parsePrototype(const char *text);