Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::ExecutionEngine Struct Reference

#include <qv4engine_p.h>

+ Inheritance diagram for QV4::ExecutionEngine:
+ Collaboration diagram for QV4::ExecutionEngine:

Classes

struct  Deletable
 
struct  Module
 
class  ScarceResourceData
 

Public Types

enum class  DiskCache {
  Disabled = 0 , AotByteCode = 1 << 0 , AotNative = 1 << 1 , QmlcRead = 1 << 2 ,
  QmlcWrite = 1 << 3 , Aot = AotByteCode | AotNative , Qmlc = QmlcRead | QmlcWrite , Enabled = Aot | Qmlc
}
 
enum  JSObjects {
  RootContext , ScriptContext , IntegerNull , ObjectProto ,
  SymbolProto , ArrayProto , ArrayProtoValues , PropertyListProto ,
  StringProto , NumberProto , BooleanProto , DateProto ,
  FunctionProto , GeneratorProto , RegExpProto , ErrorProto ,
  EvalErrorProto , RangeErrorProto , ReferenceErrorProto , SyntaxErrorProto ,
  TypeErrorProto , URIErrorProto , PromiseProto , VariantProto ,
  SequenceProto , SharedArrayBufferProto , ArrayBufferProto , DataViewProto ,
  WeakSetProto , SetProto , WeakMapProto , MapProto ,
  IntrinsicTypedArrayProto , ValueTypeProto , SignalHandlerProto , IteratorProto ,
  ForInIteratorProto , SetIteratorProto , MapIteratorProto , ArrayIteratorProto ,
  StringIteratorProto , UrlProto , UrlSearchParamsProto , Object_Ctor ,
  String_Ctor , Symbol_Ctor , Number_Ctor , Boolean_Ctor ,
  Array_Ctor , Function_Ctor , GeneratorFunction_Ctor , Date_Ctor ,
  RegExp_Ctor , Error_Ctor , EvalError_Ctor , RangeError_Ctor ,
  ReferenceError_Ctor , SyntaxError_Ctor , TypeError_Ctor , URIError_Ctor ,
  SharedArrayBuffer_Ctor , Promise_Ctor , ArrayBuffer_Ctor , DataView_Ctor ,
  WeakSet_Ctor , Set_Ctor , WeakMap_Ctor , Map_Ctor ,
  IntrinsicTypedArray_Ctor , Url_Ctor , UrlSearchParams_Ctor , GetSymbolSpecies ,
  Eval_Function , GetStack_Function , ThrowerObject , NJSObjects
}
 
enum  { NTypedArrayTypes = 9 }
 
enum  JSStrings {
  String_Empty , String_undefined , String_null , String_true ,
  String_false , String_boolean , String_number , String_string ,
  String_default , String_symbol , String_object , String_function ,
  String_length , String_prototype , String_constructor , String_arguments ,
  String_caller , String_callee , String_this , String___proto__ ,
  String_enumerable , String_configurable , String_writable , String_value ,
  String_get , String_set , String_eval , String_uintMax ,
  String_name , String_index , String_input , String_toString ,
  String_toLocaleString , String_destroy , String_valueOf , String_byteLength ,
  String_byteOffset , String_buffer , String_lastIndex , String_next ,
  String_done , String_return , String_throw , String_global ,
  String_ignoreCase , String_multiline , String_unicode , String_sticky ,
  String_source , String_flags , NJSStrings
}
 
enum  JSSymbols {
  Symbol_hasInstance , Symbol_isConcatSpreadable , Symbol_iterator , Symbol_match ,
  Symbol_replace , Symbol_search , Symbol_species , Symbol_split ,
  Symbol_toPrimitive , Symbol_toStringTag , Symbol_unscopables , Symbol_revokableProxy ,
  NJSSymbols
}
 
- Public Types inherited from QV4::EngineBase
enum  InternalClassType {
  Class_Empty , Class_String , Class_MemberData , Class_SimpleArrayData ,
  Class_SparseArrayData , Class_ExecutionContext , Class_CallContext , Class_QmlContext ,
  Class_Object , Class_ArrayObject , Class_FunctionObject , Class_ArrowFunction ,
  Class_GeneratorFunction , Class_GeneratorObject , Class_StringObject , Class_SymbolObject ,
  Class_ScriptFunction , Class_ConstructorFunction , Class_MemberFunction , Class_MemberGeneratorFunction ,
  Class_ObjectProto , Class_RegExp , Class_RegExpObject , Class_RegExpExecArray ,
  Class_ArgumentsObject , Class_StrictArgumentsObject , Class_ErrorObject , Class_ErrorObjectWithMessage ,
  Class_ErrorProto , Class_QmlContextWrapper , Class_ProxyObject , Class_ProxyFunctionObject ,
  Class_Symbol , NClasses
}
 

Public Member Functions

 Q_DECLARE_FLAGS (DiskCacheOptions, DiskCache)
 
QML_NEARLY_ALWAYS_INLINE ValuejsAlloca (int nValues)
 
QJSEnginejsEngine () const
 
QQmlEngineqmlEngine () const
 
ExecutionContextrootContext () const
 
ExecutionContextscriptContext () const
 
void setScriptContext (ReturnedValue c)
 
FunctionObjectobjectCtor () const
 
FunctionObjectstringCtor () const
 
FunctionObjectsymbolCtor () const
 
FunctionObjectnumberCtor () const
 
FunctionObjectbooleanCtor () const
 
FunctionObjectarrayCtor () const
 
FunctionObjectfunctionCtor () const
 
FunctionObjectgeneratorFunctionCtor () const
 
FunctionObjectdateCtor () const
 
FunctionObjectregExpCtor () const
 
FunctionObjecterrorCtor () const
 
FunctionObjectevalErrorCtor () const
 
FunctionObjectrangeErrorCtor () const
 
FunctionObjectreferenceErrorCtor () const
 
FunctionObjectsyntaxErrorCtor () const
 
FunctionObjecttypeErrorCtor () const
 
FunctionObjectuRIErrorCtor () const
 
FunctionObjectsharedArrayBufferCtor () const
 
FunctionObjectpromiseCtor () const
 
FunctionObjectarrayBufferCtor () const
 
FunctionObjectdataViewCtor () const
 
FunctionObjectweakSetCtor () const
 
FunctionObjectsetCtor () const
 
FunctionObjectweakMapCtor () const
 
FunctionObjectmapCtor () const
 
FunctionObjectintrinsicTypedArrayCtor () const
 
FunctionObjecturlCtor () const
 
FunctionObjecturlSearchParamsCtor () const
 
FunctionObjectgetSymbolSpecies () const
 
ObjectobjectPrototype () const
 
ObjectsymbolPrototype () const
 
ObjectarrayPrototype () const
 
ObjectarrayProtoValues () const
 
ObjectpropertyListPrototype () const
 
ObjectstringPrototype () const
 
ObjectnumberPrototype () const
 
ObjectbooleanPrototype () const
 
ObjectdatePrototype () const
 
ObjectfunctionPrototype () const
 
ObjectgeneratorPrototype () const
 
ObjectregExpPrototype () const
 
ObjecterrorPrototype () const
 
ObjectevalErrorPrototype () const
 
ObjectrangeErrorPrototype () const
 
ObjectreferenceErrorPrototype () const
 
ObjectsyntaxErrorPrototype () const
 
ObjecttypeErrorPrototype () const
 
ObjectuRIErrorPrototype () const
 
ObjectpromisePrototype () const
 
ObjectvariantPrototype () const
 
ObjectsequencePrototype () const
 
ObjectsharedArrayBufferPrototype () const
 
ObjectarrayBufferPrototype () const
 
ObjectdataViewPrototype () const
 
ObjectweakSetPrototype () const
 
ObjectsetPrototype () const
 
ObjectweakMapPrototype () const
 
ObjectmapPrototype () const
 
ObjectintrinsicTypedArrayPrototype () const
 
ObjectvalueTypeWrapperPrototype () const
 
ObjectsignalHandlerPrototype () const
 
ObjectiteratorPrototype () const
 
ObjectforInIteratorPrototype () const
 
ObjectsetIteratorPrototype () const
 
ObjectmapIteratorPrototype () const
 
ObjectarrayIteratorPrototype () const
 
ObjectstringIteratorPrototype () const
 
ObjecturlPrototype () const
 
ObjecturlSearchParamsPrototype () const
 
EvalFunctionevalFunction () const
 
FunctionObjectgetStackFunction () const
 
FunctionObjectthrower () const
 
Stringid_empty () const
 
