; * doc/lispref/parsing.texi (Retrieving Nodes): Add notice.

This commit is contained in:
Yuan Fu 2022-12-25 10:38:05 -08:00
parent 7c7950fe00
commit 2bcd1e9a99
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -643,6 +643,10 @@ it, or query for information about this node.
@defun treesit-node-parent node
This function returns the immediate parent of @var{node}.
If @var{node} is more than 1000 levels deep in a parse tree, the
return value is undefined. Currently it returns @var{nil}, but that
could change in the future.
@end defun
@defun treesit-node-child node n &optional named