Is there a way to output an AST to a string or file? #1928
Answered
by
devongovett
charliethomson
asked this question in
Q&A
-
I'm trying to implement a tool to transform some code using the rust side, is there a way for me to dump the transformed ast into a file? |
Beta Was this translation helpful? Give feedback.
Answered by
devongovett
Jul 17, 2021
Replies: 1 comment
-
All AST nodes are serializable so you should be able to use serde |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kdy1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All AST nodes are serializable so you should be able to use serde