I implemented some AST transformations that are applied at compile time and for logging purposes I would like to emit "source" code that reflects injected AST nodes. The toString()
/getText()
methods return quite unreadable structure that quickly becomes complicated for long expressions.
2
votes
1 Answers
3
votes