Visitor.st
changeset 21790 e2c2bf98f841
parent 21397 2b6bb4b440bb
child 22338 ab440df285c4
equal deleted inserted replaced
21789:abf8de4b8720 21790:e2c2bf98f841
    38 
    38 
    39 documentation
    39 documentation
    40 "
    40 "
    41     This class is abstract and implements the visitor pattern.
    41     This class is abstract and implements the visitor pattern.
    42     It defines #visitXXX:with: messages for various kinds of objects.
    42     It defines #visitXXX:with: messages for various kinds of objects.
    43     Any of these messsages is eventually mapped to #visitObject:with:.
    43     Any of these messages is eventually mapped to #visitObject:with:.
    44 
    44 
    45     When a class redefines #acceptVisitor:with:, an method has to be defined here, too.
    45     When a class redefines #acceptVisitor:with:, an method has to be defined here, too.
    46 
    46 
    47     Subclasses have to define at least #visitObject:with:
    47     Subclasses have to define at least #visitObject:with:
    48 
    48