Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
The Node whose children will be visited.
The callback used to visit each child.
A lexical environment context for the visitor.
OptionalnodesVisitor: {Visits a NodeArray using the supplied visitor, possibly returning a new NodeArray in its place.
NodeArray<Node>, a test
function must be provided, and that function must be a type predicate.The NodeArray to visit.
The callback used to visit a Node.
A node test to execute for each node.
Optionalstart: numberAn optional value indicating the starting offset at which to start visiting.
Optionalcount: numberAn optional value indicating the maximum number of nodes to visit.
Visits a NodeArray using the supplied visitor, possibly returning a new NodeArray in its place.
NodeArray<Node>, a test
function must be provided, and that function must be a type predicate.The NodeArray to visit.
The callback used to visit a Node.
Optionaltest: (node: tsc.Node) => booleanA node test to execute for each node.
Optionalstart: numberAn optional value indicating the starting offset at which to start visiting.
Optionalcount: numberAn optional value indicating the maximum number of nodes to visit.
OptionaltokenVisitor: Visitor<tsc.Node, tsc.Node | undefined>
Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.