language/duchain
declarationdata.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef DECLARATION_DATA_H
00021 #define DECLARATION_DATA_H
00022
00023 #include "duchainbase.h"
00024
00025 #include "declaration.h"
00026 #include "declarationid.h"
00027 #include "ducontext.h"
00028 #include "topducontext.h"
00029 #include "duchainlock.h"
00030 #include "duchain.h"
00031 #include "../languageexport.h"
00032 #include "types/indexedtype.h"
00033
00034 namespace KDevelop
00035 {
00036
00037 class KDEVPLATFORMLANGUAGE_EXPORT DeclarationData : public DUChainBaseData
00038 {
00039 public:
00040 DeclarationData();
00041
00042 DeclarationData( const DeclarationData& rhs );
00043
00044 IndexedDUContext m_internalContext;
00045 IndexedType m_type;
00046 IndexedIdentifier m_identifier;
00047
00049
00050 DeclarationId m_declaration;
00051
00052
00053 uint m_comment;
00054
00055 Declaration::Kind m_kind;
00056
00057 bool m_isDefinition : 1;
00058 bool m_inSymbolTable : 1;
00059 bool m_isTypeAlias : 1;
00060 bool m_anonymousInContext : 1;
00061 bool m_isFinal : 1;
00062 };
00063
00064 }
00065
00066 #endif