This class traverses the subnodes of an AST. Derived classes may override
individual methods to process specific nodes, e.g.:
class MethodCounter extends Traverser {
int n = 0;
public void traverseMethodDeclarator(Java.MethodDeclarator md) {
++this.n;
super.traverseMethodDeclarator(md);
}
}