Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there API for mutating AST nodes? #2072

Closed
naivefun opened this issue Mar 24, 2021 · 1 comment
Closed

Is there API for mutating AST nodes? #2072

naivefun opened this issue Mar 24, 2021 · 1 comment

Comments

@naivefun
Copy link

Let's say I need detect some dangerous js api call, when I found it in the AST I'd like to remove the node, and re-generate the updated code from mutated AST nodes. How can I do that?

@Meir017
Copy link
Contributor

Meir017 commented Mar 24, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants