ast-types
ast-types copied to clipboard
Esprima-compatible implementation of the Mozilla JS Parser API
I'm trying to refactor path-visitor into something that might better meet my own needs for a particular situation. I noticed that while ast-types is written in Typescript, the code in...
Adds type parameters to `CallExpression` such that `visit` is able to visit them.
here are the new changes in ES2023 https://dev.to/jasmin/what-is-new-in-es2023-4bcm i noticed its missing [here](https://github.com/benjamn/ast-types/tree/master/src/def)
Closes https://github.com/benjamn/ast-types/issues/948
When upgrading to TypeScript 5.4+, importing from `ast-types` leads to type errors. Reproduction: - check out https://github.com/backstage/backstage/pull/24265 - run `yarn install` - run `yarn tsc:full` Result:  Obeying the instructions...
Hello, I now have a custom extended estreeAst, which extends some custom ast types. I need to convert the extended ast to the estree standard ast. I am looking for...
## Summary I've been researching performance optimization opportunities for `ast-types` and have identified several impactful improvements that could significantly benefit code transformation tools like Recast and jscodeshift. These tools are...
Fixes #343 and https://github.com/facebook/jscodeshift/issues/389