You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an easy way (some already existing dump utility for debugging etc.) to "visually" print/log the AST? Ie. use traversal depth as indentation size or something similar and print out all nodes?
TY!
The text was updated successfully, but these errors were encountered:
My problem with GenericVisitorAdapter is that, like in that other issue stated somewhere similarly, that I'd have to override a lot of methods, and on top of that, I wouldn't be sure that an update wouldn't introduce a new method/type that I'd miss then. So, a practical solution would be to simply add a single visit method like visit(Node, Object payload) and call it from any of the visit methods, or vice versa, call the specific visit methods from the visit(Node...) method by reflection.
Hi!
Is there an easy way (some already existing dump utility for debugging etc.) to "visually" print/log the AST? Ie. use traversal depth as indentation size or something similar and print out all nodes?
TY!
The text was updated successfully, but these errors were encountered: