Many analysis passes in the compiler need to work with the subtrees of the AST. AST::Visitor provides the boilerplate for performing a preorder traversal of an AST; analyzers derived from AST::Visitor can override visit methods for just the kinds of nodes for its task.
<rdar://problem/101268329>
Pull request: https://github.com/WebKit/WebKit/pull/5468
Committed 255725@main (bbdc3617fa55): <https://commits.webkit.org/255725@main> Reviewed commits have been landed. Closing PR #5468 and removing active labels.