textum 0.4.0

A syntactic patching library with char-level granularity
Documentation
1
2
3
4
5
6
7
8
9
10
use tree_sitter_symbols_rust::NodeType;

pub struct SymbolPath {
    pub segments: Vec<SymbolSegment>,
}

pub struct SymbolSegment {
    pub node_type: NodeType,
    pub name: Option<String>,
}