-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Experiment with rx-aster for use with ES.next (latest javascript)
First try simple experiments with grasp using grasp-squery and grasp-equery
- find a class
- find a function in a class
For each AST match
- rename identifier
- delete node with identifier
- add/remove an import of a module
- add function to matching class
- replace class function
To delete an AST node, make a query that finds it, then replace it with an empty string.
rx-aster utilizes the grasp queries under the hood. Familiarize with rx-aster, then integrate your grasp work with rx-aster. While doing so, add tests to rx-aster and make PRs.
For each file with a specific exported class, subclass or file name:
- add/delete function or class (or function in class)
- add/remove import or export
These experiments will be the foundation for the chaining API issue