aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-02-10 14:14:05 +0200
committerEli Zaretskii2023-02-10 14:14:05 +0200
commit9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604 (patch)
treea24ab812caa50c8bb193b21fa812d4c151cc8c36
parentf5789aefc2e245075b5cced402edb086fefb60ef (diff)
downloademacs-9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604.tar.gz
emacs-9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604.zip
; Fix recent changes in treesit docs
* doc/lispref/parsing.texi (Accessing Node Information): Fix wording and indexing, and add cross-reference.
-rw-r--r--doc/lispref/parsing.texi12
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
970can be that the node itself has an error, or one of its descendants 970can be that the node itself has an error, or one of its descendants
971has an error. 971has an error.
972 972
973@cindex tree-sitter live node 973@cindex tree-sitter, live parsing node
974@cindex live node, tree-sitter 974@cindex live node, tree-sitter
975A node is ``live'' if its parser is not deleted, and the buffer it 975A node is considered @dfn{live} if its parser is not deleted, and the
976belongs to is live. 976buffer to which it belongs to is a live buffer (@pxref{Killing Buffers}).
977 977
978@defun treesit-node-check node property 978@defun treesit-node-check node property
979This function checks if @var{node} has the specified @var{property}. 979This function returns non-@code{nil} if @var{node} has the specified
980@var{property} can be @code{named}, @code{missing}, @code{extra}, 980@var{property}. @var{property} can be @code{named}, @code{missing},
981@code{outdated}, @code{has-error}, or @code{live}. 981@code{extra}, @code{outdated}, @code{has-error}, or @code{live}.
982@end defun 982@end defun
983 983
984@defun treesit-node-type node 984@defun treesit-node-type node