swc/crates/swc_estree_compat
Donny/강동윤 041b491466
feat(es/parser): Implement explicit resource management (#7322)
**Description:**

 - Add `UsingDecl`.
 - Add `UsingDecl` to `Decl`.
 - Rename `VarDeclOrPat` to `ForHead`.
 - Add `UsingDecl` to `ForHead`.
 - Implement parser for using declarations.

**Related issue:**

 - #7316.
2023-05-10 04:16:44 +00:00
..
benches chore(ci): Fix benchmark action (#6582) 2022-12-06 12:24:55 +00:00
scripts chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
src feat(es/parser): Implement explicit resource management (#7322) 2023-05-10 04:16:44 +00:00
tests build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
Cargo.toml chore: Publish crates 2023-05-10 03:33:12 +00: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.