• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

declarationdata.h

00001 /* This file is part of KDevelop
00002     Copyright 2006 Hamish Rodda <rodda@kde.org>
00003     Copyright 2007-2008 David Nolden <david.nolden.kdevelop@art-master.de>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
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   //Holds the declaration id for this definition, if this is a definition with separate declaration
00050   DeclarationId m_declaration;
00051 
00052   //Index in the comment repository
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; //Whether the declaration was added into the parent-context anonymously
00061   bool m_isFinal       : 1;
00062 };
00063 
00064 }
00065 
00066 #endif

language/duchain

Skip menu "language/duchain"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal