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.
24 #include "../languageexport.h"
25 #include <QtCore/QString>
27 namespace KTextEditor
{
35 class KDEVPLATFORMLANGUAGE_EXPORT 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());