You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected that NextMatch would return the nodes that match the predicates. Instead, it returns all the nodes and I have to manually filter the nodes by calling FilterPredicates and checking if QueryMatch.Captures is empty or not.
The tree-sitter-cli searches for the nodes and applies the predicates at once. It prints only the nodes that match the predicates.
The text was updated successfully, but these errors were encountered:
I expected that
NextMatch
would return the nodes that match the predicates. Instead, it returns all the nodes and I have to manually filter the nodes by callingFilterPredicates
and checking ifQueryMatch.Captures
is empty or not.The tree-sitter-cli searches for the nodes and applies the predicates at once. It prints only the nodes that match the predicates.
The text was updated successfully, but these errors were encountered: