CPSC 421 OOP Visitor Design Pattern

123456789101112
Across
  1. 4. A language that supports multimethods
  2. 6. The exact method called depends on the name of the method and the calling object is ____ ____
  3. 7. A language that supports multimethods
  4. 9. The base class for all Node visitors
  5. 10. Mainstream languages, such as C++, do not support multimethods and must ______ them
  6. 11. The base of the data structure used in the Visitor example
  7. 12. A commonly-used method name for the operation the visitor performs is ____()
Down
  1. 1. The exact method called depends on the name of the method, the calling object, and the rest of the arguments is ____ ____
  2. 2. An example of a visitor who, in this case, outputs any Leaf in the list
  3. 3. The derived class that has a connection to more nodes
  4. 5. The derived class that has no connection to other nodes
  5. 8. A commonly-used method name for the data structure (e.g., Node) to use to process a visitor is ____()