diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-06-15 19:21:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-06-15 19:21:39 (GMT) |
commit | 7e2f4c794ab68b3e14cca2f40ed1b19926c3de05 (patch) | |
tree | 3f2be46d34910503ef3532aa95aa0422e86cd993 /src/scanner.h | |
parent | 365d0dd98ec1e2cbd7f732a5a9a963e5cf2fbde2 (diff) | |
download | Doxygen-7e2f4c794ab68b3e14cca2f40ed1b19926c3de05.zip Doxygen-7e2f4c794ab68b3e14cca2f40ed1b19926c3de05.tar.gz Doxygen-7e2f4c794ab68b3e14cca2f40ed1b19926c3de05.tar.bz2 |
Release-1.4.3-20050615
Diffstat (limited to 'src/scanner.h')
-rw-r--r-- | src/scanner.h | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/src/scanner.h b/src/scanner.h index 2dbbf4e..8432f6f 100644 --- a/src/scanner.h +++ b/src/scanner.h @@ -24,32 +24,30 @@ * * This is the language parser for doxygen. It is somewhat fuzzy and * supports C++ and various languages that are closely related to C++, - * such as C,C#,Objective-C,Java,PHP,and IDL. + * such as C, C#, Objective-C, Java, PHP, and IDL. */ class CLanguageScanner : public ParserInterface { public: - void parse(const char *fileName,const char *fileBuf,Entry *root); + void parseInput(const char *fileName, + const char *fileBuf, + Entry *root); + bool needsPreprocessing(const QCString &extension); + void parseCode(CodeOutputInterface &codeOutIntf, + const char *scopeName, + const QCString &input, + bool isExampleBlock, + const char *exampleName=0, + FileDef *fileDef=0, + int startLine=-1, + int endLine=-1, + bool inlineFragment=FALSE, + MemberDef *memberDef=0 + ); + void resetCodeParserState(); void parsePrototype(const char *text); void handleGroupStartCommand(const char *header); void handleGroupEndCommand(); }; -#if 0 - -#include "qtbc.h" - -class OutputList; -class Entry; - -// Public interface provided by the language scanner -void parseMain(Entry *,const char *fileName); - -// Internal callback interface for comment block scanner -void parsePrototype(const QCString &text); -void handleGroupStartCommand(const char *header); -void handleGroupEndCommand(); - -#endif - #endif |