Struct tree_sitter_graph::Variables [−][src]
pub struct Variables { /* fields omitted */ }
Expand description
An environment of named variables
Implementations
Adds a new mutable variable to an environment, returning an error if the variable already exists.
Adds a new immutable variable to an environment, returning an error if the variable already exists.
Returns the value of a variable, if it exists in this environment.