[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60651: 30.0.50; tree-sitter: `ts_node_is_named` is missing.
From: |
Yuan Fu |
Subject: |
bug#60651: 30.0.50; tree-sitter: `ts_node_is_named` is missing. |
Date: |
Sun, 8 Jan 2023 19:24:27 -0800 |
Mickey Petersen <mickey@masteringemacs.org> writes:
> The tree-sitter C library function `ts_node_is_named' is not exposed
> to Emacs from what I can see:
>
> https://tree-sitter.github.io/tree-sitter/using-parsers#named-vs-anonymous-nodes
>
> Thanks.
You can use treesit-node-check. In general, if there is a C function
that you want to use, you can check the manual for a correspondence
listing. It’s in "Tree-sitter C API".
Yuan