![]() |
Qt 6.x
The Qt SDK
|
#include <qv4engine_p.h>
Classes | |
struct | Deletable |
struct | Module |
class | ScarceResourceData |
Static Public Member Functions | |
static Heap::ExecutionContext * | qmlContext (Heap::ExecutionContext *ctx) |
static QVariant | toVariant (const QV4::Value &value, QMetaType typeHint, bool createJSValueForObjectsAndSymbols=true) |
static QVariantMap | variantMapFromJS (const QV4::Object *o) |
static bool | metaTypeFromJS (const Value &value, QMetaType type, void *data) |
static QMutex * | registrationMutex () |
static int | registerExtension () |
static void | setMaxCallDepth (int maxCallDepth) |
static int | maxCallDepth () |
template<typename Value > | |
static QJSPrimitiveValue | createPrimitive (const Value &v) |
Friends | |
struct | ExecutionContextSaver |
struct | ExecutionContext |
struct | Heap::ExecutionContext |
template<int Frames> | |
struct | ExecutionEngineCallDepthRecorder |
Definition at line 134 of file qv4engine_p.h.
anonymous enum |
Enumerator | |
---|---|
NTypedArrayTypes |
Definition at line 258 of file qv4engine_p.h.
|
strong |
Enumerator | |
---|---|
Disabled | |
AotByteCode | |
AotNative | |
QmlcRead | |
QmlcWrite | |
Aot | |
Qmlc | |
Enabled |
Definition at line 141 of file qv4engine_p.h.
Definition at line 176 of file qv4engine_p.h.
Definition at line 353 of file qv4engine_p.h.
Definition at line 409 of file qv4engine_p.h.
Definition at line 332 of file qv4engine.cpp.
References QV4::Heap::InternalClass::addMember(), QV4::MemoryManager::allocate(), QV4::MemoryManager::allocIC(), QV4::MemoryManager::allocObject(), Array_Ctor, ArrayBuffer_Ctor, arrayBufferCtor(), ArrayBufferProto, arrayBufferPrototype(), arrayCtor(), ArrayIteratorProto, arrayIteratorPrototype(), ArrayProto, arrayPrototype(), QV4::Value::as(), QV4::Attr_Accessor, QV4::Attr_Data, QV4::Attr_Invalid, QV4::Attr_NotConfigurable, QV4::Attr_NotEnumerable, QV4::Attr_ReadOnly, QV4::Attr_ReadOnly_ButConfigurable, QV4::StackProperties::base, Boolean_Ctor, booleanCtor(), BooleanProto, booleanPrototype(), QV4::EngineBase::callDepth, QV4::Managed::cast(), QV4::Heap::InternalClass::changePrototype(), QV4::Heap::InternalClass::changeVTable(), QV4::EngineBase::Class_ArgumentsObject, QV4::EngineBase::Class_ArrayObject, QV4::EngineBase::Class_ArrowFunction, QV4::EngineBase::Class_CallContext, QV4::EngineBase::Class_ConstructorFunction, QV4::EngineBase::Class_Empty, QV4::EngineBase::Class_ErrorObject, QV4::EngineBase::Class_ErrorObjectWithMessage, QV4::EngineBase::Class_ErrorProto, QV4::EngineBase::Class_ExecutionContext, QV4::EngineBase::Class_FunctionObject, QV4::EngineBase::Class_GeneratorFunction, QV4::EngineBase::Class_GeneratorObject, QV4::EngineBase::Class_MemberData, QV4::EngineBase::Class_MemberFunction, QV4::EngineBase::Class_MemberGeneratorFunction, QV4::EngineBase::Class_Object, QV4::EngineBase::Class_ObjectProto, QV4::EngineBase::Class_ProxyFunctionObject, QV4::EngineBase::Class_ProxyObject, QV4::EngineBase::Class_QmlContext, QV4::EngineBase::Class_QmlContextWrapper, QV4::EngineBase::Class_RegExp, QV4::EngineBase::Class_RegExpExecArray, QV4::EngineBase::Class_RegExpObject, QV4::EngineBase::Class_ScriptFunction, QV4::EngineBase::Class_SimpleArrayData, QV4::EngineBase::Class_SparseArrayData, QV4::EngineBase::Class_StrictArgumentsObject, QV4::EngineBase::Class_String, QV4::EngineBase::Class_StringObject, QV4::EngineBase::Class_Symbol, QV4::EngineBase::Class_SymbolObject, QV4::EngineBase::classes, QV4::EngineBase::cppStackBase, QV4::EngineBase::cppStackLimit, QV4::Symbol::create(), QV4::FunctionObject::createBuiltinFunction(), d, DataView_Ctor, dataViewCtor(), DataViewProto, dataViewPrototype(), Date_Ctor, dateCtor(), DateProto, datePrototype(), QV4::Object::defineDefaultProperty(), QV4::Object::defineReadonlyProperty(), QV4::Scope::engine, engineSerial, Error_Ctor, errorCtor(), ErrorProto, errorPrototype(), Eval_Function, EvalError_Ctor, evalErrorCtor(), EvalErrorProto, evalErrorPrototype(), evalFunction(), QV4::EngineBase::exceptionValue, ForInIteratorProto, forInIteratorPrototype(), QV4::Value::fromDouble(), QV4::Value::fromInt32(), Function_Ctor, functionCtor(), FunctionProto, functionPrototype(), gcStack, GeneratorFunction_Ctor, generatorFunctionCtor(), GeneratorProto, generatorPrototype(), GetStack_Function, GetSymbolSpecies, global(), QV4::EngineBase::globalObject, i, id_arguments(), id_callee(), id_caller(), id_constructor(), id_index(), id_input(), id_lastIndex(), id_length(), id_name(), id_prototype(), QV4::EngineBase::identifierTable, QV4::RegExpObject::Index_ArrayIndex, QV4::RegExpObject::Index_ArrayInput, QV4::ErrorPrototype::Index_Constructor, QV4::ErrorObject::Index_FileName, QV4::RegExpObject::Index_LastIndex, QV4::Heap::ArrowFunction::Index_Length, QV4::ErrorObject::Index_LineNumber, QV4::ErrorObject::Index_Message, QV4::ErrorPrototype::Index_Message, QV4::ErrorPrototype::Index_Name, QV4::Heap::ArrowFunction::Index_Name, QV4::ErrorObject::Index_Stack, QV4::ErrorObject::Index_StackSetter, QV4::Heap::InternalClass::init(), init(), QQmlDelayedCallQueue::init(), QV4::QObjectWrapper::initializeBindings(), initRootContext(), QV4::Object::insertMember(), IntrinsicTypedArray_Ctor, intrinsicTypedArrayCtor(), IntrinsicTypedArrayProto, intrinsicTypedArrayPrototype(), QV4::EngineBase::isInitialized, IteratorProto, iteratorPrototype(), jsAlloca(), jsObjects, jsStack, QV4::EngineBase::jsStackBase, QV4::EngineBase::jsStackLimit, QV4::EngineBase::jsStackTop, jsStrings, jsSymbols, QBasicAtomicInteger< T >::loadAcquire(), m_engineId, Map_Ctor, mapCtor(), MapIteratorProto, mapIteratorPrototype(), MapProto, mapPrototype(), QV4::EngineBase::memoryManager, QV4::GlobalFunctions::method_decodeURI(), QV4::GlobalFunctions::method_decodeURIComponent(), QV4::GlobalFunctions::method_encodeURI(), QV4::GlobalFunctions::method_encodeURIComponent(), QV4::GlobalFunctions::method_escape(), QV4::ArrayPrototype::method_get_species(), QV4::ErrorObject::method_get_stack(), QV4::GlobalFunctions::method_isFinite(), QV4::GlobalFunctions::method_isNaN(), QV4::GlobalFunctions::method_parseFloat(), QV4::GlobalFunctions::method_parseInt(), QV4::GlobalFunctions::method_unescape(), QV4::FunctionObject::name(), newIdentifier(), newInternalClass(), newObject(), newString(), NJSObjects, NJSStrings, NJSSymbols, NTypedArrayTypes, Number_Ctor, numberCtor(), NumberProto, numberPrototype(), o, Object_Ctor, objectCtor(), ObjectProto, objectPrototype(), pi, Promise_Ctor, promiseCtor(), PromiseProto, promisePrototype(), QV4::StringOrSymbol::propertyKey(), PropertyListProto, propertyListPrototype(), Q_ASSERT, Q_INFINITY, Q_UNLIKELY, QStringLiteral, RangeError_Ctor, rangeErrorCtor(), RangeErrorProto, rangeErrorPrototype(), ReferenceError_Ctor, referenceErrorCtor(), ReferenceErrorProto, referenceErrorPrototype(), RegExp_Ctor, regExpCtor(), RegExpProto, regExpPrototype(), rootContext(), SequenceProto, sequencePrototype(), QV4::Property::set, Set_Ctor, setCtor(), SetIteratorProto, setIteratorPrototype(), SetProto, setPrototype(), SharedArrayBuffer_Ctor, sharedArrayBufferCtor(), SharedArrayBufferProto, sharedArrayBufferPrototype(), SignalHandlerProto, QV4::StackProperties::softLimit, QV4::stackProperties(), QBasicAtomicInteger< T >::storeRelease(), str, String___proto__, String_arguments, String_boolean, String_buffer, String_byteLength, String_byteOffset, String_callee, String_caller, String_configurable, String_constructor, String_Ctor, String_default, String_destroy, String_done, String_Empty, String_enumerable, String_eval, String_false, String_flags, String_function, String_get, String_global, String_ignoreCase, String_index, String_input, String_lastIndex, String_length, String_multiline, String_name, String_next, String_null, String_number, String_object, String_prototype, String_return, String_set, String_source, String_sticky, String_string, String_symbol, String_this, String_throw, String_toLocaleString, String_toString, String_true, String_uintMax, String_undefined, String_unicode, String_value, String_valueOf, String_writable, stringCtor(), StringIteratorProto, stringIteratorPrototype(), StringProto, stringPrototype(), Symbol_Ctor, Symbol_hasInstance, symbol_hasInstance(), Symbol_isConcatSpreadable, Symbol_iterator, symbol_iterator(), Symbol_match, Symbol_replace, Symbol_revokableProxy, Symbol_search, Symbol_species, Symbol_split, Symbol_toPrimitive, Symbol_toStringTag, Symbol_unscopables, symbolCtor(), SymbolProto, symbolPrototype(), SyntaxError_Ctor, syntaxErrorCtor(), SyntaxErrorProto, syntaxErrorPrototype(), thrower(), ThrowerObject, throwTypeError(), typedArrayCtors, typedArrayPrototype, TypeError_Ctor, typeErrorCtor(), TypeErrorProto, typeErrorPrototype(), QV4::Encode::undefined(), QV4::Value::undefinedValue(), URIError_Ctor, uRIErrorCtor(), URIErrorProto, uRIErrorPrototype(), Url_Ctor, urlCtor(), UrlProto, urlPrototype(), UrlSearchParams_Ctor, urlSearchParamsCtor(), UrlSearchParamsProto, urlSearchParamsPrototype(), QV4::Property::value, ValueTypeProto, VariantProto, variantPrototype(), QV4::Object::vtable(), WeakMap_Ctor, weakMapCtor(), WeakMapProto, weakMapPrototype(), WeakSet_Ctor, weakSetCtor(), WeakSetProto, weakSetPrototype(), and QThread::yieldCurrentThread().
ExecutionEngine::~ExecutionEngine | ( | ) |
Definition at line 849 of file qv4engine.cpp.
References bumperPointerAllocator, compilationUnits, executableAllocator, QV4::PersistentValueStorage::free(), gcStack, QV4::EngineBase::identifierTable, jsStack, m_multiplyWrappedQObjects, QV4::EngineBase::memoryManager, qDeleteAll(), qt_rem_qmlxmlhttprequest(), regExpAllocator, and regExpCache.
|
inline |
Definition at line 282 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::SharedArrayBufferPrototype::slice().
|
inline |
Definition at line 325 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 268 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 340 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 303 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::IntrinsicTypedArrayPrototype::init().
|
inline |
Definition at line 304 of file qv4engine_p.h.
|
inline |
Definition at line 267 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 308 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::ObjectPrototype::method_toString(), and QJSManagedValue::prototype().
QV4::ReturnedValue ExecutionEngine::callInContext | ( | QV4::Function * | function, |
QObject * | self, | ||
QV4::ExecutionContext * | ctxt, | ||
int | argc, | ||
const QV4::Value * | argv | ||
) |
Definition at line 2213 of file qv4engine.cpp.
References context, function, Q_ASSERT, and QV4::QObjectWrapper::wrap().
void ExecutionEngine::callInContext | ( | QV4::Function * | function, |
QObject * | self, | ||
QV4::ExecutionContext * | ctxt, | ||
int | argc, | ||
void ** | args, | ||
QMetaType * | types | ||
) |
Definition at line 2197 of file qv4engine.cpp.
References args, context, function, and Q_ASSERT.
Referenced by QQmlEnginePrivate::executeRuntimeFunction().
QQmlRefPointer< QQmlContextData > ExecutionEngine::callingQmlContext | ( | ) | const |
Definition at line 1218 of file qv4engine.cpp.
References qmlContext().
Referenced by QQmlXMLHttpRequest::QQmlXMLHttpRequest(), QtObject::createQmlObject(), QV4::QQmlContextWrapper::getPropertyAndBase(), QQuickStackViewPrivate::parseElements(), QV4::QObjectWrapper::setProperty(), QV4::QObjectWrapper::virtualGet(), QV4::QQmlTypeWrapper::virtualGet(), QV4::QObjectWrapper::virtualGetOwnProperty(), QV4::QObjectWrapper::virtualPut(), QV4::QQmlTypeWrapper::virtualPut(), QV4::QQmlValueTypeWrapper::virtualPut(), and QV4::QQmlTypeWrapper::virtualResolveLookupGetter().
Definition at line 682 of file qv4engine_p.h.
References Q_UNUSED.
ReturnedValue ExecutionEngine::catchException | ( | StackTrace * | trace = nullptr | ) |
Definition at line 1356 of file qv4engine.cpp.
References QV4::StaticValue::asReturnedValue(), QList< T >::clear(), QV4::Value::emptyValue(), exceptionStackTrace, QV4::EngineBase::exceptionValue, QV4::EngineBase::hasException, and Q_ASSERT.
Referenced by QJSEngine::catchError(), QQmlJavaScriptExpressionCapture::catchException(), catchExceptionAsQmlError(), QJSEngine::evaluate(), QV4::Promise::ReactionHandler::executeReaction(), QV4::Promise::ReactionHandler::executeResolveThenable(), QJSEngine::importModule(), QV4Include::method_include(), QV4::ExecutionContext::newCatchContext(), JavaScriptJob::run(), QV4::Value::toQStringNoThrow(), QJSValueIterator::value(), QV4::ResolveWrapper::virtualCall(), and QV4::PromiseCtor::virtualCallAsConstructor().
QQmlError ExecutionEngine::catchExceptionAsQmlError | ( | ) |
Definition at line 1462 of file qv4engine.cpp.
References catchException(), error, frame, qAbs(), and QV4::Value::toQStringNoThrow().
Referenced by QQmlJavaScriptExpression::evalFunction(), QV4::QObjectSlotDispatcher::impl(), QQmlVMEMetaObject::metaCall(), QQmlScriptData::scriptValueForContext(), QQmlComponentPrivate::setInitialProperty(), and QV4::QmlIncubatorObject::statusChanged().
|
inline |
Definition at line 901 of file qv4engine_p.h.
References Q_UNLIKELY, QStringLiteral, and throwRangeError().
QQmlRefPointer< ExecutableCompilationUnit > ExecutionEngine::compileModule | ( | const QUrl & | url | ) |
Definition at line 2042 of file qv4engine.cpp.
References QQmlMetaType::AcceptUntyped, Aot, AotByteCode, arg, compileModule(), QV4::ExecutableCompilationUnit::create(), diskCacheOptions(), QUrl::fileName(), QQmlMetaType::findCachedCompilationUnit(), QString::fromUtf8(), QFileInfo::lastModified(), QQmlMetaType::NoError, QStringLiteral, QIODeviceBase::ReadOnly, QQmlMetaType::RequireFullyTyped, throwError(), QUrl::toString(), url, and QQmlFile::urlToLocalFileOrQrc().
Referenced by compileModule(), and loadModule().
QQmlRefPointer< ExecutableCompilationUnit > ExecutionEngine::compileModule | ( | const QUrl & | url, |
const QString & | sourceCode, | ||
const QDateTime & | sourceTimeStamp | ||
) |
Definition at line 2075 of file qv4engine.cpp.
References QV4::Compiler::Codegen::compileModule(), QV4::ExecutableCompilationUnit::create(), debugger(), qWarning, throwSyntaxError(), QUrl::toString(), and url.
Definition at line 2400 of file qv4engine.cpp.
References file, QHash< Key, T >::insert(), line, number, QString::number(), and QHash< Key, T >::value().
Referenced by QV4::ConsoleObject::method_count().
|
inlinestatic |
Definition at line 776 of file qv4engine_p.h.
References ok.
Referenced by metaTypeFromJS(), and QJSValue::toPrimitive().
void ExecutionEngine::createQtObject | ( | ) |
Definition at line 2258 of file qv4engine.cpp.
References QV4::QMetaObjectWrapper::create(), QV4::Object::defineDefaultProperty(), QV4::EngineBase::globalObject, QJSEngine::JavaScriptOwnership, QStringLiteral, QJSEngine::setObjectOwnership(), and QV4::QObjectWrapper::wrap().
Referenced by QV4::GlobalExtensions::init(), and initializeGlobal().
|
inline |
Definition at line 542 of file qv4engine_p.h.
References context.
Referenced by QV4::EvalFunction::evalCall(), QV4::getSuperBase(), qmlContext(), QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(), and JavaScriptJob::run().
|
inline |
Definition at line 283 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 326 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 271 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 309 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 525 of file qv4engine_p.h.
Referenced by compileModule(), diskCacheOptions(), QV4DebugServiceImpl::engineAboutToBeRemoved(), QV4::Script::parse(), QV4::FunctionCtor::parse(), QV4DebugServiceImpl::stateAboutToBeChanged(), and throwError().
|
inline |
Definition at line 716 of file qv4engine_p.h.
ExecutionEngine::DiskCacheOptions ExecutionEngine::diskCacheOptions | ( | ) | const |
Definition at line 2186 of file qv4engine.cpp.
References debugger(), Disabled, Enabled, qmlGetConfigOption(), and transFormDiskCache().
Referenced by compileModule().
|
inline |
Definition at line 273 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and newErrorObject().
|
inline |
Definition at line 313 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 274 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 314 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 345 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 733 of file qv4engine_p.h.
|
inline |
Definition at line 337 of file qv4engine_p.h.
Referenced by ExecutionEngine().
void ExecutionEngine::freezeObject | ( | const QV4::Value & | value | ) |
Definition at line 2323 of file qv4engine.cpp.
References freeze_recursive(), and o.
Referenced by QV4::NodePrototype::getProto(), QV4::Text::prototype(), QV4::Document::prototype(), QV4::CharacterData::prototype(), and QV4::CDATA::prototype().
QV4::ReturnedValue ExecutionEngine::fromData | ( | QMetaType | type, |
const void * | ptr, | ||
Heap::Object * | parent = nullptr , |
||
int | property = -1 , |
||
uint | flags = 0 |
||
) |
Transform the given metaType and ptr into a JavaScript representation.
Definition at line 1756 of file qv4engine.cpp.
References QV4::StaticValue::asReturnedValue(), QV4::Heap::Base::asReturnedValue(), QList< T >::at(), QJSPrimitiveValue::Boolean, QMetaSequence::canGetValueAtConstIterator(), QMetaSequence::canGetValueAtIndex(), QSequentialIterable::constBegin(), QSequentialIterable::constEnd(), QMetaType::convert(), QJSValuePrivate::convertToReturnedValue(), QV4::QQmlValueTypeWrapper::create(), QV4::QmlListWrapper::create(), createSequence(), QJSPrimitiveValue::Double, QV4::Scope::engine, QMetaType::flags(), fromData(), QV4::SequencePrototype::fromData(), QV4::JsonObject::fromJsonArray(), QV4::JsonObject::fromJsonObject(), QV4::JsonObject::fromJsonValue(), QMetaType::fromType(), fromVariant(), QMetaContainer::hasConstIterator(), QMetaContainer::hasSize(), QMetaType::id(), QJSPrimitiveValue::Integer, QMetaType::IsConst, QMetaType::IsEnumeration, QMetaType::IsQmlList, QQmlType::isSequentialContainer(), it, list, QQmlType::listMetaSequence(), QIterable< Container >::metaContainer(), QQmlMetaType::metaObjectForValueType(), newArrayBuffer(), newArrayObject(), newDateObject(), newRegExpObject(), QV4::SequencePrototype::newSequence(), newString(), newVariantObject(), QV4::Encode::null(), QJSPrimitiveValue::Null, QMetaType::PointerToQObject, property, ptr(), QQmlMetaType::qmlListType(), QList< T >::size(), QJSPrimitiveValue::String, QJSPrimitiveValue::type(), QV4::Encode::undefined(), QJSPrimitiveValue::Undefined, QMetaType::underlyingType(), QMetaType::UnknownType, QMetaType::User, variantMapToJS(), QV4::QObjectWrapper::wrap(), QQmlLocale::wrap(), and QV4::QObjectWrapper::wrapConst().
Referenced by fromData(), fromVariant(), and metaTypeToJS().
QV4::ReturnedValue QV4::ExecutionEngine::fromVariant | ( | const QVariant & | variant | ) |
Definition at line 1951 of file qv4engine.cpp.
References QVariant::constData(), QVariant::metaType(), and variant.
Referenced by QJSManagedValue::QJSManagedValue(), QV4::doGetIndexed(), fromData(), QQmlDelegateModelItem::get_groups(), QQmlDMListAccessorData::get_modelData(), QQmlDMAbstractItemModelData::get_modelData(), QQmlDMAbstractItemModelData::get_property(), QV4::QObjectSlotDispatcher::impl(), QV4::loadProperty(), metaTypeToJS(), QQuickJSContext2D::method_get_fillRule(), QV4::ModelObjectOwnPropertyKeyIterator::next(), QV4::SequenceCompareFunctor::operator()(), QQuickStackViewPrivate::parseElements(), ModelNodeMetaObject::propertyWritten(), qmlsqldatabase_rows_index(), searchContextProperties(), sequenceInterface(), QQmlPrivate::storeFallbackAsVariant(), QQmlPrivate::storeObjectAsVariant(), QV4::ModelObject::virtualGet(), and QQmlVMEMetaObject::writeProperty().
ReturnedValue ExecutionEngine::fromVariant | ( | const QVariant & | variant, |
Heap::Object * | parent, | ||
int | property, | ||
uint | flags | ||
) |
Definition at line 1956 of file qv4engine.cpp.
References QVariant::constData(), fromData(), QVariant::metaType(), parent, property, and variant.
|
inline |
Definition at line 269 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 310 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::GeneratorPrototype::init().
|
inline |
Definition at line 270 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 311 of file qv4engine_p.h.
Referenced by ExecutionEngine().
Promise::ReactionHandler * ExecutionEngine::getPromiseReactionHandler | ( | ) |
Definition at line 1159 of file qv4engine.cpp.
References QScopedPointer< T, Cleanup >::data(), and Q_ASSERT.
Referenced by QV4::ResolveWrapper::virtualCall().
|
inline |
Definition at line 346 of file qv4engine_p.h.
|
inline |
Definition at line 299 of file qv4engine_p.h.
Referenced by QV4::Object::addSymbolSpecies().
ReturnedValue ExecutionEngine::global | ( | ) |
Definition at line 2037 of file qv4engine.cpp.
References QV4::StaticValue::asReturnedValue(), and QV4::EngineBase::globalObject.
Referenced by ExecutionEngine().
|
inline |
Definition at line 445 of file qv4engine_p.h.
Referenced by QV4::ObjectPrototype::init().
|
inline |
Definition at line 441 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 431 of file qv4engine_p.h.
|
inline |
Definition at line 463 of file qv4engine_p.h.
|
inline |
Definition at line 461 of file qv4engine_p.h.
|
inline |
Definition at line 462 of file qv4engine_p.h.
|
inline |
Definition at line 443 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 442 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 447 of file qv4engine_p.h.
|
inline |
Definition at line 440 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::TypedArrayPrototype::init(), lockObject(), and QV4::Object::speciesConstructor().
|
inline |
Definition at line 434 of file qv4engine_p.h.
|
inline |
Definition at line 459 of file qv4engine_p.h.
Referenced by QV4::getDestroyOrToStringMethod(), QQmlPrivate::initObjectLookup(), and QV4::QObjectWrapper::virtualGetOwnProperty().
|
inline |
Definition at line 466 of file qv4engine_p.h.
|
inline |
Definition at line 426 of file qv4engine_p.h.
Referenced by QV4::FunctionPrototype::init(), QV4::StringPrototype::init(), and Stringify::Str().
|
inline |
Definition at line 446 of file qv4engine_p.h.
|
inline |
Definition at line 452 of file qv4engine_p.h.
|
inline |
Definition at line 430 of file qv4engine_p.h.
Referenced by QV4::BooleanPrototype::method_toString().
|
inline |
Definition at line 475 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_split(), and QV4::RegExpPrototype::method_toString().
|
inline |
Definition at line 437 of file qv4engine_p.h.
|
inline |
Definition at line 450 of file qv4engine_p.h.
Referenced by QV4::ProxyObject::virtualGet().
|
inline |
Definition at line 469 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_get_flags(), QV4::RegExpPrototype::method_match(), and QV4::RegExpPrototype::method_replace().
|
inline |
Definition at line 470 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().
|
inline |
Definition at line 455 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::RegExpPrototype::method_replace(), and QV4::RegExpPrototype::method_search().
|
inline |
Definition at line 456 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 464 of file qv4engine_p.h.
Referenced by ExecutionEngine(), advanceLastIndexOnEmptyMatch(), QV4::RegExpPrototype::method_match(), QV4::RegExpPrototype::method_replace(), QV4::RegExpPrototype::method_search(), and QV4::RegExpPrototype::method_split().
|
inline |
Definition at line 438 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QQuickContext2DEngineData::QQuickContext2DEngineData(), QV4::Runtime::CreateClass::call(), QV4::FunctionObject::createBuiltinFunction(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::FunctionPrototype::init(), QV4::GeneratorPrototype::init(), QV4::ObjectPrototype::init(), QV4::RegExpPrototype::init(), QV4::TypedArrayPrototype::init(), QV4::ArrayPrototype::method_from(), QV4::ArrayPrototype::method_join(), QV4::ArrayPrototype::method_of(), QV4::ArrayPrototype::method_pop(), QV4::ArrayPrototype::method_push(), QV4::Proxy::method_revocable(), QV4::IntrinsicTypedArrayPrototype::method_set(), QV4::ArrayPrototype::method_shift(), QV4::ArrayPrototype::method_splice(), QV4::ArrayPrototype::method_unshift(), newPromiseObject(), QV4::ArrayObject::virtualDefineOwnProperty(), QV4::NamedNodeMap::virtualGet(), QV4::NodeList::virtualGet(), and QV4::Object::virtualGetLength().
|
inline |
Definition at line 471 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().
|
inline |
Definition at line 454 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::FunctionPrototype::init(), QV4::ErrorPrototype::method_toString(), and QV4::FunctionObject::name().
|
inline |
Definition at line 465 of file qv4engine_p.h.
|
inline |
Definition at line 428 of file qv4engine_p.h.
|
inline |
Definition at line 432 of file qv4engine_p.h.
|
inline |
Definition at line 436 of file qv4engine_p.h.
|
inline |
Definition at line 439 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::Runtime::CreateClass::call(), QV4::ErrorObject::create(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::FunctionPrototype::init(), QV4::GeneratorPrototype::init(), QV4::ObjectPrototype::init(), QV4::RegExpPrototype::init(), and QV4::TypedArrayPrototype::init().
|
inline |
Definition at line 467 of file qv4engine_p.h.
|
inline |
Definition at line 451 of file qv4engine_p.h.
Referenced by QV4::ProxyObject::virtualPut().
|
inline |
Definition at line 474 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_toString(), and QV4::RegExpObject::source().
|
inline |
Definition at line 473 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().
|
inline |
Definition at line 433 of file qv4engine_p.h.
|
inline |
Definition at line 435 of file qv4engine_p.h.
|
inline |
Definition at line 444 of file qv4engine_p.h.
|
inline |
Definition at line 468 of file qv4engine_p.h.
|
inline |
Definition at line 458 of file qv4engine_p.h.
Referenced by QV4::IntrinsicTypedArrayPrototype::init(), QV4::ObjectPrototype::init(), lockObject(), QV4::ArrayPrototype::method_toLocaleString(), and QV4::IntrinsicTypedArrayPrototype::method_toLocaleString().
|
inline |
Definition at line 457 of file qv4engine_p.h.
Referenced by QV4::getDestroyOrToStringMethod(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::FunctionPrototype::init(), QV4::ObjectPrototype::init(), QV4::RegExpPrototype::init(), QQmlPrivate::initObjectLookup(), QV4::QQmlValueTypeWrapper::initProto(), lockObject(), QV4::ObjectPrototype::method_toLocaleString(), and QV4::QObjectWrapper::virtualGetOwnProperty().
|
inline |
Definition at line 429 of file qv4engine_p.h.
Referenced by QV4::BooleanPrototype::method_toString().
|
inline |
Definition at line 453 of file qv4engine_p.h.
|
inline |
Definition at line 427 of file qv4engine_p.h.
|
inline |
Definition at line 472 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_get_flags(), QV4::RegExpPrototype::method_match(), and QV4::RegExpPrototype::method_replace().
|
inline |
Definition at line 449 of file qv4engine_p.h.
|
inline |
Definition at line 460 of file qv4engine_p.h.
Referenced by QV4::ObjectPrototype::init(), and lockObject().
|
inline |
Definition at line 448 of file qv4engine_p.h.
Definition at line 2277 of file qv4engine.cpp.
Referenced by QQmlTypeCompiler::compile().
void ExecutionEngine::initializeGlobal | ( | ) |
Definition at line 2229 of file qv4engine.cpp.
References QJSEngine::AllExtensions, createQtObject(), QV4::EngineBase::globalObject, i, QV4::GlobalExtensions::init(), QSet< T >::insert(), QV4::Managed::internalClass(), QV4::Heap::InternalClass::nameMap, qt_add_domexceptions(), qt_add_qmlxmlhttprequest(), qt_add_sqlexceptions(), QQmlDateExtension::registerExtension(), QQmlNumberExtension::registerExtension(), and QQmlLocale::registerStringLocaleCompare().
Referenced by initQmlGlobalObject().
void ExecutionEngine::initQmlGlobalObject | ( | ) |
Definition at line 2223 of file qv4engine.cpp.
References QV4::EngineBase::globalObject, initializeGlobal(), and lockObject().
Referenced by setQmlEngine().
void ExecutionEngine::initRootContext | ( | ) |
Definition at line 895 of file qv4engine.cpp.
References QV4::MemoryManager::allocManaged(), QV4::EngineBase::globalObject, IntegerNull, jsObjects, QV4::EngineBase::memoryManager, RootContext, and ScriptContext.
Referenced by ExecutionEngine().
void ExecutionEngine::injectCompiledModule | ( | const QQmlRefPointer< ExecutableCompilationUnit > & | moduleUnit | ) |
Definition at line 2094 of file qv4engine.cpp.
|
inline |
Definition at line 288 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::TypedArrayPrototype::init().
|
inline |
Definition at line 331 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::TypedArrayPrototype::init().
|
inline |
Definition at line 336 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::GeneratorPrototype::init().
|
inline |
Definition at line 164 of file qv4engine_p.h.
References ptr().
Referenced by ExecutionEngine(), QV4::Scope::alloc(), and QV4::Scope::alloc().
|
inline |
Definition at line 172 of file qv4engine_p.h.
Referenced by QV4::ConsoleObject::method_profile(), and QV4::ConsoleObject::method_profileEnd().
ExecutionEngine::Module ExecutionEngine::loadModule | ( | const QUrl & | _url, |
const ExecutableCompilationUnit * | referrer = nullptr |
||
) |
Definition at line 2119 of file qv4engine.cpp.
References compileModule(), QV4::ExecutableCompilationUnit::finalUrl(), QQmlTypeLoader::normalize(), QMutexLocker< Mutex >::relock(), QUrl::resolved(), QMutexLocker< Mutex >::unlock(), and url.
Referenced by QJSEngine::importModule().
void ExecutionEngine::lockObject | ( | const QV4::Value & | value | ) |
Definition at line 2330 of file qv4engine.cpp.
References QV4::SharedInternalClassData< T >::at(), i, id_constructor(), id_toLocaleString(), id_toString(), id_valueOf(), QV4::Managed::internalClass(), QV4::Heap::InternalClass::isLocked(), QV4::StringOrSymbol::propertyKey(), QV4::PropertyAttributes::setConfigurable(), and QV4::PropertyAttributes::setWritable().
Referenced by initQmlGlobalObject().
|
inline |
Definition at line 287 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 339 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 330 of file qv4engine_p.h.
Referenced by ExecutionEngine().
Definition at line 1319 of file qv4engine.cpp.
References QV4::EngineBase::classes, compilationUnits, i, QV4::EngineBase::identifierTable, QV4::IdentifierTable::markObjects(), and QV4::EngineBase::NClasses.
|
inlinestatic |
Definition at line 773 of file qv4engine_p.h.
int ExecutionEngine::maxGCStackSize | ( | ) | const |
Definition at line 2013 of file qv4engine.cpp.
Referenced by QV4::MarkStack::MarkStack().
int ExecutionEngine::maxJSStackSize | ( | ) | const |
Definition at line 2008 of file qv4engine.cpp.
Definition at line 2440 of file qv4engine.cpp.
References QV4::Value::as(), QString::at(), QMetaType::canConvert(), QByteArray::chopped(), QVariant::constData(), QMetaType::construct(), QMetaType::convert(), convertToIterable(), convertToNativeQObject(), createPrimitive(), d, QVariant::d, QVariant::data(), QVariant::Private::data, QV4::DateObject::dateTimeToDate(), QMetaType::destruct(), QMetaType::flags(), QMetaType::fromName(), QVariant::fromValue(), QV4::Scoped< T >::getPointer(), QMetaType::id(), QString::isEmpty(), QMetaType::IsEnumeration, QMetaType::IsPointer, metaObject(), QMetaType::metaObject(), QVariant::metaType(), QMetaType::name(), o, QQmlValueTypeProvider::populateValueType(), QStringLiteral, qtObjectFromJS(), QMetaType::QVariant, QJSValuePrivate::setValue(), str, QV4::Value::stringValue(), QV4::JsonObject::toJsonArray(), QV4::JsonObject::toJsonObject(), QV4::JsonObject::toJsonValue(), toList(), toVariant(), QV4::SequencePrototype::toVariant(), var, variant, and wrapper().
Referenced by QV4::convertAndCall(), QV4::convertAndCall(), convertToIterable(), QQmlPrivate::AOTCompiledContext::loadGlobalLookup(), QQmlPrivate::storeFallbackAsVariant(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), and QQmlPrivate::storeObjectAsVariant().
QV4::ReturnedValue ExecutionEngine::metaTypeToJS | ( | QMetaType | type, |
const void * | data | ||
) |
Definition at line 1992 of file qv4engine.cpp.
References fromData(), fromVariant(), newUrlObject(), and Q_ASSERT.
Referenced by QV4::populateJSCallArguments(), QQmlComponentPrivate::setInitialProperty(), QQmlBinding::slowWrite(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), variantToJS(), and QQmlPropertyPrivate::write().
ExecutionEngine::Module ExecutionEngine::moduleForUrl | ( | const QUrl & | _url, |
const ExecutableCompilationUnit * | referrer = nullptr |
||
) | const |
Definition at line 2102 of file qv4engine.cpp.
References QV4::ExecutableCompilationUnit::finalUrl(), QQmlTypeLoader::normalize(), QUrl::resolved(), and url.
Heap::ArrayBuffer * ExecutionEngine::newArrayBuffer | ( | const QByteArray & | array | ) |
Definition at line 1008 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by fromData(), and QV4::ArrayBufferCtor::virtualCallAsConstructor().
Heap::ArrayBuffer * ExecutionEngine::newArrayBuffer | ( | size_t | length | ) |
Definition at line 1013 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Heap::Object * ExecutionEngine::newArrayIteratorObject | ( | Object * | o | ) |
Definition at line 1197 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and o.
Referenced by QV4::ArrayPrototype::method_entries(), QV4::IntrinsicTypedArrayPrototype::method_entries(), QV4::UrlSearchParamsPrototype::method_entries(), QV4::ArrayPrototype::method_keys(), QV4::IntrinsicTypedArrayPrototype::method_keys(), QV4::UrlSearchParamsPrototype::method_keys(), QV4::ArrayPrototype::method_values(), QV4::IntrinsicTypedArrayPrototype::method_values(), and QV4::UrlSearchParamsPrototype::method_values().
Heap::ArrayObject * ExecutionEngine::newArrayObject | ( | const QStringList & | list | ) |
Definition at line 998 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), list, and QV4::EngineBase::memoryManager.
Heap::ArrayObject * ExecutionEngine::newArrayObject | ( | const Value * | values, |
int | length | ||
) |
Definition at line 976 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::MemoryManager::allocManaged(), d, QV4::Scope::engine, and QV4::EngineBase::memoryManager.
Heap::ArrayObject * ExecutionEngine::newArrayObject | ( | Heap::InternalClass * | ic | ) |
Definition at line 1003 of file qv4engine.cpp.
References QV4::MemoryManager::allocObject(), and QV4::EngineBase::memoryManager.
Heap::ArrayObject * ExecutionEngine::newArrayObject | ( | int | count = 0 | ) |
Definition at line 963 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by QV4DataCollector::QV4DataCollector(), QQuickCustomAffector::affectSystem(), QV4::RegExpObject::builtinExec(), QQmlEnginePrivate::createInternalContext(), createObjectFromCtorOrArray(), QtObject::createQmlObject(), QQuickParticleEmitter::emitWindow(), QQuickTrailEmitter::emitWindow(), fromData(), QV4::JsonObject::fromJsonArray(), QV4::ObjectPrototype::getOwnPropertyNames(), QV4::ArrayPrototype::method_concat(), QV4::ObjectPrototype::method_entries(), QV4::ArrayPrototype::method_filter(), QV4::QQmlLocaleData::method_get_uiLanguages(), QV4::QQmlLocaleData::method_get_weekDays(), QV4::UrlSearchParamsPrototype::method_getAll(), QQuickJSContext2DPrototype::method_getLineDash(), QV4::ObjectPrototype::method_getOwnPropertySymbols(), QV4::ObjectPrototype::method_keys(), QV4::ArrayPrototype::method_map(), QV4::RegExpPrototype::method_match(), QV4::ArrayIteratorPrototype::method_next(), QV4::MapIteratorPrototype::method_next(), QV4::SetIteratorPrototype::method_next(), QV4::Reflect::method_ownKeys(), QV4::RegExpPrototype::method_replace(), QV4::ArrayPrototype::method_slice(), QV4::ArrayPrototype::method_splice(), QV4::PropertyListPrototype::method_splice(), QV4::RegExpPrototype::method_split(), QV4::StringPrototype::method_split(), QV4::ObjectPrototype::method_values(), QJSEngine::newArray(), QV4::ModelObjectOwnPropertyKeyIterator::next(), QV4::GeneratorFunction::virtualCall(), QV4::ArrayCtor::virtualCallAsConstructor(), and QV4::ProxyObject::virtualOwnPropertyKeys().
Heap::Object * ExecutionEngine::newBooleanObject | ( | bool | b | ) |
Definition at line 958 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by QV4::PromisePrototype::method_catch(), and QV4::PromiseCtor::method_race().
Heap::InternalClass * ExecutionEngine::newClass | ( | Heap::InternalClass * | other | ) |
Definition at line 906 of file qv4engine.cpp.
References QV4::MemoryManager::allocIC(), QV4::Heap::InternalClass::init(), QV4::EngineBase::memoryManager, and other().
Referenced by QV4::Heap::InternalClass::asProtoClass(), QV4::Heap::InternalClass::changeMember(), QV4::Heap::InternalClass::frozen(), QV4::Heap::InternalClass::locked(), QV4::Heap::InternalClass::nonExtensible(), and QV4::Heap::InternalClass::sealed().
Heap::DateObject * ExecutionEngine::newDateObject | ( | const QDateTime & | dateTime | ) |
Definition at line 1023 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), dateTime, and QV4::EngineBase::memoryManager.
Heap::DateObject * ExecutionEngine::newDateObject | ( | double | dateTime | ) |
Definition at line 1018 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), dateTime, and QV4::EngineBase::memoryManager.
Referenced by fromData(), and QV4::DateCtor::virtualCallAsConstructor().
Heap::DateObject * ExecutionEngine::newDateObject | ( | QDate | date, |
Heap::Object * | parent, | ||
int | index, | ||
uint | flags | ||
) |
Definition at line 1028 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), date, QV4::EngineBase::memoryManager, and parent.
Heap::DateObject * ExecutionEngine::newDateObject | ( | QDateTime | dateTime, |
Heap::Object * | parent, | ||
int | index, | ||
uint | flags | ||
) |
Definition at line 1042 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), dateTime, QV4::EngineBase::memoryManager, and parent.
Heap::DateObject * ExecutionEngine::newDateObject | ( | QTime | time, |
Heap::Object * | parent, | ||
int | index, | ||
uint | flags | ||
) |
Definition at line 1035 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, parent, and time.
Heap::Object * ExecutionEngine::newErrorObject | ( | const QString & | message | ) |
Definition at line 1091 of file qv4engine.cpp.
Heap::Object * ExecutionEngine::newErrorObject | ( | const Value & | value | ) |
Definition at line 1086 of file qv4engine.cpp.
References errorCtor().
Referenced by QtObject::createQmlObject(), QJSEngine::evaluate(), QJSEngine::importModule(), QJSEngine::newErrorObject(), throwError(), and throwUnimplemented().
Heap::Object * ExecutionEngine::newEvalErrorObject | ( | const QString & | message | ) |
Definition at line 1170 of file qv4engine.cpp.
Referenced by QJSEngine::newErrorObject().
Heap::Object * ExecutionEngine::newForInIteratorObject | ( | Object * | o | ) |
Definition at line 1180 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and o.
Heap::String * ExecutionEngine::newIdentifier | ( | const QString & | text | ) |
Definition at line 935 of file qv4engine.cpp.
References QV4::MemoryManager::allocWithStringData(), QV4::EngineBase::memoryManager, QString::size(), and text.
Referenced by ExecutionEngine(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::GeneratorPrototype::init(), QV4::MapPrototype::init(), QV4::SetPrototype::init(), QV4::PromisePrototype::method_catch(), QQuickJSContext2DPrototype::method_measureText(), qmlsqldatabase_executeSql(), qmlsqldatabase_rows_index(), variantMapToJS(), QV4::ResolveWrapper::virtualCall(), and QV4::RejectWrapper::virtualCall().
Heap::InternalClass * ExecutionEngine::newInternalClass | ( | const VTable * | vtable, |
Object * | prototype | ||
) |
Definition at line 913 of file qv4engine.cpp.
References QV4::EngineBase::Class_Empty, and QV4::EngineBase::internalClasses().
Referenced by ExecutionEngine(), and QV4::GeneratorPrototype::init().
Heap::Object * ExecutionEngine::newMapIteratorObject | ( | Object * | o | ) |
Definition at line 1187 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and o.
Referenced by QV4::MapPrototype::method_entries(), QV4::MapPrototype::method_keys(), and QV4::MapPrototype::method_values().
Heap::Object * ExecutionEngine::newNumberObject | ( | double | value | ) |
Definition at line 953 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by QV4::PromisePrototype::method_catch(), and QV4::PromiseCtor::method_race().
Heap::Object * ExecutionEngine::newObject | ( | ) |
Definition at line 920 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by ExecutionEngine(), QQmlAdaptorModelEngineData::QQmlAdaptorModelEngineData(), QQmlComponentExtension::QQmlComponentExtension(), QQmlDelegateModelEngineData::QQmlDelegateModelEngineData(), QQmlSqlDatabaseData::QQmlSqlDatabaseData(), QQuickContext2DEngineData::QQuickContext2DEngineData(), QV4::IteratorPrototype::createIterResultObject(), QV4::ExecutionContext::createMutableBinding(), QtObject::createQmlObject(), QV4::JsonObject::fromJsonObject(), QV4::GeneratorPrototype::init(), VDMAbstractItemModelDataType::initializeConstructor(), QQmlDelegateModelItemMetaType::initializePrototype(), QV4::QQmlValueTypeWrapper::initProto(), QV4::ObjectPrototype::method_create(), QV4::ObjectPrototype::method_getOwnPropertyDescriptors(), QQuickJSContext2DPrototype::method_measureText(), QV4::Proxy::method_revocable(), QJSEngine::newObject(), QV4::Text::prototype(), QV4::Document::prototype(), QV4::CharacterData::prototype(), QV4::CDATA::prototype(), qmlsqldatabase_executeSql(), qmlsqldatabase_rows_index(), JavaScriptJob::run(), QV4::QQmlXMLHttpRequestCtor::setupProto(), variantMapToJS(), and QV4::ObjectCtor::virtualCall().
Heap::Object * ExecutionEngine::newObject | ( | Heap::InternalClass * | internalClass | ) |
Definition at line 925 of file qv4engine.cpp.
References QV4::MemoryManager::allocObject(), and QV4::EngineBase::memoryManager.
Heap::PromiseObject * ExecutionEngine::newPromiseObject | ( | ) |
Definition at line 1133 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and QScopedPointer< T, Cleanup >::reset().
Referenced by QV4::PromiseCtor::virtualCallAsConstructor().
Heap::Object * ExecutionEngine::newPromiseObject | ( | const QV4::FunctionObject * | thisObject, |
const QV4::PromiseCapability * | capability | ||
) |
Definition at line 1144 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::Attr_NotEnumerable, QV4::Attr_NotWritable, QV4::FunctionObject::callAsConstructor(), QV4::Value::fromInt32(), id_length(), QV4::EngineBase::memoryManager, and QScopedPointer< T, Cleanup >::reset().
|
inline |
Definition at line 548 of file qv4engine_p.h.
Referenced by QV4::Heap::InternalClass::init(), QV4::Heap::InternalClass::init(), and QV4::Heap::updateProtoUsage().
Heap::Object * ExecutionEngine::newRangeErrorObject | ( | const QString & | message | ) |
Definition at line 1123 of file qv4engine.cpp.
Referenced by QJSEngine::newErrorObject(), throwRangeError(), and throwRangeError().
Heap::Object * ExecutionEngine::newReferenceErrorObject | ( | const QString & | message | ) |
Definition at line 1107 of file qv4engine.cpp.
Referenced by QJSEngine::newErrorObject(), throwReferenceError(), throwReferenceError(), and throwReferenceError().
Heap::Object * ExecutionEngine::newReferenceErrorObject | ( | const QString & | message, |
const QString & | fileName, | ||
int | line, | ||
int | column | ||
) |
Definition at line 1112 of file qv4engine.cpp.
Heap::RegExpObject * ExecutionEngine::newRegExpObject | ( | const QString & | pattern, |
int | flags | ||
) |
Definition at line 1049 of file qv4engine.cpp.
References QV4::RegExp::create(), and newRegExpObject().
Referenced by fromData(), and newRegExpObject().
Heap::RegExpObject * ExecutionEngine::newRegExpObject | ( | RegExp * | re | ) |
Definition at line 1056 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Heap::Object * ExecutionEngine::newSetIteratorObject | ( | Object * | o | ) |
Definition at line 1192 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and o.
Referenced by QV4::SetPrototype::method_entries(), and QV4::SetPrototype::method_values().
Heap::String * ExecutionEngine::newString | ( | const QString & | s = QString() | ) |
Definition at line 930 of file qv4engine.cpp.
References QV4::MemoryManager::allocWithStringData(), and QV4::EngineBase::memoryManager.
Referenced by ExecutionEngine(), QJSManagedValue::QJSManagedValue(), QJSManagedValue::QJSManagedValue(), QJSManagedValue::QJSManagedValue(), QuickTestUtil::callerFile(), QV4DataCollector::collectScope(), QtObject::create(), QV4::FunctionObject::createBuiltinFunction(), QV4::IteratorPrototype::createIterResultObject(), QtObject::createQmlObject(), QV4::Object::defineAccessorProperty(), doWriteProperties(), QV4::RegExpPrototype::exec(), fromData(), QV4::JsonObject::fromJsonObject(), QV4::JsonObject::fromJsonValue(), QV4::getElementIntFallback(), QV4::Heap::Atomics::init(), QV4::Heap::JsonObject::init(), QV4::Heap::MathObject::init(), QV4::Heap::ArrayObject::init(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::GeneratorPrototype::init(), QV4::GlobalExtensions::init(), VDMAbstractItemModelDataType::initializeConstructor(), QQmlDelegateModelItemMetaType::initializePrototype(), QV4::IdentifierTable::insertString(), QV4::loadProperty(), QV4::StringPrototype::method_charAt(), QV4::StringPrototype::method_concat(), QQuickJSContext2DPrototype::method_createPattern(), QV4::QQmlLocaleData::method_currencySymbol(), QV4::GlobalFunctions::method_decodeURI(), QV4::GlobalFunctions::method_decodeURIComponent(), QV4::GlobalFunctions::method_encodeURI(), QV4::GlobalFunctions::method_encodeURIComponent(), QV4::GlobalFunctions::method_escape(), QQuickJSContext2D::method_get_fillStyle(), QV4::RegExpPrototype::method_get_flags(), QQuickJSContext2D::method_get_font(), QV4::QQmlLocaleData::method_get_formattedDataSize(), QQuickJSContext2D::method_get_globalCompositeOperation(), QV4::RegExpPrototype::method_get_lastMatch_n(), QV4::RegExpPrototype::method_get_lastParen(), QV4::RegExpPrototype::method_get_leftContext(), QQuickJSContext2D::method_get_lineCap(), QQuickJSContext2D::method_get_lineJoin(), QV4::NodePrototype::method_get_namespaceUri(), QV4::NodePrototype::method_get_nodeName(), QV4::NodePrototype::method_get_nodeValue(), QV4::RegExpPrototype::method_get_rightContext(), QQuickJSContext2D::method_get_shadowColor(), QV4::RegExpPrototype::method_get_source(), QV4::ErrorObject::method_get_stack(), QQuickJSContext2D::method_get_strokeStyle(), QQuickJSContext2D::method_get_textAlign(), QQuickJSContext2D::method_get_textBaseline(), QV4::QQmlLocaleData::method_get_uiLanguages(), QV4::UrlPrototype::method_getHash(), QV4::UrlPrototype::method_getHost(), QV4::UrlPrototype::method_getHostname(), QV4::UrlPrototype::method_getHref(), QV4::UrlPrototype::method_getOrigin(), QV4::UrlPrototype::method_getPassword(), QV4::UrlPrototype::method_getPathname(), QV4::UrlPrototype::method_getPort(), QV4::UrlPrototype::method_getProtocol(), QV4::UrlPrototype::method_getSearch(), QV4::UrlPrototype::method_getUsername(), QV4Include::method_include(), QV4::ArrayPrototype::method_join(), QV4::IntrinsicTypedArrayPrototype::method_join(), QV4::Attr::method_name(), QV4::StringIteratorPrototype::method_next(), QV4::StringPrototype::method_normalize(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QV4::ArrayPrototype::method_push(), QV4::StringPrototype::method_repeat(), QV4::RegExpPrototype::method_replace(), QV4::StringPrototype::method_replace(), QV4::Proxy::method_revocable(), QV4::RegExpPrototype::method_split(), QV4::StringPrototype::method_split(), QV4::GlobalExtensions::method_string_arg(), QV4::JsonObject::method_stringify(), QV4::StringPrototype::method_substr(), QV4::StringPrototype::method_substring(), QV4::DatePrototype::method_toDateString(), QV4::NumberPrototype::method_toExponential(), QV4::NumberPrototype::method_toFixed(), QV4::DatePrototype::method_toISOString(), QV4::DatePrototype::method_toJSON(), QV4::DatePrototype::method_toLocaleDateString(), QV4::ArrayPrototype::method_toLocaleString(), QV4::DatePrototype::method_toLocaleString(), QV4::IntrinsicTypedArrayPrototype::method_toLocaleString(), QV4::DatePrototype::method_toLocaleTimeString(), QV4::StringPrototype::method_toLowerCase(), QV4::NumberPrototype::method_toPrecision(), QV4::ArrayBufferPrototype::method_toString(), QV4::ArrayPrototype::method_toString(), QV4::DatePrototype::method_toString(), QV4::ErrorPrototype::method_toString(), QV4::FunctionPrototype::method_toString(), QV4::NumberPrototype::method_toString(), QV4::ObjectPrototype::method_toString(), QV4::RegExpPrototype::method_toString(), QV4::SymbolPrototype::method_toString(), QV4::UrlSearchParamsPrototype::method_toString(), QV4::VariantPrototype::method_toString(), QV4::QQmlLocaleData::method_toString(), QV4::DatePrototype::method_toTimeString(), QV4::StringPrototype::method_toUpperCase(), QV4::DatePrototype::method_toUTCString(), QV4::StringPrototype::method_trim(), QV4::GlobalFunctions::method_unescape(), QV4::Attr::method_value(), QV4::Text::method_wholeText(), QV4::Document::method_xmlEncoding(), QV4::Document::method_xmlVersion(), ModuleNamespaceIterator::next(), QV4::QObjectWrapperOwnPropertyKeyIterator::next(), QV4::QQmlValueTypeWrapperOwnPropertyKeyIterator::next(), QV4::ModelObjectOwnPropertyKeyIterator::next(), UrlSearchParamsObjectOwnPropertyKeyIterator::next(), qmlsqldatabase_executeSql(), qmlsqldatabase_version(), qt_add_qmlxmlhttprequest(), QV4::IdentifierTable::resolveId(), JavaScriptJob::run(), QQmlComponentPrivate::setInitialProperty(), throwError(), throwUnimplemented(), QuickTestUtil::typeName(), QV4::StringCtor::virtualCall(), QV4::ConstructorFunction::virtualCallAsConstructor(), QV4::DefaultClassConstructorFunction::virtualCallAsConstructor(), QV4::StringCtor::virtualCallAsConstructor(), QV4::ProxyObject::virtualDefineOwnProperty(), QV4::ProxyObject::virtualDeleteProperty(), QV4::ProxyObject::virtualGetOwnProperty(), QV4::ProxyObject::virtualGetPrototypeOf(), QV4::ProxyObject::virtualHasProperty(), QV4::ProxyObject::virtualIsExtensible(), QV4::ProxyObject::virtualOwnPropertyKeys(), QV4::ProxyObject::virtualPreventExtensions(), QV4::QQmlValueTypeWrapper::virtualPut(), QV4::ProxyObject::virtualSetPrototypeOf(), and QQmlVMEMetaObject::writeProperty().
Heap::Object * ExecutionEngine::newStringObject | ( | const String * | string | ) |
Definition at line 943 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by QV4::PromisePrototype::method_catch(), QV4::PromiseCtor::method_race(), and QV4::StringCtor::virtualCallAsConstructor().
Heap::Object * ExecutionEngine::newSymbolObject | ( | const Symbol * | symbol | ) |
Definition at line 948 of file qv4engine.cpp.
References QV4::MemoryManager::allocObject(), QV4::EngineBase::Class_SymbolObject, QV4::EngineBase::classes, QV4::EngineBase::memoryManager, and QV4::symbol().
Heap::Object * ExecutionEngine::newSyntaxErrorObject | ( | const QString & | message | ) |
Definition at line 1096 of file qv4engine.cpp.
Heap::Object * ExecutionEngine::newSyntaxErrorObject | ( | const QString & | message, |
const QString & | fileName, | ||
int | line, | ||
int | column | ||
) |
Definition at line 1101 of file qv4engine.cpp.
References fileName, and line.
Referenced by QJSEngine::newErrorObject(), QV4::Script::parse(), throwSyntaxError(), and throwSyntaxError().
Heap::Object * ExecutionEngine::newTypeErrorObject | ( | const QString & | message | ) |
Definition at line 1118 of file qv4engine.cpp.
Referenced by QJSEngine::newErrorObject(), throwTypeError(), and throwTypeError().
Heap::Object * ExecutionEngine::newURIErrorObject | ( | const QString & | message | ) |
Definition at line 1165 of file qv4engine.cpp.
Referenced by QJSEngine::newErrorObject(), and throwURIError().
Heap::Object * ExecutionEngine::newURIErrorObject | ( | const Value & | message | ) |
Definition at line 1128 of file qv4engine.cpp.
References uRIErrorCtor().
Heap::UrlObject * ExecutionEngine::newUrlObject | ( | ) |
Definition at line 1068 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by metaTypeToJS(), newUrlObject(), and QV4::UrlCtor::virtualCallAsConstructor().
Heap::UrlObject * ExecutionEngine::newUrlObject | ( | const QUrl & | url | ) |
Definition at line 1073 of file qv4engine.cpp.
References newUrlObject(), and url.
Heap::UrlSearchParamsObject * ExecutionEngine::newUrlSearchParamsObject | ( | ) |
Definition at line 1081 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by QV4::UrlPrototype::method_getSearchParams(), and QV4::UrlSearchParamsCtor::virtualCallAsConstructor().
Definition at line 1175 of file qv4engine.cpp.
References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.
Referenced by fromData(), QQmlVMEMetaObject::metaCall(), QQmlVMEMetaObject::readPropertyAsList(), and QQmlVMEMetaObject::writeProperty().
|
inline |
Definition at line 266 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 307 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::ObjectPrototype::method_toString(), and QJSManagedValue::prototype().
|
inline |
Definition at line 263 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 301 of file qv4engine_p.h.
Referenced by ExecutionEngine(), freeze_recursive(), and QV4::StringPrototype::init().
|
inline |
Definition at line 526 of file qv4engine_p.h.
|
inline |
Definition at line 281 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 320 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 305 of file qv4engine_p.h.
Referenced by ExecutionEngine().
QV4::ExecutionEngine::Q_DECLARE_FLAGS | ( | DiskCacheOptions | , |
DiskCache | |||
) |
Heap::QmlContext * ExecutionEngine::qmlContext | ( | ) | const |
Definition at line 1202 of file qv4engine.cpp.
References currentContext(), QV4::EngineBase::currentStackFrame, d, and qmlContext().
Referenced by callingQmlContext(), QV4::Moth::VME::exec(), qmlContext(), and qmlScopeObject().
|
inlinestatic |
Definition at line 610 of file qv4engine_p.h.
References Q_ASSERT.
Referenced by QQmlComponent::incubateObject(), initProperties(), QV4::QQmlContextWrapper::lookupIdObject(), QV4::QQmlContextWrapper::lookupInParentContextHierarchy(), QV4::QQmlContextWrapper::lookupScript(), QV4::QQmlContextWrapper::lookupType(), QV4Include::method_include(), QQuickStackViewPrivate::parseElements(), QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(), JavaScriptJob::run(), and QQuick3DLoader::setSource().
|
inline |
Definition at line 173 of file qv4engine_p.h.
Referenced by enumForSingleton(), QV4::generateWarning(), QV4::QQmlContextWrapper::getPropertyAndBase(), QV4::QObjectSlotDispatcher::impl(), QV4::QQmlContextWrapper::lookupIdObject(), QV4::QQmlContextWrapper::lookupInParentContextHierarchy(), QV4::QQmlTypeWrapper::lookupSingletonMethod(), QV4::QQmlTypeWrapper::lookupSingletonProperty(), QQmlLocalStorage::openDatabaseSync(), qmlsqldatabase_changeVersion(), JavaScriptJob::run(), QV4::QmlIncubatorObject::statusChanged(), QV4::QQmlTypeWrapper::virtualGet(), QV4::QQmlScopedEnumWrapper::virtualGet(), QV4::ModelObject::virtualGet(), QV4::QQmlTypeWrapper::virtualPut(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), and writeToConsole().
QObject * ExecutionEngine::qmlScopeObject | ( | ) | const |
Definition at line 1209 of file qv4engine.cpp.
References qmlContext().
|
inline |
Definition at line 275 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 315 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 276 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 316 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 272 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::RegExpObject::builtinExec(), QV4::RegExpPrototype::execFirstMatch(), QV4::RegExpPrototype::method_compile(), QV4::RegExpPrototype::method_get_lastMatch_n(), QV4::RegExpPrototype::method_get_lastParen(), QV4::RegExpPrototype::method_get_leftContext(), QV4::RegExpPrototype::method_get_rightContext(), QV4::StringPrototype::method_search(), and QV4::RegExpPrototype::method_split().
|
inline |
Definition at line 312 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::RegExpPrototype::method_get_global(), QV4::RegExpPrototype::method_get_ignoreCase(), QV4::RegExpPrototype::method_get_multiline(), QV4::RegExpPrototype::method_get_source(), QV4::RegExpPrototype::method_get_sticky(), and QV4::RegExpPrototype::method_get_unicode().
|
static |
Definition at line 2821 of file qv4engine.cpp.
QV4::Value * ExecutionEngine::registerNativeModule | ( | const QUrl & | url, |
const QV4::Value & | module | ||
) |
Definition at line 2144 of file qv4engine.cpp.
References QV4::PersistentValueStorage::allocate(), QV4::StaticValue::asReturnedValue(), QV4::MemoryManager::m_persistentValues, QV4::EngineBase::memoryManager, and url.
Referenced by QJSEngine::registerModule().
|
static |
Definition at line 2816 of file qv4engine.cpp.
Definition at line 1294 of file qv4engine.cpp.
References base, QV4::EngineBase::currentStackFrame, file, QV4::Function::finalUrl(), globalCode, and QString::isEmpty().
|
inline |
Definition at line 260 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QQuickPropertyChanges::actions(), QQmlBinding::create(), createBinding(), QV4::FunctionObject::createBuiltinFunction(), QQmlPropertyBinding::createFromScriptString(), QQmlJavaScriptExpression::createQmlBinding(), QQmlJavaScriptExpression::evalFunction(), QJSEngine::evaluate(), QV4::getDestroyOrToStringMethod(), VDMAbstractItemModelDataType::initializeConstructor(), QQmlDelegateModelItemMetaType::initializePrototype(), QV4::Proxy::method_revocable(), and QQmlScriptData::scriptValueForContext().
int ExecutionEngine::safeForAllocLength | ( | qint64 | len64 | ) |
Returns length converted to int if its safe to pass to Scope::alloc
. Otherwise it throws a RangeError, and returns 0.
Definition at line 2024 of file qv4engine.cpp.
References QV4::EngineBase::jsStackLimit, QV4::EngineBase::jsStackTop, QStringLiteral, and throwRangeError().
Referenced by createListFromArrayLike(), QV4::FunctionPrototype::method_apply(), and QV4::JsonObject::method_stringify().
|
inline |
Definition at line 261 of file qv4engine_p.h.
Referenced by createBindingInScope(), QV4::EvalFunction::evalCall(), QQmlEnginePrivate::executeRuntimeFunction(), JavaScriptJob::run(), QV4::FunctionCtor::virtualCallAsConstructor(), and QV4::GeneratorFunctionCtor::virtualCallAsConstructor().
|
inline |
Definition at line 322 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 285 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 528 of file qv4engine_p.h.
Referenced by QQmlNativeDebugServiceImpl::engineAboutToBeAdded(), QV4DebugServiceImpl::engineAdded(), and QV4DebugServiceImpl::stateAboutToBeChanged().
Definition at line 2409 of file qv4engine.cpp.
|
inline |
Definition at line 338 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inlinestatic |
Definition at line 772 of file qv4engine_p.h.
|
inline |
Definition at line 529 of file qv4engine_p.h.
|
inline |
Definition at line 328 of file qv4engine_p.h.
Referenced by ExecutionEngine().
void ExecutionEngine::setQmlEngine | ( | QQmlEngine * | engine | ) |
Definition at line 2282 of file qv4engine.cpp.
References engine, initQmlGlobalObject(), and QV4::EngineBase::isInitialized.
|
inline |
Definition at line 262 of file qv4engine_p.h.
|
inline |
Definition at line 280 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::SharedArrayBufferPrototype::slice().
|
inline |
Definition at line 324 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 335 of file qv4engine_p.h.
StackTrace ExecutionEngine::stackTrace | ( | int | frameLimit = -1 | ) | const |
Definition at line 1227 of file qv4engine.cpp.
References QList< T >::append(), QV4::EngineBase::currentStackFrame, frame, and QStringLiteral.
Referenced by QuickTestUtil::callerFile(), QuickTestUtil::callerLine(), BacktraceJob::run(), FrameJob::run(), QV4Debugger::stackTrace(), and throwError().
Definition at line 2382 of file qv4engine.cpp.
References QElapsedTimer::elapsed(), QElapsedTimer::isValid(), and QElapsedTimer::start().
Referenced by QV4::ConsoleObject::method_time().
Definition at line 2389 of file qv4engine.cpp.
References QHash< Key, T >::contains(), QElapsedTimer::elapsed(), and QHash< Key, T >::take().
Referenced by QV4::ConsoleObject::method_timeEnd().
|
inline |
Definition at line 264 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 341 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 306 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::GlobalExtensions::init(), and QV4::ObjectPrototype::method_toString().
|
inline |
Definition at line 477 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::FunctionPrototype::init().
|
inline |
Definition at line 478 of file qv4engine_p.h.
Referenced by QV4::Object::isConcatSpreadable().
|
inline |
Definition at line 479 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::IteratorPrototype::init(), QV4::IntrinsicTypedArrayPrototype::init(), and QV4::ArrayPrototype::method_from().
|
inline |
Definition at line 480 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init(), and QV4::StringPrototype::method_match().
|
inline |
Definition at line 481 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init().
|
inline |
Definition at line 488 of file qv4engine_p.h.
Referenced by QV4::Proxy::method_revocable(), and QV4::Proxy::method_revoke().
|
inline |
Definition at line 482 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init().
|
inline |
Definition at line 483 of file qv4engine_p.h.
Referenced by QV4::Object::addSymbolSpecies(), and QV4::Object::speciesConstructor().
|
inline |
Definition at line 484 of file qv4engine_p.h.
Referenced by QV4::RegExpPrototype::init().
|
inline |
Definition at line 485 of file qv4engine_p.h.
|
inline |
Definition at line 486 of file qv4engine_p.h.
Referenced by QV4::Heap::Atomics::init(), QV4::Heap::JsonObject::init(), QV4::Heap::MathObject::init(), QV4::IntrinsicTypedArrayPrototype::init(), QV4::SharedArrayBufferPrototype::init(), QV4::ArrayBufferPrototype::init(), QV4::DataViewPrototype::init(), QV4::GeneratorPrototype::init(), and QV4::ObjectPrototype::method_toString().
|
inline |
Definition at line 487 of file qv4engine_p.h.
Referenced by unscopable().
|
inline |
Definition at line 265 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 302 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and QV4::ObjectPrototype::method_toString().
|
inline |
Definition at line 277 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 317 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 347 of file qv4engine_p.h.
Referenced by ExecutionEngine().
ReturnedValue ExecutionEngine::throwError | ( | const QString & | message | ) |
Definition at line 1368 of file qv4engine.cpp.
References newErrorObject(), newString(), and throwError().
ReturnedValue ExecutionEngine::throwError | ( | const Value & | value | ) |
Definition at line 1332 of file qv4engine.cpp.
References debug, debugger(), error, exceptionStackTrace, QV4::EngineBase::exceptionValue, QV4::EngineBase::hasException, stackTrace(), and QV4::Encode::undefined().
Referenced by QV4::QObjectMethod::callInternal(), QtObject::color(), QtObject::colorEqual(), compileModule(), QtObject::createComponent(), QtObject::createComponent(), QtObject::createQmlObject(), QtObject::font(), QtObject::matrix4x4(), QV4::UrlSearchParamsPrototype::method_append(), QV4::UrlSearchParamsPrototype::method_delete(), QV4::UrlSearchParamsPrototype::method_entries(), QV4::UrlSearchParamsPrototype::method_forEach(), QV4::UrlSearchParamsPrototype::method_get(), QV4::UrlSearchParamsPrototype::method_getAll(), QV4::UrlSearchParamsPrototype::method_has(), QV4::UrlSearchParamsPrototype::method_keys(), QV4::GeneratorPrototype::method_return(), QV4::UrlSearchParamsPrototype::method_set(), QV4::GeneratorPrototype::method_throw(), QV4::NumberPrototype::method_toString(), QV4::QQmlLocaleData::method_toString(), QV4::UrlSearchParamsPrototype::method_values(), QV4::Script::parse(), particleData_curSize(), particleData_discard(), particleData_lifeLeft(), QQmlPrivate::AOTCompiledContext::resolveLoggingCategory(), QuickTestImageObject::save(), QV4::QObjectWrapper::setProperty(), QJSEngine::throwError(), QJSEngine::throwError(), throwError(), QJSEngine::throwError(), throwRangeError(), throwRangeError(), throwReferenceError(), throwReferenceError(), throwReferenceError(), throwSyntaxError(), throwSyntaxError(), throwTypeError(), throwTypeError(), throwUnimplemented(), throwURIError(), QV4::UrlCtor::virtualCallAsConstructor(), QV4::UrlSearchParamsCtor::virtualCallAsConstructor(), QV4::QQmlContextWrapper::virtualPut(), QV4::QObjectWrapper::virtualPut(), QV4::QQmlTypeWrapper::virtualPut(), and QV4::QQmlValueTypeWrapper::virtualPut().
ReturnedValue ExecutionEngine::throwRangeError | ( | const QString & | message | ) |
Definition at line 1430 of file qv4engine.cpp.
References error, newRangeErrorObject(), and throwError().
ReturnedValue ExecutionEngine::throwRangeError | ( | const Value & | value | ) |
Definition at line 1437 of file qv4engine.cpp.
References error, newRangeErrorObject(), and throwError().
Referenced by checkStackLimits(), QV4::createSpreadArguments(), QV4::ArrayPrototype::method_fill(), QV4::PropertyListPrototype::method_get_length(), QV4::method_get_length(), QV4::ArrayPrototype::method_map(), QV4::StringPrototype::method_normalize(), QV4::ArrayPrototype::method_push(), QV4::PropertyListPrototype::method_push(), QV4::StringPrototype::method_repeat(), QV4::ArrayPrototype::method_reverse(), QV4::IntrinsicTypedArrayPrototype::method_set(), QV4::PropertyListPrototype::method_set_length(), QV4::ArrayPrototype::method_splice(), QV4::PropertyListPrototype::method_splice(), QV4::NumberPrototype::method_toExponential(), QV4::NumberPrototype::method_toFixed(), QV4::DatePrototype::method_toISOString(), QV4::NumberPrototype::method_toPrecision(), QV4::PropertyListPrototype::method_unshift(), QV4::Object::push_back(), safeForAllocLength(), validateAtomicAccess(), QV4::ArrayBufferCtor::virtualCallAsConstructor(), QV4::ArrayCtor::virtualCallAsConstructor(), and QV4::ArrayObject::virtualDefineOwnProperty().
ReturnedValue ExecutionEngine::throwReferenceError | ( | const QString & | name | ) |
Definition at line 1405 of file qv4engine.cpp.
References error, newReferenceErrorObject(), and throwError().
ReturnedValue ExecutionEngine::throwReferenceError | ( | const QString & | value, |
const QString & | fileName, | ||
int | lineNumber, | ||
int | column | ||
) |
Definition at line 1422 of file qv4engine.cpp.
References error, fileName, line, newReferenceErrorObject(), and throwError().
ReturnedValue ExecutionEngine::throwReferenceError | ( | const Value & | value | ) |
Definition at line 1413 of file qv4engine.cpp.
References error, newReferenceErrorObject(), and throwError().
Referenced by QV4::ExecutionContext::getProperty(), QV4::ExecutionContext::getPropertyAndBase(), QV4::getSuperBase(), ModuleNamespaceIterator::next(), QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(), QV4::RuntimeCodegen::throwReferenceError(), QV4::ConstructorFunction::virtualCallAsConstructor(), QV4::DefaultClassConstructorFunction::virtualCallAsConstructor(), QV4::Module::virtualGet(), and QV4::Module::virtualGetOwnProperty().
ReturnedValue ExecutionEngine::throwSyntaxError | ( | const QString & | message | ) |
Definition at line 1383 of file qv4engine.cpp.
References error, newSyntaxErrorObject(), and throwError().
Referenced by compileModule(), QV4::JsonObject::method_parse(), QV4::Script::parse(), QV4::FunctionCtor::parse(), parseFlags(), and QV4::RuntimeCodegen::throwSyntaxError().
ReturnedValue ExecutionEngine::throwSyntaxError | ( | const QString & | message, |
const QString & | fileName, | ||
int | lineNumber, | ||
int | column | ||
) |
Definition at line 1376 of file qv4engine.cpp.
References error, fileName, line, newSyntaxErrorObject(), and throwError().
ReturnedValue ExecutionEngine::throwTypeError | ( | ) |
Definition at line 1391 of file qv4engine.cpp.
References error, newTypeErrorObject(), QStringLiteral, and throwError().
Referenced by ExecutionEngine(), advanceLastIndexOnEmptyMatch(), atomicReadModifyWrite(), QQmlPrivate::AOTCompiledContext::callGlobalLookup(), QQmlPrivate::AOTCompiledContext::callObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::callQmlContextPropertyLookup(), checkSearchParamsType(), checkUrlObjectType(), QV4::Sequence::containerPutIndexed(), QtObject::createComponent(), QV4::ExecutionContext::createMutableBinding(), QV4::RegExpPrototype::exec(), firstOrLastIndexOf(), functionObjectForCall(), QQmlDelegateModelItem::get_groups(), VDMAbstractItemModelDataType::get_hasModelChildren(), QQmlAdaptorModelEngineData::get_index(), QQmlDMListAccessorData::get_modelData(), QQmlDMAbstractItemModelData::get_modelData(), QQmlDMAbstractItemModelData::get_property(), QQmlPrivate::AOTCompiledContext::getObjectLookup(), QV4::getSuperBase(), QV4::DatePrototype::getThisDate(), QV4::QQmlLocaleData::getThisLocale(), getThisString(), QQmlPrivate::AOTCompiledContext::initGetEnumLookup(), QQmlPrivate::AOTCompiledContext::initGetObjectLookup(), QQmlPrivate::AOTCompiledContext::initGetValueLookup(), QQmlPrivate::AOTCompiledContext::initLoadAttachedLookup(), QQmlPrivate::AOTCompiledContext::initLoadScopeObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::initSetObjectLookup(), QQmlPrivate::AOTCompiledContext::initSetValueLookup(), QQmlPrivate::initTypeWrapperLookup(), QV4::Object::isArray(), QQmlPrivate::AOTCompiledContext::loadGlobalLookup(), QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup(), QV4::WeakSetPrototype::method_add(), QV4::SetPrototype::method_add(), QV4::UrlSearchParamsPrototype::method_append(), QV4::FunctionPrototype::method_apply(), QV4::Reflect::method_apply(), QV4::ObjectPrototype::method_assign(), QV4::FunctionPrototype::method_call(), QV4::MapPrototype::method_clear(), QV4::SetPrototype::method_clear(), QV4::Atomics::method_compareExchange(), QV4::RegExpPrototype::method_compile(), QV4::ArrayPrototype::method_concat(), QV4::Reflect::method_construct(), QV4::ArrayPrototype::method_copyWithin(), QV4::IntrinsicTypedArrayPrototype::method_copyWithin(), QV4::ObjectPrototype::method_create(), QV4::ObjectPrototype::method_defineProperties(), QV4::ObjectPrototype::method_defineProperty(), QV4::Reflect::method_defineProperty(), QV4::WeakMapPrototype::method_delete(), QV4::MapPrototype::method_delete(), QV4::WeakSetPrototype::method_delete(), QV4::SetPrototype::method_delete(), QV4::UrlSearchParamsPrototype::method_delete(), QV4::StringPrototype::method_endsWith(), QV4::MapPrototype::method_entries(), QV4::ObjectPrototype::method_entries(), QV4::SetPrototype::method_entries(), QV4::IntrinsicTypedArrayPrototype::method_entries(), QV4::IntrinsicTypedArrayPrototype::method_every(), QV4::RegExpPrototype::method_exec(), QV4::IntrinsicTypedArrayPrototype::method_fill(), QV4::IntrinsicTypedArrayPrototype::method_filter(), QV4::IntrinsicTypedArrayPrototype::method_find(), QV4::IntrinsicTypedArrayPrototype::method_findIndex(), QV4::MapPrototype::method_forEach(), QV4::SetPrototype::method_forEach(), QV4::IntrinsicTypedArrayPrototype::method_forEach(), QV4::UrlSearchParamsPrototype::method_forEach(), QV4::ArrayPrototype::method_from(), QV4::WeakMapPrototype::method_get(), QV4::MapPrototype::method_get(), QV4::Reflect::method_get(), QV4::UrlSearchParamsPrototype::method_get(), QV4::DataViewPrototype::method_get_buffer(), QV4::IntrinsicTypedArrayPrototype::method_get_buffer(), QV4::SharedArrayBufferPrototype::method_get_byteLength(), QV4::ArrayBufferPrototype::method_get_byteLength(), QV4::DataViewPrototype::method_get_byteLength(), QV4::IntrinsicTypedArrayPrototype::method_get_byteLength(), QV4::DataViewPrototype::method_get_byteOffset(), QV4::IntrinsicTypedArrayPrototype::method_get_byteOffset(), QV4::RegExpPrototype::method_get_flags(), QV4::RegExpPrototype::method_get_global(), QV4::RegExpPrototype::method_get_ignoreCase(), QV4::IntrinsicTypedArrayPrototype::method_get_length(), QV4::PropertyListPrototype::method_get_length(), QV4::RegExpPrototype::method_get_multiline(), QV4::MapPrototype::method_get_size(), QV4::SetPrototype::method_get_size(), QV4::RegExpPrototype::method_get_source(), QV4::ErrorObject::method_get_stack(), QV4::RegExpPrototype::method_get_sticky(), QV4::RegExpPrototype::method_get_unicode(), QV4::UrlSearchParamsPrototype::method_getAll(), QV4::ObjectPrototype::method_getOwnPropertyDescriptor(), QV4::ObjectPrototype::method_getOwnPropertyDescriptors(), QV4::ObjectPrototype::method_getOwnPropertyNames(), QV4::ObjectPrototype::method_getOwnPropertySymbols(), QV4::ObjectPrototype::method_getPrototypeOf(), QV4::WeakMapPrototype::method_has(), QV4::MapPrototype::method_has(), QV4::Reflect::method_has(), QV4::WeakSetPrototype::method_has(), QV4::SetPrototype::method_has(), QV4::UrlSearchParamsPrototype::method_has(), QV4::StringPrototype::method_includes(), QV4::IntrinsicTypedArrayPrototype::method_includes(), QV4::IntrinsicTypedArrayPrototype::method_indexOf(), QV4::StringPrototype::method_iterator(), QV4::IntrinsicTypedArrayPrototype::method_join(), QV4::MapPrototype::method_keys(), QV4::ObjectPrototype::method_keys(), QV4::IntrinsicTypedArrayPrototype::method_keys(), QV4::IntrinsicTypedArrayPrototype::method_lastIndexOf(), QV4::Atomics::method_load(), QV4::IntrinsicTypedArrayPrototype::method_map(), QV4::RegExpPrototype::method_match(), QV4::StringPrototype::method_match(), QV4::GeneratorPrototype::method_next(), QV4::ArrayIteratorPrototype::method_next(), QV4::MapIteratorPrototype::method_next(), QV4::SetIteratorPrototype::method_next(), QV4::StringIteratorPrototype::method_next(), QV4::ArrayPrototype::method_of(), QV4::Reflect::method_ownKeys(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QV4::ArrayPrototype::method_pop(), QV4::PropertyListPrototype::method_pop(), QV4::Reflect::method_preventExtensions(), QV4::ArrayPrototype::method_push(), QV4::PropertyListPrototype::method_push(), QV4::IntrinsicTypedArrayPrototype::method_reduce(), QV4::IntrinsicTypedArrayPrototype::method_reduceRight(), QV4::RegExpPrototype::method_replace(), QV4::GeneratorPrototype::method_return(), QV4::ArrayPrototype::method_reverse(), QV4::IntrinsicTypedArrayPrototype::method_reverse(), QV4::RegExpPrototype::method_search(), QV4::WeakMapPrototype::method_set(), QV4::MapPrototype::method_set(), QV4::Reflect::method_set(), QV4::IntrinsicTypedArrayPrototype::method_set(), QV4::UrlSearchParamsPrototype::method_set(), QV4::PropertyListPrototype::method_set_length(), QV4::ObjectPrototype::method_set_proto(), QV4::DatePrototype::method_setDate(), QV4::DatePrototype::method_setFullYear(), QV4::UrlPrototype::method_setHash(), QV4::UrlPrototype::method_setHost(), QV4::UrlPrototype::method_setHostname(), QV4::DatePrototype::method_setHours(), QV4::UrlPrototype::method_setHref(), QV4::DatePrototype::method_setMilliseconds(), QV4::DatePrototype::method_setMinutes(), QV4::DatePrototype::method_setMonth(), QV4::UrlPrototype::method_setPassword(), QV4::UrlPrototype::method_setPathname(), QV4::UrlPrototype::method_setPort(), QV4::UrlPrototype::method_setProtocol(), QV4::ObjectPrototype::method_setPrototypeOf(), QV4::UrlPrototype::method_setSearch(), QV4::DatePrototype::method_setSeconds(), QV4::DatePrototype::method_setTime(), QV4::UrlPrototype::method_setUsername(), QV4::DatePrototype::method_setUTCDate(), QV4::DatePrototype::method_setUTCFullYear(), QV4::DatePrototype::method_setUTCHours(), QV4::DatePrototype::method_setUTCMilliseconds(), QV4::DatePrototype::method_setUTCMinutes(), QV4::DatePrototype::method_setUTCMonth(), QV4::DatePrototype::method_setUTCSeconds(), QV4::DatePrototype::method_setYear(), QV4::ArrayPrototype::method_shift(), QV4::PropertyListPrototype::method_shift(), QV4::IntrinsicTypedArrayPrototype::method_slice(), QV4::IntrinsicTypedArrayPrototype::method_some(), QV4::PropertyListPrototype::method_sort(), QV4::ArrayPrototype::method_splice(), QV4::PropertyListPrototype::method_splice(), QV4::RegExpPrototype::method_split(), QV4::StringPrototype::method_startsWith(), QV4::Atomics::method_store(), QV4::IntrinsicTypedArrayPrototype::method_subarray(), QV4::GeneratorPrototype::method_throw(), QV4::DatePrototype::method_toISOString(), QV4::DatePrototype::method_toJSON(), QV4::ArrayPrototype::method_toLocaleString(), QV4::IntrinsicTypedArrayPrototype::method_toLocaleString(), QV4::BooleanPrototype::method_toString(), QV4::ErrorPrototype::method_toString(), QV4::FunctionPrototype::method_toString(), QV4::RegExpPrototype::method_toString(), QV4::StringPrototype::method_toString(), QV4::SymbolPrototype::method_toString(), QV4::QQmlValueTypeWrapper::method_toString(), QV4::DatePrototype::method_toUTCString(), QV4::ArrayPrototype::method_unshift(), QV4::PropertyListPrototype::method_unshift(), QV4::BooleanPrototype::method_valueOf(), QV4::SymbolPrototype::method_valueOf(), QV4::MapPrototype::method_values(), QV4::ObjectPrototype::method_values(), QV4::SetPrototype::method_values(), QV4::IntrinsicTypedArrayPrototype::method_values(), QV4::ForInIteratorObject::nextProperty(), QV4::SequenceCompareFunctor::operator()(), qmlsqldatabase_rows_setForwardOnly(), QQmlDelegateModelItem::set_groups(), QQmlDMAbstractItemModelData::set_modelData(), QQmlDMListAccessorData::set_modelData(), QQmlDMAbstractItemModelData::set_property(), QQmlPrivate::AOTCompiledContext::setObjectLookup(), QJSManagedValue::setProperty(), QV4::SharedArrayBufferPrototype::slice(), QV4::ArrayData::sort(), QV4::Object::speciesConstructor(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), thisNumberValue(), QV4::Value::toNumberImpl(), typedArraySpeciesCreate(), validateSharedIntegerTypedArray(), QV4::DelegateModelGroupFunction::virtualCall(), QV4::ConstructorFunction::virtualCallAsConstructor(), QV4::DefaultClassConstructorFunction::virtualCallAsConstructor(), QV4::UrlCtor::virtualCallAsConstructor(), QV4::UrlSearchParamsCtor::virtualCallAsConstructor(), QV4::Proxy::virtualCallAsConstructor(), QV4::ProxyObject::virtualDefineOwnProperty(), QV4::ProxyObject::virtualDeleteProperty(), QV4::ProxyObject::virtualGet(), QV4::TypedArray::virtualGet(), QV4::ProxyObject::virtualGetOwnProperty(), QV4::ProxyObject::virtualGetPrototypeOf(), QV4::ProxyObject::virtualHasProperty(), QV4::TypedArray::virtualHasProperty(), QV4::Object::virtualInstanceOf(), QV4::ProxyObject::virtualIsExtensible(), QV4::ProxyObject::virtualOwnPropertyKeys(), QV4::ProxyObject::virtualPreventExtensions(), QV4::ProxyObject::virtualPut(), QV4::TypedArray::virtualPut(), and QV4::ProxyObject::virtualSetPrototypeOf().
ReturnedValue ExecutionEngine::throwTypeError | ( | const QString & | message | ) |
Definition at line 1398 of file qv4engine.cpp.
References error, newTypeErrorObject(), and throwError().
ReturnedValue ExecutionEngine::throwUnimplemented | ( | const QString & | message | ) |
Definition at line 1453 of file qv4engine.cpp.
References newErrorObject(), newString(), and throwError().
ReturnedValue ExecutionEngine::throwURIError | ( | const Value & | msg | ) |
Definition at line 1446 of file qv4engine.cpp.
References error, newURIErrorObject(), and throwError().
Referenced by QV4::GlobalFunctions::method_decodeURI(), QV4::GlobalFunctions::method_decodeURIComponent(), QV4::GlobalFunctions::method_encodeURI(), and QV4::GlobalFunctions::method_encodeURIComponent().
|
static |
Definition at line 1685 of file qv4engine.cpp.
Referenced by QV4::Sequence::containerPutIndexed(), QV4::convertAndCall(), QQuickStackViewPrivate::createElement(), doWriteProperties(), QQmlBinding::evaluate(), fromMatchingType(), QQuickContext2DStyle::gradient_proto_addColorStop(), QQmlDelegateModelPrivate::insert(), metaTypeFromJS(), QQuickJSContext2DPrototype::method_createPattern(), QQuickJSContext2D::method_set_fillStyle(), QQuickJSContext2D::method_set_strokeStyle(), QQmlVMEMetaObject::readPropertyAsVariant(), ListModel::set(), ListModel::set(), QQmlDMAbstractItemModelData::set_modelData(), QQmlDMListAccessorData::set_modelData(), QQmlDMAbstractItemModelData::set_property(), QQmlBinding::slowWrite(), QuickTestResult::stringify(), toSqlVariant(), QJSManagedValue::toVariant(), QV4::SequencePrototype::toVariant(), QJSValue::toVariant(), QQmlExpressionPrivate::value(), and QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 278 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 318 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 279 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and newURIErrorObject().
|
inline |
Definition at line 319 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 289 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 342 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 293 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 343 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 334 of file qv4engine_p.h.
Referenced by QV4::QQmlValueTypeWrapper::initProto().
|
static |
Definition at line 1962 of file qv4engine.cpp.
References o, objectToVariant(), and QVariant::toMap().
Referenced by QQmlListModel::append(), QQmlListModel::insert(), and QQmlListModel::set().
|
inline |
Definition at line 321 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 286 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 329 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 284 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
inline |
Definition at line 327 of file qv4engine_p.h.
Referenced by ExecutionEngine().
|
friend |
Definition at line 138 of file qv4engine_p.h.
|
friend |
Definition at line 137 of file qv4engine_p.h.
|
friend |
Definition at line 795 of file qv4engine_p.h.
|
friend |
Definition at line 139 of file qv4engine_p.h.
WTF::BumpPointerAllocator* QV4::ExecutionEngine::bumperPointerAllocator |
Definition at line 158 of file qv4engine_p.h.
Referenced by ~ExecutionEngine().
QIntrusiveList<ExecutableCompilationUnit, &ExecutableCompilationUnit::nextCompilationUnit> QV4::ExecutionEngine::compilationUnits |
Definition at line 490 of file qv4engine_p.h.
Referenced by ~ExecutionEngine(), markObjects(), and GatherSourcesJob::run().
StackTrace QV4::ExecutionEngine::exceptionStackTrace |
Definition at line 643 of file qv4engine_p.h.
Referenced by catchException(), and throwError().
ExecutableAllocator* QV4::ExecutionEngine::executableAllocator |
Definition at line 155 of file qv4engine_p.h.
Referenced by ~ExecutionEngine().
WTF::PageAllocation* QV4::ExecutionEngine::gcStack |
Definition at line 162 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::MarkStack::MarkStack(), and ~ExecutionEngine().
Function* QV4::ExecutionEngine::globalCode |
Definition at line 170 of file qv4engine_p.h.
Referenced by QJSEngine::evaluate(), QV4Debugger::getFunction(), resolvedUrl(), and JavaScriptJob::run().
Value* QV4::ExecutionEngine::jsObjects |
Definition at line 257 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::QQmlValueTypeWrapper::initProto(), and initRootContext().
WTF::PageAllocation* QV4::ExecutionEngine::jsStack |
Definition at line 160 of file qv4engine_p.h.
Referenced by ExecutionEngine(), and ~ExecutionEngine().
Value* QV4::ExecutionEngine::jsStrings |
Definition at line 407 of file qv4engine_p.h.
Referenced by ExecutionEngine().
Value* QV4::ExecutionEngine::jsSymbols |
Definition at line 424 of file qv4engine_p.h.
Referenced by ExecutionEngine().
double QV4::ExecutionEngine::localTZA = 0.0 |
Definition at line 741 of file qv4engine_p.h.
Referenced by QV4::DateObject::dateTimeToString(), QV4::DatePrototype::method_getDate(), QV4::DatePrototype::method_getDay(), QV4::DatePrototype::method_getFullYear(), QV4::DatePrototype::method_getHours(), QV4::DatePrototype::method_getMilliseconds(), QV4::DatePrototype::method_getMinutes(), QV4::DatePrototype::method_getMonth(), QV4::DatePrototype::method_getSeconds(), QV4::DatePrototype::method_getTimezoneOffset(), QV4::DatePrototype::method_getYear(), QV4::DatePrototype::method_setDate(), QV4::DatePrototype::method_setFullYear(), QV4::DatePrototype::method_setHours(), QV4::DatePrototype::method_setMilliseconds(), QV4::DatePrototype::method_setMinutes(), QV4::DatePrototype::method_setMonth(), QV4::DatePrototype::method_setSeconds(), QV4::DatePrototype::method_setYear(), QV4::DatePrototype::method_toString(), QV4::DateObject::stringToDateTime(), and QV4::DateCtor::virtualCallAsConstructor().
quint32 QV4::ExecutionEngine::m_engineId |
Definition at line 492 of file qv4engine_p.h.
Referenced by ExecutionEngine().
MultiplyWrappedQObjectMap* QV4::ExecutionEngine::m_multiplyWrappedQObjects |
Definition at line 514 of file qv4engine_p.h.
Referenced by ~ExecutionEngine().
quintptr QV4::ExecutionEngine::protoIdCount = 1 |
Definition at line 519 of file qv4engine_p.h.
QJSEngine* QV4::ExecutionEngine::publicEngine |
Definition at line 174 of file qv4engine_p.h.
ExecutableAllocator* QV4::ExecutionEngine::regExpAllocator |
Definition at line 156 of file qv4engine_p.h.
Referenced by ~ExecutionEngine().
RegExpCache* QV4::ExecutionEngine::regExpCache |
Definition at line 494 of file qv4engine_p.h.
Referenced by ~ExecutionEngine().
QIntrusiveList<ScarceResourceData, &ScarceResourceData::node> QV4::ExecutionEngine::scarceResources |
Definition at line 509 of file qv4engine_p.h.
Referenced by QV4::Heap::VariantObject::removeVmePropertyReference().
FunctionObject* QV4::ExecutionEngine::typedArrayCtors |
Definition at line 297 of file qv4engine_p.h.
Referenced by ExecutionEngine(), QV4::IntrinsicTypedArrayPrototype::method_subarray(), and typedArraySpeciesCreate().
Object* QV4::ExecutionEngine::typedArrayPrototype |
Definition at line 332 of file qv4engine_p.h.
Referenced by ExecutionEngine().