diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2013-03-24 11:51:51 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2013-03-24 11:51:51 (GMT) |
commit | 92a0f3fc0733931284deebb74a1d36ca7a290bfe (patch) | |
tree | 8d5749ba8d587d7b753162c524b18f7e7cdf6a0b /src/clangparser.h | |
parent | f1d6ab7c7698dcc86b0d499aec1eb1f3612209d5 (diff) | |
download | Doxygen-92a0f3fc0733931284deebb74a1d36ca7a290bfe.zip Doxygen-92a0f3fc0733931284deebb74a1d36ca7a290bfe.tar.gz Doxygen-92a0f3fc0733931284deebb74a1d36ca7a290bfe.tar.bz2 |
Release-1.8.3.1-20130324
Diffstat (limited to 'src/clangparser.h')
-rw-r--r-- | src/clangparser.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/clangparser.h b/src/clangparser.h new file mode 100644 index 0000000..fc56b3a --- /dev/null +++ b/src/clangparser.h @@ -0,0 +1,35 @@ +#ifndef CLANGPARSER_H +#define CLANGPARSER_H + +#include <qcstring.h> + +class OutputList; +class FileDef; + +class ClangParser +{ + public: + static ClangParser *instance(); + void start(const char *fileName); + void finish(); + QCString lookup(uint line,const char *symbol); + void writeSources(OutputList &ol,FileDef *fd); + + private: + void linkIdentifier(OutputList &ol,FileDef *fd, + uint &line,uint &column, + const char *text,int tokenIndex); + void linkMacro(OutputList &ol,FileDef *fd, + uint &line,uint &column, + const char *text); + void linkInclude(OutputList &ol,FileDef *fd, + uint &line,uint &column, + const char *text); + class Private; + Private *p; + ClangParser(); + virtual ~ClangParser(); + static ClangParser *s_instance; +}; + +#endif |