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
qqmldom_global.h
Go to the documentation of this file.
1// Copyright (C) 2020 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:insignificant
4
5#ifndef QMLDOM_GLOBAL_H
6#define QMLDOM_GLOBAL_H
7
8#include <QtCore/qglobal.h>
9
10#if defined(QMLDOM_DYNAMIC)
11#if defined(QMLDOM_LIBRARY)
12# define QMLDOM_EXPORT Q_DECL_EXPORT
13#else
14# define QMLDOM_EXPORT Q_DECL_IMPORT
15#endif
16#else
17# define QMLDOM_EXPORT
18#endif
19
21// avoid annoying warning about missing QT_BEGIN_NAMESPACE...
23
24#endif // QMLDOM_GLOBAL_H
std::pair< AST::Node *, CommentAnchor > CommentKey
Represents a comment.
Keeps the comment associated with an element.
A value type that references any element of the Dom.
Represents a Node of FileLocations tree.
std::function< index_type(const DomItem &)> Length
std::function< QSet< QString >(const DomItem &)> Keys
QMap< QString, QMap< QString, MockObject > > subMaps
A DomItem that owns other DomItems and is managed through a shared pointer.
static constexpr DomType kindValue
static constexpr DomType kindValue
Keeps the comments associated with a DomItem.
\inmodule QtSql
Provides entities to maintain mappings between elements and their location in a file.
QString fileLocationRegionName(FileLocationRegion region)
FileLocationRegion fileLocationRegionValue(QStringView region)
static QMetaEnum regionEnum
QCborValue sourceLocationToQCborValue(QQmlJS::SourceLocation loc)
qOverloadedVisitor(Ts...) -> qOverloadedVisitor< Ts... >