pub fn validate(
path: &str,
inputs: &[(String, Document)],
) -> Result<Vec<Diagnostic>, DeclError>Expand description
Validate a file: static checks, then evaluation with the input documents bound; returns every diagnostic (all severities). Fails when the file does not parse.