Abstract
Traversals over the object structure are widely used in object-oriented
programming, in particular in language processing applications. The visitor
pattern separates computation from traversal by specifying the computations
that should be performed at each object in a separate visitor
class. This makes the implementation of different computations reusing
the same traversal scheme possible. However, navigation
... read more