2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QtGlobal>
|
|
|
|
|
#include <QIcon>
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2011-04-15 16:19:23 +02:00
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
class QChar;
|
|
|
|
|
QT_END_NAMESPACE
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2011-04-15 16:19:23 +02:00
|
|
|
namespace QmlJSEditor {
|
|
|
|
|
namespace Internal {
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2011-04-15 16:19:23 +02:00
|
|
|
bool isIdentifierChar(const QChar &c, bool atStart = false, bool acceptDollar = true);
|
2015-11-23 15:40:35 +01:00
|
|
|
bool isValidFirstIdentifierChar(const QChar &c);
|
|
|
|
|
bool isValidIdentifierChar(const QChar &c);
|
2011-04-15 16:19:23 +02:00
|
|
|
bool isDelimiterChar(const QChar &c);
|
|
|
|
|
bool isActivationChar(const QChar &c);
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2011-04-15 16:19:23 +02:00
|
|
|
QIcon iconForColor(const QColor &color);
|
2010-09-24 20:16:34 +02:00
|
|
|
|
2011-04-15 16:19:23 +02:00
|
|
|
} // Internal
|
|
|
|
|
} // QmlJSEditor
|