]> git.eshelyaron.com Git - emacs.git/commit
Add 'live' property to treesit-node-check (bug#61235)
authorYuan Fu <casouri@gmail.com>
Mon, 6 Feb 2023 04:22:52 +0000 (20:22 -0800)
committerYuan Fu <casouri@gmail.com>
Fri, 10 Feb 2023 00:51:25 +0000 (16:51 -0800)
commit51901736965f9a6f07938fa4399d14c9283437c5
tree70d0bc455d9d99390029a6be572adc70ce7ecf4b
parent56960a6558b65ce9643684c09203709f015e1812
Add 'live' property to treesit-node-check (bug#61235)

* doc/lispref/parsing.texi (Accessing Node Information): Document.
* src/treesit.c (treesit_parser_live_p): New function.
(Ftreesit_node_check): Add 'live' property.
* test/src/treesit-tests.el (treesit-node-api): Add tests.
doc/lispref/parsing.texi
src/treesit.c
test/src/treesit-tests.el