W@ng

Results 38 comments of W@ng

Hi @brookite, Where was the `TSNode` object obtained?

@brookite Did you obtain TSNode from TSNode-related APIs or TSQuery-related APIs?

TSNode objects returned by TSNode APIs hold a reference to the corresponding TSTree object, so there shouldn't be any memory issues. Could you provide a minimal example to reproduce the...

Language packages still depend on the old version parser. If you use Maven, you have to exclude old version manually.

No, `TSParser` object is not thread safe.

Other APIs, such as `TSNode`, are also not thread-safe.

If you are using Maven, you may need to manually exclude the older Tree-sitter version required by tree-sitter-java. Sorry for the inconvenience.

Hi, The build scripts assumes parser C files located in `/src`, but typescript repository's C files are located in `/tsx` and `/typescript`. I have to tweak the build scripts before...