v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <trace-trait.h>
Static Public Member Functions | |
static TraceDescriptor | GetTraceDescriptor (const void *self) |
static void | Trace (Visitor *visitor, const void *self) |
Trait specifying how the garbage collector processes an object of type T.
Advanced users may override handling by creating a specialization for their type.
Definition at line 77 of file trace-trait.h.
|
inlinestatic |
Accessor for retrieving a TraceDescriptor to process an object of type T.
self | The object to be processed. |
Definition at line 86 of file trace-trait.h.
|
inlinestatic |
Function invoking the tracing for an object of type T.
visitor | The visitor to dispatch to. |
self | The object to invoke tracing on. |
Definition at line 97 of file trace-trait.h.
References TraceTraitBase< T >::Trace().
Referenced by TraceTrait< v8::TracedReference< T > >::GetTraceDescriptor(), TraceTraitBase< T >::Trace(), and TraceTrait< v8::TracedReference< T > >::Trace().