diff options
| author | Eli Zaretskii | 2023-02-10 14:14:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-02-10 14:14:05 +0200 |
| commit | 9ac242ce93d7c4fbc34b556f4fa0d2ac2ebac604 (patch) | |
| tree | a24ab812caa50c8bb193b21fa812d4c151cc8c36 | |
| parent | f5789aefc2e245075b5cced402edb086fefb60ef (diff) | |
| download | emacs-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.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 | |||
| 970 | can be that the node itself has an error, or one of its descendants | 970 | can be that the node itself has an error, or one of its descendants |
| 971 | has an error. | 971 | has 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 |
| 975 | A node is ``live'' if its parser is not deleted, and the buffer it | 975 | A node is considered @dfn{live} if its parser is not deleted, and the |
| 976 | belongs to is live. | 976 | buffer 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 |
| 979 | This function checks if @var{node} has the specified @var{property}. | 979 | This 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 |