V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::PropertyDetails Class Reference

Classes

class  AttributesField
 
class  ConstnessField
 
class  DescriptorPointer
 
class  DictionaryStorageField
 
class  FieldIndexField
 
class  KindField
 
class  LocationField
 
class  PropertyCellTypeField
 
class  RepresentationField
 

Public Types

enum  PrintMode {
  kPrintAttributes = 1 << 0, kPrintFieldIndex = 1 << 1, kPrintRepresentation = 1 << 2, kPrintPointer = 1 << 3,
  kForProperties = kPrintFieldIndex, kForTransitions = kPrintAttributes, kPrintFull = -1
}
 

Public Member Functions

 PropertyDetails (PropertyKind kind, PropertyAttributes attributes, PropertyCellType cell_type, int dictionary_index=0)
 
 PropertyDetails (PropertyKind kind, PropertyAttributes attributes, PropertyLocation location, PropertyConstness constness, Representation representation, int field_index=0)
 
int pointer () const
 
PropertyDetails set_pointer (int i) const
 
PropertyDetails set_cell_type (PropertyCellType type) const
 
PropertyDetails set_index (int index) const
 
PropertyDetails CopyWithRepresentation (Representation representation) const
 
PropertyDetails CopyWithConstness (PropertyConstness constness) const
 
PropertyDetails CopyAddAttributes (PropertyAttributes new_attributes) const
 
 PropertyDetails (Smi smi)
 
Smi AsSmi () const
 
PropertyKind kind () const
 
PropertyLocation location () const
 
PropertyConstness constness () const
 
PropertyAttributes attributes () const
 
int dictionary_index () const
 
Representation representation () const
 
int field_index () const
 
int field_width_in_words () const
 
bool IsReadOnly () const
 
bool IsConfigurable () const
 
bool IsDontEnum () const
 
bool IsEnumerable () const
 
PropertyCellType cell_type () const
 
 STATIC_ASSERT (DictionaryStorageField::kNext<=31)
 
 STATIC_ASSERT (FieldIndexField::kNext<=31)
 
void PrintAsSlowTo (std::ostream &out)
 
void PrintAsFastTo (std::ostream &out, PrintMode mode=kPrintFull)
 

Static Public Member Functions

static PropertyDetails Empty (PropertyCellType cell_type=PropertyCellType::kNoCell)
 
static uint8_t EncodeRepresentation (Representation representation)
 
static Representation DecodeRepresentation (uint32_t bits)
 
static bool IsValidIndex (int index)
 

Static Public Attributes

static const int kAttributesReadOnlyMask
 
static const int kAttributesDontDeleteMask
 
static const int kAttributesDontEnumMask
 
static const int kInitialIndex = 1
 

Detailed Description

Definition at line 233 of file property-details.h.

Member Data Documentation

◆ kAttributesDontDeleteMask

const int v8::internal::PropertyDetails::kAttributesDontDeleteMask
static
Initial value:
=
(DONT_DELETE << AttributesField::kShift)

Definition at line 345 of file property-details.h.

◆ kAttributesDontEnumMask

const int v8::internal::PropertyDetails::kAttributesDontEnumMask
static
Initial value:
=
(DONT_ENUM << AttributesField::kShift)

Definition at line 347 of file property-details.h.

◆ kAttributesReadOnlyMask

const int v8::internal::PropertyDetails::kAttributesReadOnlyMask
static
Initial value:
=
(READ_ONLY << AttributesField::kShift)

Definition at line 343 of file property-details.h.


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