diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-03-20 14:57:58 -0700 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-03-21 09:01:47 +0100 |
| commit | fa85543e3b6d4ff4643b460096dda315f145ef89 (patch) | |
| tree | cda277b3476a3bfe8937df3ba81243bf5cc8e8fc /runtime/doc | |
| parent | 175c09bd660d0cea62288e74cea925a9b15bee55 (diff) | |
| download | rneovim-fa85543e3b6d4ff4643b460096dda315f145ef89.tar.gz rneovim-fa85543e3b6d4ff4643b460096dda315f145ef89.tar.bz2 rneovim-fa85543e3b6d4ff4643b460096dda315f145ef89.zip | |
docs(treesitter): document TSNode:named_children()
This commit also gives an internal documentation description for
`TSNode:__has_ancestor()`.
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/treesitter.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 6c98d46778..3d246601b9 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -804,6 +804,12 @@ TSNode:named_child_count() *TSNode:named_child_count()* Return: ~ (`integer`) +TSNode:named_children() *TSNode:named_children()* + Returns a list of the node's named children. + + Return: ~ + (`TSNode[]`) + *TSNode:named_descendant_for_range()* TSNode:named_descendant_for_range({start_row}, {start_col}, {end_row}, {end_col}) |