#tree-sitter #linting #codemod #parse-tree #refactoring #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

#11 in #codemod

Download history 170/week @ 2024-09-05 160/week @ 2024-09-12 243/week @ 2024-09-19 378/week @ 2024-09-26 249/week @ 2024-10-03 161/week @ 2024-10-10 251/week @ 2024-10-17 233/week @ 2024-10-24 207/week @ 2024-10-31 86/week @ 2024-11-07 173/week @ 2024-11-14 237/week @ 2024-11-21 241/week @ 2024-11-28 276/week @ 2024-12-05 269/week @ 2024-12-12 132/week @ 2024-12-19

978 downloads per month
Used in 33 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.7–4MB
~76K SLoC