visitor: twf foreach when pretty printing.