The Node to visit.
The callback used to visit the Node.
A callback to execute to verify the Node is valid.
Optionallift: (node: readonly tsc.Node[]) => tsc.NodeAn optional callback to execute to lift a NodeArray into a valid Node.
Visits a Node using the supplied visitor, possibly returning a new Node in its place.
Node, a test
function must be provided, and that function must be a type predicate.The Node to visit.
The callback used to visit the Node.
Optionaltest: (node: tsc.Node) => booleanA callback to execute to verify the Node is valid.
Optionallift: (node: readonly tsc.Node[]) => tsc.NodeAn optional callback to execute to lift a NodeArray into a valid Node.
Visits a Node using the supplied visitor, possibly returning a new Node in its place.
Node, a test function must be provided, and that function must be a type predicate.