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
qqmlirloader_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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
4
#
ifndef
QQMLIRLOADER_P_H
5
#
define
QQMLIRLOADER_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
<
private
/
qtqmlglobal_p
.
h
>
19
#
include
<
private
/
qv4compileddata_p
.
h
>
20
#
include
<
private
/
qqmljsmemorypool_p
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QmlIR
{
25
struct
Document;
26
struct
Object;
27
}
28
29
struct
Q_QML_EXPORT
QQmlIRLoader
{
30
QQmlIRLoader(
const
QV4::CompiledData::Unit *unit, QmlIR::Document *output);
31
32
void
load
();
33
34
private
:
35
QmlIR::Object *loadObject(
const
QV4::CompiledData::Object *serializedObject);
36
37
template
<
typename
_Tp> _Tp *New() {
return
pool->New<_Tp>(); }
38
39
const
QV4::CompiledData::Unit *unit;
40
QmlIR
::Document *output;
41
QQmlJS
::
MemoryPool
*
pool
;
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
// QQMLIRLOADER_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QmlIR
Definition
qv4compileddata_p.h:68
pool
QThreadPool pool
[8]
Definition
src_concurrent_qtconcurrentrun.cpp:12
FakeExpression
Definition
qqmlirloader.cpp:101
FakeExpression::firstSourceLocation
QQmlJS::SourceLocation firstSourceLocation() const override
Definition
qqmlirloader.cpp:106
FakeExpression::lastSourceLocation
QQmlJS::SourceLocation lastSourceLocation() const override
Definition
qqmlirloader.cpp:109
FakeExpression::FakeExpression
FakeExpression(int start, int length)
Definition
qqmlirloader.cpp:102
QQmlIRLoader
Definition
qqmlirloader_p.h:29
QQmlIRLoader::load
void load()
Definition
qqmlirloader.cpp:16
qtdeclarative
src
qml
qml
qqmlirloader_p.h
Generated on
for Qt by
1.16.1