Given the start and end children of a particular node, takes all children between start and end (including the endpoints) and combines them in a new node with the given label.
Tsurgeon provides a way of editing trees based on a set of operations that are applied to tree locations matching a tregex pattern.
An object factored out to keep the state of a
This exception is thrown when parse errors are encountered.
A runtime exception that indicates something went wrong parsing a Tsurgeon expression.
Something has gone wrong internally in Tsurgeon