|  | v8
    6.8.275  (node 10.15.3)
    V8 is Google's open source JavaScript engine | 
#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< Value > | GetName () const | 
| const HeapGraphNode * | GetFromNode () const | 
| const HeapGraphNode * | GetToNode () const | 
HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes.
Definition at line 357 of file v8-profiler.h.
| enum Type | 
| Enumerator | |
|---|---|
| kContextVariable | |
| kElement | |
| kProperty | |
| kInternal | |
| kHidden | |
| kShortcut | |
| kWeak | |
Definition at line 359 of file v8-profiler.h.
| const HeapGraphNode* GetFromNode | ( | ) | const | 
Returns origin node.
Returns edge name. This can be a variable name, an element index, or a property name.
| const HeapGraphNode* GetToNode | ( | ) | const | 
Returns destination node.
| Type GetType | ( | ) | const | 
Returns edge type (see HeapGraphEdge::Type).