Returns the first named syntax node from the query match, if present.
Name of the capture
The syntax matching the capture name, if captured.
Returns the last named syntax node from the query match, if present.
Name of the capture
Returns the first named syntax node from the query match. Throws an error if no matching node exists.
Returns the all named syntax nodes from the query match.
Name of the capture
A utility class for matching against the AST using queries.
[tree-sitter query reference](https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries