Source

dictionary_switches / code / PatternRefactoring / trashvisitor / Visitor.py

Full commit
1
2
3
4
5
6
7
8
# PatternRefactoring/trashvisitor/Visitor.py
# The base class for visitors.

class Visitor:
    def visit(self, Aluminum a)
    def visit(self, Paper p)
    def visit(self, Glass g)
    def visit(self, Cardboard c)