Skip to main content

parse_incremental_suffix_with_refdefs

Function parse_incremental_suffix_with_refdefs 

Source
pub fn parse_incremental_suffix_with_refdefs(
    input: &str,
    options: Option<ParserOptions>,
    refdefs: RefdefMap,
    old_tree: &SyntaxNode,
    old_edit_range: (usize, usize),
    new_edit_range: (usize, usize),
) -> IncrementalParseResult
Expand description

Incremental reparse with a caller-supplied refdef set.

See parse_with_refdefs for the rationale; this is the incremental-parse counterpart. The supplied refdefs overrides any value previously set on options.refdef_labels.