https://thejat.in/learn/10-visitor-behavioral-design-pattern
10 Visitor (Behavioral) Design Pattern
The Visitor Design Pattern is a behavioral design pattern that allows you to add new operations to classes of objects without modifying their structure....
behavioral design patternvisitor