1 /******************************************************************************
3 * Copyright (C) 1997-2014 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.
19 #include "parserintf.h"
21 /** @brief General file parser */
22 class FileParser : public ParserInterface
25 virtual ~FileParser() {}
26 void startTranslationUnit(const char *) {}
27 void finishTranslationUnit() {}
28 void parseInput(const char *, const char *,Entry *, bool, QStrList &) {}
29 bool needsPreprocessing(const QCString &) { return FALSE; }
30 void parseCode(CodeOutputInterface &codeOutIntf,
31 const char *scopeName,
32 const QCString &input,
35 const char *exampleName=0,
39 bool inlineFragment=FALSE,
40 MemberDef *memberDef=0,
41 bool showLineNumbers=TRUE,
42 Definition *searchCtx=0,
43 bool collectXRefs=TRUE
45 void resetCodeParserState() {}
46 void parsePrototype(const char *) {}