v8  6.7.288(node10.6.0)
V8 is Google's open source JavaScript engine
HeapProfiler::ObjectNameResolver Class Referenceabstract

#include <v8-profiler.h>

Public Member Functions

virtual const char * GetName (Local< Object > object)=0

Protected Member Functions

virtual ~ObjectNameResolver ()

Detailed Description

Callback interface for retrieving user friendly names of global objects.

Definition at line 776 of file v8-profiler.h.

Constructor & Destructor Documentation

virtual ~ObjectNameResolver ( )

Definition at line 785 of file v8-profiler.h.

Member Function Documentation

virtual const char* GetName ( Local< Object object)
pure virtual

Returns name to be used in the heap snapshot for given node. Returned string must stay alive until snapshot collection is completed.

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