My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xmlscanner.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright (C) 1997-2015 by Dimitri van Heesch.
4  *
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.
10  *
11  * Documents produced by Doxygen are derivative works derived from the
12  * input used in their production; they are not affected by this license.
13  *
14  */
15 
16 #ifndef XMLSCANNER_H
17 #define XMLSCANNER_H
18 
19 #include "parserintf.h"
20 #include "xmlcode.h"
21 
25 {
26 public:
28  virtual ~XMLScanner() {}
29  void startTranslationUnit(const char *) {}
31  void parseInput(const char *, const char *, Entry *, bool , QStrList &) {}
32  bool needsPreprocessing(const QCString &) { return FALSE; }
33 
34  void parseCode(CodeOutputInterface &codeOutIntf,
35  const char *scopeName,
36  const QCString &input,
37  SrcLangExt,
38  bool isExampleBlock,
39  const char *exampleName=0,
40  FileDef *fileDef=0,
41  int startLine=-1,
42  int endLine=-1,
43  bool inlineFragment=FALSE,
44  MemberDef *memberDef=0,
45  bool showLineNumbers=TRUE,
46  Definition *searchCtx=0,
47  bool collectXRefs=TRUE
48  )
49  {
50  parseXmlCode(codeOutIntf,scopeName,input,isExampleBlock,exampleName,
51  fileDef,startLine,endLine,inlineFragment,memberDef,
52  showLineNumbers,searchCtx,collectXRefs);
53  }
54 
56  {
58  }
59 
60  void parsePrototype(const char *) {}
61 
62 private:
63 };
64 
65 #endif