Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qv4arrayobject.cpp File Reference

(8b6a9403bf2e04d34b9b07d2780186029fab99d0)

#include "qv4arrayobject_p.h"
#include "qv4arrayiterator_p.h"
#include "qv4objectproto_p.h"
#include "qv4argumentsobject_p.h"
#include "qv4runtime_p.h"
#include "qv4symbol_p.h"
#include <QtCore/qscopedvaluerollback.h>
+ Include dependency graph for qv4arrayobject.cpp:

Go to the source code of this file.

Functions

 DEFINE_OBJECT_VTABLE (ArrayCtor)
 
static ScopedObject createObjectFromCtorOrArray (Scope &scope, ScopedFunctionObject ctor, bool useLen, int len)
 

Function Documentation

◆ createObjectFromCtorOrArray()

static ScopedObject createObjectFromCtorOrArray ( Scope & scope,
ScopedFunctionObject ctor,
bool useLen,
int len )
static

Definition at line 129 of file qv4arrayobject.cpp.

References argument, QV4::Scope::engine, QV4::Value::fromReturnedValue(), QV4::ExecutionEngine::newArrayObject(), and QV4::Value::undefinedValue().

Referenced by QV4::ArrayPrototype::method_from(), and QV4::ArrayPrototype::method_of().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DEFINE_OBJECT_VTABLE()

DEFINE_OBJECT_VTABLE ( ArrayCtor )