Skip to main content

resolve_patch_ops_for_language

Function resolve_patch_ops_for_language 

Source
pub fn resolve_patch_ops_for_language(
    language: LowerLanguage,
    file: &File,
    source: &str,
) -> Result<Vec<PatchOp>, PatchTextError>
Expand description

Resolves textual patch ops against the current file into ordinary PatchOps using the selected lower language.