visit

abstract fun visit(node: AstNode): Boolean

Visits an AST node. Never receives an AstRoot, since that is where visiting begins.

Return

true to visit the children, false to skip the subtree rooted at node.