Function difft::parse::tree_sitter_parser::parse
source · pub(crate) fn parse<'a>(
arena: &'a Arena<Syntax<'a>>,
src: &str,
config: &TreeSitterConfig,
ignore_comments: bool
) -> Vec<&'a Syntax<'a>>
Expand description
Parse src
with tree-sitter and convert to difftastic Syntax.