![]() |
Qt 6.x
The Qt SDK
|
#include <qv4global_p.h>
Public Types | |
enum | Type { Data = 0 , Accessor = 1 , Generic = 2 } |
Public Member Functions | |
PropertyAttributes () | |
PropertyAttributes (PropertyFlag f) | |
PropertyAttributes (PropertyFlags f) | |
void | setType (Type t) |
Type | type () const |
bool | isData () const |
bool | isAccessor () const |
bool | isGeneric () const |
bool | hasType () const |
bool | hasWritable () const |
bool | hasConfigurable () const |
bool | hasEnumerable () const |
void | setWritable (bool b) |
void | setConfigurable (bool b) |
void | setEnumerable (bool b) |
void | resolve () |
bool | isWritable () const |
bool | isEnumerable () const |
bool | isConfigurable () const |
void | clearType () |
void | clearWritable () |
void | clearEnumerable () |
void | clearConfigurable () |
void | clear () |
bool | isEmpty () const |
uint | all () const |
bool | operator== (PropertyAttributes other) |
bool | operator!= (PropertyAttributes other) |
Public Attributes | ||
union { | ||
uchar m_all | ||
struct { | ||
uchar m_flags: 4 | ||
uchar m_mask: 4 | ||
} | ||
struct { | ||
uchar m_type: 1 | ||
uchar m_writable: 1 | ||
uchar m_enumerable: 1 | ||
uchar m_configurable: 1 | ||
uchar type_set: 1 | ||
uchar writable_set: 1 | ||
uchar enumerable_set: 1 | ||
uchar configurable_set: 1 | ||
} | ||
}; | ||
Definition at line 192 of file qv4global_p.h.
Enumerator | |
---|---|
Data | |
Accessor | |
Generic |
Definition at line 212 of file qv4global_p.h.
|
inline |
Definition at line 218 of file qv4global_p.h.
|
inline |
Definition at line 219 of file qv4global_p.h.
References QV4::Attr_Accessor, QV4::Attr_Invalid, QV4::Attr_NotConfigurable, QV4::Attr_NotEnumerable, QV4::Attr_NotWritable, Data, and setType().
|
inline |
Definition at line 228 of file qv4global_p.h.
References QV4::Attr_Accessor, QV4::Attr_Invalid, QV4::Attr_NotConfigurable, QV4::Attr_NotEnumerable, QV4::Attr_NotWritable, Data, and setType().
|
inline |
Definition at line 268 of file qv4global_p.h.
|
inline |
Definition at line 265 of file qv4global_p.h.
|
inline |
Definition at line 263 of file qv4global_p.h.
|
inline |
Definition at line 262 of file qv4global_p.h.
|
inline |
Definition at line 260 of file qv4global_p.h.
References Data.
|
inline |
Definition at line 261 of file qv4global_p.h.
|
inline |
Definition at line 247 of file qv4global_p.h.
Referenced by QV4::Property::isCompatible(), and QV4::Property::merge().
|
inline |
Definition at line 248 of file qv4global_p.h.
Referenced by QV4::Property::isCompatible(), and QV4::Property::merge().
|
inline |
Definition at line 245 of file qv4global_p.h.
|
inline |
Definition at line 246 of file qv4global_p.h.
Referenced by QV4::Property::isCompatible(), and QV4::Property::merge().
|
inline |
Definition at line 242 of file qv4global_p.h.
References Accessor.
Referenced by QV4::Object::arraySet(), QV4::SparseArrayData::del(), QV4::Object::insertMember(), QV4::Property::isCompatible(), QV4::SimpleArrayData::put(), QV4::SparseArrayData::setAttribute(), QV4::ProxyObject::virtualGet(), and QV4::ProxyObject::virtualPut().
|
inline |
Definition at line 258 of file qv4global_p.h.
Referenced by QV4::SimpleArrayData::del(), QV4::SparseArrayData::del(), QV4::Property::isCompatible(), QV4::Property::isSubset(), QV4::Property::merge(), QV4::SimpleArrayData::truncate(), QV4::ProxyObject::virtualDefineOwnProperty(), QV4::ProxyObject::virtualDeleteProperty(), QV4::ProxyObject::virtualGet(), QV4::ProxyObject::virtualGetOwnProperty(), QV4::ProxyObject::virtualHasProperty(), and QV4::ProxyObject::virtualPut().
|
inline |
Definition at line 241 of file qv4global_p.h.
References Data.
Referenced by QV4::Property::isCompatible(), QV4::ProxyObject::virtualGet(), and QV4::ProxyObject::virtualPut().
|
inline |
Definition at line 266 of file qv4global_p.h.
Referenced by QV4::Property::isCompatible(), and QV4::InternalClassEntry::isValid().
|
inline |
Definition at line 257 of file qv4global_p.h.
Referenced by QV4::Property::isCompatible(), QV4::Property::isSubset(), and QV4::Property::merge().
|
inline |
Definition at line 243 of file qv4global_p.h.
References Generic.
Referenced by QV4::Property::isCompatible().
|
inline |
Definition at line 256 of file qv4global_p.h.
References Data.
Referenced by QV4::Property::isCompatible(), QV4::Property::isSubset(), QV4::Property::merge(), QV4::ProxyObject::virtualGet(), and QV4::ProxyObject::virtualPut().
|
inline |
Definition at line 273 of file qv4global_p.h.
References other().
|
inline |
Definition at line 270 of file qv4global_p.h.
References other().
|
inline |
Definition at line 254 of file qv4global_p.h.
|
inline |
Definition at line 251 of file qv4global_p.h.
Referenced by QV4::ExecutionEngine::lockObject().
|
inline |
Definition at line 252 of file qv4global_p.h.
Definition at line 238 of file qv4global_p.h.
Referenced by QV4::ArgumentsObject::virtualDefineOwnProperty().
|
inline |
Definition at line 250 of file qv4global_p.h.
Referenced by QV4::ExecutionEngine::lockObject().
|
inline |
Definition at line 239 of file qv4global_p.h.
References Generic.
Referenced by QV4::Property::isSubset(), and QV4::Property::merge().
union { ... } QV4::PropertyAttributes |
uchar QV4::PropertyAttributes::configurable_set |
Definition at line 208 of file qv4global_p.h.
uchar QV4::PropertyAttributes::enumerable_set |
Definition at line 207 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_all |
Definition at line 195 of file qv4global_p.h.
Referenced by QV4::Heap::attributesFromFlags().
uchar QV4::PropertyAttributes::m_configurable |
Definition at line 204 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_enumerable |
Definition at line 203 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_flags |
Definition at line 197 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_mask |
Definition at line 198 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_type |
Definition at line 201 of file qv4global_p.h.
uchar QV4::PropertyAttributes::m_writable |
Definition at line 202 of file qv4global_p.h.
uchar QV4::PropertyAttributes::type_set |
Definition at line 205 of file qv4global_p.h.
uchar QV4::PropertyAttributes::writable_set |
Definition at line 206 of file qv4global_p.h.