difft::parse::tree_sitter_parser

Function should_ignore_last_child

Source
fn should_ignore_last_child(
    config: &TreeSitterConfig,
    node: &Node<'_>,
    children: &[&Syntax<'_>],
) -> bool
Expand description

Does node match the ignorable trailing tokens configuration for this language?