Function psl_core::reformat

source ·
pub fn reformat(source: &str, indent_width: usize) -> Option<String>
Expand description

Returns either the reformatted schema, or the original input if we can’t reformat. This happens if and only if the source does not parse to a well formed AST.