![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4context_p.h>
Additional Inherited Members | |
Public Types inherited from QV4::ExecutionContext | |
enum | { IsExecutionContext = true } |
enum | Error { NoError , TypeError , RangeError } |
Public Types inherited from QV4::Managed | |
enum | { IsExecutionContext = false , IsString = false , IsStringOrSymbol = false , IsObject = false , IsTailCallable = false , IsErrorObject = false , IsArrayData = false } |
enum | { NInlineProperties = 0 } |
enum | Type { Type_Invalid , Type_String , Type_Object , Type_Symbol , Type_ArrayObject , Type_FunctionObject , Type_GeneratorObject , Type_BooleanObject , Type_NumberObject , Type_StringObject , Type_SymbolObject , Type_DateObject , Type_RegExpObject , Type_ErrorObject , Type_ArgumentsObject , Type_JsonObject , Type_MathObject , Type_ProxyObject , Type_UrlObject , Type_UrlSearchParamsObject , Type_ExecutionContext , Type_InternalClass , Type_SetIteratorObject , Type_MapIteratorObject , Type_ArrayIteratorObject , Type_StringIteratorObject , Type_ForInIterator , Type_RegExp , Type_V4Sequence , Type_QmlListProperty , Type_V4QObjectWrapper , Type_QMLTypeWrapper , Type_V4ReferenceObject , Type_QMLValueTypeWrapper , Type_MemberData , Type_ArrayData , Type_StringOrSymbol } |
Public Types inherited from QV4::Value | |
using | ManagedPtr = Managed * |
Public Types inherited from QV4::StaticValue | |
enum class | TagBit { SpecialNegative = 0b10000000000000000000 << 12 , SpecialQNaN = 0b00000000000010000000 << 12 , Special = 0b00000000000001000000 << 12 , IntCompat = 0b00000000000000100000 << 12 , Unmanaged = 0b00000000000000010000 << 12 , IntOrBool = 0b00000000000000001000 << 12 , Number = 0b00000000000000000100 << 12 } |
enum | Type { Managed_Type = 0 , Double_Type = 1 , Undefined_Type = 2 , Empty_Type = quint32(TagBit::Unmanaged) , Null_Type = Empty_Type | quint32(TagBit::IntCompat) , Boolean_Type = Null_Type | quint32(TagBit::IntOrBool) , Integer_Type = Boolean_Type | quint32(TagBit::Number) } |
enum | { Tag_Shift = 32 , IsIntegerConvertible_Shift = 48 , IsIntegerConvertible_Value = 3 , IsIntegerOrBool_Shift = 47 , IsIntegerOrBool_Value = 7 } |
enum class | QuickType : quint32 { Managed = Managed_Type , Empty = Empty_Type , Null = Null_Type , Boolean = Boolean_Type , Integer = Integer_Type , PlusInf = quint32(TagBit::Number) | quint32(TagBit::Special) | quint32(TagBit::Unmanaged) , MinusInf = PlusInf | quint32(TagBit::SpecialNegative) , NaN = PlusInf | quint32(TagBit::SpecialQNaN) , MinusNaN = NaN | quint32(TagBit::SpecialNegative) } |
enum | { QT_Empty = Empty_Type , QT_Null = Null_Type , QT_Bool = Boolean_Type , QT_Int = Integer_Type , QuickType_Shift = Tag_Shift } |
using | HeapBasePtr = Heap::Base * |
using | ValueTypeInternal = QuickType |
Static Public Member Functions inherited from QV4::ExecutionContext | |
static Heap::CallContext * | newBlockContext (QV4::CppStackFrame *frame, int blockIndex) |
static Heap::CallContext * | cloneBlockContext (ExecutionEngine *engine, Heap::CallContext *callContext) |
static Heap::CallContext * | newCallContext (JSTypesStackFrame *frame) |
static Heap::ExecutionContext * | newCatchContext (CppStackFrame *frame, int blockIndex, Heap::String *exceptionVarName) |
Static Public Member Functions inherited from QV4::Managed | |
static QString | typeToString (Type) |
Static Public Member Functions inherited from QV4::Value | |
static constexpr Value | fromStaticValue (StaticValue staticValue) |
static constexpr Value | undefined () |
static Value | fromHeapObject (HeapBasePtr m) |
static bool | toBooleanImpl (Value val) |
static double | toNumberImpl (Value v) |
static Heap::String * | toString (ExecutionEngine *e, Value val) |
static Heap::Object * | toObject (ExecutionEngine *e, Value val) |
static constexpr Value | fromReturnedValue (ReturnedValue val) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
static constexpr Value | emptyValue () |
static constexpr Value | fromBoolean (bool b) |
static constexpr Value | fromInt32 (int i) |
static constexpr Value | undefinedValue () |
static constexpr Value | nullValue () |
static Value | fromDouble (double d) |
static Value | fromUInt32 (uint i) |
Static Public Member Functions inherited from QV4::StaticValue | |
static int | valueOffset () |
static int | tagOffset () |
static constexpr quint64 | tagValue (quint32 tag, quint32 value) |
static constexpr quint64 | tagBitMask (TagBit bit) |
static bool | integerCompatible (StaticValue a, StaticValue b) |
static bool | bothDouble (StaticValue a, StaticValue b) |
static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
static constexpr StaticValue | fromReturnedValue (ReturnedValue val) |
static constexpr StaticValue | emptyValue () |
static constexpr StaticValue | fromBoolean (bool b) |
static constexpr StaticValue | fromInt32 (int i) |
static constexpr StaticValue | undefinedValue () |
static constexpr StaticValue | nullValue () |
static StaticValue | fromDouble (double d) |
static StaticValue | fromUInt32 (uint i) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
Public Attributes inherited from QV4::StaticValue | |
quint64 | _val |
Static Public Attributes inherited from QV4::StaticValue | |
static constexpr quint64 | ExponentMask = 0b0111111111110000ull << 48 |
static constexpr quint64 | Top1Mask = 0b1000000000000000ull << 48 |
static constexpr quint64 | Upper3Mask = 0b0000000000001110ull << 48 |
static constexpr quint64 | Lower5Mask = 0b0000000000011111ull |
static constexpr quint64 | ManagedMask = ExponentMask | quint64(TagBit::Unmanaged) << Tag_Shift |
static constexpr quint64 | DoubleMask = ManagedMask | quint64(TagBit::Special) << Tag_Shift |
static constexpr quint64 | NumberMask = ManagedMask | quint64(TagBit::Number) << Tag_Shift |
static constexpr quint64 | IntOrBoolMask = ManagedMask | quint64(TagBit::IntOrBool) << Tag_Shift |
static constexpr quint64 | IntCompatMask = ManagedMask | quint64(TagBit::IntCompat) << Tag_Shift |
static constexpr quint64 | EncodeMask = DoubleMask | NumberMask |
static constexpr quint64 | DoubleDiscriminator = ((quint64(TagBit::Unmanaged) | quint64(TagBit::Special)) << Tag_Shift) |
static constexpr quint64 | NumberDiscriminator = ((quint64(TagBit::Unmanaged) | quint64(TagBit::Number)) << Tag_Shift) |
Static Protected Member Functions inherited from QV4::ExecutionContext | |
static bool | virtualDeleteProperty (Managed *, PropertyKey) |
Static Protected Member Functions inherited from QV4::Managed | |
static bool | virtualIsEqualTo (Managed *m, Managed *other) |
Static Protected Attributes inherited from QV4::VTableBase | |
static constexpr VTable::Destroy | virtualDestroy = nullptr |
static constexpr VTable::IsEqualTo | virtualIsEqualTo = nullptr |
static constexpr VTable::Get | virtualGet = nullptr |
static constexpr VTable::Put | virtualPut = nullptr |
static constexpr VTable::DeleteProperty | virtualDeleteProperty = nullptr |
static constexpr VTable::HasProperty | virtualHasProperty = nullptr |
static constexpr VTable::GetOwnProperty | virtualGetOwnProperty = nullptr |
static constexpr VTable::DefineOwnProperty | virtualDefineOwnProperty = nullptr |
static constexpr VTable::IsExtensible | virtualIsExtensible = nullptr |
static constexpr VTable::PreventExtensions | virtualPreventExtensions = nullptr |
static constexpr VTable::GetPrototypeOf | virtualGetPrototypeOf = nullptr |
static constexpr VTable::SetPrototypeOf | virtualSetPrototypeOf = nullptr |
static constexpr VTable::GetLength | virtualGetLength = nullptr |
static constexpr VTable::OwnPropertyKeys | virtualOwnPropertyKeys = nullptr |
static constexpr VTable::InstanceOf | virtualInstanceOf = nullptr |
static constexpr VTable::Call | virtualCall = nullptr |
static constexpr VTable::CallAsConstructor | virtualCallAsConstructor = nullptr |
static constexpr VTable::CallWithMetaTypes | virtualCallWithMetaTypes = nullptr |
static constexpr VTable::CallWithMetaTypes | virtualConvertAndCall = nullptr |
static constexpr VTable::ResolveLookupGetter | virtualResolveLookupGetter = nullptr |
static constexpr VTable::ResolveLookupSetter | virtualResolveLookupSetter = nullptr |
static constexpr VTable::Metacall | virtualMetacall = nullptr |
Definition at line 148 of file qv4context_p.h.
|
inline |
Definition at line 153 of file qv4context_p.h.
|
inline |
Definition at line 156 of file qv4context_p.h.