Stringid_undefined () const
 
Stringid_null () const
 
Stringid_true () const
 
Stringid_false () const
 
Stringid_boolean () const
 
Stringid_number () const
 
Stringid_string () const
 
Stringid_default () const
 
Stringid_symbol () const
 
Stringid_object () const
 
Stringid_function () const
 
Stringid_length () const
 
Stringid_prototype () const
 
Stringid_constructor () const
 
Stringid_arguments () const
 
Stringid_caller () const
 
Stringid_callee () const
 
Stringid_this () const
 
Stringid___proto__ () const
 
Stringid_enumerable () const
 
Stringid_configurable () const
 
Stringid_writable () const
 
Stringid_value () const
 
Stringid_get () const
 
Stringid_set () const
 
Stringid_eval () const
 
Stringid_uintMax () const
 
Stringid_name () const
 
Stringid_index () const
 
Stringid_input () const
 
Stringid_toString () const
 
Stringid_toLocaleString () const
 
Stringid_destroy () const
 
Stringid_valueOf () const
 
Stringid_byteLength () const
 
Stringid_byteOffset () const
 
Stringid_buffer () const
 
Stringid_lastIndex () const
 
Stringid_next () const
 
Stringid_done () const
 
Stringid_return () const
 
Stringid_throw () const
 
Stringid_global () const
 
Stringid_ignoreCase () const
 
Stringid_multiline () const
 
Stringid_unicode () const
 
Stringid_sticky () const
 
Stringid_source () const
 
Stringid_flags () const
 
Symbolsymbol_hasInstance () const
 
Symbolsymbol_isConcatSpreadable () const
 
Symbolsymbol_iterator () const
 
Symbolsymbol_match () const
 
Symbolsymbol_replace () const
 
Symbolsymbol_search () const
 
Symbolsymbol_species () const
 
Symbolsymbol_split () const
 
Symbolsymbol_toPrimitive () const
 
Symbolsymbol_toStringTag () const
 
Symbolsymbol_unscopables () const
 
Symbolsymbol_revokableProxy () const
 
 ExecutionEngine (QJSEngine *jsEngine=nullptr)
 
 ~ExecutionEngine ()
 
QV4::Debugging::Debuggerdebugger () const
 
QV4::Profiling::Profilerprofiler () const
 
void setDebugger (Debugging::Debugger *)
 
void setProfiler (Profiling::Profiler *)
 
template<typename StackFrame = CppStackFrame>
ExecutionContextcurrentContext () const
 
quintptr newProtoId ()
 
Heap::InternalClassnewInternalClass (const VTable *vtable, Object *prototype)
 
Heap::Object * newObject ()
 
Heap::Object * newObject (Heap::InternalClass *internalClass)
 
Heap::StringnewString (const QString &s=QString())
 
Heap::StringnewIdentifier (const QString &text)
 
Heap::Object * newStringObject (const String *string)
 
Heap::Object * newSymbolObject (const Symbol *symbol)
 
Heap::Object * newNumberObject (double value)
 
Heap::Object * newBooleanObject (bool b)
 
Heap::ArrayObjectnewArrayObject (int count=0)
 
Heap::ArrayObjectnewArrayObject (const Value *values, int length)
 
Heap::ArrayObjectnewArrayObject (const QStringList &list)
 
Heap::ArrayObjectnewArrayObject (Heap::InternalClass *ic)
 
Heap::ArrayBuffernewArrayBuffer (const QByteArray &array)
 
Heap::ArrayBuffernewArrayBuffer (size_t length)
 
Heap::DateObject * newDateObject (double dateTime)
 
Heap::DateObject * newDateObject (const QDateTime &dateTime)
 
Heap::DateObject * newDateObject (QDate date, Heap::Object *parent, int index, uint flags)
 
Heap::DateObject * newDateObject (QTime time, Heap::Object *parent, int index, uint flags)
 
Heap::DateObject * newDateObject (QDateTime dateTime, Heap::Object *parent, int index, uint flags)
 
Heap::RegExpObject * newRegExpObject (const QString &pattern, int flags)
 
Heap::RegExpObject * newRegExpObject (RegExp *re)
 
Heap::UrlObject * newUrlObject ()
 
Heap::UrlObject * newUrlObject (const QUrl &url)
 
Heap::UrlSearchParamsObject * newUrlSearchParamsObject ()
 
Heap::Object * newErrorObject (const Value &value)
 
Heap::Object * newErrorObject (const QString &message)
 
Heap::Object * newSyntaxErrorObject (const QString &message, const QString &fileName, int line, int column)
 
Heap::Object * newSyntaxErrorObject (const QString &message)
 
Heap::Object * newReferenceErrorObject (const QString &message)
 
Heap::Object * newReferenceErrorObject (const QString &message, const QString &fileName, int line, int column)
 
Heap::Object * newTypeErrorObject (const QString &message)
 
Heap::Object * newRangeErrorObject (const QString &message)
 
Heap::Object * newURIErrorObject (const QString &message)
 
Heap::Object * newURIErrorObject (const Value &message)
 
Heap::Object * newEvalErrorObject (const QString &message)
 
Heap::PromiseObject * newPromiseObject ()
 
Heap::Object * newPromiseObject (const QV4::FunctionObject *thisObject, const QV4::PromiseCapability *capability)
 
Promise::ReactionHandlergetPromiseReactionHandler ()
 
Heap::Object * newVariantObject (const QMetaType type, const void *data)
 
Heap::Object * newForInIteratorObject (Object *o)
 
Heap::Object * newSetIteratorObject (Object *o)
 
Heap::Object * newMapIteratorObject (Object *o)
 
Heap::Object * newArrayIteratorObject (Object *o)
 
Heap::QmlContext * qmlContext () const
 
QObjectqmlScopeObject () const
 
QQmlRefPointer< QQmlContextDatacallingQmlContext () const
 
StackTrace stackTrace (int frameLimit=-1) const
 
QUrl resolvedUrl (const QString &file)
 
void markObjects (MarkStack *markStack)
 
void initRootContext ()
 
Heap::InternalClassnewClass (Heap::InternalClass *other)
 
ReturnedValue throwError (const Value &value)
 
ReturnedValue catchException (StackTrace *trace=nullptr)
 
ReturnedValue throwError (const QString &message)
 
ReturnedValue throwSyntaxError (const QString &message)
 
ReturnedValue throwSyntaxError (const QString &message, const QString &fileName, int lineNumber, int column)
 
ReturnedValue throwTypeError ()
 
ReturnedValue throwTypeError (const QString &message)
 
ReturnedValue throwReferenceError (const Value &value)
 
ReturnedValue throwReferenceError (const QString &name)
 
ReturnedValue throwReferenceError (const QString &value, const QString &fileName, int lineNumber, int column)
 
ReturnedValue throwRangeError (const Value &value)
 
ReturnedValue throwRangeError (const QString &message)
 
ReturnedValue throwURIError (const Value &msg)
 
ReturnedValue throwUnimplemented (const QString &message)
 
QQmlError catchExceptionAsQmlError ()
 
QV4::ReturnedValue fromVariant (const QVariant &)
 
QV4::ReturnedValue fromVariant (const QVariant &variant, Heap::Object *parent, int property, uint flags)
 
QV4::ReturnedValue metaTypeToJS (QMetaType type, const void *data)
 
int maxJSStackSize () const
 
int maxGCStackSize () const
 
bool checkStackLimits ()
 
int safeForAllocLength (qint64 len64)
 
bool canJIT (Function *f=nullptr)
 
QV4::ReturnedValue global ()
 
void initQmlGlobalObject ()
 
void initializeGlobal ()
 
void createQtObject ()
 
void freezeObject (const QV4::Value &value)
 
void lockObject (const QV4::Value &value)
 
const QSet< QString > & illegalNames () const
 
void setQmlEngine (QQmlEngine *engine)
 
QQmlDelayedCallQueuedelayedCallQueue ()
 
void startTimer (const QString &timerName)
 
qint64 stopTimer (const QString &timerName, bool *wasRunning)
 
int consoleCountHelper (const QString &file, quint16 line, quint16 column)
 
void setExtensionData (int, Deletable *)
 
DeletableextensionData (int index) const
 
QQmlRefPointer< ExecutableCompilationUnitcompileModule (const QUrl &url)
 
QQmlRefPointer< ExecutableCompilationUnitcompileModule (const QUrl &url, const QString &sourceCode, const QDateTime &sourceTimeStamp)
 
