lukeed/tidyPublic

feat: JS statement handles

Stmt::kind maps each of oxc's statements to bun's StmtKind, with
VarDecl and Case. An exported declaration is one statement with the
export flags, as in bun's tree, so the declaration inside oxc's
ExportDeclaration isn't a node of its own. The expression in a for
head is a wrapper statement with the expression's id.
LELuke Edwards authored
a1f734ePatch
Parentaeec908
3 files changed+857-9
StackedSplit
crates/tidy/src/js/ast/mod.rs+2 โˆ’0
crates/tidy/src/js/ast/node.rs+55 โˆ’9
crates/tidy/src/js/ast/stmt.rs+800 โˆ’0