Visits an AST node. Never receives an AstRoot, since that is where visiting begins.
true to visit the children, false to skip the subtree rooted at node.