|
Doxygen
|
Fortran language parser using state-based lexical scanning. 更多...
#include <fortranscanner.h>
类 FortranOutlineParser 继承关系图:
FortranOutlineParser 的协作图:Public 成员函数 | |
| FortranOutlineParser (FortranFormat format=FortranFormat_Unknown) | |
| ~FortranOutlineParser () | |
| 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. 更多... | |
| bool | needsPreprocessing (const QCString &extension) const |
| Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser. 更多... | |
| void | parsePrototype (const QCString &text) |
| Callback function called by the comment block scanner. 更多... | |
Public 成员函数 继承自 OutlineParserInterface | |
| virtual | ~OutlineParserInterface () |
Private 属性 | |
| std::unique_ptr< Private > | p |
Fortran language parser using state-based lexical scanning.
This is the Fortran language parser for doxygen.
在文件 fortranscanner.h 第 27 行定义.
| FortranOutlineParser::FortranOutlineParser | ( | FortranFormat | format = FortranFormat_Unknown | ) |
| FortranOutlineParser::~FortranOutlineParser | ( | ) |
|
virtual |
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser.
|
virtual |
Parses a single input file with the goal to build an Entry tree.
| [in] | fileName | The full name of the file. |
| [in] | fileBuf | The contents of the file (zero terminated). |
| [in,out] | root | The root of the tree of Entry *nodes representing the information extracted from the file. |
| [in] | clangParser | The clang translation unit parser object or nullptr if disabled. |
|
virtual |
Callback function called by the comment block scanner.
It provides a string text containing the prototype of a function or variable. The parser should parse this and store the information in the Entry node that corresponds with the node for which the comment block parser was invoked.
|
private |
在文件 fortranscanner.h 第 55 行定义.