pub fn reparse_with_options(
old_root: &SyntaxNode,
old_text: &str,
old_diags: &[ParseDiagnostic],
edit: &Edit,
options: &ParseOptions,
) -> Option<Reparsed>Expand description
reparse with the ParseOptions the old tree was parsed under. A tree
parsed via parse_with_options
must be reparsed with the same options, or the correctness invariant
(reparse output ≡ full parse of the edited text) breaks for roxygen blocks
resolving their markdown mode from the default.