wdl-analysis 0.8.0

Analysis of Workflow Description Language (WDL) documents.
Documentation
wdl-analysis-0.8.0 has been yanked.

Analysis of Workflow Description Language (WDL) documents.

An analyzer can be used to implement the Language Server Protocol (LSP).

Examples

use url::Url;
use wdl_analysis::Analyzer;

#[tokio::main]
async fn main() {
    let analyzer = Analyzer::default();
    // Add a docuement to the analyzer
    analyzer
        .add_document(Url::parse("file:///path/to/file.wdl").unwrap())
        .await
        .unwrap();
    let results = analyzer.analyze(()).await.unwrap();
    // Process the results
    for result in results {
        // Do something
    }
}