Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One more thing. NodeType1Counter could be implemented in Java as well. Groovy will recognize the visit methods and call them as needed because DefaultVisitor is still Groovy and does all the magic.

Further Information

  1. Componentization: the Visitor example