My Project
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
fileparser.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 FILEPARSER_H
17
#define FILEPARSER_H
18
19
#include "
parserintf.h
"
20
22
class
FileParser
:
public
ParserInterface
23
{
24
public
:
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,
33
SrcLangExt
lang,
34
bool
isExampleBlock,
35
const
char
*exampleName=0,
36
FileDef
*fileDef=0,
37
int
startLine=-1,
38
int
endLine=-1,
39
bool
inlineFragment=FALSE,
40
MemberDef
*memberDef=0,
41
bool
showLineNumbers=TRUE,
42
Definition
*searchCtx=0,
43
bool
collectXRefs=TRUE
44
);
45
void
resetCodeParserState
() {}
46
void
parsePrototype
(
const
char
*) {}
47
};
48
49
50
#endif