v8  5.1.281(node6.10.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)
 
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 1691 of file v8.h.

Member Function Documentation

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

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