Skip to main content

parse_with_parser

Function parse_with_parser 

Source
pub fn parse_with_parser(
    parser: &mut Parser,
    path: &Path,
    source: &str,
    lang: LangId,
    old_tree: Option<&Tree>,
) -> Result<Tree, AftError>
Expand description

One parsing boundary for fresh and reused dynamic-language parsers.