Module input_processing

Source
Expand description

Utilities for processing the ASTs provided by tree_sitter

These methods handle preprocessing the input data so it can be fed into the diff engines to compute diff data.

Structs§

Entry
A mapping between a tree-sitter node and the text it corresponds to
TreeSitterProcessor
The configuration options for processing tree-sitter output.
Vector
A vector that allows for linear traversal through the leafs of an AST.
VectorData
A wrapper struct for AST vector data that owns the data that the AST vector references
VectorLeaf
The leaves of an AST vector

Enums§

EditType
The different types of elements that can be in an edit script