pub fn validate_syntax(path: &Path) -> Result<Option<bool>, AftError>Expand description
Validate syntax of a file using a fresh FileParser (D023).
Returns Ok(Some(true)) if syntax is valid, Ok(Some(false)) if there are
parse errors, and Ok(None) if the language is unsupported.