Wiki

Changes between Version 3 and Version 4 of VisitorPattern

Show
Ignore:
Timestamp:
10/01/12 01:45:56 (12 years ago)
Author:
hack.augusto
Comment:

Tipo and url fixed

Legend:

Unmodified
Added
Removed
Modified
  • VisitorPattern

    v3 v4  
    33The visitor design pattern is a way of separating an algorithm from an object structure upon which it operates. This enables the addition of new operations to existing object structures without modifying those structures. 
    44 
    5 Cobra provides a Vistor base class in its standard library. You can read its doc string and browse its members by looking in [http://cobra-language.com/trac/cobra/browser/cobra/trunk/Source/Cobra.Lang/Visitor.cobra Cobra.Lang/Visitor.cobra] online or in your local installation. 
     5Cobra provides a Visitor base class in its standard library. You can read its doc string and browse its members by looking in [http://cobra-language.com/trac/cobra/browser/cobra/trunk/Source/Cobra.Core/Visitor.cobra Cobra.Core/Visitor.cobra] online or in your local installation. 
    66 
    77Theres an example of use wrt the cobra compiler in [http://cobra-language.com/trac/cobra/browser/cobra/trunk/Source/DocGenerator.cobra Cobra.Lang/DocGenerator.cobra]