summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-22 17:48:17 (GMT)
committerGitHub <noreply@github.com>2019-12-22 17:48:17 (GMT)
commitd244b46490a6c5e1d9179c46683811ad56557809 (patch)
tree696d43a393d5a2785448e0dcb0566f57a000b70c /src/fortranscanner.h
parenta6da9a48ad520206462632496fc4c83d72bffe5a (diff)
parent786f8c9d2b55ebcde9e2702fc9dfc8ab1e4609b6 (diff)
downloadDoxygen-d244b46490a6c5e1d9179c46683811ad56557809.zip
Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.gz
Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.bz2
Merge branch 'master' into feature/bug_550158
Diffstat (limited to 'src/fortranscanner.h')
-rw-r--r--src/fortranscanner.h34
1 files changed, 9 insertions, 25 deletions
diff --git a/src/fortranscanner.h b/src/fortranscanner.h
index 15a9bf0..7a13f47 100644
--- a/src/fortranscanner.h
+++ b/src/fortranscanner.h
@@ -24,51 +24,35 @@
*
* This is the Fortran language parser for doxygen.
*/
-class FortranLanguageScanner : public ParserInterface
+class FortranOutlineParser : public OutlineParserInterface
{
public:
- FortranLanguageScanner(FortranFormat format=FortranFormat_Unknown) : m_format(format) { }
- virtual ~FortranLanguageScanner() {}
+ FortranOutlineParser(FortranFormat format=FortranFormat_Unknown) : m_format(format) { }
void startTranslationUnit(const char *) {}
void finishTranslationUnit() {}
void parseInput(const char *fileName,
const char *fileBuf,
- Entry *root,
+ const std::shared_ptr<Entry> &root,
bool sameTranslationUnit,
QStrList &filesInSameTranslationUnit);
- bool needsPreprocessing(const QCString &extension);
- void parseCode(CodeOutputInterface &codeOutIntf,
- const char *scopeName,
- const QCString &input,
- SrcLangExt lang,
- bool isExampleBlock,
- const char *exampleName=0,
- FileDef *fileDef=0,
- int startLine=-1,
- int endLine=-1,
- bool inlineFragment=FALSE,
- const MemberDef *memberDef=0,
- bool showLineNumbers=TRUE,
- const Definition *searchCtx=0,
- bool collectXRefs=TRUE
- );
- void resetCodeParserState();
+ bool needsPreprocessing(const QCString &extension) const;
void parsePrototype(const char *text);
private:
FortranFormat m_format;
};
-class FortranLanguageScannerFree : public FortranLanguageScanner
+class FortranOutlineParserFree : public FortranOutlineParser
{
public:
- FortranLanguageScannerFree() : FortranLanguageScanner(FortranFormat_Free) { }
+ FortranOutlineParserFree() : FortranOutlineParser(FortranFormat_Free) { }
};
-class FortranLanguageScannerFixed : public FortranLanguageScanner
+class FortranOutlineParserFixed : public FortranOutlineParser
{
public:
- FortranLanguageScannerFixed() : FortranLanguageScanner(FortranFormat_Fixed) { }
+ FortranOutlineParserFixed() : FortranOutlineParser(FortranFormat_Fixed) { }
};
+
#endif