ED-Eiffel: Visitor Example in Eiffel
(mos's homepage)


To use as a comparation term with external dispatch visitor examples, we present here an Eiffel implementation of a visitor (i.e. double dispatch is done using only the internal single dispatch mechanism).

Eiffel solution:

(Source code)

Inheritance class diagram:


(mos at ua.pt) University of Aveiro, DETI/IEETA