#linting #tree-sitter #parser #parse-tree #codemod #refactoring

tree-sitter-edit

A crate for printing modified tree-sitter parse trees, intended for use in multi-language code refactoring, linting, or modification (codemod) tools

5 unstable releases

0.3.0 Apr 6, 2023
0.2.0 Apr 6, 2023
0.1.2 Apr 1, 2023
0.1.1 Apr 1, 2023
0.1.0 Nov 6, 2022

#11 in #codemod

Download history 216/week @ 2024-07-19 225/week @ 2024-07-26 199/week @ 2024-08-02 207/week @ 2024-08-09 216/week @ 2024-08-16 268/week @ 2024-08-23 222/week @ 2024-08-30 167/week @ 2024-09-06 186/week @ 2024-09-13 248/week @ 2024-09-20 396/week @ 2024-09-27 211/week @ 2024-10-04 171/week @ 2024-10-11 240/week @ 2024-10-18 232/week @ 2024-10-25 180/week @ 2024-11-01

854 downloads per month
Used in 32 crates (4 directly)

MIT license

13KB
282 lines

tree-sitter-edit

tree-sitter-edit is a crate for printing modified tree-sitter parse trees, intended for use in multi-language code refactoring, linting, or modification (codemod) tools.

See the API documentation for more information.


lib.rs:

tree-sitter-edit is a crate for printing modified tree-sitter parse trees, intended for use in multi-language code refactoring, linting, or modification (codemod) tools.

Dependencies

~2.8–4MB
~77K SLoC