Add AbstractDeclarationNavigationContext, and move the html-method from
[kdevelopdvcssupport.git] / language / duchain / dumpchain.h
blobb0fc3a5fde59b7d057ffff289452de03209e3bbd
1 /* This file is part of KDevelop
2 Copyright 2002-2005 Roberto Raggi <roberto@kdevelop.org>
3 Copyright 2006 Hamish Rodda <rodda@kde.org>
4 Copyright 2007 David Nolden <david.nolden.kdevelop@art-master.de>
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License version 2 as published by the Free Software Foundation.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef DUMPCHAIN_H
22 #define DUMPCHAIN_H
24 #include "../languageexport.h"
25 #include <QtCore/QString>
27 namespace KTextEditor {
28 class SmartRange;
31 namespace KDevelop
33 class DUContext;
35 class KDEVPLATFORMLANGUAGE_EXPORT DumpChain
37 public:
38 DumpChain();
39 virtual ~DumpChain();
41 ///@param context The context to dump
42 ///@param imported internal
43 void dump(KDevelop::DUContext* context, bool imported = false);
45 QString dumpRanges(KTextEditor::SmartRange* range, QString indent = QString());
47 private:
48 int indent;
51 #endif // DUMPCHAIN_H