semtree-parse 0.2.1

Tree-sitter parsing and chunk extraction for semtree
Documentation
1
2
3
4
5
6
use crate::parser::ParsedTree;
use semtree_core::Chunk;

pub trait Extractor {
    fn extract(&self, tree: &ParsedTree) -> Vec<Chunk>;
}