void injectCompiledModule (const QQmlRefPointer< ExecutableCompilationUnit > &moduleUnit)
 
QV4::ValueregisterNativeModule (const QUrl &url, const QV4::Value &module)
 
Module moduleForUrl (const QUrl &_url, const ExecutableCompilationUnit *referrer=nullptr) const
 
Module loadModule (const QUrl &_url, const ExecutableCompilationUnit *referrer=nullptr)
 
DiskCacheOptions diskCacheOptions () const
 
void callInContext (QV4::Function *function, QObject *self, QV4::ExecutionContext *ctxt, int argc, void **args, QMetaType *types)
 
QV4::ReturnedValue callInContext (QV4::Function *function, QObject *self, QV4::ExecutionContext *ctxt, int argc, const QV4::Value *argv)
 
QV4::ReturnedValue fromData (QMetaType type, const void *ptr, Heap::Object *parent=nullptr, int property=-1, uint flags=0)
 
- Public Member Functions inherited from QV4::EngineBase
Heap::InternalClassinternalClasses (InternalClassType icType)
 

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 QMutexregistrationMutex ()
 
static int registerExtension ()
 
static void setMaxCallDepth (int maxCallDepth)
 
static int maxCallDepth ()
 
template<typename Value >
static QJSPrimitiveValue createPrimitive (const Value &v)
 

Public Attributes

ExecutableAllocatorexecutableAllocator
 
ExecutableAllocatorregExpAllocator
 
WTF::BumpPointerAllocator * bumperPointerAllocator
 
WTF::PageAllocation * jsStack
 
WTF::PageAllocation * gcStack
 
FunctionglobalCode
 
QJSEnginepublicEngine
 
ValuejsObjects
 
FunctionObjecttypedArrayCtors
 
ObjecttypedArrayPrototype
 
ValuejsStrings
 
ValuejsSymbols
 
QIntrusiveList< ExecutableCompilationUnit, &ExecutableCompilationUnit::nextCompilationUnitcompilationUnits
 
quint32 m_engineId
 
RegExpCacheregExpCache
 
QIntrusiveList< ScarceResourceData, &ScarceResourceData::nodescarceResources
 
MultiplyWrappedQObjectMapm_multiplyWrappedQObjects
 
quintptr protoIdCount = 1
 
StackTrace exceptionStackTrace
 
double localTZA = 0.0
 
- Public Attributes inherited from QV4::EngineBase
CppStackFramecurrentStackFrame = nullptr
 
ValuejsStackTop = nullptr
 
quint8 hasException = false
 
quint8 isExecutingInRegExpJIT = false
 
quint8 isInitialized = false
 
quint8 padding [2]
 
MemoryManagermemoryManager = nullptr
 
union { 
 
   const void *   cppStackBase = nullptr 
 
   struct { 
 
      qint32   callDepth 
 
   }  
 
};  
 
const voidcppStackLimit = nullptr
 
ObjectglobalObject = nullptr
 
ValuejsStackLimit = nullptr
 
ValuejsStackBase = nullptr
 
IdentifierTableidentifierTable = nullptr
 
ValueexceptionValue = nullptr
 
Heap::InternalClassclasses [NClasses]
 

Friends

struct ExecutionContextSaver
 
struct ExecutionContext
 
struct Heap::ExecutionContext
 
template<int Frames>
struct ExecutionEngineCallDepthRecorder
 

Detailed Description

Definition at line 134 of file qv4engine_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NTypedArrayTypes 

Definition at line 258 of file qv4engine_p.h.

◆ DiskCache

Enumerator
Disabled 
AotByteCode 
AotNative 
QmlcRead 
QmlcWrite 
Aot 
Qmlc 
Enabled 

Definition at line 141 of file qv4engine_p.h.

◆ JSObjects

Enumerator
RootContext 
ScriptContext 
IntegerNull 
ObjectProto 
SymbolProto 
ArrayProto 
ArrayProtoValues 
PropertyListProto 
StringProto 
NumberProto 
BooleanProto 
DateProto 
FunctionProto 
GeneratorProto 
RegExpProto 
ErrorProto 
EvalErrorProto 
RangeErrorProto 
ReferenceErrorProto 
SyntaxErrorProto 
TypeErrorProto 
URIErrorProto 
PromiseProto 
VariantProto 
SequenceProto 
SharedArrayBufferProto 
ArrayBufferProto 
DataViewProto 
WeakSetProto 
SetProto 
WeakMapProto 
MapProto 
IntrinsicTypedArrayProto 
ValueTypeProto 
SignalHandlerProto 
IteratorProto 
ForInIteratorProto 
SetIteratorProto 
MapIteratorProto 
ArrayIteratorProto 
StringIteratorProto 
UrlProto 
UrlSearchParamsProto 
Object_Ctor 
String_Ctor 
Symbol_Ctor 
Number_Ctor 
Boolean_Ctor 
Array_Ctor 
Function_Ctor 
GeneratorFunction_Ctor 
Date_Ctor 
RegExp_Ctor 
Error_Ctor 
EvalError_Ctor 
RangeError_Ctor 
ReferenceError_Ctor 
SyntaxError_Ctor 
TypeError_Ctor 
URIError_Ctor 
SharedArrayBuffer_Ctor 
Promise_Ctor 
ArrayBuffer_Ctor 
DataView_Ctor 
WeakSet_Ctor 
Set_Ctor 
WeakMap_Ctor 
Map_Ctor 
IntrinsicTypedArray_Ctor 
Url_Ctor 
UrlSearchParams_Ctor 
GetSymbolSpecies 
Eval_Function 
GetStack_Function 
ThrowerObject 
NJSObjects 

Definition at line 176 of file qv4engine_p.h.

◆ JSStrings

Enumerator
String_Empty 
String_undefined 
String_null 
String_true 
String_false 
String_boolean 
String_number 
String_string 
String_default 
String_symbol 
String_object 
String_function 
String_length 
String_prototype 
String_constructor 
String_arguments 
String_caller 
String_callee 
String_this 
String___proto__ 
String_enumerable 
String_configurable 
String_writable 
String_value 
String_get 
String_set 
String_eval 
String_uintMax 
String_name 
String_index 
String_input 
String_toString 
String_toLocaleString 
String_destroy 
String_valueOf 
String_byteLength 
String_byteOffset 
String_buffer 
String_lastIndex 
String_next 
String_done 
String_return 
String_throw 
String_global 
String_ignoreCase 
String_multiline 
String_unicode 
String_sticky 
String_source 
String_flags 
NJSStrings 

Definition at line 353 of file qv4engine_p.h.

◆ JSSymbols

Enumerator
Symbol_hasInstance 
Symbol_isConcatSpreadable 
Symbol_iterator 
Symbol_match 
Symbol_replace 
Symbol_search 
Symbol_species 
Symbol_split 
Symbol_toPrimitive 
Symbol_toStringTag 
Symbol_unscopables 
Symbol_revokableProxy 
NJSSymbols 

Definition at line 409 of file qv4engine_p.h.

Constructor & Destructor Documentation

◆ ExecutionEngine()

ExecutionEngine::ExecutionEngine ( QJSEngine jsEngine = nullptr)

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::~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.

+ Here is the call graph for this function:

Member Function Documentation

◆ arrayBufferCtor()

FunctionObject * QV4::ExecutionEngine::arrayBufferCtor ( ) const
inline

Definition at line 282 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::SharedArrayBufferPrototype::slice().

+ Here is the caller graph for this function:

◆ arrayBufferPrototype()

Object * QV4::ExecutionEngine::arrayBufferPrototype ( ) const
inline

Definition at line 325 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ arrayCtor()

FunctionObject * QV4::ExecutionEngine::arrayCtor ( ) const
inline

Definition at line 268 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ arrayIteratorPrototype()

Object * QV4::ExecutionEngine::arrayIteratorPrototype ( ) const
inline

Definition at line 340 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ arrayPrototype()

Object * QV4::ExecutionEngine::arrayPrototype ( ) const
inline

Definition at line 303 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::IntrinsicTypedArrayPrototype::init().

+ Here is the caller graph for this function:

◆ arrayProtoValues()

Object * QV4::ExecutionEngine::arrayProtoValues ( ) const
inline

Definition at line 304 of file qv4engine_p.h.

◆ booleanCtor()

FunctionObject * QV4::ExecutionEngine::booleanCtor ( ) const
inline

Definition at line 267 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ booleanPrototype()

Object * QV4::ExecutionEngine::booleanPrototype ( ) const
inline

Definition at line 308 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::ObjectPrototype::method_toString(), and QJSManagedValue::prototype().

