Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    path: &str,
    opts: &EvaluateOptions,
) -> Result<BTreeMap<String, String>, DeclError>
Expand description

Evaluate a module: bind the input documents, run the pipeline, and return the requested roots’ documents (canonical JSON text) by name. Fails with the diagnostics on any error-severity outcome.