> From: Yuan Fu <caso...@gmail.com>
> Date: Mon, 19 Aug 2024 20:38:16 -0700
> Cc: Eli Zaretskii <e...@gnu.org>,
>  72...@debbugs.gnu.org
> 
> 
> 
> > On Aug 18, 2024, at 7:57 AM, Pranshu Sharma <pranshusharma...@gmail.com> 
> > wrote:
> > 
> > Ok, I found the solution: you have to capture  witha function and traverse 
> > the whole tree recursively
> 
> As you’ve found out, tree-sitter’s query system doesn’t support the feature 
> you want (it’ll be quite expensive to implement, I think). Even if you’ve 
> found a solution, if you want, maybe you can describe your actual use-case 
> and I can check if your solution is the most optimal.

No further comments, so I'm now closing this bug.



Reply via email to