difft::parse::tree_sitter_parser

Function can_ignore_last_child

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

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