Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmljsglobal_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QQMLJSGLOBAL_P_H
4#define QQMLJSGLOBAL_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <QtCore/private/qglobal_p.h>
18
19#ifndef QT_STATIC
20# if defined(QT_BUILD_QML_LIB)
21# define QML_PARSER_EXPORT Q_DECL_EXPORT
22# else
23# define QML_PARSER_EXPORT Q_DECL_IMPORT
24# endif
25#else
26# define QML_PARSER_EXPORT
27#endif
28
29#endif // QQMLJSGLOBAL_P_H
friend size_t qHash(const SourceLocation &location, size_t seed=0)
SourceLocation startZeroLengthLocation() const
friend bool operator!=(const SourceLocation &a, const SourceLocation &b)
static quint32 offsetFrom(QStringView text, quint32 line, quint32 column, const SourceLocation &startHint=SourceLocation{})
friend SourceLocation combine(const SourceLocation &l1, const SourceLocation &l2)
static SourceLocation fromQSizeType(qsizetype offset, qsizetype length=0, qsizetype line=0, qsizetype column=0)
SourceLocation(quint32 offset=0, quint32 length=0, quint32 line=0, quint32 column=0)
SourceLocation endZeroLengthLocation(QStringView text) const
friend bool operator==(const SourceLocation &a, const SourceLocation &b)
static std::pair< quint32, quint32 > rowAndColumnFrom(QStringView text, quint32 offset, const SourceLocation &startHint=SourceLocation{})
FunctionExpression * asAnonymousFunctionDefinition(Node *n)
Definition qqmljsast.cpp:19
T lastListElement(T head)
T1 cast(T2 *ast)
Definition qqmljsast_p.h:99
ClassExpression * asAnonymousClassDefinition(Node *n)
Definition qqmljsast.cpp:29
@ InplaceRightShift
Definition qqmljsast_p.h:73
@ InplaceURightShift
Definition qqmljsast_p.h:78
Combined button and popup list for selecting options.
#define QQMLJS_DECLARE_AST_NODE(name)
Definition qqmljsast_p.h:36
#define QQmlJSASTUiClassListToVisit
#define QQmlJSASTQQmlJSClassListToVisit
#define QQmlJSASTClassListToVisit
#define QML_PARSER_EXPORT
bool contains(const QString &name) const
int indexOf(const QString &name, int from=0) const