![]() |
Qt 6.x
The Qt SDK
|
#include <qv4qmlcontext_p.h>
Definition at line 58 of file qv4qmlcontext_p.h.
|
inline |
Definition at line 65 of file qv4qmlcontext_p.h.
References d.
Referenced by getPropertyAndBase().
|
static |
Definition at line 114 of file qv4qmlcontext.cpp.
References QQmlImport::AllowRecursion, QJSValuePrivate::asQString(), QJSValuePrivate::asReturnedValue(), base, QV4::ExecutionEngine::callingQmlContext(), context, QV4::QQmlTypeWrapper::create(), QQmlRefPointer< T >::data(), DynamicMetaObject, e, QV4::Managed::engine(), QMetaObjectPrivate::flags, QV4::Value::fromReturnedValue(), QQmlData::get(), QQmlEnginePrivate::get(), QV4::Object::get(), getContext(), QV4::QObjectWrapper::getQmlProperty(), getQmlPropertyFlags(), getScopeObject(), QV4::Lookup::getterTrampoline, QV4::Lookup::globalGetter, QV4::Lookup::globalGetterGeneric(), QV4::EngineBase::globalObject, QV4::Object::hasProperty(), QV4::Value::heapObject(), QV4::Value::isString(), lookupContextObjectMethod(), lookupContextObjectProperty(), lookupInGlobalObject(), lookupInParentContextHierarchy(), lookupScopeObjectMethod(), lookupScopeObjectProperty(), lookupScript(), lookupSingleton(), lookupType(), lookupValueSingleton(), method, QV4::Encode::null(), QV4::Value::objectValue(), performLookup(), property, QQmlData::propertyCache, QV4::Object::propertyData(), Q_ASSERT, QV4::Lookup::qmlContextGlobalLookup, QV4::Lookup::qmlContextPropertyGetter, QV4::Lookup::qmlContextScriptLookup, QV4::Lookup::qmlContextSingletonLookup, QV4::ExecutionEngine::qmlEngine(), QV4::Lookup::qmlTypeLookup, QV4::Lookup::qmlTypeWrapper, QV4::Lookup::resolveGlobalGetter(), resolveQmlContextPropertyLookupGetter(), QV4::Lookup::scriptIndex, searchContextProperties(), QV4::setupQObjectLookup(), QV4::setupQObjectMethodLookup(), QV4::Lookup::singletonObject, QV4::Lookup::singletonValue, QJSValuePrivate::takeManagedValue(), QV4::Encode::undefined(), QV4::VTableBase::virtualGet, QV4::QObjectWrapper::wrap(), and wrapper().
Referenced by resolveQmlContextPropertyLookupGetter(), and virtualGet().
|
inline |
Definition at line 64 of file qv4qmlcontext_p.h.
References d.
Referenced by getPropertyAndBase().
|
static |
Definition at line 699 of file qv4qmlcontext.cpp.
References QV4::QObjectWrapper::AttachMethods, base, callWithContextObject(), QV4::Managed::engine(), QV4::Lookup::forCall, QV4::QObjectWrapper::lookupMethodGetterImpl(), QV4::QObjectWrapper::NoFlag, and revertObjectMethodLookup().
Referenced by getPropertyAndBase().
|
static |
Definition at line 686 of file qv4qmlcontext.cpp.
References QV4::QObjectWrapper::AttachMethods, base, callWithContextObject(), QV4::Managed::engine(), QV4::Lookup::forCall, QV4::QObjectWrapper::lookupPropertyGetterImpl(), QV4::QObjectWrapper::NoFlag, and revertObjectPropertyLookup().
Referenced by QQmlPrivate::AOTCompiledContext::captureQmlContextPropertyLookup(), getPropertyAndBase(), and QQmlPrivate::AOTCompiledContext::lookupResultMetaType().
|
static |
Definition at line 569 of file qv4qmlcontext.cpp.
References base, QQmlEngine::captureProperty(), context, QV4::Managed::engine(), QQmlEnginePrivate::get(), QV4::Encode::null(), QV4::Lookup::objectId, Q_UNUSED, qmlContext(), QV4::ExecutionEngine::qmlContext(), QV4::Lookup::qmlContextIdObjectLookup, QV4::ExecutionEngine::qmlEngine(), qmlEngine(), and QV4::QObjectWrapper::wrap().
Referenced by QQmlPrivate::AOTCompiledContext::initLoadContextIdLookup(), QQmlPrivate::AOTCompiledContext::loadContextIdLookup(), QQmlPrivate::AOTCompiledContext::lookupResultMetaType(), and searchContextProperties().
|
static |
Definition at line 590 of file qv4qmlcontext.cpp.
References base, QV4::Managed::engine(), and resolveQmlContextPropertyLookupGetter().
Referenced by QQmlPrivate::AOTCompiledContext::initLoadContextIdLookup(), and QQmlPrivate::AOTCompiledContext::loadContextIdLookup().
|
static |
Definition at line 717 of file qv4qmlcontext.cpp.
References base, QV4::Managed::engine(), QV4::Lookup::getterTrampoline, QV4::Lookup::globalGetter, lookupInGlobalObject(), Q_UNUSED, QV4::Lookup::qmlContextGlobalLookup, and QV4::Lookup::qmlContextPropertyGetter.
Referenced by getPropertyAndBase(), lookupInGlobalObject(), and resolveQmlContextPropertyLookupGetter().
|
static |
Definition at line 729 of file qv4qmlcontext.cpp.
References QV4::IdentifierTable::asPropertyKey(), base, QV4::FunctionData::compilationUnit, context, QV4::EngineBase::currentStackFrame, QV4::Managed::engine(), QQmlEnginePrivate::get(), QV4::Object::get(), QV4::QObjectWrapper::getQmlProperty(), getQmlPropertyFlags(), QV4::EngineBase::globalObject, QV4::EngineBase::identifierTable, QV4::Lookup::nameIndex, property, qmlContext(), QV4::ExecutionEngine::qmlContext(), QV4::ExecutionEngine::qmlEngine(), searchContextProperties(), QV4::Encode::undefined(), QV4::CppStackFrame::v4Function, QV4::QObjectWrapper::wrap(), and wrapper().
Referenced by getPropertyAndBase(), and searchContextProperties().
|
static |
Definition at line 712 of file qv4qmlcontext.cpp.
References base, QV4::Managed::engine(), and resolveQmlContextPropertyLookupGetter().
Referenced by QQmlPrivate::AOTCompiledContext::captureQmlContextPropertyLookup(), QQmlPrivate::AOTCompiledContext::initLoadScopeObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup(), and QQmlPrivate::AOTCompiledContext::lookupResultMetaType().
|
static |
Definition at line 647 of file qv4qmlcontext.cpp.
References QV4::QObjectWrapper::AttachMethods, base, callWithScopeObject(), QV4::Managed::engine(), QV4::Lookup::forCall, QV4::QObjectWrapper::lookupMethodGetterImpl(), QV4::QObjectWrapper::NoFlag, and revertObjectMethodLookup().
Referenced by getPropertyAndBase().
|
static |
Definition at line 635 of file qv4qmlcontext.cpp.
References QV4::QObjectWrapper::AttachMethods, base, callWithScopeObject(), QV4::Managed::engine(), QV4::Lookup::forCall, QV4::QObjectWrapper::lookupPropertyGetterImpl(), QV4::QObjectWrapper::NoFlag, and revertObjectPropertyLookup().
Referenced by QQmlPrivate::AOTCompiledContext::captureQmlContextPropertyLookup(), getPropertyAndBase(), QQmlPrivate::AOTCompiledContext::initLoadScopeObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup(), and QQmlPrivate::AOTCompiledContext::lookupResultMetaType().
|
static |
Definition at line 534 of file qv4qmlcontext.cpp.
References base, context, QV4::Managed::engine(), QV4::Encode::null(), Q_UNUSED, qmlContext(), QV4::ExecutionEngine::qmlContext(), QV4::Lookup::qmlContextScriptLookup, and QV4::Lookup::scriptIndex.
Referenced by getPropertyAndBase().
|
static |
Definition at line 552 of file qv4qmlcontext.cpp.
References QV4::Heap::Base::asReturnedValue(), base, QV4::Managed::engine(), Q_UNUSED, QV4::Lookup::qmlContextSingletonLookup, and QV4::Lookup::singletonObject.
Referenced by getPropertyAndBase(), QQmlPrivate::initTypeWrapperLookup(), QQmlPrivate::AOTCompiledContext::loadSingletonLookup(), and QQmlPrivate::AOTCompiledContext::lookupResultMetaType().
|
static |
Definition at line 780 of file qv4qmlcontext.cpp.
References QV4::StaticValue::asReturnedValue(), base, QV4::Managed::engine(), QV4::Value::fromHeapObject(), QV4::Managed::heapObject(), qmlContext(), QV4::ExecutionEngine::qmlContext(), QV4::Lookup::qmlContextPropertyGetter, QV4::Lookup::qmlTypeLookup, QV4::Lookup::qmlTypeWrapper, resolveQmlContextPropertyLookupGetter(), QV4::Encode::undefined(), and QQmlData::wasDeleted().
Referenced by getPropertyAndBase(), QQmlPrivate::initTypeWrapperLookup(), QQmlPrivate::AOTCompiledContext::loadTypeLookup(), and QQmlPrivate::AOTCompiledContext::lookupResultMetaType().
|
static |
Definition at line 560 of file qv4qmlcontext.cpp.
References base, QV4::Managed::engine(), Q_ASSERT, Q_UNUSED, QV4::Lookup::qmlContextSingletonLookup, QV4::Lookup::singletonObject, and QV4::Lookup::singletonValue.
Referenced by getPropertyAndBase().
|
static |
Definition at line 475 of file qv4qmlcontext.cpp.
References QV4::IdentifierTable::asPropertyKey(), QV4::StaticValue::asReturnedValue(), base, QV4::ExecutionEngine::currentContext(), QV4::EngineBase::currentStackFrame, QV4::Managed::engine(), getPropertyAndBase(), QV4::Lookup::getterTrampoline, QV4::Lookup::globalGetter, QV4::Lookup::globalGetterGeneric(), QV4::Object::hasProperty(), QV4::EngineBase::identifierTable, lookupInGlobalObject(), QV4::Lookup::nameIndex, qCWarning, QV4::ExecutionEngine::qmlContext(), QV4::Lookup::qmlContextGlobalLookup, QV4::Lookup::qmlContextPropertyGetter, QV4::Lookup::resolveGlobalGetter(), QV4::ExecutionEngine::throwReferenceError(), and QV4::CppStackFrame::v4Function.
Referenced by getPropertyAndBase(), lookupIdObjectInParentContext(), lookupScopeFallbackProperty(), lookupType(), revertObjectMethodLookup(), and revertObjectPropertyLookup().
|
static |
Definition at line 404 of file qv4qmlcontext.cpp.
References getPropertyAndBase(), QV4::Object::hasProperty(), and Q_ASSERT.
|
static |
Definition at line 411 of file qv4qmlcontext.cpp.
References QV4::QObjectWrapper::CheckRevision, context, QV4::Managed::engine(), error, QV4::Scope::hasException(), QV4::Value::isSymbol(), Q_ASSERT, QV4::QObjectWrapper::setQmlProperty(), QV4::ExecutionEngine::throwError(), QV4::VTableBase::virtualPut, and wrapper().