Subject: Re: bug#60651: 30.0.50; tree-sitter: `ts_node_is_named` is missing.

From: Mickey Petersen <[email-masked]>
Date: Mon, 09 Jan 2023 09:02:13 +0000

Yuan Fu <[email-masked]> writes:

> Mickey Petersen <[email-masked]> 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".
>

Ah, right. I did not know you'd rolled it into one handy function. Thanks, Yuan! Issue closed :)

> Yuan