summaryrefslogtreecommitdiff
path: root/src/scanner.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 11:12:58 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 11:12:58 +0900
commit3b6ea7abb3d529f7805ed54071d597f01b578740 (patch)
tree20a720c78ff4f8838599f22bdd6afe43277758bf /src/scanner.h
parent1ec16d649a01d369eecae2f1225c0ffa1caaf640 (diff)
downloaddoxygen-3b6ea7abb3d529f7805ed54071d597f01b578740.tar.gz
doxygen-3b6ea7abb3d529f7805ed54071d597f01b578740.tar.bz2
doxygen-3b6ea7abb3d529f7805ed54071d597f01b578740.zip
Imported Upstream version 1.8.17upstream/1.8.17
Diffstat (limited to 'src/scanner.h')
-rw-r--r--src/scanner.h29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/scanner.h b/src/scanner.h
index c0d3dff..70df660 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -26,37 +26,24 @@
* supports C++ and various languages that are closely related to C++,
* such as C, C#, Objective-C, Java, PHP, and IDL.
*/
-class CLanguageScanner : public ParserInterface
+class COutlineParser : public OutlineParserInterface
{
public:
- virtual ~CLanguageScanner() {}
+ COutlineParser();
+ virtual ~COutlineParser();
void startTranslationUnit(const char *fileName);
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:
+ struct Private;
+ std::unique_ptr<Private> p;
};
-void scanFreeScanner();
#endif