![]() |
Qt 6.x
The Qt SDK
|
#include <qv4qmlcontext_p.h>
Static Public Member Functions | |
static Heap::QmlContext * | create (QV4::ExecutionContext *parent, QQmlRefPointer< QQmlContextData > context, QObject *scopeObject) |
![]() | |
static Heap::CallContext * | newBlockContext (QV4::CppStackFrame *frame, int blockIndex) |
static Heap::CallContext * | cloneBlockContext (ExecutionEngine *engine, Heap::CallContext *callContext) |
static Heap::CallContext * | newCallContext (JSTypesStackFrame *frame) |
static Heap::ExecutionContext * | newCatchContext (CppStackFrame *frame, int blockIndex, Heap::String *exceptionVarName) |
![]() | |
static constexpr Value | fromStaticValue (StaticValue staticValue) |
static Value | fromHeapObject (HeapBasePtr m) |
static bool | toBooleanImpl (Value val) |
static double | toNumberImpl (Value v) |
static Heap::String * | toString (ExecutionEngine *e, Value val) |
static Heap::Object * | toObject (ExecutionEngine *e, Value val) |
static constexpr Value | fromReturnedValue (ReturnedValue val) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
static constexpr Value | emptyValue () |
static constexpr Value | fromBoolean (bool b) |
static constexpr Value | fromInt32 (int i) |
static constexpr Value | undefinedValue () |
static constexpr Value | nullValue () |
static Value | fromDouble (double d) |
static Value | fromUInt32 (uint i) |
![]() | |
static int | valueOffset () |
static int | tagOffset () |
static constexpr quint64 | tagValue (quint32 tag, quint32 value) |
static constexpr quint64 | tagBitMask (TagBit bit) |
static bool | integerCompatible (StaticValue a, StaticValue b) |
static bool | bothDouble (StaticValue a, StaticValue b) |
static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
static constexpr StaticValue | fromReturnedValue (ReturnedValue val) |
static constexpr StaticValue | emptyValue () |
static constexpr StaticValue | fromBoolean (bool b) |
static constexpr StaticValue | fromInt32 (int i) |
static constexpr StaticValue | undefinedValue () |
static constexpr StaticValue | nullValue () |
static StaticValue | fromDouble (double d) |
static StaticValue | fromUInt32 (uint i) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
Definition at line 88 of file qv4qmlcontext_p.h.
|
static |
Definition at line 809 of file qv4qmlcontext.cpp.
References QV4::MemoryManager::alloc(), QV4::MemoryManager::allocate(), context, QV4::Scope::engine, QV4::EngineBase::memoryManager, parent, and Q_ASSERT.
Referenced by QQuickPropertyChanges::actions(), QQmlBinding::create(), createBinding(), createBindingInScope(), QQmlPropertyBinding::createFromScriptString(), QQmlJavaScriptExpression::createQmlBinding(), QQmlJavaScriptExpression::evalFunction(), QQmlEnginePrivate::executeRuntimeFunction(), QQmlExpressionPrivate::init(), JavaScriptJob::run(), ValueLookupJob::run(), and QQmlScriptData::scriptValueForContext().
|
inline |
Definition at line 101 of file qv4qmlcontext_p.h.
References d.
|
inline |
Definition at line 97 of file qv4qmlcontext_p.h.
References d.