V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
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.

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

Member Function Documentation

◆ GetFromNode()

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

Returns origin node.

Definition at line 10270 of file api.cc.

◆ GetName()

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

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

Definition at line 10249 of file api.cc.

◆ GetToNode()

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

Returns destination node.

Definition at line 10276 of file api.cc.

◆ GetType()

HeapGraphEdge::Type v8::HeapGraphEdge::GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).

Definition at line 10244 of file api.cc.


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