necessist-backends 3.1.0

necessist-backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
use tree_sitter::Tree;

pub struct Storage<'ast> {
    pub text: &'ast str,
}

impl<'ast> Storage<'ast> {
    pub fn new(file: &'ast (String, Tree)) -> Self {
        Self { text: &file.0 }
    }
}