lukeed/tidyPublic

feat: JS expression handles

Expr::kind maps each of oxc's expressions to bun's ExprKind, with the
accessors that bun's printer calls: operators, members, calls, chains,
templates, regexes and JSX. The tables record the parentheses around
each node. oxc's n-ary sequence is one ExprKind::Sequence rather than
nested commas, and a JSX child in braces is the expression in them.
LELuke Edwards authored
e50532cPatch
Parentcb32fe4
4 files changed+1611-20
StackedSplit
crates/tidy/src/js/ast/expr.rs+1504 โˆ’0
crates/tidy/src/js/ast/list.rs+42 โˆ’16
crates/tidy/src/js/ast/mod.rs+23 โˆ’4
crates/tidy/src/js/ast/node.rs+42 โˆ’0