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_fwd_p.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:significant
4
5#ifndef QQMLDOM_FWD_P_H
6#define QQMLDOM_FWD_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "qqmldom_global.h"
20#include "private/qglobal_p.h"
21
22QT_BEGIN_NAMESPACE
23
24namespace QQmlJS {
25namespace Dom {
26namespace FileLocations {
27class Node;
28}
29class AstComments;
30class Binding;
31class Comment;
33class ConstantData;
34class DomBase;
35enum DomCreationOption : char;
36class DomEnvironment;
37class DomItem;
38class DomTop;
39class DomUniverse;
40class Empty;
41class EnumDecl;
42class Export;
45class ExternalOwningItem;
46enum FileLocationRegion : int;
47class FileWriter;
48class GlobalComponent;
49class Id;
50class Import;
51class JsFile;
52class JsResource;
53class List;
54class LoadInfo;
55class Map;
56class MethodInfo;
57class MutableDomItem;
58class ObserversTrie;
59class OutWriter;
60class OutWriterState;
61class OwningItem;
62class Path;
63class Pragma;
65class PropertyInfo;
66class QQmlDomAstCreator;
67class QmlComponent;
68class QmlFile;
69class QmlObject;
70class Reference;
71class RegionComments;
73class Source;
74class TestDomItem;
75class Version;
76
77namespace ScriptElements {
78class BlockStatement;
80class Literal;
81class ForStatement;
82class IfStatement;
87// TODO: add new script classes here, as qqmldomitem_p.h cannot include qqmldomscriptelements_p.h
88// without creating circular dependencies
89class ReturnStatement;
90
91} // end namespace ScriptElements
92
93} // end namespace Dom
94} // end namespace QQmlJS
95QT_END_NAMESPACE
96#endif // QQMLDOM_FWD_P_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
A DomItem that owns other DomItems and is managed through a shared pointer.
Represents an immutable JsonPath like path in the Qml code model (from a DomItem to another DomItem).
QList< std::pair< SourceLocation, DomItem > > Attributes
static constexpr DomType kindValue
Keeps the comments associated with a DomItem.
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)
Combined button and popup list for selecting options.
qOverloadedVisitor(Ts...) -> qOverloadedVisitor< Ts... >