Hierarchical visitor pattern
From Wikipedia, the free encyclopedia
In software engineering, the hierarchical visitor pattern is one of design patterns that intend to provide a way to visit every node in the hierarchical data structure such as a tree.