collect_parsing_errors

Function collect_parsing_errors 

Source
pub fn collect_parsing_errors(
    node: &Node<'_>,
    source: &[u8],
    errors: &mut Vec<ParseError>,
)
Expand description

Given the root node of a Tree Sitter parsing result, accumulates all errors that were emitted.