Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* queries: initial implementation * queries: add predicates * test: setup query tests * package: add build script * query: display TSQueryError name instead of value * tree-sitter: update to latest * query_cursor: remove & move .exec to query.cc * query: continue implementation of .exec * test: adjust query_test.js to match current API * lint: remove unused module * node_methods: expose GetMarshalNodes * lint: add section comments * query: implement Query.matches * query: implement Query.captures * query: implement predicates filtering * query: make Query::GetPredicates warmer * query: fix predicates initialization * tests: unskip query.captures * query: implement range searching * query: remove Query.exec * query: use arrays for marshalling * node: fix #66 free transfer_buffer * tests: fix query_test labels * query: flatten intermediate array * query: dont transfer capture_count * unmarshalNodes: pass nodes as array * lint * query: remove unused values * query: avoid out-of-bound access
- Loading branch information
Showing
14 changed files
with
899 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.