Module graph

Module graph 

Source
Expand description

Defines data types for the graphs produced by the graph DSL

Structs§

Attributes
A set of attributes associated with a graph node or edge
Edge
An edge between two nodes in a graph
Graph
A graph produced by executing a graph DSL file. Graphs include a lifetime parameter to ensure that they don’t outlive the tree-sitter syntax tree that they are generated from.
GraphNode
A node in a graph
GraphNodeRef
A reference to a graph node
SyntaxNodeRef
A reference to a syntax node in a graph

Enums§

Value
The value of an attribute