AST cursor.
A cursor is used to traverse the AST.
Constructs a new AST cursor.
The root node.
The parser that owns the AST.
Readonly
Returns the current AST node or Token.
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.
AST cursor.
A cursor is used to traverse the AST.