+ Here is the caller graph for this function:

◆ callInContext() [1/2]

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().

+ Here is the call graph for this function:

◆ callInContext() [2/2]

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().

+ Here is the caller graph for this function:

◆ callingQmlContext()

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().

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

◆ canJIT()

bool QV4::ExecutionEngine::canJIT ( Function f = nullptr)
inline

Definition at line 682 of file qv4engine_p.h.

References Q_UNUSED.

◆ catchException()

◆ catchExceptionAsQmlError()

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().

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

◆ checkStackLimits()

bool QV4::ExecutionEngine::checkStackLimits ( )
inline

Definition at line 901 of file qv4engine_p.h.

References Q_UNLIKELY, QStringLiteral, and throwRangeError().

+ Here is the call graph for this function:

◆ compileModule() [1/2]

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().

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

◆ compileModule() [2/2]

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.

+ Here is the call graph for this function:

◆ consoleCountHelper()

int ExecutionEngine::consoleCountHelper ( const QString file,
quint16  line,
quint16  column 
)

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().

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

◆ createPrimitive()

template<typename Value >
static QJSPrimitiveValue QV4::ExecutionEngine::createPrimitive ( const Value v)
inlinestatic

Definition at line 776 of file qv4engine_p.h.

References ok.

Referenced by metaTypeFromJS(), and QJSValue::toPrimitive().

+ Here is the caller graph for this function:

◆ createQtObject()

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().

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

◆ currentContext()

template<typename StackFrame = CppStackFrame>
ExecutionContext * QV4::ExecutionEngine::currentContext ( ) const
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().

+ Here is the caller graph for this function:

◆ dataViewCtor()

FunctionObject * QV4::ExecutionEngine::dataViewCtor ( ) const
inline

Definition at line 283 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ dataViewPrototype()

Object * QV4::ExecutionEngine::dataViewPrototype ( ) const
inline

Definition at line 326 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ dateCtor()

FunctionObject * QV4::ExecutionEngine::dateCtor ( ) const
inline

Definition at line 271 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ datePrototype()

Object * QV4::ExecutionEngine::datePrototype ( ) const
inline

Definition at line 309 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ debugger()

QV4::Debugging::Debugger * QV4::ExecutionEngine::debugger ( ) const
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().

+ Here is the caller graph for this function:

◆ delayedCallQueue()

QQmlDelayedCallQueue * QV4::ExecutionEngine::delayedCallQueue ( )
inline

Definition at line 716 of file qv4engine_p.h.

◆ diskCacheOptions()

ExecutionEngine::DiskCacheOptions ExecutionEngine::diskCacheOptions ( ) const

Definition at line 2186 of file qv4engine.cpp.

References debugger(), Disabled, Enabled, qmlGetConfigOption(), and transFormDiskCache().

Referenced by compileModule().

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

◆ errorCtor()

FunctionObject * QV4::ExecutionEngine::errorCtor ( ) const
inline

Definition at line 273 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and newErrorObject().

+ Here is the caller graph for this function:

◆ errorPrototype()

Object * QV4::ExecutionEngine::errorPrototype ( ) const
inline

Definition at line 313 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ evalErrorCtor()

FunctionObject * QV4::ExecutionEngine::evalErrorCtor ( ) const
inline

Definition at line 274 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ evalErrorPrototype()

Object * QV4::ExecutionEngine::evalErrorPrototype ( ) const
inline

Definition at line 314 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ evalFunction()

EvalFunction * QV4::ExecutionEngine::evalFunction ( ) const
inline

Definition at line 345 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ extensionData()

Deletable * QV4::ExecutionEngine::extensionData ( int  index) const
inline

Definition at line 733 of file qv4engine_p.h.

◆ forInIteratorPrototype()

Object * QV4::ExecutionEngine::forInIteratorPrototype ( ) const
inline

Definition at line 337 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ freezeObject()

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().

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

◆ fromData()

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().

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

◆ fromVariant() [1/2]

◆ fromVariant() [2/2]

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.

+ Here is the call graph for this function:

◆ functionCtor()

FunctionObject * QV4::ExecutionEngine::functionCtor ( ) const
inline

Definition at line 269 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ functionPrototype()

Object * QV4::ExecutionEngine::functionPrototype ( ) const
inline

Definition at line 310 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::GeneratorPrototype::init().

+ Here is the caller graph for this function:

◆ generatorFunctionCtor()

FunctionObject * QV4::ExecutionEngine::generatorFunctionCtor ( ) const
inline

Definition at line 270 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ generatorPrototype()

Object * QV4::ExecutionEngine::generatorPrototype ( ) const
inline

Definition at line 311 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ getPromiseReactionHandler()

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().

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

◆ getStackFunction()

FunctionObject * QV4::ExecutionEngine::getStackFunction ( ) const
inline

Definition at line 346 of file qv4engine_p.h.

◆ getSymbolSpecies()

FunctionObject * QV4::ExecutionEngine::getSymbolSpecies ( ) const
inline

Definition at line 299 of file qv4engine_p.h.

Referenced by QV4::Object::addSymbolSpecies().

+ Here is the caller graph for this function:

◆ global()

ReturnedValue ExecutionEngine::global ( )

Definition at line 2037 of file qv4engine.cpp.

References QV4::StaticValue::asReturnedValue(), and QV4::EngineBase::globalObject.

Referenced by ExecutionEngine().

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

◆ id___proto__()

String * QV4::ExecutionEngine::id___proto__ ( ) const
inline

Definition at line 445 of file qv4engine_p.h.

Referenced by QV4::ObjectPrototype::init().

+ Here is the caller graph for this function:

◆ id_arguments()

String * QV4::ExecutionEngine::id_arguments ( ) const
inline

Definition at line 441 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ id_boolean()

String * QV4::ExecutionEngine::id_boolean ( ) const
inline

Definition at line 431 of file qv4engine_p.h.

◆ id_buffer()

String * QV4::ExecutionEngine::id_buffer ( ) const
inline

Definition at line 463 of file qv4engine_p.h.

◆ id_byteLength()

String * QV4::ExecutionEngine::id_byteLength ( ) const
inline

Definition at line 461 of file qv4engine_p.h.

◆ id_byteOffset()

String * QV4::ExecutionEngine::id_byteOffset ( ) const
inline

Definition at line 462 of file qv4engine_p.h.

◆ id_callee()

String * QV4::ExecutionEngine::id_callee ( ) const
inline

Definition at line 443 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ id_caller()

String * QV4::ExecutionEngine::id_caller ( ) const
inline

Definition at line 442 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ id_configurable()

String * QV4::ExecutionEngine::id_configurable ( ) const
inline

Definition at line 447 of file qv4engine_p.h.

◆ id_constructor()

String * QV4::ExecutionEngine::id_constructor ( ) const
inline

Definition at line 440 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::TypedArrayPrototype::init(), lockObject(), and QV4::Object::speciesConstructor().

+ Here is the caller graph for this function:

◆ id_default()

String * QV4::ExecutionEngine::id_default ( ) const
inline

Definition at line 434 of file qv4engine_p.h.

◆ id_destroy()

String * QV4::ExecutionEngine::id_destroy ( ) const
inline

Definition at line 459 of file qv4engine_p.h.

Referenced by QV4::getDestroyOrToStringMethod(), QQmlPrivate::initObjectLookup(), and QV4::QObjectWrapper::virtualGetOwnProperty().

+ Here is the caller graph for this function:

◆ id_done()

String * QV4::ExecutionEngine::id_done ( ) const
inline

Definition at line 466 of file qv4engine_p.h.

◆ id_empty()

String * QV4::ExecutionEngine::id_empty ( ) const
inline

Definition at line 426 of file qv4engine_p.h.

Referenced by QV4::FunctionPrototype::init(), QV4::StringPrototype::init(), and Stringify::Str().

+ Here is the caller graph for this function:

◆ id_enumerable()

String * QV4::ExecutionEngine::id_enumerable ( ) const
inline

Definition at line 446 of file qv4engine_p.h.

◆ id_eval()

String * QV4::ExecutionEngine::id_eval ( ) const
inline

Definition at line 452 of file qv4engine_p.h.

◆ id_false()

String * QV4::ExecutionEngine::id_false ( ) const
inline

Definition at line 430 of file qv4engine_p.h.

Referenced by QV4::BooleanPrototype::method_toString().

+ Here is the caller graph for this function:

◆ id_flags()

String * QV4::ExecutionEngine::id_flags ( ) const
inline

