aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/treesitter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/treesitter.txt')
-rw-r--r--runtime/doc/treesitter.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index 287985f75b..9d07aee290 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -1094,15 +1094,6 @@ LanguageTree:destroy() *LanguageTree:destroy()*
Note: This DOES NOT remove this tree from a parent. Instead,
`remove_child` must be called on the parent to remove it.
- *LanguageTree:for_each_child()*
-LanguageTree:for_each_child({fn}, {include_self})
- Invokes the callback for each |LanguageTree| and its children recursively
-
- Parameters: ~
- • {fn} fun(tree: LanguageTree, lang: string)
- • {include_self} (boolean|nil) Whether to include the invoking tree in
- the results
-
LanguageTree:for_each_tree({fn}) *LanguageTree:for_each_tree()*
Invokes the callback for each |LanguageTree| recursively.