Doxygen
首页
模块
命名空间
命名空间列表
命名空间成员
全部
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
函数
a
c
d
f
g
i
m
p
r
s
u
w
变量
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
枚举
枚举值
类
类列表
类索引
类继承关系
类成员
全部
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
函数
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
变量
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
类型定义
a
c
d
e
f
h
i
k
m
n
p
r
s
t
u
v
枚举
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
枚举值
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
相关函数
文件
文件列表
文件成员
全部
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
函数
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
变量
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
y
类型定义
a
b
c
d
e
f
i
j
l
m
n
o
p
r
s
t
u
v
y
枚举
a
c
d
e
f
g
h
i
m
n
p
r
s
t
枚举值
a
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
x
宏定义
a
b
c
d
e
f
g
h
i
j
l
m
n
p
q
r
s
t
w
x
y
fortranscanner.h
浏览该文件的文档.
1
/******************************************************************************
2
*
3
*
4
*
5
* Copyright (C) 1997-2015 by Dimitri van Heesch.
6
*
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.
12
*
13
* Documents produced by Doxygen are derivative works derived from the
14
* input used in their production; they are not affected by this license.
15
*
16
*/
17
18
#ifndef SCANNER_FORTRAN_H
19
#define SCANNER_FORTRAN_H
20
21
#include "
parserintf.h
"
22
23
/** \brief Fortran language parser using state-based lexical scanning.
24
*
25
* This is the Fortran language parser for doxygen.
26
*/
27
class
FortranOutlineParser
:
public
OutlineParserInterface
28
{
29
public
:
30
FortranOutlineParser
(
FortranFormat
format=
FortranFormat_Unknown
);
31
~FortranOutlineParser
();
32
void
parseInput
(
const
QCString
&fileName,
33
const
char
*fileBuf,
34
const
std::shared_ptr<Entry> &root,
35
ClangTUParser
*clangParser);
36
bool
needsPreprocessing
(
const
QCString
&extension)
const
;
37
void
parsePrototype
(
const
QCString
&text);
38
39
private
:
40
struct
Private
;
41
std::unique_ptr<Private>
p
;
42
};
43
44
class
FortranOutlineParserFree
:
public
FortranOutlineParser
45
{
46
public
:
47
FortranOutlineParserFree
() :
FortranOutlineParser
(
FortranFormat_Free
) { }
48
};
49
50
class
FortranOutlineParserFixed
:
public
FortranOutlineParser
51
{
52
public
:
53
FortranOutlineParserFixed
() :
FortranOutlineParser
(
FortranFormat_Fixed
) { }
54
};
55
56
const
char
*
prepassFixedForm
(
const
char
* contents,
int
*hasContLine);
57
58
#endif
prepassFixedForm
const char * prepassFixedForm(const char *contents, int *hasContLine)
Private
@ Private
Definition:
types.h:26
FortranOutlineParser::parsePrototype
void parsePrototype(const QCString &text)
Callback function called by the comment block scanner.
FortranOutlineParserFixed
Definition:
fortranscanner.h:50
FortranOutlineParserFixed::FortranOutlineParserFixed
FortranOutlineParserFixed()
Definition:
fortranscanner.h:53
FortranOutlineParser::parseInput
void parseInput(const QCString &fileName, const char *fileBuf, const std::shared_ptr< Entry > &root, ClangTUParser *clangParser)
Parses a single input file with the goal to build an Entry tree.
FortranOutlineParser::p
std::unique_ptr< Private > p
Definition:
fortranscanner.h:55
FortranFormat_Free
@ FortranFormat_Free
Definition:
types.h:297
FortranOutlineParserFree::FortranOutlineParserFree
FortranOutlineParserFree()
Definition:
fortranscanner.h:47
FortranOutlineParser::~FortranOutlineParser
~FortranOutlineParser()
parserintf.h
FortranFormat
FortranFormat
Definition:
types.h:294
FortranOutlineParser::FortranOutlineParser
FortranOutlineParser(FortranFormat format=FortranFormat_Unknown)
OutlineParserInterface
Abstract interface for outline parsers.
Definition:
parserintf.h:42
FortranOutlineParserFree
Definition:
fortranscanner.h:44
ClangTUParser
Clang parser object for a single translation unit, which consists of a source file and the directly o...
Definition:
clangparser.h:21
FortranFormat_Fixed
@ FortranFormat_Fixed
Definition:
types.h:298
FortranOutlineParser
Fortran language parser using state-based lexical scanning.
Definition:
fortranscanner.h:27
FortranFormat_Unknown
@ FortranFormat_Unknown
Definition:
types.h:296
FortranOutlineParser::needsPreprocessing
bool needsPreprocessing(const QCString &extension) const
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed t...
QCString
This is an alternative implementation of QCString.
Definition:
qcstring.h:108
src
fortranscanner.h
生成于 2021年 十一月 27日 星期六 08:40:53 , 为 Doxygen使用
1.8.17