v8
7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-util.h>
Public Member Functions | |
StdGlobalValueMap (Isolate *isolate) | |
Public Member Functions inherited from GlobalValueMap< K, V, Traits > | |
GlobalValueMap (Isolate *isolate) | |
GlobalValueMap (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) |
Public Member Functions inherited from PersistentValueMapBase< K, V, Traits > | |
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) |
V8_DEPRECATE_SOON ("Used TracedGlobal and EmbedderHeapTracer::RegisterEmbedderReference", inline void RegisterExternallyReferencedObject(K &key)) | |
Global< V > | Remove (const K &key) |
void | Clear () |
PersistentValueReference | GetReference (const K &key) |
Additional Inherited Members | |
Public Types inherited from GlobalValueMap< K, V, Traits > | |
typedef PersistentValueMapBase< K, V, Traits >::PersistentValueReference | PersistentValueReference |
Protected Member Functions inherited from PersistentValueMapBase< K, V, Traits > | |
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 Protected Member Functions inherited from PersistentValueMapBase< K, V, Traits > | |
static V * | FromVal (PersistentContainerValue v) |
static PersistentContainerValue | ClearAndLeak (Global< V > *persistent) |
static PersistentContainerValue | Leak (Global< V > *persistent) |
static Global< V > | Release (PersistentContainerValue v) |
A map that uses Global as value and std::map as the backing implementation. Globals are held non-weak.
C++11 embedders don't need this class, as they can use Global directly in std containers.
|
inlineexplicit |