v8  3.14.5 (node 0.10.48)
V8 is Google's open source JavaScript engine
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
 
Handle< ValueGetName () const
 
const HeapGraphNodeGetFromNode () const
 
const HeapGraphNodeGetToNode () const
 

Detailed Description

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

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

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
kContextVariable 
kElement 
kProperty 
kInternal 
kHidden 
kShortcut 
kWeak 

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

Member Function Documentation

◆ GetFromNode()

const HeapGraphNode* GetFromNode ( ) const

Returns origin node.

◆ GetName()

Handle<Value> GetName ( ) const

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

◆ GetToNode()

const HeapGraphNode* GetToNode ( ) const

Returns destination node.

◆ GetType()

Type GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).


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