Current ASTNode.
Index of the current node in the parent's children.
All parents of the current node.
Global query options.
Root of the AST
Function to pick the child at a given index.
Function to pick the child nodes of the current node.
Function to get the number of children of the current node.
Function to check if the child at a given index exists.
Function to check if the current node has children.
Function to check if the next sibling exists.
Function to check if the current node has a parent.
Function to check if the previous sibling exists.
Function to check if a given node is the root of the AST. If no parameter is provided, this function will test if the walker is at the root position of the AST.
Optionalnode: ASTNodeFunction to pick the parent of the current node.
Function to pick a sibling at an offset relative to the current position.
Function to move the walker to an ancestor with given an offset. e.g. 1=direct parent, 2 = grandparent, ...
Function to move the walker to the child at a given index.
Function to move the walker to the first child.
Function to move the walker to the last child.
Function to move the walker to the next sibling.
Function to move the walker to the current parent.
Function to move the walker to the previous sibling.
Function to move the walker to the AST root.
Function to move the walker to a sibling with an offset relative to the current position.
Function to walk over the AST. The visitor callback is called twice for every node.
Optionalscope: anyFunction to create a new walker at the current node position.
Function to walk over the AST. The visitor callback is called once for every node. Parents are visited after the children.
Optionalscope: anyFunction to walk over the AST. The visitor callback is called once for every node. Parents are visited before the children.
Optionalscope: any
Helper to analyze an AST.