Closed tautologico closed 1 year ago
This PR adds a binding to the ts_node_has_error tree-sitter function to determine if a tree node has any syntax errors in its subtree. This is important to quickly determine if parsing has encountered an error without having to traverse the tree.
ts_node_has_error
apologies for the mega delay in responding here! am back now, though.
thanks for adding support for this functionality. this PR lgtm, so will merge this in.
This PR adds a binding to the
ts_node_has_error
tree-sitter function to determine if a tree node has any syntax errors in its subtree. This is important to quickly determine if parsing has encountered an error without having to traverse the tree.