1 /******************************************************************************
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
21 #include "parserintf.h"
28 class CCodeParser : public CodeParserInterface
32 virtual ~CCodeParser();
33 void parseCode(OutputCodeList &codeOutIntf,
34 const QCString &scopeName,
35 const QCString &input,
38 const QCString &exampleName=QCString(),
39 const FileDef *fileDef=0,
42 bool inlineFragment=FALSE,
43 const MemberDef *memberDef=0,
44 bool showLineNumbers=TRUE,
45 const Definition *searchCtx=0,
46 bool collectXRefs=TRUE
48 void resetCodeParserState();
49 void setInsideCodeLine(bool inp);
50 bool insideCodeLine() const;
53 std::unique_ptr<Private> p;