virtual void preOrderVisit(SgNode *astNode)
these methods are called at every traversed node.
virtual void atTraversalStart()
functions called when the traversal starts and ends, respectively
virtual void postOrderVisit(SgNode *astNode)
this method is called at every traversed node after its children were traversed