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

View after one or more transformers applied #73

Open
cspotcode opened this issue May 6, 2020 · 0 comments
Open

View after one or more transformers applied #73

cspotcode opened this issue May 6, 2020 · 0 comments

Comments

@cspotcode
Copy link

Is it feasible to add an option that applies one or more of the built-in transformers before visualizing the AST? This would be helpful for transformer authors so they can see what the AST will look like at various phases in the transformation pipeline.

I suppose the symbol view will get more complex because symbols are associated with the original parse tree node, not the synthetic nodes. I'm not sure if the lower-left ts.create* view will be compatible; I don't know if a transformed tree includes nodes that cannot be easily synthesized.

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

No branches or pull requests

1 participant