YieldVisitor: traverse the yield of a tree.