Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4arrayobject.cpp File Reference
#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  )