Definition at line 475 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_split(), and QV4::RegExpPrototype::method_toString().

+ Here is the caller graph for this function:

◆ id_function()

String * QV4::ExecutionEngine::id_function ( ) const
inline

Definition at line 437 of file qv4engine_p.h.

◆ id_get()

String * QV4::ExecutionEngine::id_get ( ) const
inline

Definition at line 450 of file qv4engine_p.h.

Referenced by QV4::ProxyObject::virtualGet().

+ Here is the caller graph for this function:

◆ id_global()

String * QV4::ExecutionEngine::id_global ( ) const
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().

+ Here is the caller graph for this function:

◆ id_ignoreCase()

String * QV4::ExecutionEngine::id_ignoreCase ( ) const
inline

Definition at line 470 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().

+ Here is the caller graph for this function:

◆ id_index()

String * QV4::ExecutionEngine::id_index ( ) const
inline

Definition at line 455 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::RegExpPrototype::method_replace(), and QV4::RegExpPrototype::method_search().

+ Here is the caller graph for this function:

◆ id_input()

String * QV4::ExecutionEngine::id_input ( ) const
inline

Definition at line 456 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ id_lastIndex()

String * QV4::ExecutionEngine::id_lastIndex ( ) const
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().

+ Here is the caller graph for this function:

◆ id_length()

◆ id_multiline()

String * QV4::ExecutionEngine::id_multiline ( ) const
inline

Definition at line 471 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().

+ Here is the caller graph for this function:

◆ id_name()

String * QV4::ExecutionEngine::id_name ( ) const
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().

+ Here is the caller graph for this function:

◆ id_next()

String * QV4::ExecutionEngine::id_next ( ) const
inline

Definition at line 465 of file qv4engine_p.h.

◆ id_null()

String * QV4::ExecutionEngine::id_null ( ) const
inline

Definition at line 428 of file qv4engine_p.h.

◆ id_number()

String * QV4::ExecutionEngine::id_number ( ) const
inline

Definition at line 432 of file qv4engine_p.h.

◆ id_object()

String * QV4::ExecutionEngine::id_object ( ) const
inline

Definition at line 436 of file qv4engine_p.h.

◆ id_prototype()

String * QV4::ExecutionEngine::id_prototype ( ) const
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().

+ Here is the caller graph for this function:

◆ id_return()

String * QV4::ExecutionEngine::id_return ( ) const
inline

Definition at line 467 of file qv4engine_p.h.

◆ id_set()

String * QV4::ExecutionEngine::id_set ( ) const
inline

Definition at line 451 of file qv4engine_p.h.

Referenced by QV4::ProxyObject::virtualPut().

+ Here is the caller graph for this function:

◆ id_source()

String * QV4::ExecutionEngine::id_source ( ) const
inline

Definition at line 474 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), QV4::RegExpPrototype::method_toString(), and QV4::RegExpObject::source().

+ Here is the caller graph for this function:

◆ id_sticky()

String * QV4::ExecutionEngine::id_sticky ( ) const
inline

Definition at line 473 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), and QV4::RegExpPrototype::method_get_flags().

+ Here is the caller graph for this function:

◆ id_string()

String * QV4::ExecutionEngine::id_string ( ) const
inline

Definition at line 433 of file qv4engine_p.h.

◆ id_symbol()

String * QV4::ExecutionEngine::id_symbol ( ) const
inline

Definition at line 435 of file qv4engine_p.h.

◆ id_this()

String * QV4::ExecutionEngine::id_this ( ) const
inline

Definition at line 444 of file qv4engine_p.h.

◆ id_throw()

String * QV4::ExecutionEngine::id_throw ( ) const
inline

Definition at line 468 of file qv4engine_p.h.

◆ id_toLocaleString()

String * QV4::ExecutionEngine::id_toLocaleString ( ) const
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().

+ Here is the caller graph for this function:

◆ id_toString()

String * QV4::ExecutionEngine::id_toString ( ) const
inline

◆ id_true()

String * QV4::ExecutionEngine::id_true ( ) const
inline

Definition at line 429 of file qv4engine_p.h.

Referenced by QV4::BooleanPrototype::method_toString().

+ Here is the caller graph for this function:

◆ id_uintMax()

String * QV4::ExecutionEngine::id_uintMax ( ) const
inline

Definition at line 453 of file qv4engine_p.h.

◆ id_undefined()

String * QV4::ExecutionEngine::id_undefined ( ) const
inline

Definition at line 427 of file qv4engine_p.h.

◆ id_unicode()

String * QV4::ExecutionEngine::id_unicode ( ) const
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().

+ Here is the caller graph for this function:

◆ id_value()

String * QV4::ExecutionEngine::id_value ( ) const
inline

Definition at line 449 of file qv4engine_p.h.

◆ id_valueOf()

String * QV4::ExecutionEngine::id_valueOf ( ) const
inline

Definition at line 460 of file qv4engine_p.h.

Referenced by QV4::ObjectPrototype::init(), and lockObject().

+ Here is the caller graph for this function:

◆ id_writable()

String * QV4::ExecutionEngine::id_writable ( ) const
inline

Definition at line 448 of file qv4engine_p.h.

◆ illegalNames()

const QSet< QString > & ExecutionEngine::illegalNames ( ) const

Definition at line 2277 of file qv4engine.cpp.

Referenced by QQmlTypeCompiler::compile().

+ Here is the caller graph for this function:

◆ initializeGlobal()

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().

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

◆ initQmlGlobalObject()

void ExecutionEngine::initQmlGlobalObject ( )

Definition at line 2223 of file qv4engine.cpp.

References QV4::EngineBase::globalObject, initializeGlobal(), and lockObject().

Referenced by setQmlEngine().

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

◆ initRootContext()

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().

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

◆ injectCompiledModule()

void ExecutionEngine::injectCompiledModule ( const QQmlRefPointer< ExecutableCompilationUnit > &  moduleUnit)

Definition at line 2094 of file qv4engine.cpp.

◆ intrinsicTypedArrayCtor()

FunctionObject * QV4::ExecutionEngine::intrinsicTypedArrayCtor ( ) const
inline

Definition at line 288 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::TypedArrayPrototype::init().

+ Here is the caller graph for this function:

◆ intrinsicTypedArrayPrototype()

Object * QV4::ExecutionEngine::intrinsicTypedArrayPrototype ( ) const
inline

Definition at line 331 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::TypedArrayPrototype::init().

+ Here is the caller graph for this function:

◆ iteratorPrototype()

Object * QV4::ExecutionEngine::iteratorPrototype ( ) const
inline

Definition at line 336 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::GeneratorPrototype::init().

+ Here is the caller graph for this function:

◆ jsAlloca()

QML_NEARLY_ALWAYS_INLINE Value * QV4::ExecutionEngine::jsAlloca ( int  nValues)
inline

Definition at line 164 of file qv4engine_p.h.

References ptr().

Referenced by ExecutionEngine(), QV4::Scope::alloc(), and QV4::Scope::alloc().

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

◆ jsEngine()

QJSEngine * QV4::ExecutionEngine::jsEngine ( ) const
inline

Definition at line 172 of file qv4engine_p.h.

Referenced by QV4::ConsoleObject::method_profile(), and QV4::ConsoleObject::method_profileEnd().

+ Here is the caller graph for this function:

◆ loadModule()

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().

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

◆ lockObject()

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().

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

◆ mapCtor()

FunctionObject * QV4::ExecutionEngine::mapCtor ( ) const
inline

Definition at line 287 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ mapIteratorPrototype()

Object * QV4::ExecutionEngine::mapIteratorPrototype ( ) const
inline

Definition at line 339 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ mapPrototype()

Object * QV4::ExecutionEngine::mapPrototype ( ) const
inline

Definition at line 330 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ markObjects()

void ExecutionEngine::markObjects ( MarkStack markStack)

Definition at line 1319 of file qv4engine.cpp.

References QV4::EngineBase::classes, compilationUnits, i, QV4::EngineBase::identifierTable, QV4::IdentifierTable::markObjects(), and QV4::EngineBase::NClasses.

+ Here is the call graph for this function:

◆ maxCallDepth()

static int QV4::ExecutionEngine::maxCallDepth ( )
inlinestatic

Definition at line 773 of file qv4engine_p.h.

◆ maxGCStackSize()

int ExecutionEngine::maxGCStackSize ( ) const

Definition at line 2013 of file qv4engine.cpp.

Referenced by QV4::MarkStack::MarkStack().

+ Here is the caller graph for this function:

