V8 API Reference Guide for node.js v4.8.6 - v4.9.1
Public Types | Public Member Functions | List of all members
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

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

Returns origin node.

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

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

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

Returns destination node.

Type v8::HeapGraphEdge::GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).


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