Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4iterator.cpp
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#include <qv4iterator_p.h>
4#include <qv4symbol_p.h>
5#include <qv4engine_p.h>
6
7using namespace QV4;
8
10{
12}
13
15{
16 return thisObject->asReturnedValue();
17}
18
19
21{
22 Scope scope(engine);
26 return obj->asReturnedValue();
27}
28
\qmltype Particle \inqmlmodule QtQuick.Particles
quint64 ReturnedValue
Scoped< String > ScopedString
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLhandleARB obj
[2]
#define QStringLiteral(str)
QJSEngine engine
[0]
Symbol * symbol_iterator() const
Heap::String * newString(const QString &s=QString())
Heap::Object * newObject()
static ReturnedValue createIterResultObject(ExecutionEngine *engine, const Value &value, bool done)
static ReturnedValue method_iterator(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
void init(ExecutionEngine *engine)
ExecutionEngine * engine() const
void defineDefaultProperty(StringOrSymbol *name, const Value &value, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
constexpr ReturnedValue asReturnedValue() const
static constexpr Value fromBoolean(bool b)
Definition qv4value_p.h:183