◆ maxJSStackSize()

int ExecutionEngine::maxJSStackSize ( ) const

Definition at line 2008 of file qv4engine.cpp.

◆ metaTypeFromJS()

bool ExecutionEngine::metaTypeFromJS ( const Value value,
QMetaType  type,
void data 
)
static

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().

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

◆ metaTypeToJS()

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().

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

◆ moduleForUrl()

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.

+ Here is the call graph for this function:

◆ newArrayBuffer() [1/2]

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().

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

◆ newArrayBuffer() [2/2]

Heap::ArrayBuffer * ExecutionEngine::newArrayBuffer ( size_t  length)

Definition at line 1013 of file qv4engine.cpp.

References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newArrayIteratorObject()

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().

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

◆ newArrayObject() [1/4]

Heap::ArrayObject * ExecutionEngine::newArrayObject ( const QStringList list)

Definition at line 998 of file qv4engine.cpp.

References QV4::MemoryManager::allocate(), list, and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newArrayObject() [2/4]

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.

+ Here is the call graph for this function:

◆ newArrayObject() [3/4]

Heap::ArrayObject * ExecutionEngine::newArrayObject ( Heap::InternalClass ic)

Definition at line 1003 of file qv4engine.cpp.

References QV4::MemoryManager::allocObject(), and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newArrayObject() [4/4]

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().

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

◆ newBooleanObject()

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().

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

◆ newClass()

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().

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

◆ newDateObject() [1/5]

Heap::DateObject * ExecutionEngine::newDateObject ( const QDateTime dateTime)

Definition at line 1023 of file qv4engine.cpp.

References QV4::MemoryManager::allocate(), dateTime, and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newDateObject() [2/5]

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().

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

◆ newDateObject() [3/5]

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.

+ Here is the call graph for this function:

◆ newDateObject() [4/5]

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.

+ Here is the call graph for this function:

◆ newDateObject() [5/5]

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.

+ Here is the call graph for this function:

◆ newErrorObject() [1/2]

Heap::Object * ExecutionEngine::newErrorObject ( const QString message)

Definition at line 1091 of file qv4engine.cpp.

◆ newErrorObject() [2/2]

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().

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

◆ newEvalErrorObject()

Heap::Object * ExecutionEngine::newEvalErrorObject ( const QString message)

Definition at line 1170 of file qv4engine.cpp.

Referenced by QJSEngine::newErrorObject().

+ Here is the caller graph for this function:

◆ newForInIteratorObject()

Heap::Object * ExecutionEngine::newForInIteratorObject ( Object o)

Definition at line 1180 of file qv4engine.cpp.

References QV4::MemoryManager::allocate(), QV4::EngineBase::memoryManager, and o.

+ Here is the call graph for this function:

◆ newIdentifier()

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().

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

◆ newInternalClass()

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().

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

◆ newMapIteratorObject()

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().

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

◆ newNumberObject()

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().

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

◆ newObject() [1/2]

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().

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

◆ newObject() [2/2]

Heap::Object * ExecutionEngine::newObject ( Heap::InternalClass internalClass)

Definition at line 925 of file qv4engine.cpp.

References QV4::MemoryManager::allocObject(), and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newPromiseObject() [1/2]

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().

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

◆ newPromiseObject() [2/2]

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().

+ Here is the call graph for this function:

◆ newProtoId()

quintptr QV4::ExecutionEngine::newProtoId ( )
inline

Definition at line 548 of file qv4engine_p.h.

Referenced by QV4::Heap::InternalClass::init(), QV4::Heap::InternalClass::init(), and QV4::Heap::updateProtoUsage().

+ Here is the caller graph for this function:

◆ newRangeErrorObject()

Heap::Object * ExecutionEngine::newRangeErrorObject ( const QString message)

Definition at line 1123 of file qv4engine.cpp.

Referenced by QJSEngine::newErrorObject(), throwRangeError(), and throwRangeError().

+ Here is the caller graph for this function:

◆ newReferenceErrorObject() [1/2]

Heap::Object * ExecutionEngine::newReferenceErrorObject ( const QString message)

Definition at line 1107 of file qv4engine.cpp.

Referenced by QJSEngine::newErrorObject(), throwReferenceError(), throwReferenceError(), and throwReferenceError().

+ Here is the caller graph for this function:

◆ newReferenceErrorObject() [2/2]

Heap::Object * ExecutionEngine::newReferenceErrorObject ( const QString message,
const QString fileName,
int  line,
int  column 
)

Definition at line 1112 of file qv4engine.cpp.

References fileName, and line.

◆ newRegExpObject() [1/2]

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().

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

◆ newRegExpObject() [2/2]

Heap::RegExpObject * ExecutionEngine::newRegExpObject ( RegExp re)

Definition at line 1056 of file qv4engine.cpp.

References QV4::MemoryManager::allocate(), and QV4::EngineBase::memoryManager.

+ Here is the call graph for this function:

◆ newSetIteratorObject()

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().

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

◆ newString()

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().

+ Here is the call graph for this function:

◆ newStringObject()

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().

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

◆ newSymbolObject()

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().

+ Here is the call graph for this function:

◆ newSyntaxErrorObject() [1/2]

Heap::Object * ExecutionEngine::newSyntaxErrorObject ( const QString message)

Definition at line 1096 of file qv4engine.cpp.

◆ newSyntaxErrorObject() [2/2]

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().

+ Here is the caller graph for this function:

◆ newTypeErrorObject()

Heap::Object * ExecutionEngine::newTypeErrorObject ( const QString message)

Definition at line 1118 of file qv4engine.cpp.

Referenced by QJSEngine::newErrorObject(), throwTypeError(), and throwTypeError().

+ Here is the caller graph for this function:

◆ newURIErrorObject() [1/2]

Heap::Object * ExecutionEngine::newURIErrorObject ( const QString message)

Definition at line 1165 of file qv4engine.cpp.

Referenced by QJSEngine::newErrorObject(), and throwURIError().

+ Here is the caller graph for this function:

◆ newURIErrorObject() [2/2]

Heap::Object * ExecutionEngine::newURIErrorObject ( const Value message)

Definition at line 1128 of file qv4engine.cpp.

References uRIErrorCtor().

+ Here is the call graph for this function:

◆ newUrlObject() [1/2]

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().

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

◆ newUrlObject() [2/2]

Heap::UrlObject * ExecutionEngine::newUrlObject ( const QUrl url)

Definition at line 1073 of file qv4engine.cpp.

References newUrlObject(), and url.

+ Here is the call graph for this function:

◆ newUrlSearchParamsObject()

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().

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

◆ newVariantObject()

Heap::Object * ExecutionEngine::newVariantObject ( const QMetaType  type,
const void data 
)

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().

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

◆ numberCtor()

FunctionObject * QV4::ExecutionEngine::numberCtor ( ) const
inline

Definition at line 266 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ numberPrototype()

Object * QV4::ExecutionEngine::numberPrototype ( ) const
inline

Definition at line 307 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::ObjectPrototype::method_toString(), and QJSManagedValue::prototype().

+ Here is the caller graph for this function:

◆ objectCtor()

FunctionObject * QV4::ExecutionEngine::objectCtor ( ) const
inline

Definition at line 263 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ objectPrototype()

Object * QV4::ExecutionEngine::objectPrototype ( ) const
inline

Definition at line 301 of file qv4engine_p.h.

Referenced by ExecutionEngine(), freeze_recursive(), and QV4::StringPrototype::init().

+ Here is the caller graph for this function:

◆ profiler()

QV4::Profiling::Profiler * QV4::ExecutionEngine::profiler ( ) const
inline

Definition at line 526 of file qv4engine_p.h.

◆ promiseCtor()

FunctionObject * QV4::ExecutionEngine::promiseCtor ( ) const
inline

Definition at line 281 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ promisePrototype()

Object * QV4::ExecutionEngine::promisePrototype ( ) const
inline

Definition at line 320 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ propertyListPrototype()

Object * QV4::ExecutionEngine::propertyListPrototype ( ) const
inline

Definition at line 305 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ Q_DECLARE_FLAGS()

QV4::ExecutionEngine::Q_DECLARE_FLAGS ( DiskCacheOptions  ,
DiskCache   
)

◆ qmlContext() [1/2]

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().

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

◆ qmlContext() [2/2]

static Heap::ExecutionContext * QV4::ExecutionEngine::qmlContext ( Heap::ExecutionContext *  ctx)
inlinestatic

◆ qmlEngine()

◆ qmlScopeObject()

