![]() |
v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
|
#include <v8-util.h>
Public Types | |
typedef PersistentValueMapBase< K, V, Traits >::PersistentValueReference | PersistentValueReference |
Public Member Functions | |
PersistentValueMap (Isolate *isolate) | |
PersistentValueMap (Isolate *isolate, const char *label) | |
Global< V > | Set (const K &key, Local< V > value) |
Global< V > | Set (const K &key, Global< V > value) |
Global< V > | SetUnique (const K &key, Global< V > *persistent) |
Global< V > | Set (const K &key, Global< V > value, PersistentValueReference *reference) |
![]() | |
Isolate * | GetIsolate () |
size_t | Size () |
bool | IsWeak () |
Local< V > | Get (const K &key) |
bool | Contains (const K &key) |
bool | SetReturnValue (const K &key, ReturnValue< Value > returnValue) |
Global< V > | Remove (const K &key) |
void | Clear () |
PersistentValueReference | GetReference (const K &key) |
Additional Inherited Members | |
![]() | |
PersistentValueMapBase (Isolate *isolate) | |
PersistentValueMapBase (Isolate *isolate, const char *label) | |
~PersistentValueMapBase () | |
Isolate * | isolate () |
Traits::Impl * | impl () |
void | RemoveWeak (const K &key) |
void | AnnotateStrongRetainer (Global< V > *persistent) |
![]() | |
static V * | FromVal (PersistentContainerValue v) |
static PersistentContainerValue | ClearAndLeak (Global< V > *persistent) |
static PersistentContainerValue | Leak (Global< V > *persistent) |
static Global< V > | Release (PersistentContainerValue v) |
typedef PersistentValueMapBase<K,V,Traits>::PersistentValueReference PersistentValueReference |
|
inlineexplicit |
Definition at line 363 of file v8-util.h.
Referenced by StdPersistentValueMap< K, V, Traits >::StdPersistentValueMap().
|
inline |
|
inline |
Put value into map, like Set(const K&, Local<V>).
|
inline |
Put the value into the map, and set the 'weak' callback when demanded by the Traits class.
Definition at line 393 of file v8-util.h.
Referenced by PersistentValueMap< K, V, DefaultPersistentValueMapTraits< K, V > >::Set(), PersistentValueMap< K, V, DefaultPersistentValueMapTraits< K, V > >::Set(), and PersistentValueMap< K, V, DefaultPersistentValueMapTraits< K, V > >::Set().