V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::PropertyDescriptorObject Class Reference
Inheritance diagram for v8::internal::PropertyDescriptorObject:
v8::internal::FixedArray v8::internal::FixedArrayBase v8::internal::HeapObjectPtr v8::internal::ObjectPtr

Public Types

enum  {
  kFlagsIndex, kValueIndex, kGetIndex, kSetIndex,
  kLength
}
 
- Public Types inherited from v8::internal::FixedArray
typedef FlexibleBodyDescriptor< kHeaderSize > BodyDescriptor
 

Static Public Attributes

static const int kRegularAccessorPropertyBits
 
static const int kRegularDataPropertyBits
 
static const int kHasMask
 
static const int kValueOffset
 
static const int kFlagsOffset
 
static const int kGetOffset
 
static const int kSetOffset
 
- Static Public Attributes inherited from v8::internal::FixedArray
static const int kMaxLength = (kMaxSize - kHeaderSize) / kTaggedSize
 
static const int kMaxRegularLength
 
- Static Public Attributes inherited from v8::internal::FixedArrayBase
static const int kMaxSize = 1024 * MB
 
- Static Public Attributes inherited from v8::internal::HeapObjectPtr
static const int kMapOffset = HeapObject::kMapOffset
 
static const int kHeaderSize = HeapObject::kHeaderSize
 

Additional Inherited Members

- Public Member Functions inherited from v8::internal::FixedArray
Objectget (int index) const
 
template<class T >
MaybeHandle< TGetValue (Isolate *isolate, int index) const
 
template<class T >
Handle< TGetValueChecked (Isolate *isolate, int index) const
 
void set (int index, Object *value)
 
bool is_the_hole (Isolate *isolate, int index)
 
void set (int index, Smi value)
 
void set (int index, Object *value, WriteBarrierMode mode)
 
void set_undefined (int index)
 
void set_undefined (Isolate *isolate, int index)
 
void set_null (int index)
 
void set_null (Isolate *isolate, int index)
 
void set_the_hole (int index)
 
void set_the_hole (Isolate *isolate, int index)
 
ObjectSlot GetFirstElementAddress ()
 
bool ContainsOnlySmisOrHoles ()
 
bool ContainsSortedNumbers ()
 
ObjectSlot data_start ()
 
void MoveElements (Heap *heap, int dst_index, int src_index, int len, WriteBarrierMode mode)
 
void FillWithHoles (int from, int to)
 
void Shrink (Isolate *isolate, int new_length)
 
void CopyTo (int pos, FixedArray dest, int dest_pos, int len) const
 
ObjectSlot RawFieldOfElementAt (int index)
 
 STATIC_ASSERT (kMaxRegularHeapObjectSize< kMaxSize)
 
- Public Member Functions inherited from v8::internal::FixedArrayBase
int length () const
 
void set_length (int value)
 
int synchronized_length () const
 
void synchronized_set_length (int value)
 
Objectunchecked_synchronized_length () const
 
bool IsCowArray () const
 
- Public Member Functions inherited from v8::internal::HeapObjectPtr
Map map () const
 
void set_map (Map value)
 
void set_map_after_allocation (Map value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Map value)
 
ObjectSlot map_slot ()
 
MapWord map_word () const
 
void set_map_word (MapWord map_word)
 
void synchronized_set_map (Map value)
 
void synchronized_set_map_word (MapWord map_word)
 
WriteBarrierMode GetWriteBarrierMode (const DisallowHeapAllocation &promise)
 
 operator HeapObject * ()
 
 operator const HeapObject * () const
 
bool is_null () const
 
bool IsHeapObjectPtr () const
 
ReadOnlyRoots GetReadOnlyRoots () const
 
Address address () const
 
int Size () const
 
int SizeFromMap (Map map) const
 
ObjectSlot RawField (int byte_offset) const
 
MaybeObjectSlot RawMaybeWeakField (int byte_offset) const
 
void HeapObjectVerify (Isolate *isolate)
 
Address GetFieldAddress (int field_offset) const
 
- Public Member Functions inherited from v8::internal::ObjectPtr
constexpr ObjectPtr (Address ptr)
 
 operator Object * () const
 
bool operator== (const ObjectPtr other) const
 
