tree-sitter-stack-graphs-java 0.2.0

Stack graphs for the Java programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;
use tree_sitter_stack_graphs::{ci::Tester, NoCancellation};

fn main() -> anyhow::Result<()> {
    let test_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("test");
    Tester::new(
        vec![tree_sitter_stack_graphs_java::language_configuration(
            &NoCancellation,
        )],
        vec![test_path],
    )
    .run()
}