pub fn format(path: &str, source: &str) -> Result<String, Diagnostic>Expand description
Format source (named path for diagnostics) to canonical Doge style, or a
diagnostic if it does not parse. Comments are preserved; the token stream is
never changed.