ReadonlyindexThe node's index within its parent's children (-1 for the root).
ReadonlynodeThe node being visited.
ReadonlyparentThe node's parent, or null when visiting the root.
Remove this node from the resulting tree. Shorthand for replaceWith().
Replace this node with the given nodes in the resulting tree -- no nodes removes it. The replacements are themselves visited in turn, unless CSTPath.skip was also called. The root may only be replaced with exactly one node. If called more than once, the last call wins.
Do not descend into this node's children (or its replacements).
Stop the whole traversal; nothing further is visited.
One node of a traverseCST walk, with the means to steer it.