See my comment about keeping the `accept` method.

All descriptions and implementations of the Visitor Pattern I have seen use `visit` as part of the method names on the visitor.

Sometimes, in statically typed languages, it's common to only call it `visit` (without any suffix) since polymorphism will differentiate between the different types. Example: http://www.oodesign.com/visitor-pattern.html

Dynamically typed languages can't do this, so it's necessary to have the node type as part of the method name.

I think it's important to:

a) Use common conventions for the Visitor Pattern.
b) Have a consistent naming standard between all platforms (Java/Ruby/JavaScript etc).

Renaming `visitVar` to `var` would violate a).

Again, not sure what the motivation is for this rename.