swc/crates/swc_estree_compat
Austaras f58b50bea7
refactor(es/ast): Change types of member-like expressions (#3178)
swc_ecma_ast:
 - Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
 - Use `Box<Expr>` for `MemberExpr.obj`.
 - Use ad-hoc type for `MemberExpr.prop`.
 - Use ad-hoc type for `SuperPropExpr.prop`.
 - Use `Callee` instead of  `ExprOrSpread` for `CallExpr`.
 - Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
..
benches fix(es/typescript): Run resolver before typescript::strip (#2951) 2021-12-04 02:35:16 +00:00
scripts fix(webpack/ast): Adjust acorn options. (#2908) 2021-11-29 21:08:22 +09:00
src refactor(es/ast): Change types of member-like expressions (#3178) 2022-01-10 13:54:42 +00:00
tests fix(webpack/ast): Fix webpackAST (#2979) 2021-12-08 19:53:43 +09:00
Cargo.toml chore: Publish crates 2022-01-10 15:05:26 +09:00
README.md refactor(es/estree): Rename: babel => estree (#2846) 2021-11-24 05:34:41 +09:00

Convert SWC AST to Babel AST.

Testing

To run tests

cargo test

For more information about writing tests, see tests.