v8  6.1.534(node8.9.3)
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 2011 of file v8.h.

Member Function Documentation

bool Delete ( Local< Value key)
Local<Value> Get ( Local< Value key) const
bool Has ( Local< Value key)
static Local<NativeWeakMap> New ( Isolate isolate)
void Set ( Local< Value key,
Local< Value value 

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