![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-object.h>


Public Member Functions | |
| virtual const WrapperTypeInfo * | GetWrapperTypeInfo () const |
| const char * | GetHumanReadableName () const override |
| virtual void | Trace (cppgc::Visitor *visitor) const |
Public Member Functions inherited from GarbageCollected< Wrappable > | |
| void * | operator new (size_t)=delete |
| void * | operator new[] (size_t)=delete |
| void | operator delete (void *) |
| void | operator delete[] (void *)=delete |
Public Member Functions inherited from NameProvider | |
| virtual | ~NameProvider ()=default |
Additional Inherited Members | |
Public Types inherited from GarbageCollected< Wrappable > | |
| using | IsGarbageCollectedTypeMarker = void |
| using | ParentMostGarbageCollectedType = Wrappable |
Static Public Member Functions inherited from NameProvider | |
| static constexpr bool | SupportsCppClassNamesAsObjectNames () |
Static Public Attributes inherited from NameProvider | |
| static constexpr const char | kHiddenName [] = "InternalNode" |
| static constexpr const char | kNoNameDeducible [] = "<No name>" |
Protected Member Functions inherited from GarbageCollected< Wrappable > | |
| GarbageCollected ()=default | |
Definition at line 582 of file v8-object.h.
|
inlineoverridevirtual |
Specifies a name for the garbage-collected object. Such names will never be hidden, as they are explicitly specified by the user of this API.
Implementations of this function must not allocate garbage-collected objects or otherwise modify the cppgc heap.
V8 may call this function while generating a heap snapshot or at other times. If V8 is currently generating a heap snapshot (according to HeapProfiler::IsTakingSnapshot), then the returned string must stay alive until the snapshot generation has completed. Otherwise, the returned string must stay alive forever. If you need a place to store a temporary string during snapshot generation, use HeapProfiler::CopyNameForHeapSnapshot.
Implements NameProvider.
Definition at line 589 of file v8-object.h.
|
inlinevirtual |
Definition at line 585 of file v8-object.h.
|
inlinevirtual |
Definition at line 591 of file v8-object.h.