|
enum class | DiskCache : quint8 {
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
,
VariantAssociationProto
, SequenceProto
, SharedArrayBufferProto
, ArrayBufferProto
,
DataViewProto
, WeakSetProto
, SetProto
, WeakMapProto
,
MapProto
, IntrinsicTypedArrayProto
, ValueTypeProto
, TypeWrapperProto
,
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
} |
using | Module = QQmlRefPointer<ExecutableCompilationUnit> |
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
} |
|
| Q_DECLARE_FLAGS (DiskCacheOptions, DiskCache) |
QML_NEARLY_ALWAYS_INLINE Value * | jsAlloca (int nValues) |
QJSEngine * | jsEngine () const |
QQmlEngine * | qmlEngine () const |
template<typename TypeLoader = QQmlTypeLoader> |
TypeLoader * | typeLoader () |
ExecutionContext * | rootContext () const |
ExecutionContext * | scriptContext () const |
void | setScriptContext (ReturnedValue c) |
FunctionObject * | objectCtor () const |
FunctionObject * | stringCtor () const |
FunctionObject * | symbolCtor () const |
FunctionObject * | numberCtor () const |
FunctionObject * | booleanCtor () const |
FunctionObject * | arrayCtor () const |
FunctionObject * | functionCtor () const |
FunctionObject * | generatorFunctionCtor () const |
FunctionObject * | dateCtor () const |
FunctionObject * | regExpCtor () const |
FunctionObject * | errorCtor () const |
FunctionObject * | evalErrorCtor () const |
FunctionObject * | rangeErrorCtor () const |
FunctionObject * | referenceErrorCtor () const |
FunctionObject * | syntaxErrorCtor () const |
FunctionObject * | typeErrorCtor () const |
FunctionObject * | uRIErrorCtor () const |
FunctionObject * | sharedArrayBufferCtor () const |
FunctionObject * | promiseCtor () const |
FunctionObject * | arrayBufferCtor () const |
FunctionObject * | dataViewCtor () const |
FunctionObject * | weakSetCtor () const |
FunctionObject * | setCtor () const |
FunctionObject * | weakMapCtor () const |
FunctionObject * | mapCtor () const |
FunctionObject * | intrinsicTypedArrayCtor () const |
FunctionObject * | urlCtor () const |
FunctionObject * | urlSearchParamsCtor () const |
FunctionObject * | getSymbolSpecies () const |
Object * | objectPrototype () const |
Object * | symbolPrototype () const |
Object * | arrayPrototype () const |
Object * | arrayProtoValues () const |
Object * | propertyListPrototype () const |
Object * | stringPrototype () const |
Object * | numberPrototype () const |
Object * | booleanPrototype () const |
Object * | datePrototype () const |
Object * | functionPrototype () const |
Object * | generatorPrototype () const |
Object * | regExpPrototype () const |
Object * | errorPrototype () const |
Object * | evalErrorPrototype () const |
Object * | rangeErrorPrototype () const |
Object * | referenceErrorPrototype () const |
Object * | syntaxErrorPrototype () const |
Object * | typeErrorPrototype () const |
Object * | uRIErrorPrototype () const |
Object * | promisePrototype () const |
Object * | variantPrototype () const |
Object * | variantAssociationPrototype () const |
Object * | sequencePrototype () const |
Object * | sharedArrayBufferPrototype () const |
Object * | arrayBufferPrototype () const |
Object * | dataViewPrototype () const |
Object * | weakSetPrototype () const |
Object * | setPrototype () const |
Object * | weakMapPrototype () const |
Object * | mapPrototype () const |
Object * | intrinsicTypedArrayPrototype () const |
Object * | valueTypeWrapperPrototype () const |
Object * | signalHandlerPrototype () const |
Object * | typeWrapperPrototype () const |
Object * | iteratorPrototype () const |
Object * | forInIteratorPrototype () const |
Object * | setIteratorPrototype () const |
Object * | mapIteratorPrototype () const |
Object * | arrayIteratorPrototype () const |
Object * | stringIteratorPrototype () const |
Object * | urlPrototype () const |
Object * | urlSearchParamsPrototype () const |
EvalFunction * | evalFunction () const |
FunctionObject * | getStackFunction () const |
FunctionObject * | thrower () const |
String * | id_empty () const |
String * | id_undefined () const |
String * | id_null () const |
String * | id_true () const |
String * | id_false () const |
String * | id_boolean () const |
String * | id_number () const |
String * | id_string () const |
String * | id_default () const |
String * | id_symbol () const |
String * | id_object () const |
String * | id_function () const |
String * | id_length () const |
String * | id_prototype () const |
String * | id_constructor () const |
String * | id_arguments () const |
String * | id_caller () const |
String * | id_callee () const |
String * | id_this () const |
String * | id___proto__ () const |
String * | id_enumerable () const |
String * | id_configurable () const |
String * | id_writable () const |
String * | id_value () const |
String * | id_get () const |
String * | id_set () const |
String * | id_eval () const |
String * | id_uintMax () const |
String * | id_name () const |
String * | id_index () const |
String * | id_input () const |
String * | id_toString () const |
String * | id_toLocaleString () const |
String * | id_destroy () const |
String * | id_valueOf () const |
String * | id_byteLength () const |
String * | id_byteOffset () const |
String * | id_buffer () const |
String * | id_lastIndex () const |
String * | id_next () const |
String * | id_done () const |
String * | id_return () const |
String * | id_throw () const |
String * | id_global () const |
String * | id_ignoreCase () const |
String * | id_multiline () const |
String * | id_unicode () const |
String * | id_sticky () const |
String * | id_source () const |
String * | id_flags () const |
Symbol * | symbol_hasInstance () const |
Symbol * | symbol_isConcatSpreadable () const |
Symbol * | symbol_iterator () const |
Symbol * | symbol_match () const |
Symbol * | symbol_replace () const |
Symbol * | symbol_search () const |
Symbol * | symbol_species () const |
Symbol * | symbol_split () const |
Symbol * | symbol_toPrimitive () const |
Symbol * | symbol_toStringTag () const |
Symbol * | symbol_unscopables () const |
Symbol * | symbol_revokableProxy () const |
| ExecutionEngine (QJSEngine *jsEngine=nullptr) |
| ~ExecutionEngine () |
QV4::Debugging::Debugger * | debugger () const |
QV4::Profiling::Profiler * | profiler () const |
void | setDebugger (Debugging::Debugger *) |
void | setProfiler (Profiling::Profiler *) |
template<typename StackFrame = CppStackFrame> |
ExecutionContext * | currentContext () const |
quintptr | newProtoId () |
Heap::InternalClass * | newInternalClass (const VTable *vtable, Object *prototype) |
Heap::Object * | newObject () |
Heap::Object * | newObject (Heap::InternalClass *internalClass) |
Heap::String * | newString (char16_t c) |
Heap::String * | newString (const QString &s=QString()) |
Heap::String * | newIdentifier (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::ArrayObject * | newArrayObject (int count=0) |
Heap::ArrayObject * | newArrayObject (const Value *values, int length) |
Heap::ArrayObject * | newArrayObject (const QStringList &list) |
Heap::ArrayObject * | newArrayObject (Heap::InternalClass *ic) |
Heap::ArrayBuffer * | newArrayBuffer (const QByteArray &array) |
Heap::ArrayBuffer * | newArrayBuffer (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::ReactionHandler * | getPromiseReactionHandler () |
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 |
QObject * | qmlScopeObject () const |
QQmlRefPointer< QQmlContextData > | callingQmlContext () const |
StackTrace | stackTrace (int frameLimit=-1) const |
QUrl | resolvedUrl (const QString &file) |
void | markObjects (MarkStack *markStack) |
void | initRootContext () |
Heap::InternalClass * | newClass (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 () |
void | amendException () |
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) |
template<typename Jittable> |
bool | canJIT (Jittable *jittable) const |
QV4::ReturnedValue | global () |
void | initQmlGlobalObject () |
void | initializeGlobal () |
void | createQtObject () |
void | freezeObject (const QV4::Value &value) |
void | lockObject (const QV4::Value &value) |
void | setQmlEngine (QQmlEngine *engine) |
void | resetQmlEngine () |
QQmlDelayedCallQueue * | delayedCallQueue () |
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 *) |
Deletable * | extensionData (int index) const |
QQmlRefPointer< ExecutableCompilationUnit > | compilationUnitForUrl (const QUrl &url) const |
QQmlRefPointer< ExecutableCompilationUnit > | executableCompilationUnit (QQmlRefPointer< QV4::CompiledData::CompilationUnit > &&unit) |
QQmlRefPointer< ExecutableCompilationUnit > | insertCompilationUnit (QQmlRefPointer< QV4::CompiledData::CompilationUnit > &&unit) |
QMultiHash< QUrl, QQmlRefPointer< ExecutableCompilationUnit > > | compilationUnits () const |
void | trimCompilationUnits () |
void | trimCompilationUnitsForUrl (const QUrl &url) |
Module | registerNativeModule (const QUrl &url, const QV4::Value &value) |
Module | moduleForUrl (const QUrl &_url, const ExecutableCompilationUnit *referrer=nullptr) |
| Returns any existing module for the given url and referrer.
|
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) |
Heap::InternalClass * | internalClasses (InternalClassType icType) |
Definition at line 127 of file qv4engine_p.h.