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

#include <js-collection.h>

Inheritance diagram for v8::internal::JSWeakCollection:
Collaboration diagram for v8::internal::JSWeakCollection:

Classes

class  BodyDescriptorImpl
 

Public Types

using BodyDescriptor = BodyDescriptorImpl
 

Static Public Member Functions

static void Initialize (DirectHandle< JSWeakCollection > collection, Isolate *isolate)
 
static V8_EXPORT_PRIVATE void Set (DirectHandle< JSWeakCollection > collection, DirectHandle< Object > key, DirectHandle< Object > value, int32_t hash)
 
static bool Delete (DirectHandle< JSWeakCollection > collection, DirectHandle< Object > key, int32_t hash)
 
static DirectHandle< JSArrayGetEntries (DirectHandle< JSWeakCollection > holder, int max_entries)
 

Static Public Attributes

static const int kAddFunctionDescriptorIndex = 3
 
static const int kHeaderSizeOfAllWeakCollections = kHeaderSize
 

Detailed Description

Definition at line 85 of file js-collection.h.

Member Typedef Documentation

◆ BodyDescriptor

Member Function Documentation

◆ Delete()

bool v8::internal::JSWeakCollection::Delete ( DirectHandle< JSWeakCollection > collection,
DirectHandle< Object > key,
int32_t hash )
static

Definition at line 6330 of file objects.cc.

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

◆ GetEntries()

DirectHandle< JSArray > v8::internal::JSWeakCollection::GetEntries ( DirectHandle< JSWeakCollection > holder,
int max_entries )
static

Definition at line 6348 of file objects.cc.

Here is the call graph for this function:

◆ Initialize()

void v8::internal::JSWeakCollection::Initialize ( DirectHandle< JSWeakCollection > collection,
Isolate * isolate )
static

Definition at line 6307 of file objects.cc.

Here is the caller graph for this function:

◆ Set()

void v8::internal::JSWeakCollection::Set ( DirectHandle< JSWeakCollection > collection,
DirectHandle< Object > key,
DirectHandle< Object > value,
int32_t hash )
static

Definition at line 6313 of file objects.cc.

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

Member Data Documentation

◆ kAddFunctionDescriptorIndex

const int v8::internal::JSWeakCollection::kAddFunctionDescriptorIndex = 3
static

Definition at line 98 of file js-collection.h.

◆ kHeaderSizeOfAllWeakCollections

const int v8::internal::JSWeakCollection::kHeaderSizeOfAllWeakCollections = kHeaderSize
static

Definition at line 106 of file js-collection.h.


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