diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-02-10 14:14:05 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-02-10 14:14:05 +0200 |
commit | 9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604 (patch) | |
tree | a24ab812caa50c8bb193b21fa812d4c151cc8c36 /doc/lispref/parsing.texi | |
parent | f5789aefc2e245075b5cced402edb086fefb60ef (diff) | |
download | emacs-9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604.tar.gz emacs-9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604.tar.bz2 emacs-9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604.zip |
; Fix recent changes in treesit docs
* doc/lispref/parsing.texi (Accessing Node Information): Fix
wording and indexing, and add cross-reference.
Diffstat (limited to 'doc/lispref/parsing.texi')
-rw-r--r-- | doc/lispref/parsing.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index b22b3eb25c3..fd65fa3e75b 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -970,15 +970,15 @@ A node ``has error'' if the text it spans contains a syntax error. It can be that the node itself has an error, or one of its descendants has an error. -@cindex tree-sitter live node +@cindex tree-sitter, live parsing node @cindex live node, tree-sitter -A node is ``live'' if its parser is not deleted, and the buffer it -belongs to is live. +A node is considered @dfn{live} if its parser is not deleted, and the +buffer to which it belongs to is a live buffer (@pxref{Killing Buffers}). @defun treesit-node-check node property -This function checks if @var{node} has the specified @var{property}. -@var{property} can be @code{named}, @code{missing}, @code{extra}, -@code{outdated}, @code{has-error}, or @code{live}. +This function returns non-@code{nil} if @var{node} has the specified +@var{property}. @var{property} can be @code{named}, @code{missing}, +@code{extra}, @code{outdated}, @code{has-error}, or @code{live}. @end defun @defun treesit-node-type node |