lukeed/tidyPublic

feat: decorate JS comments

File::decorate gives each comment what bun's parser records: the
token before and after it, the line breaks around it, and Prettier's
decorateComment over oxc's nodes, which are ESTree's but for the
parameter list, the catch parameter and import attributes, whose
children stand in their place.
LELuke Edwards authored
98aefaePatch
Parenta1f734e
2 files changed+326-0
StackedSplit
crates/tidy/src/js/ast/comments.rs+324 โˆ’0
crates/tidy/src/js/ast/mod.rs+2 โˆ’0