1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
emacs/doc
Yuan Fu eba6582436
Add the treesit-search functions that supplant the removed ones
The signatures also changed.

treesit-traverse-depth-first   -> treesit-search-subtree
treesit-traverse-breadth-first ->
treesit-traverse-forward       -> treesit-search-forward
treesit-search-forward         -> treesit-search-forward-goto
treesit-search-beginning/end   -> treesit-search-forward-goto
                               -> treesit-induce-sparse-tree

* doc/lispref/parsing.texi (Retrieving Node): Add relevant manual
sections.
* lisp/treesit.el (treesit-search-forward-goto): New function.
* src/treesit.c (ts_traverse_sibling_helper)
(ts_traverse_match_predicate)
(ts_search_dfs)
(ts_search_forward)
(treesit-search-subtree)
(treesit-search-forward)
(ts_build_sparse_tree)
(Ftreesit_induce_sparse_tree): Add functions.
* test/src/treesit-tests.el (treesit-node-supplemental): Add comments.
2022-09-24 21:11:30 -07:00
..
emacs Improve explanation of init file in FAQ 2022-08-25 18:53:13 +02:00
lispintro Merge from origin/emacs-28 2022-08-17 06:30:25 +02:00
lispref Add the treesit-search functions that supplant the removed ones 2022-09-24 21:11:30 -07:00
man Merge from origin/emacs-28 2022-06-13 06:55:57 +02:00
misc Update from Gnulib by running admin/merge-gnulib 2022-08-25 18:30:11 -07:00