Beispiel #1
0
 internal override void Visit( RegExDFS visitor ) {
     visitor.Op( this );
     lKid.Visit( visitor );
     rKid.Visit( visitor );
 }
Beispiel #2
0
 /// <summary>
 /// This is the navigation method for running the visitor
 /// over the tree in a depth-first-search visit order.
 /// </summary>
 /// <param name="visitor">visitor.Op(this) is called on each node</param>
 internal abstract void Visit( RegExDFS visitor );