Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4module_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 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
#ifndef QV4MODULE
4
#define QV4MODULE
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#include "
qv4object_p.h
"
18
#include "
qv4context_p.h
"
19
20
QT_BEGIN_NAMESPACE
21
22
namespace
QV4
{
23
24
namespace
Heap {
25
26
#define ModuleMembers(class, Member) \
27
Member(class, NoMark, ExecutableCompilationUnit *, unit) \
28
Member(class, Pointer, CallContext *, scope) \
29
Member(class, HeapValue, HeapValue, self) \
30
Member(class, NoMark, bool, evaluated)
31
32
DECLARE_EXPORTED_HEAP_OBJECT
(
Module
,
Object
) {
33
DECLARE_MARKOBJECTS
(
Module
)
34
35
void
init
(
ExecutionEngine
*
engine
,
ExecutableCompilationUnit
*moduleUnit);
36
};
37
38
}
39
40
struct
Q_QML_EXPORT
Module
:
public
Object
{
41
V4_OBJECT2
(
Module
,
Object
)
42
43
void
evaluate
();
44
const
Value
*resolveExport(
PropertyKey
key
)
const
;
45
46
static
ReturnedValue
virtualGet(
const
Managed
*
m
,
PropertyKey
id
,
const
Value
*receiver,
bool
*hasProperty);
47
static
PropertyAttributes
virtualGetOwnProperty(
const
Managed
*
m
,
PropertyKey
id
,
Property
*
p
);
48
static
bool
virtualHasProperty(
const
Managed
*
m
,
PropertyKey
id
);
49
static
bool
virtualPreventExtensions(
Managed
*);
50
static
bool
virtualDefineOwnProperty(
Managed
*,
PropertyKey
,
const
Property
*,
PropertyAttributes
);
51
static
bool
virtualPut(
Managed
*,
PropertyKey
,
const
Value
&,
Value
*);
52
static
bool
virtualDeleteProperty(
Managed
*
m
,
PropertyKey
id
);
53
static
OwnPropertyKeyIterator
*virtualOwnPropertyKeys(
const
Object
*
m
,
Value
*
target
);
54
static
Heap::Object *virtualGetPrototypeOf(
const
Managed
*);
55
static
bool
virtualSetPrototypeOf(
Managed
*,
const
Object
*proto);
56
static
bool
virtualIsExtensible(
const
Managed
*);
57
};
58
59
}
60
61
QT_END_NAMESPACE
62
63
#endif
// QV4MODULE
QV4::ExecutableCompilationUnit
Definition
qv4executablecompilationunit_p.h:71
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QV4
\qmltype Particle \inqmlmodule QtQuick.Particles
Definition
qquickv4particledata.cpp:234
QV4::ReturnedValue
quint64 ReturnedValue
Definition
qv4staticvalue_p.h:38
m
const GLfloat * m
Definition
qopengles2ext.h:3203
key
GLuint64 key
Definition
qopengles2ext.h:2268
target
GLenum target
Definition
qopengles2ext.h:751
p
GLfloat GLfloat p
[1]
Definition
qopenglext.h:12698
init
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)
Definition
qtextboundaryfinder.cpp:10
qv4context_p.h
DECLARE_EXPORTED_HEAP_OBJECT
#define DECLARE_EXPORTED_HEAP_OBJECT(name, base)
Definition
qv4mmdefs_p.h:316
DECLARE_MARKOBJECTS
#define DECLARE_MARKOBJECTS(class)
Definition
qv4mmdefs_p.h:320
qv4object_p.h
V4_OBJECT2
#define V4_OBJECT2(DataClass, superClass)
Definition
qv4vtable_p.h:237
evaluate
engine evaluate("var myObject = new MyObject()")
[8]
engine
QJSEngine engine
[0]
Definition
src_script_qjsvalue.cpp:14
QV4::ExecutionEngine
Definition
qv4engine_p.h:135
QV4::Managed
Definition
qv4managed_p.h:73
QV4::Module
Definition
qv4module_p.h:40
QV4::Object
Definition
qv4object_p.h:104
QV4::OwnPropertyKeyIterator
Definition
qv4vtable_p.h:27
QV4::PropertyAttributes
Definition
qv4global_p.h:193
QV4::PropertyKey
Definition
qv4propertykey_p.h:28
QV4::Property
Definition
qv4property_p.h:26
QV4::Value
Definition
qv4value_p.h:38
qtdeclarative
src
qml
jsruntime
qv4module_p.h
Generated by
1.9.7