We extend pre/post function injection into the traversal driver, allowing us to specify functions that are run before or after a traversal. This can be very useful when wanting to annotate the output of the AST (via a break option) or to do some sanity checking on the tree.
The extension primarily deals with adding support to specify these functions as part of the traversal macros (as done in phase_sac2*.mac
).