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

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

#2298 in Development tools

Download history 282/week @ 2024-03-14 250/week @ 2024-03-21 278/week @ 2024-03-28 202/week @ 2024-04-04 368/week @ 2024-04-11 237/week @ 2024-04-18 313/week @ 2024-04-25 222/week @ 2024-05-02 201/week @ 2024-05-09 284/week @ 2024-05-16 215/week @ 2024-05-23 242/week @ 2024-05-30 146/week @ 2024-06-06 154/week @ 2024-06-13 196/week @ 2024-06-20 131/week @ 2024-06-27

688 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
~72K SLoC