buehler/node-typescript-parser

Question: Is there a way to print back the modified AST

shashikiran797 opened this issue · 1 comments

I am able to parse the typescript source into AST. And I am able to modify the AST. But I am not sure how to print back the AST as the source file.

If this is not possible with this library, please let me know if there is any way to achieve this. Thank you.

Hey @shashikiran797
I started the generation of typescript code from the AST, but I never finished it.

Some parts however can be generated:
https://github.com/buehler/node-typescript-parser/tree/master/src/code-generators/typescript-generators