v8  4.4.63(io.js3.3.1)
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 (Handle< Value > key, Handle< Value > value)
Local< ValueGet (Handle< Value > key)
bool Has (Handle< Value > key)
bool Delete (Handle< 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 1625 of file v8.h.

Member Function Documentation

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

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