V8 API Reference Guide generated from the header files
Public Types | Public Member Functions
v8::HeapGraphEdge Class Reference

#include <v8-profiler.h>

Public Types

enum  Type {
  kContextVariable = 0, kElement = 1, kProperty = 2, kInternal = 3,
  kHidden = 4, kShortcut = 5, kWeak = 6
}
 

Public Member Functions

Type GetType () const
 
Local< ValueGetName () const
 
const HeapGraphNodeGetFromNode () const
 
const HeapGraphNodeGetToNode () const
 

Detailed Description

HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes.

Member Function Documentation

◆ GetFromNode()

const HeapGraphNode* v8::HeapGraphEdge::GetFromNode ( ) const

Returns origin node.

◆ GetName()

Local<Value> v8::HeapGraphEdge::GetName ( ) const

Returns edge name. This can be a variable name, an element index, or a property name.

◆ GetToNode()

const HeapGraphNode* v8::HeapGraphEdge::GetToNode ( ) const

Returns destination node.

◆ GetType()

Type v8::HeapGraphEdge::GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).


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