Struct tree_sitter_graph::ast::File[][src]

pub struct File {
    pub language: Language,
    pub stanzas: Vec<Stanza>,
}
Expand description

A graph DSL file

Fields

language: Languagestanzas: Vec<Stanza>

The list of stanzas in the file

Implementations

Executes this graph DSL file against a source file. You must provide the parsed syntax tree (tree) as well as the source text that it was parsed from (source). You also provide the set of functions and global variables that are available during execution.

Parses a graph DSL file, adding its content to an existing File instance.

Trait Implementations

Formats the value using the given formatter. Read more

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.