Enum tree_sitter_graph::ast::Statement[][src]

pub enum Statement {
    DeclareImmutable(DeclareImmutable),
    DeclareMutable(DeclareMutable),
    Assign(Assign),
    CreateGraphNode(CreateGraphNode),
    AddGraphNodeAttribute(AddGraphNodeAttribute),
    CreateEdge(CreateEdge),
    AddEdgeAttribute(AddEdgeAttribute),
    Scan(Scan),
    Print(Print),
}
Expand description

A statement that can appear in a graph DSL stanza

Variants

DeclareImmutable(DeclareImmutable)

Tuple Fields of DeclareImmutable

0: DeclareImmutable
DeclareMutable(DeclareMutable)

Tuple Fields of DeclareMutable

0: DeclareMutable
Assign(Assign)

Tuple Fields of Assign

0: Assign
CreateGraphNode(CreateGraphNode)

Tuple Fields of CreateGraphNode

0: CreateGraphNode
AddGraphNodeAttribute(AddGraphNodeAttribute)

Tuple Fields of AddGraphNodeAttribute

0: AddGraphNodeAttribute
CreateEdge(CreateEdge)

Tuple Fields of CreateEdge

0: CreateEdge
AddEdgeAttribute(AddEdgeAttribute)

Tuple Fields of AddEdgeAttribute

0: AddEdgeAttribute
Scan(Scan)

Tuple Fields of Scan

0: Scan
Print(Print)

Tuple Fields of Print

0: Print

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.