bool operator!= (const ObjectPtr other) const
 
bool operator< (const ObjectPtr other) const
 
constexpr Address ptr () const
 
ObjectPtroperator-> ()
 
const ObjectPtroperator-> () const
 
bool IsHashTableBase () const
 
V8_INLINE bool IsSmallOrderedHashTable () const
 
bool IsObject () const
 
double Number () const
 
bool ToInt32 (int32_t *value) const
 
bool ToUint32 (uint32_t *value) const
 
bool BooleanValue (Isolate *isolate)
 
bool FilterKey (PropertyFilter filter)
 
ObjectGetHash ()
 
Smi GetOrCreateHash (Isolate *isolate)
 
V8_EXPORT_PRIVATE bool SameValue (Object *other)
 
V8_WARN_UNUSED_RESULT bool ToArrayIndex (uint32_t *index) const
 
void ShortPrint (FILE *out=stdout)
 
void ShortPrint (std::ostream &os)
 
void Print ()
 
void Print (std::ostream &os)
 
- Static Public Member Functions inherited from v8::internal::FixedArray
static Handle< Objectget (FixedArray array, int index, Isolate *isolate)
 
static Handle< FixedArraySetAndGrow (Isolate *isolate, Handle< FixedArray > array, int index, Handle< Object > value, PretenureFlag pretenure=NOT_TENURED)
 
static Handle< FixedArrayShrinkOrEmpty (Isolate *isolate, Handle< FixedArray > array, int new_length)
 
static constexpr int SizeFor (int length)
 
static constexpr int OffsetOfElementAt (int index)
 
- Static Public Member Functions inherited from v8::internal::FixedArrayBase
static int GetMaxLengthForNewSpaceAllocation (ElementsKind kind)
 
- Protected Types inherited from v8::internal::HeapObjectPtr
enum  AllowInlineSmiStorage { kRequireHeapObjectTag, kAllowBeingASmi }
 
- Protected Member Functions inherited from v8::internal::HeapObjectPtr
 HeapObjectPtr (Address ptr, AllowInlineSmiStorage allow_smi)
 
- Static Protected Member Functions inherited from v8::internal::FixedArray
static void NoWriteBarrierSet (FixedArray array, int index, Object *value)
 

Detailed Description

Definition at line 17 of file property-descriptor-object.h.

Member Data Documentation

◆ kFlagsOffset

const int v8::internal::PropertyDescriptorObject::kFlagsOffset
static
Initial value:
=
FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kFlagsIndex)

Definition at line 52 of file property-descriptor-object.h.

◆ kGetOffset

const int v8::internal::PropertyDescriptorObject::kGetOffset
static
Initial value:
=
FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kGetIndex)

Definition at line 54 of file property-descriptor-object.h.

◆ kHasMask

const int v8::internal::PropertyDescriptorObject::kHasMask
static
Initial value:
= HasEnumerableBit::kMask |
HasConfigurableBit::kMask |
HasWritableBit::kMask | HasValueBit::kMask |
HasGetBit::kMask | HasSetBit::kMask

Definition at line 45 of file property-descriptor-object.h.

◆ kRegularAccessorPropertyBits

const int v8::internal::PropertyDescriptorObject::kRegularAccessorPropertyBits
static
Initial value:
=
HasEnumerableBit::kMask | HasConfigurableBit::kMask | HasGetBit::kMask |
HasSetBit::kMask

Definition at line 37 of file property-descriptor-object.h.

◆ kRegularDataPropertyBits

const int v8::internal::PropertyDescriptorObject::kRegularDataPropertyBits
static
Initial value:
=
HasEnumerableBit::kMask | HasConfigurableBit::kMask |
HasWritableBit::kMask | HasValueBit::kMask

Definition at line 41 of file property-descriptor-object.h.

◆ kSetOffset

const int v8::internal::PropertyDescriptorObject::kSetOffset
static
Initial value:
=
FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kSetIndex)

Definition at line 56 of file property-descriptor-object.h.

◆ kValueOffset

const int v8::internal::PropertyDescriptorObject::kValueOffset
static
Initial value:
=
FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kValueIndex)

Definition at line 50 of file property-descriptor-object.h.


The documentation for this class was generated from the following file: