|
|
@@ -260,8 +260,8 @@ class Transformer_InPlaceRecursive(Transformer): |
|
|
|
|
|
|
|
class VisitorBase: |
|
|
|
"""Visitors visit each node of the tree |
|
|
|
|
|
|
|
Run the appropriate method on it according to the node’s data. |
|
|
|
|
|
|
|
Run the appropriate method on it according to the node's data. |
|
|
|
They work bottom-up, starting with the leaves and ending at the root |
|
|
|
of the tree. There are two classes that implement the visitor interface: |
|
|
|
|
|
|
|