Skip to main content

Function: visitDescendantsOutsideNestedFunctions()

function visitDescendantsOutsideNestedFunctions(
node: Node,
visitor: (child: Node) => void
): void;

Defined in: _internal/test-ast.ts:461

Visit descendants under a starting AST node without entering deferred nested function bodies. Immediately invoked non-generator function literals are traversed because their bodies execute as part of the surrounding callback.

Parametersโ€‹

nodeโ€‹

Node

visitorโ€‹

(child: Node) => void

Returnsโ€‹

void