Returns the current AST slot.
Move the cursor to the first child of the current node.
Move the cursor to the next sibling of the current node.
Move the cursor to the parent of the current node.
Pre-order traversal of the AST.
A generator that yields the nodes in pre-order.
Pre-order traversal of the AST as a readable stream.
Yields the same visits as preVisit, for use with pipeThrough,
pipeTo, and for await...of.
The stream must be consumed, or cancelled, before the parser that owns the AST is disposed.
a stream of the nodes in pre-order.
AST cursor.
A cursor is used to traverse the AST.