swc/crates/swc_estree_compat
Donny/강동윤 53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs (#4436)
- We don't need a list of bindings to check if an identifier is unresolved.
 - Checking if an identifier is unresolved is now one CPU instruction.
   - Previously it was one hashmap operation.
 - This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
..
benches feat(es/resolver): Use different syntax context for unresolved refs (#4436) 2022-04-26 07:38:50 +00:00
scripts fix(webpack/ast): Adjust acorn options. (#2908) 2021-11-29 21:08:22 +09:00
src feat(es): Support typeof with private fields (#4302) 2022-04-11 20:02:51 +00:00
tests fix(es/parser): Enable static blocks by default (#4334) 2022-04-15 07:31:41 +00:00
Cargo.toml chore: Publish crates 2022-04-25 15:34:29 +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.