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
qjsmanagedvalue.cpp File Reference

(59c5038af49b82a8ee9c93455cdf093fa097aec8)

#include <QtQml/qjsmanagedvalue.h>
#include <QtQml/qjsengine.h>
#include <QtQml/private/qv4persistent_p.h>
#include <QtQml/private/qv4engine_p.h>
#include <QtQml/private/qv4mm_p.h>
#include <QtQml/private/qjsvalue_p.h>
#include <QtQml/private/qv4runtime_p.h>
#include <QtQml/private/qv4functionobject_p.h>
#include <QtQml/private/qv4jscall_p.h>
#include <QtQml/private/qv4urlobject_p.h>
#include <QtQml/private/qv4variantobject_p.h>
#include <QtQml/private/qv4qobjectwrapper_p.h>
#include <QtQml/private/qv4qmetaobjectwrapper_p.h>
#include <QtQml/private/qv4regexpobject_p.h>
#include <QtQml/private/qv4dateobject_p.h>
#include <QtQml/private/qv4errorobject_p.h>
#include <QtQml/private/qv4identifiertable_p.h>
#include <QtCore/qregularexpression.h>
#include <QtCore/qurl.h>
#include <QtCore/qdatetime.h>
+ Include dependency graph for qjsmanagedvalue.cpp:

Go to the source code of this file.

Functions

static QV4::ExecutionEnginev4Engine (QV4::Value *d)
 
static const QV4::FunctionObjectfunctionObjectForCall (QV4::Value *d)
 

Function Documentation

◆ functionObjectForCall()

static const QV4::FunctionObject * functionObjectForCall ( QV4::Value * d)
static

Definition at line 928 of file qjsmanagedvalue.cpp.

References QV4::Value::as(), d, Q_UNLIKELY, QStringLiteral, qWarning, and v4Engine().

Referenced by QJSManagedValue::call(), QJSManagedValue::callAsConstructor(), and QJSManagedValue::callWithInstance().

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

◆ v4Engine()

static QV4::ExecutionEngine * v4Engine ( QV4::Value * d)
static

Definition at line 105 of file qjsmanagedvalue.cpp.

References d, QV4::PersistentValueStorage::getEngine(), and Q_ASSERT.

Referenced by QJSManagedValue::QJSManagedValue(), QtObject::binding(), functionObjectForCall(), QJSManagedValue::jsMetaType(), QQuickStackViewPrivate::parseElements(), QJSManagedValue::property(), QJSManagedValue::prototype(), QJSManagedValue::setProperty(), and QJSManagedValue::setPrototype().

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