Visitor Pattern
Kind: pattern
Layer: Design Patterns Core
Record: architecture:visitor-pattern
Severity: contextual
Scope: behavior, operation, type hierarchy
Canonical: Ontology
A design pattern that places each operation over a type hierarchy in its own visitor, so an operation is added without editing the element types.
Listed in Architecture principles, after Iterator Pattern and before Memento Pattern.