v8  6.2.414(node9.11.2)
V8 is Google's open source JavaScript engine
NativeWeakMap Class Reference

#include <v8.h>

Inheritance diagram for NativeWeakMap:
Collaboration diagram for NativeWeakMap:

Public Member Functions

void Set (Local< Value > key, Local< Value > value)
Local< ValueGet (Local< Value > key) const
bool Has (Local< Value > key)
bool Delete (Local< Value > key)

Static Public Member Functions

static Local< NativeWeakMapNew (Isolate *isolate)

Detailed Description

A map whose keys are referenced weakly. It is similar to JavaScript WeakMap but can be created without entering a v8::Context and hence shouldn't escape to JavaScript.

Definition at line 2021 of file v8.h.

Member Function Documentation

◆ Delete()

bool Delete ( Local< Value key)

◆ Get()

Local<Value> Get ( Local< Value key) const

◆ Has()

bool Has ( Local< Value key)

◆ New()

static Local<NativeWeakMap> New ( Isolate isolate)

◆ Set()

void Set ( Local< Value key,
Local< Value value 

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