#include <qv4staticvalue_p.h>
|
| 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 |
Definition at line 44 of file qv4staticvalue_p.h.
◆ HeapBasePtr
◆ ValueTypeInternal
◆ anonymous enum
| Enumerator |
|---|
| Tag_Shift | |
| IsIntegerConvertible_Shift | |
| IsIntegerConvertible_Value | |
| IsIntegerOrBool_Shift | |
| IsIntegerOrBool_Value | |
Definition at line 190 of file qv4staticvalue_p.h.
◆ anonymous enum
| Enumerator |
|---|
| QT_Empty | |
| QT_Null | |
| QT_Bool | |
| QT_Int | |
| QuickType_Shift | |
Definition at line 248 of file qv4staticvalue_p.h.
◆ QuickType
| Enumerator |
|---|
| Managed | |
| Empty | |
| Null | |
| Boolean | |
| Integer | |
| PlusInf | |
| MinusInf | |
| NaN | |
| MinusNaN | |
Definition at line 228 of file qv4staticvalue_p.h.
◆ TagBit
| Enumerator |
|---|
| SpecialNegative | |
| SpecialQNaN | |
| Special | |
| IntCompat | |
| Unmanaged | |
| IntOrBool | |
| Number | |
Definition at line 160 of file qv4staticvalue_p.h.
◆ Type
| Enumerator |
|---|
| Managed_Type | |
| Double_Type | |
| Undefined_Type | |
| Empty_Type | |
| Null_Type | |
| Boolean_Type | |
| Integer_Type | |
Definition at line 178 of file qv4staticvalue_p.h.
◆ StaticValue() [1/2]
| QV4::StaticValue::StaticValue |
( |
| ) |
|
|
default |
◆ StaticValue() [2/2]
| QV4::StaticValue::StaticValue |
( |
quint64 | val | ) |
|
|
inlineconstexpr |
◆ asDouble()
| double QV4::StaticValue::asDouble |
( |
| ) |
const |
|
inline |
◆ asReturnedValue()
◆ asValue() [1/4]
| Value & QV4::StaticValue::asValue |
( |
| ) |
|
◆ asValue() [2/4]
template<>
| Value & QV4::StaticValue::asValue |
( |
| ) |
|
|
inline |
◆ asValue() [3/4]
| const Value & QV4::StaticValue::asValue |
( |
| ) |
const |
◆ asValue() [4/4]
template<>
| const Value & QV4::StaticValue::asValue |
( |
| ) |
const |
|
inline |
◆ booleanValue()
| bool QV4::StaticValue::booleanValue |
( |
| ) |
const |
|
inline |
◆ bothDouble()
◆ data_ptr()
◆ doubleValue()
◆ emptyValue()
◆ fromBoolean()
| constexpr StaticValue QV4::StaticValue::fromBoolean |
( |
bool | b | ) |
|
|
inlinestaticconstexpr |
◆ fromDouble()
◆ fromInt32()
| constexpr StaticValue QV4::StaticValue::fromInt32 |
( |
int | i | ) |
|
|
inlinestaticconstexpr |
◆ fromReturnedValue()
◆ fromUInt32()
◆ int_32()
◆ integerCompatible() [1/2]
| bool QV4::StaticValue::integerCompatible |
( |
| ) |
const |
|
inline |
◆ integerCompatible() [2/2]
◆ integerValue()
| int QV4::StaticValue::integerValue |
( |
| ) |
const |
|
inline |
◆ isBoolean()
| bool QV4::StaticValue::isBoolean |
( |
| ) |
const |
|
inline |
◆ isDouble()
| bool QV4::StaticValue::isDouble |
( |
| ) |
const |
|
inline |
◆ isEmpty()
| bool QV4::StaticValue::isEmpty |
( |
| ) |
const |
|
inline |
◆ isInt32() [1/2]
| bool QV4::StaticValue::isInt32 |
( |
| ) |
|
|
inline |
◆ isInt32() [2/2]
◆ isInteger()
| bool QV4::StaticValue::isInteger |
( |
| ) |
const |
|
inline |
◆ isIntOrBool()
| bool QV4::StaticValue::isIntOrBool |
( |
| ) |
const |
|
inline |
◆ isManaged()
| bool QV4::StaticValue::isManaged |
( |
| ) |
const |
|
inline |
◆ isManagedOrUndefined()
| bool QV4::StaticValue::isManagedOrUndefined |
( |
| ) |
const |
|
inline |
◆ isNaN()
| bool QV4::StaticValue::isNaN |
( |
| ) |
const |
|
inline |
◆ isNull()
| bool QV4::StaticValue::isNull |
( |
| ) |
const |
|
inline |
◆ isNullOrUndefined()
| bool QV4::StaticValue::isNullOrUndefined |
( |
| ) |
const |
|
inline |
◆ isNumber()
| bool QV4::StaticValue::isNumber |
( |
| ) |
const |
|
inline |
◆ isPositiveInt()
| bool QV4::StaticValue::isPositiveInt |
( |
| ) |
const |
|
inline |
◆ isUndefined()
| bool QV4::StaticValue::isUndefined |
( |
| ) |
const |
|
inline |
◆ nullValue()
◆ operator=() [1/4]
◆ operator=() [2/4]
◆ operator=() [3/4]
◆ operator=() [4/4]
◆ quickType()
| quint64 QV4::StaticValue::quickType |
( |
| ) |
const |
|
inline |
◆ rawValue()
◆ rawValueRef()
◆ setDouble()
◆ setEmpty()
◆ setInt_32()
◆ setRawValue()
◆ setTag()
◆ setTagValue()
◆ tag()
◆ tagBitMask()
◆ tagOffset()
| int QV4::StaticValue::tagOffset |
( |
| ) |
|
|
inlinestatic |
◆ tagValue()
◆ toBoolean()
| bool QV4::StaticValue::toBoolean |
( |
| ) |
const |
|
inline |
◆ toInt32() [1/2]
| int QV4::StaticValue::toInt32 |
( |
| ) |
const |
|
inline |
◆ toInt32() [2/2]
| int QV4::StaticValue::toInt32 |
( |
double | d | ) |
|
|
inlinestatic |
◆ toInteger()
| double QV4::StaticValue::toInteger |
( |
double | d | ) |
|
|
inlinestatic |
◆ toUInt32()
| unsigned int QV4::StaticValue::toUInt32 |
( |
double | d | ) |
|
|
inlinestatic |
◆ tryIntegerConversion()
| bool QV4::StaticValue::tryIntegerConversion |
( |
| ) |
|
|
inline |
◆ type()
| Type QV4::StaticValue::type |
( |
| ) |
const |
|
inline |
◆ uint_32()
◆ undefinedValue()
| constexpr StaticValue QV4::StaticValue::undefinedValue |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ value()
◆ valueOffset()
| int QV4::StaticValue::valueOffset |
( |
| ) |
|
|
inlinestatic |
◆ _val
◆ DoubleDiscriminator
◆ DoubleMask
◆ EncodeMask
◆ ExponentMask
| quint64 QV4::StaticValue::ExponentMask = 0b0111111111110000ull << 48 |
|
staticconstexpr |
◆ IntCompatMask
◆ IntOrBoolMask
◆ Lower5Mask
| quint64 QV4::StaticValue::Lower5Mask = 0b0000000000011111ull |
|
staticconstexpr |
◆ ManagedMask
◆ NumberDiscriminator
◆ NumberMask
◆ Top1Mask
| quint64 QV4::StaticValue::Top1Mask = 0b1000000000000000ull << 48 |
|
staticconstexpr |
◆ Upper3Mask
| quint64 QV4::StaticValue::Upper3Mask = 0b0000000000001110ull << 48 |
|
staticconstexpr |
The documentation for this struct was generated from the following files: