2009-02-20 11:52:27 +01:00
|
|
|
/***************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator
|
|
|
|
|
**
|
|
|
|
|
** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
|
|
|
**
|
|
|
|
|
** Contact: Qt Software Information (qt-info@nokia.com)
|
|
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
** Non-Open Source Usage
|
|
|
|
|
**
|
|
|
|
|
** Licensees may use this file in accordance with the Qt Beta Version
|
|
|
|
|
** License Agreement, Agreement version 2.2 provided with the Software or,
|
|
|
|
|
** alternatively, in accordance with the terms contained in a written
|
|
|
|
|
** agreement between you and Nokia.
|
|
|
|
|
**
|
|
|
|
|
** GNU General Public License Usage
|
|
|
|
|
**
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU General
|
|
|
|
|
** Public License versions 2.0 or 3.0 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file LICENSE.GPL included in the packaging
|
|
|
|
|
** of this file. Please review the following information to ensure GNU
|
|
|
|
|
** General Public Licensing requirements will be met:
|
|
|
|
|
**
|
|
|
|
|
** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
|
|
|
|
|
** http://www.gnu.org/copyleft/gpl.html.
|
|
|
|
|
**
|
|
|
|
|
** In addition, as a special exception, Nokia gives you certain additional
|
|
|
|
|
** rights. These rights are described in the Nokia Qt GPL Exception
|
|
|
|
|
** version 1.3, included in the file GPL_EXCEPTION.txt in this package.
|
|
|
|
|
**
|
|
|
|
|
***************************************************************************/
|
2009-02-20 12:55:01 +01:00
|
|
|
|
|
|
|
|
#include "cpptools_global.h"
|
|
|
|
|
|
|
|
|
|
namespace CppTools {
|
2009-02-20 11:52:27 +01:00
|
|
|
|
|
|
|
|
enum DoxygenReservedWord {
|
|
|
|
|
T_DOXY_IDENTIFIER = 0,
|
|
|
|
|
|
|
|
|
|
T_DOXY_ARG,
|
|
|
|
|
T_DOXY_ATTENTION,
|
|
|
|
|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|
|
};
|
2009-02-20 11:52:27 +01:00
|
|
|
|
2009-02-20 12:55:01 +01:00
|
|
|
CPPTOOLS_EXPORT int classifyDoxygenTag(const QChar *s, int n);
|
|
|
|
|
CPPTOOLS_EXPORT const char *doxygenTagSpell(int index);
|
2009-02-20 11:52:27 +01:00
|
|
|
|
|
|
|
|
} // namespace CppEditor::Internal
|
|
|
|
|
|