![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4propertykey_p.h>
Public Types | |
enum | FunctionNamePrefix { None , Getter , Setter } |
Public Member Functions | |
bool | isStringOrSymbol () const |
uint | asArrayIndex () const |
bool | isArrayIndex () const |
bool | isValid () const |
template<typename StringOrSymbol = Heap::StringOrSymbol> | |
StringOrSymbol * | asStringOrSymbol () const |
Q_QML_EXPORT bool | isString () const |
Q_QML_EXPORT bool | isSymbol () const |
bool | isCanonicalNumericIndexString () const |
Q_QML_EXPORT QString | toQString () const |
Heap::StringOrSymbol * | toStringOrSymbol (ExecutionEngine *e) |
quint64 | id () const |
Heap::String * | asFunctionName (ExecutionEngine *e, FunctionNamePrefix prefix) const |
bool | operator== (const PropertyKey &other) const |
bool | operator!= (const PropertyKey &other) const |
bool | operator< (const PropertyKey &other) const |
Static Public Member Functions | |
static PropertyKey | invalid () |
static PropertyKey | fromArrayIndex (uint idx) |
template<typename StringOrSymbol = Heap::StringOrSymbol, typename Engine = QV4::EngineBase> | |
static PropertyKey | fromStringOrSymbol (Engine *engine, StringOrSymbol *b) |
static PropertyKey | fromId (quint64 id) |
Friends | |
size_t | qHash (const PropertyKey &key, size_t seed=0) |
Definition at line 29 of file qv4propertykey_p.h.
Enumerator | |
---|---|
None | |
Getter | |
Setter |
Definition at line 112 of file qv4propertykey_p.h.
|
inline |
Definition at line 63 of file qv4propertykey_p.h.
References isArrayIndex().
Referenced by QV4::Heap::InternalClass::keyAt(), QV4::StringObject::virtualDeleteProperty(), and QV4::StringObject::virtualGetOwnProperty().
QV4::Heap::String * QV4::PropertyKey::asFunctionName | ( | ExecutionEngine * | e, |
FunctionNamePrefix | prefix ) const |
Definition at line 59 of file qv4propertykey.cpp.
References isArrayIndex().
|
inline |
Definition at line 93 of file qv4propertykey_p.h.
|
inlinestatic |
Definition at line 55 of file qv4propertykey_p.h.
Referenced by QV4::coerceListType().
|
inlinestatic |
Definition at line 108 of file qv4propertykey_p.h.
|
inlinestatic |
Definition at line 76 of file qv4propertykey_p.h.
|
inline |
Definition at line 107 of file qv4propertykey_p.h.
|
inlinestatic |
Definition at line 48 of file qv4propertykey_p.h.
Referenced by QV4::ScopedPropertyKey::ScopedPropertyKey(), QV4::Heap::addDummyEntry(), QV4::Heap::InternalClass::asProtoClass(), QV4::Heap::InternalClass::frozen(), QV4::Heap::InternalClass::locked(), QV4::Heap::InternalClass::nonExtensible(), and QV4::Heap::InternalClass::sealed().
|
inline |
Definition at line 69 of file qv4propertykey_p.h.
Referenced by asArrayIndex(), asFunctionName(), isCanonicalNumericIndexString(), QV4::Heap::InternalClass::keyAt(), QV4::StringObject::virtualDeleteProperty(), and QV4::StringObject::virtualGetOwnProperty().
bool QV4::PropertyKey::isCanonicalNumericIndexString | ( | ) | const |
Definition at line 32 of file qv4propertykey.cpp.
References isArrayIndex().
bool QV4::PropertyKey::isString | ( | ) | const |
Definition at line 22 of file qv4propertykey.cpp.
|
inline |
Definition at line 62 of file qv4propertykey_p.h.
Referenced by QV4::Heap::InternalClass::addMember(), QV4::Heap::InternalClass::changeMember(), QV4::Heap::InternalClass::find(), QV4::Heap::InternalClass::findEntry(), QV4::Heap::InternalClass::findValueOrGetter(), QV4::Heap::InternalClass::findValueOrSetter(), QV4::Heap::InternalClass::indexOfValueOrGetter(), QV4::Heap::InternalClass::keyAt(), and QV4::Heap::InternalClass::verifyIndex().
bool QV4::PropertyKey::isSymbol | ( | ) | const |
Definition at line 27 of file qv4propertykey.cpp.
|
inline |
Definition at line 70 of file qv4propertykey_p.h.
|
inline |
Definition at line 120 of file qv4propertykey_p.h.
Referenced by QV4::ScopedPropertyKey::operator!=(), and QV4::ScopedPropertyKey::operator!=().
|
inline |
Definition at line 121 of file qv4propertykey_p.h.
|
inline |
Definition at line 119 of file qv4propertykey_p.h.
Referenced by QV4::ScopedPropertyKey::operator==(), and QV4::ScopedPropertyKey::operator==().
QString QV4::PropertyKey::toQString | ( | ) | const |
Definition at line 50 of file qv4propertykey.cpp.
QV4::Heap::StringOrSymbol * QV4::PropertyKey::toStringOrSymbol | ( | QV4::ExecutionEngine * | e | ) |
Definition at line 15 of file qv4propertykey.cpp.
|
friend |
Definition at line 122 of file qv4propertykey_p.h.