Function difft::parse::tree_sitter_parser::atom_from_cursor
source · fn atom_from_cursor<'a>(
arena: &'a Arena<Syntax<'a>>,
src: &str,
nl_pos: &LinePositions,
cursor: &mut TreeCursor<'_>,
highlights: &HighlightedNodeIds,
ignore_comments: bool
) -> Option<&'a Syntax<'a>>
Expand description
Convert the tree-sitter node at cursor
to a difftastic atom.