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 GlobalScope;
50class MockObject;
51class MockOwner;
52class Id;
53class Import;
54class JsFile;
55class JsResource;
56class List;
57class LoadInfo;
58class Map;
59class MethodInfo;
60class ModuleIndex;
61class ModuleScope;
62class MutableDomItem;
63class ObserversTrie;
64class OutWriter;
65class OutWriterState;
66class OwningItem;
67class Path;
68class Pragma;
70class PropertyInfo;
71class QQmlDomAstCreator;
72class QmlComponent;
73class QmlDirectory;
74class QmldirFile;
75class QmlFile;
76class QmlObject;
77class QmltypesComponent;
78class QmltypesFile;
79class Reference;
80class RegionComments;
82class Source;
83class TestDomItem;
84class Version;
85
86namespace ScriptElements {
87class BlockStatement;
89class Literal;
90class ForStatement;
91class IfStatement;
96// TODO: add new script classes here, as qqmldomitem_p.h cannot include qqmldomscriptelements_p.h
97// without creating circular dependencies
98class ReturnStatement;
99
100} // end namespace ScriptElements
101
102} // end namespace Dom
103} // end namespace QQmlJS
104QT_END_NAMESPACE
105#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
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.
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... >