V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Classes | |
struct | Edge |
class | V8NodeImpl |
Public Member Functions | |
Node * | V8Node (const v8::Local< v8::Value > &value) final |
Node * | AddNode (std::unique_ptr< Node > node) final |
void | AddEdge (Node *from, Node *to, const char *name) final |
const std::vector< std::unique_ptr< Node > > & | nodes () |
const std::vector< Edge > & | edges () |
Definition at line 1767 of file heap-snapshot-generator.cc.
|
inlinefinalvirtual |
Adds an edge that represents a strong reference from the given node |from| to the given node |to|. The nodes must be added to the graph before calling this function.
If name is nullptr, the edge will have auto-increment indexes, otherwise it will be named accordingly.
Implements v8::EmbedderGraph.
Definition at line 1809 of file heap-snapshot-generator.cc.
Adds the given node to the graph and takes ownership of the node. Returns a raw pointer to the node that is valid while the graph is alive.
Implements v8::EmbedderGraph.
Definition at line 1803 of file heap-snapshot-generator.cc.
|
inlinefinalvirtual |
Returns a node corresponding to the given V8 value. Ownership is not transferred. The result pointer is valid while the graph is alive.
Implements v8::EmbedderGraph.
Definition at line 1797 of file heap-snapshot-generator.cc.