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// Qt-Security score:significant reason:default
4#ifndef QQMLJSGLOBAL_P_H
5#define QQMLJSGLOBAL_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/private/qglobal_p.h>
19
20#ifndef QT_STATIC
21# if defined(QT_BUILD_QML_LIB)
22# define QML_PARSER_EXPORT Q_DECL_EXPORT
23# else
24# define QML_PARSER_EXPORT Q_DECL_IMPORT
25# endif
26#else
27# define QML_PARSER_EXPORT
28#endif
29
30#endif // QQMLJSGLOBAL_P_H
friend size_t qHash(const SourceLocation &location, size_t seed=0)
SourceLocation startZeroLengthLocation() const
constexpr SourceLocation(quint32 offset=0, quint32 length=0, quint32 line=0, quint32 column=0)
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 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{})
CommaExpression Expression
FunctionExpression * asAnonymousFunctionDefinition(Node *n)
Definition qqmljsast.cpp:20
T lastListElement(T head)
T1 cast(T2 *ast)
ClassExpression * asAnonymousClassDefinition(Node *n)
Definition qqmljsast.cpp:30
static constexpr SourceLocation s_documentOrigin(0, 0, 1, 1)
@ InplaceRightShift
Definition qqmljsast_p.h:74
@ InplaceURightShift
Definition qqmljsast_p.h:79
Combined button and popup list for selecting options.
#define QQMLJS_DECLARE_AST_NODE(name)
Definition qqmljsast_p.h:37
#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