In my language I have a concept that contains baseLanguage.Expression as one of children.
Before my generator is executed, I would like to get a textual representation of the whole AST of the expression, so I could store it as kind of a "command echo", and then - at generation - pass it to my called methods, for debugging and documentation.
As I understand from digging the forum, there was a plan to implement something like this (but with HTML) starting from version 3.0, but I couldn't find a way.
Is there a way to store textual representation of a node's AST (like editor does it on "copy to clipboard"), or to explicitly call TextGen for a node?
Thanks in advance!