QObject * ExecutionEngine::qmlScopeObject ( ) const

Definition at line 1209 of file qv4engine.cpp.

References qmlContext().

+ Here is the call graph for this function:

◆ rangeErrorCtor()

FunctionObject * QV4::ExecutionEngine::rangeErrorCtor ( ) const
inline

Definition at line 275 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ rangeErrorPrototype()

Object * QV4::ExecutionEngine::rangeErrorPrototype ( ) const
inline

Definition at line 315 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ referenceErrorCtor()

FunctionObject * QV4::ExecutionEngine::referenceErrorCtor ( ) const
inline

Definition at line 276 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ referenceErrorPrototype()

Object * QV4::ExecutionEngine::referenceErrorPrototype ( ) const
inline

Definition at line 316 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ regExpCtor()

◆ regExpPrototype()

Object * QV4::ExecutionEngine::regExpPrototype ( ) const
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().

+ Here is the caller graph for this function:

◆ registerExtension()

int ExecutionEngine::registerExtension ( )
static

Definition at line 2821 of file qv4engine.cpp.

◆ registerNativeModule()

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().

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

◆ registrationMutex()

QMutex * ExecutionEngine::registrationMutex ( )
static

Definition at line 2816 of file qv4engine.cpp.

◆ resolvedUrl()

QUrl ExecutionEngine::resolvedUrl ( const QString file)

Definition at line 1294 of file qv4engine.cpp.

References base, QV4::EngineBase::currentStackFrame, file, QV4::Function::finalUrl(), globalCode, and QString::isEmpty().

+ Here is the call graph for this function:

◆ rootContext()

◆ safeForAllocLength()

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().

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

◆ scriptContext()

ExecutionContext * QV4::ExecutionEngine::scriptContext ( ) const
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().

+ Here is the caller graph for this function:

◆ sequencePrototype()

Object * QV4::ExecutionEngine::sequencePrototype ( ) const
inline

Definition at line 322 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ setCtor()

FunctionObject * QV4::ExecutionEngine::setCtor ( ) const
inline

Definition at line 285 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ setDebugger()

void QV4::ExecutionEngine::setDebugger ( Debugging::Debugger )
inline

Definition at line 528 of file qv4engine_p.h.

Referenced by QQmlNativeDebugServiceImpl::engineAboutToBeAdded(), QV4DebugServiceImpl::engineAdded(), and QV4DebugServiceImpl::stateAboutToBeChanged().

+ Here is the caller graph for this function:

◆ setExtensionData()

void ExecutionEngine::setExtensionData ( int  index,
Deletable data 
)

Definition at line 2409 of file qv4engine.cpp.

◆ setIteratorPrototype()

Object * QV4::ExecutionEngine::setIteratorPrototype ( ) const
inline

Definition at line 338 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ setMaxCallDepth()

static void QV4::ExecutionEngine::setMaxCallDepth ( int  maxCallDepth)
inlinestatic

Definition at line 772 of file qv4engine_p.h.

◆ setProfiler()

void QV4::ExecutionEngine::setProfiler ( Profiling::Profiler )
inline

Definition at line 529 of file qv4engine_p.h.

◆ setPrototype()

Object * QV4::ExecutionEngine::setPrototype ( ) const
inline

Definition at line 328 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ setQmlEngine()

void ExecutionEngine::setQmlEngine ( QQmlEngine engine)

Definition at line 2282 of file qv4engine.cpp.

References engine, initQmlGlobalObject(), and QV4::EngineBase::isInitialized.

+ Here is the call graph for this function:

◆ setScriptContext()

void QV4::ExecutionEngine::setScriptContext ( ReturnedValue  c)
inline

Definition at line 262 of file qv4engine_p.h.

◆ sharedArrayBufferCtor()

FunctionObject * QV4::ExecutionEngine::sharedArrayBufferCtor ( ) const
inline

Definition at line 280 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::SharedArrayBufferPrototype::slice().

+ Here is the caller graph for this function:

◆ sharedArrayBufferPrototype()

Object * QV4::ExecutionEngine::sharedArrayBufferPrototype ( ) const
inline

Definition at line 324 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ signalHandlerPrototype()

Object * QV4::ExecutionEngine::signalHandlerPrototype ( ) const
inline

Definition at line 335 of file qv4engine_p.h.

◆ stackTrace()

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().

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

◆ startTimer()

void ExecutionEngine::startTimer ( const QString timerName)

Definition at line 2382 of file qv4engine.cpp.

References QElapsedTimer::elapsed(), QElapsedTimer::isValid(), and QElapsedTimer::start().

Referenced by QV4::ConsoleObject::method_time().

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

◆ stopTimer()

qint64 ExecutionEngine::stopTimer ( const QString timerName,
bool *  wasRunning 
)

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().

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

◆ stringCtor()

FunctionObject * QV4::ExecutionEngine::stringCtor ( ) const
inline

Definition at line 264 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ stringIteratorPrototype()

Object * QV4::ExecutionEngine::stringIteratorPrototype ( ) const
inline

Definition at line 341 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ stringPrototype()

Object * QV4::ExecutionEngine::stringPrototype ( ) const
inline

Definition at line 306 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::GlobalExtensions::init(), and QV4::ObjectPrototype::method_toString().

+ Here is the caller graph for this function:

◆ symbol_hasInstance()

Symbol * QV4::ExecutionEngine::symbol_hasInstance ( ) const
inline

Definition at line 477 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::FunctionPrototype::init().

+ Here is the caller graph for this function:

◆ symbol_isConcatSpreadable()

Symbol * QV4::ExecutionEngine::symbol_isConcatSpreadable ( ) const
inline

Definition at line 478 of file qv4engine_p.h.

Referenced by QV4::Object::isConcatSpreadable().

+ Here is the caller graph for this function:

◆ symbol_iterator()

Symbol * QV4::ExecutionEngine::symbol_iterator ( ) const
inline

Definition at line 479 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::IteratorPrototype::init(), QV4::IntrinsicTypedArrayPrototype::init(), and QV4::ArrayPrototype::method_from().

+ Here is the caller graph for this function:

◆ symbol_match()

Symbol * QV4::ExecutionEngine::symbol_match ( ) const
inline

Definition at line 480 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init(), and QV4::StringPrototype::method_match().

+ Here is the caller graph for this function:

◆ symbol_replace()

Symbol * QV4::ExecutionEngine::symbol_replace ( ) const
inline

Definition at line 481 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init().

+ Here is the caller graph for this function:

◆ symbol_revokableProxy()

Symbol * QV4::ExecutionEngine::symbol_revokableProxy ( ) const
inline

Definition at line 488 of file qv4engine_p.h.

Referenced by QV4::Proxy::method_revocable(), and QV4::Proxy::method_revoke().

+ Here is the caller graph for this function:

◆ symbol_search()

Symbol * QV4::ExecutionEngine::symbol_search ( ) const
inline

Definition at line 482 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init().

+ Here is the caller graph for this function:

◆ symbol_species()

Symbol * QV4::ExecutionEngine::symbol_species ( ) const
inline

Definition at line 483 of file qv4engine_p.h.

Referenced by QV4::Object::addSymbolSpecies(), and QV4::Object::speciesConstructor().

+ Here is the caller graph for this function:

◆ symbol_split()

Symbol * QV4::ExecutionEngine::symbol_split ( ) const
inline

Definition at line 484 of file qv4engine_p.h.

Referenced by QV4::RegExpPrototype::init().

+ Here is the caller graph for this function:

◆ symbol_toPrimitive()

Symbol * QV4::ExecutionEngine::symbol_toPrimitive ( ) const
inline

Definition at line 485 of file qv4engine_p.h.

◆ symbol_toStringTag()

Symbol * QV4::ExecutionEngine::symbol_toStringTag ( ) const
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().

+ Here is the caller graph for this function:

◆ symbol_unscopables()

Symbol * QV4::ExecutionEngine::symbol_unscopables ( ) const
inline

Definition at line 487 of file qv4engine_p.h.

Referenced by unscopable().

+ Here is the caller graph for this function:

◆ symbolCtor()

FunctionObject * QV4::ExecutionEngine::symbolCtor ( ) const
inline

Definition at line 265 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ symbolPrototype()

Object * QV4::ExecutionEngine::symbolPrototype ( ) const
inline

Definition at line 302 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and QV4::ObjectPrototype::method_toString().

+ Here is the caller graph for this function:

◆ syntaxErrorCtor()

FunctionObject * QV4::ExecutionEngine::syntaxErrorCtor ( ) const
inline

