fn generate_ast_vector(data: &AstVectorData) -> AstVector<'_> {
    let ast_vec = AstVector::from_ts_tree(&data.tree, &data.text);
    info!(
        "Constructed a diff vector with {} nodes for {}",
        ast_vec.len(),
        data.path.to_string_lossy(),
    );
    ast_vec
}
/// Generate an AST vector from the underlying data
///
/// This is split off into a function so we can handle things like logging and keep the code DRY
Generate an AST vector from the underlying data
This is split off into a function so we can handle things like logging and keep the code DRY
Generate an AST vector from the underlying data This is split off into a function so we can handle things like logging and keep the code DRY
fn generate_ast_vector(data: &AstVectorData) -> AstVector<'_> {
    let ast_vec = AstVector::from_ts_tree(&data.tree, &data.text);
    info!(
        "Constructed a diff vector with {} nodes for {}",
        ast_vec.len(),
        data.path.to_string_lossy(),
    );
    ast_vec
}
fn generate_ast_vector ( data : & AstVectorData ) -> AstVector < ' _ > { let ast_vec = AstVector :: from_ts_tree ( & data . tree , & data . text ) ; info ! ( " " ast_vec len ( ) data path to_string_lossy ( ) ) ; ast_vec }
Generate an AST vector from the underlying data
This is split off into a function so we can handle things like logging and keep the code DRY
Generate an AST vector from the underlying data This is split off into a function so we can handle things like logging and keep the code DRY
data
&AstVectorData
data
&AstVectorData