Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmltypecompiler_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QQMLTYPECOMPILER_P_H
6
#
define
QQMLTYPECOMPILER_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
<
qglobal
.
h
>
20
#
include
<
qqmlerror
.
h
>
21
#
include
<
qhash
.
h
>
22
#
include
<
private
/
qqmltypeloader_p
.
h
>
23
#
include
<
private
/
qqmlirbuilder_p
.
h
>
24
#
include
<
private
/
qqmlpropertyresolver_p
.
h
>
25
#
include
<
private
/
qqmlpropertycachecreator_p
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QQmlEnginePrivate
;
30
class
QQmlError;
31
class
QQmlTypeData;
32
class
QQmlImports;
33
class
QTypeRevision
;
34
35
namespace
QmlIR
{
36
struct
Document;
37
}
38
39
namespace
QV4
{
40
namespace
CompiledData
{
41
struct
QmlUnit
;
42
struct
Location
;
43
}
44
}
45
46
struct
QQmlTypeCompiler
47
{
48
Q_DECLARE_TR_FUNCTIONS
(
QQmlTypeCompiler
)
49
public
:
50
QQmlTypeCompiler
(
QQmlTypeData
*
typeData
,
QmlIR
::
Document
*
document
);
51
52
QQmlRefPointer
<
QV4
::
CompiledData
::
CompilationUnit
>
compile
();
53
54
QList
<
QQmlError
>
compilationErrors
()
const
{
return
errors; }
55
56
static
QList
<
QQmlError
>
57
computeRuntimeData
(QV4::CompiledData::CompilationUnit *unit, QQmlTypeLoader *typeLoader,
58
const
QQmlImports *imports,
59
const
QV4::CompiledData::DependentTypesHasher &dependencyHasher);
60
61
private
:
62
void
recordError(
const
QQmlJS::DiagnosticMessage &message);
63
64
QList<QQmlError> errors;
65
QmlIR
::Document *document;
66
QQmlTypeData *typeData;
67
};
68
69
QT_END_NAMESPACE
70
71
#
endif
// QQMLTYPECOMPILER_P_H
QQmlIncubator::QQmlEnginePrivate
friend class QQmlEnginePrivate
Definition
qqmlincubator.h:63
QTypeRevision
\inmodule QtCore
Definition
qtyperevision.h:32
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QV4::CompiledData
Definition
qv4compileddata.cpp:22
QV4
Definition
qjsvalue.h:24
QmlIR
Definition
qv4compileddata_p.h:71
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
Q_LOGGING_CATEGORY
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
QQmlTypeCompiler
Definition
qqmltypecompiler_p.h:47
QQmlTypeCompiler::compilationErrors
QList< QQmlError > compilationErrors() const
Definition
qqmltypecompiler_p.h:54
QQmlTypeCompiler::computeRuntimeData
static QList< QQmlError > computeRuntimeData(QV4::CompiledData::CompilationUnit *unit, QQmlTypeLoader *typeLoader, const QQmlImports *imports, const QV4::CompiledData::DependentTypesHasher &dependencyHasher)
Definition
qqmltypecompiler.cpp:691
QQmlTypeCompiler::compile
QQmlRefPointer< QV4::CompiledData::CompilationUnit > compile()
Definition
qqmltypecompiler.cpp:29
QV4::CompiledData::Location
Definition
qv4compileddata_p.h:136
QV4::CompiledData::QmlUnit
Definition
qv4compileddata_p.h:1107
qtdeclarative
src
qml
qml
qqmltypecompiler_p.h
Generated on
for Qt by
1.18.0