v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Descriptor Class Referencefinal

#include <property.h>

Collaboration diagram for v8::internal::Descriptor:

Public Member Functions

 Descriptor ()
 
DirectHandle< NameGetKey () const
 
MaybeObjectDirectHandle GetValue () const
 
PropertyDetails GetDetails () const
 
void SetSortedKeyIndex (int index)
 

Static Public Member Functions

static Descriptor DataField (Isolate *isolate, DirectHandle< Name > key, int field_index, PropertyAttributes attributes, Representation representation)
 
static Descriptor DataField (DirectHandle< Name > key, int field_index, PropertyAttributes attributes, PropertyConstness constness, Representation representation, const MaybeObjectDirectHandle &wrapped_field_type)
 
static Descriptor DataConstant (DirectHandle< Name > key, DirectHandle< Object > value, PropertyAttributes attributes)
 
static Descriptor DataConstant (Isolate *isolate, DirectHandle< Name > key, int field_index, DirectHandle< Object > value, PropertyAttributes attributes)
 
static Descriptor AccessorConstant (DirectHandle< Name > key, DirectHandle< Object > foreign, PropertyAttributes attributes)
 

Protected Member Functions

 Descriptor (DirectHandle< Name > key, const MaybeObjectDirectHandle &value, PropertyDetails details)
 
 Descriptor (DirectHandle< Name > key, const MaybeObjectDirectHandle &value, PropertyKind kind, PropertyAttributes attributes, PropertyLocation location, PropertyConstness constness, Representation representation, int field_index)
 

Private Attributes

DirectHandle< Namekey_
 
MaybeObjectDirectHandle value_
 
PropertyDetails details_
 

Friends

class MapUpdater
 

Detailed Description

Definition at line 25 of file property.h.

Constructor & Destructor Documentation

◆ Descriptor() [1/3]

v8::internal::Descriptor::Descriptor ( )

Definition at line 58 of file property.cc.

Here is the caller graph for this function:

◆ Descriptor() [2/3]

v8::internal::Descriptor::Descriptor ( DirectHandle< Name > key,
const MaybeObjectDirectHandle & value,
PropertyDetails details )
protected

Definition at line 73 of file property.cc.

Here is the call graph for this function:

◆ Descriptor() [3/3]

v8::internal::Descriptor::Descriptor ( DirectHandle< Name > key,
const MaybeObjectDirectHandle & value,
PropertyKind kind,
PropertyAttributes attributes,
PropertyLocation location,
PropertyConstness constness,
Representation representation,
int field_index )
protected

Definition at line 60 of file property.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AccessorConstant()

Descriptor v8::internal::Descriptor::AccessorConstant ( DirectHandle< Name > key,
DirectHandle< Object > foreign,
PropertyAttributes attributes )
static

Definition at line 118 of file property.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DataConstant() [1/2]

Descriptor v8::internal::Descriptor::DataConstant ( DirectHandle< Name > key,
DirectHandle< Object > value,
PropertyAttributes attributes )
static

Definition at line 100 of file property.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DataConstant() [2/2]

Descriptor v8::internal::Descriptor::DataConstant ( Isolate * isolate,
DirectHandle< Name > key,
int field_index,
DirectHandle< Object > value,
PropertyAttributes attributes )
static

Definition at line 110 of file property.cc.

Here is the call graph for this function:

◆ DataField() [1/2]

Descriptor v8::internal::Descriptor::DataField ( DirectHandle< Name > key,
int field_index,
PropertyAttributes attributes,
PropertyConstness constness,
Representation representation,
const MaybeObjectDirectHandle & wrapped_field_type )
static

Definition at line 89 of file property.cc.

Here is the call graph for this function:

◆ DataField() [2/2]

Descriptor v8::internal::Descriptor::DataField ( Isolate * isolate,
DirectHandle< Name > key,
int field_index,
PropertyAttributes attributes,
Representation representation )
static

Definition at line 81 of file property.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDetails()

PropertyDetails v8::internal::Descriptor::GetDetails ( ) const
inline

Definition at line 31 of file property.h.

Here is the caller graph for this function:

◆ GetKey()

DirectHandle< Name > v8::internal::Descriptor::GetKey ( ) const
inline

Definition at line 29 of file property.h.

Here is the caller graph for this function:

◆ GetValue()

MaybeObjectDirectHandle v8::internal::Descriptor::GetValue ( ) const
inline

Definition at line 30 of file property.h.

◆ SetSortedKeyIndex()

void v8::internal::Descriptor::SetSortedKeyIndex ( int index)
inline

Definition at line 33 of file property.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ MapUpdater

friend class MapUpdater
friend

Definition at line 70 of file property.h.

Member Data Documentation

◆ details_

PropertyDetails v8::internal::Descriptor::details_
private

Definition at line 59 of file property.h.

◆ key_

DirectHandle<Name> v8::internal::Descriptor::key_
private

Definition at line 57 of file property.h.

◆ value_

MaybeObjectDirectHandle v8::internal::Descriptor::value_
private

Definition at line 58 of file property.h.


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