v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 195 of file v8-profiler.h.

Member Enumeration Documentation

enum Type
Enumerator
kContextVariable 
kElement 
kProperty 
kInternal 
kHidden 
kShortcut 
kWeak 

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

Member Function Documentation

const HeapGraphNode * GetFromNode ( ) const

Returns origin node.

Definition at line 7208 of file api.cc.

Referenced by TEST().

Handle< Value > GetName ( ) const

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

Definition at line 7187 of file api.cc.

References Isolate::factory(), Factory::InternalizeUtf8String(), Factory::NewNumberFromInt(), v8::Undefined(), and UNREACHABLE.

Referenced by TEST().

const HeapGraphNode * GetToNode ( ) const

Returns destination node.

Definition at line 7214 of file api.cc.

Referenced by TEST().

HeapGraphEdge::Type GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).

Definition at line 7182 of file api.cc.

Referenced by HasWeakEdge(), and TEST().


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