visitEachChild
external fun <T : Node> visitEachChild(node: T, visitor: Visitor<*, *>, context: TransformationContext?): T(source)
external fun <T : Node> visitEachChild(node: T?, visitor: Visitor<*, *>, context: TransformationContext?, nodesVisitor: VisitEachChildNodesVisitor = definedExternally, tokenVisitor: Visitor<*, *> = definedExternally): T?(source)
Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
Parameters
node
The Node whose children will be visited.
visitor
The callback used to visit each child.
context
A lexical environment context for the visitor.