Module tree_sitter_graph::ast
source · [−]Expand description
Defines the AST structure of a graph DSL file
Structs
An attr statement that adds an attribute to an edge
An attr statement that adds an attribute to a graph node
A set statement that updates the value of a mutable variable
The name and value of an attribute
An attribute shorthand
Attribute shorthands
A function call
A capture expression that references a syntax node
An edge statement that creates a new edge
A node statement that creates a new graph node
A let statement that declares a new immutable variable
A var statement that declares a new mutable variable
A graph DSL file
A for in statement
A global variable
A cond conditional statement that selects the first branch with a matching condition
One arm of a cond statement
An integer constant
An list comprehension
An ordered list of values
A print statement that prints out some debugging information
A reference to one of the regex captures in a scan statement
A scan statement that matches regular expressions against a string
One arm of a scan statement
A reference to a scoped variable
An set comprehension
An unordered set of values
One stanza within a file
A string constant
A reference to a global or local variable
Enums
An expression that can appear in a graph DSL file
A statement that can appear in a graph DSL stanza
A reference to a variable