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

language/duchain

dumpchain.h

00001 /* This file is part of KDevelop
00002     Copyright 2002-2005 Roberto Raggi <roberto@kdevelop.org>
00003     Copyright 2006 Hamish Rodda <rodda@kde.org>
00004     Copyright 2007 David Nolden <david.nolden.kdevelop@art-master.de>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License version 2 as published by the Free Software Foundation.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef DUMPCHAIN_H
00022 #define DUMPCHAIN_H
00023 
00024 #include "../languageexport.h"
00025 #include <QtCore/QString>
00026 #include <QtCore/QSet>
00027 
00028 namespace KTextEditor {
00029   class SmartRange;
00030 }
00031 
00032 namespace KDevelop
00033 {
00034 class DUContext;
00035 class TopDUContext;
00036 
00037 class KDEVPLATFORMLANGUAGE_EXPORT DumpChain
00038 {
00039 public:
00040   DumpChain();
00041   virtual ~DumpChain();
00042 
00045   void dump(DUContext* context, int allowedDepth = 0);
00046   
00047   QString dumpRanges(KTextEditor::SmartRange* range, QString indent = QString());
00048 
00049 private:
00050   int indent;
00051   TopDUContext* top;
00052   QSet<DUContext*> had;
00053 };
00054 }
00055 #endif // DUMPCHAIN_H

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