Definition at line 277 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ syntaxErrorPrototype()

Object * QV4::ExecutionEngine::syntaxErrorPrototype ( ) const
inline

Definition at line 317 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ thrower()

FunctionObject * QV4::ExecutionEngine::thrower ( ) const
inline

Definition at line 347 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ throwError() [1/2]

ReturnedValue ExecutionEngine::throwError ( const QString message)

Definition at line 1368 of file qv4engine.cpp.

References newErrorObject(), newString(), and throwError().

+ Here is the call graph for this function:

◆ throwError() [2/2]

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().

+ Here is the call graph for this function:

◆ throwRangeError() [1/2]

ReturnedValue ExecutionEngine::throwRangeError ( const QString message)

Definition at line 1430 of file qv4engine.cpp.

References error, newRangeErrorObject(), and throwError().

+ Here is the call graph for this function:

◆ throwRangeError() [2/2]

◆ throwReferenceError() [1/3]

ReturnedValue ExecutionEngine::throwReferenceError ( const QString name)

Definition at line 1405 of file qv4engine.cpp.

References error, newReferenceErrorObject(), and throwError().

+ Here is the call graph for this function:

◆ throwReferenceError() [2/3]

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().

+ Here is the call graph for this function:

◆ throwReferenceError() [3/3]

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().

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

◆ throwSyntaxError() [1/2]

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().

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

◆ throwSyntaxError() [2/2]

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().

+ Here is the call graph for this function:

◆ throwTypeError() [1/2]

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().

+ Here is the call graph for this function:

◆ throwTypeError() [2/2]

ReturnedValue ExecutionEngine::throwTypeError ( const QString message)

Definition at line 1398 of file qv4engine.cpp.

References error, newTypeErrorObject(), and throwError().

+ Here is the call graph for this function:

◆ throwUnimplemented()

ReturnedValue ExecutionEngine::throwUnimplemented ( const QString message)

Definition at line 1453 of file qv4engine.cpp.

References newErrorObject(), newString(), and throwError().

+ Here is the call graph for this function:

◆ throwURIError()

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().

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

◆ toVariant()

◆ typeErrorCtor()

FunctionObject * QV4::ExecutionEngine::typeErrorCtor ( ) const
inline

Definition at line 278 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ typeErrorPrototype()

Object * QV4::ExecutionEngine::typeErrorPrototype ( ) const
inline

Definition at line 318 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ uRIErrorCtor()

FunctionObject * QV4::ExecutionEngine::uRIErrorCtor ( ) const
inline

Definition at line 279 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and newURIErrorObject().

+ Here is the caller graph for this function:

◆ uRIErrorPrototype()

Object * QV4::ExecutionEngine::uRIErrorPrototype ( ) const
inline

Definition at line 319 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ urlCtor()

FunctionObject * QV4::ExecutionEngine::urlCtor ( ) const
inline

Definition at line 289 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ urlPrototype()

Object * QV4::ExecutionEngine::urlPrototype ( ) const
inline

Definition at line 342 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ urlSearchParamsCtor()

FunctionObject * QV4::ExecutionEngine::urlSearchParamsCtor ( ) const
inline

Definition at line 293 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ urlSearchParamsPrototype()

Object * QV4::ExecutionEngine::urlSearchParamsPrototype ( ) const
inline

Definition at line 343 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ valueTypeWrapperPrototype()

Object * QV4::ExecutionEngine::valueTypeWrapperPrototype ( ) const
inline

Definition at line 334 of file qv4engine_p.h.

Referenced by QV4::QQmlValueTypeWrapper::initProto().

+ Here is the caller graph for this function:

◆ variantMapFromJS()

QVariantMap ExecutionEngine::variantMapFromJS ( const QV4::Object o)
static

Definition at line 1962 of file qv4engine.cpp.

References o, objectToVariant(), and QVariant::toMap().

Referenced by QQmlListModel::append(), QQmlListModel::insert(), and QQmlListModel::set().

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

◆ variantPrototype()

Object * QV4::ExecutionEngine::variantPrototype ( ) const
inline

Definition at line 321 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ weakMapCtor()

FunctionObject * QV4::ExecutionEngine::weakMapCtor ( ) const
inline

Definition at line 286 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ weakMapPrototype()

Object * QV4::ExecutionEngine::weakMapPrototype ( ) const
inline

Definition at line 329 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ weakSetCtor()

FunctionObject * QV4::ExecutionEngine::weakSetCtor ( ) const
inline

Definition at line 284 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

◆ weakSetPrototype()

Object * QV4::ExecutionEngine::weakSetPrototype ( ) const
inline

Definition at line 327 of file qv4engine_p.h.

Referenced by ExecutionEngine().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ExecutionContext

friend struct ExecutionContext
friend

Definition at line 138 of file qv4engine_p.h.

◆ ExecutionContextSaver

friend struct ExecutionContextSaver
friend

Definition at line 137 of file qv4engine_p.h.

◆ ExecutionEngineCallDepthRecorder

template<int Frames>
friend struct ExecutionEngineCallDepthRecorder
friend

Definition at line 795 of file qv4engine_p.h.

◆ Heap::ExecutionContext

friend struct Heap::ExecutionContext
friend

Definition at line 139 of file qv4engine_p.h.

Member Data Documentation

◆ bumperPointerAllocator

WTF::BumpPointerAllocator* QV4::ExecutionEngine::bumperPointerAllocator

Definition at line 158 of file qv4engine_p.h.

Referenced by ~ExecutionEngine().

◆ compilationUnits

◆ exceptionStackTrace

StackTrace QV4::ExecutionEngine::exceptionStackTrace

Definition at line 643 of file qv4engine_p.h.

Referenced by catchException(), and throwError().

◆ executableAllocator

ExecutableAllocator* QV4::ExecutionEngine::executableAllocator

Definition at line 155 of file qv4engine_p.h.

Referenced by ~ExecutionEngine().

◆ gcStack

WTF::PageAllocation* QV4::ExecutionEngine::gcStack

Definition at line 162 of file qv4engine_p.h.

Referenced by ExecutionEngine(), QV4::MarkStack::MarkStack(), and ~ExecutionEngine().

◆ globalCode

Function* QV4::ExecutionEngine::globalCode

◆ jsObjects

Value* QV4::ExecutionEngine::jsObjects

◆ jsStack

WTF::PageAllocation* QV4::ExecutionEngine::jsStack

Definition at line 160 of file qv4engine_p.h.

Referenced by ExecutionEngine(), and ~ExecutionEngine().

◆ jsStrings

Value* QV4::ExecutionEngine::jsStrings

Definition at line 407 of file qv4engine_p.h.

Referenced by ExecutionEngine().

◆ jsSymbols

Value* QV4::ExecutionEngine::jsSymbols

Definition at line 424 of file qv4engine_p.h.

Referenced by ExecutionEngine().

◆ localTZA

◆ m_engineId

quint32 QV4::ExecutionEngine::m_engineId

Definition at line 492 of file qv4engine_p.h.

Referenced by ExecutionEngine().

◆ m_multiplyWrappedQObjects

MultiplyWrappedQObjectMap* QV4::ExecutionEngine::m_multiplyWrappedQObjects

Definition at line 514 of file qv4engine_p.h.

Referenced by ~ExecutionEngine().

◆ protoIdCount

quintptr QV4::ExecutionEngine::protoIdCount = 1

Definition at line 519 of file qv4engine_p.h.

◆ publicEngine

QJSEngine* QV4::ExecutionEngine::publicEngine

Definition at line 174 of file qv4engine_p.h.

◆ regExpAllocator

ExecutableAllocator* QV4::ExecutionEngine::regExpAllocator

Definition at line 156 of file qv4engine_p.h.

Referenced by ~ExecutionEngine().

◆ regExpCache

RegExpCache* QV4::ExecutionEngine::regExpCache

Definition at line 494 of file qv4engine_p.h.

Referenced by ~ExecutionEngine().

◆ scarceResources

QIntrusiveList<ScarceResourceData, &ScarceResourceData::node> QV4::ExecutionEngine::scarceResources

Definition at line 509 of file qv4engine_p.h.

Referenced by QV4::Heap::VariantObject::removeVmePropertyReference().

◆ typedArrayCtors

FunctionObject* QV4::ExecutionEngine::typedArrayCtors

◆ typedArrayPrototype

Object* QV4::ExecutionEngine::typedArrayPrototype

Definition at line 332 of file qv4engine_p.h.

Referenced by ExecutionEngine().


The documentation for this struct was generated from the following files: