cruxlines 0.3.0

Ranks symbol definitions by cross-file references using tree-sitter.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod analysis;
mod cache;
mod find_references;
mod graph;
pub mod intern;
mod io;
mod languages;

pub use analysis::{OutputRow, cruxlines, cruxlines_from_inputs};
pub use find_references::Location;
pub use io::CruxlinesError;
pub use languages::Ecosystem;
pub use lasso::Spur;

#[doc(hidden)]
pub fn ecosystem_for_path(path: &std::path::Path) -> Option<Ecosystem> {
    languages::language_for_path(path).map(languages::ecosystem_for_language)
}