The options for walking across the tree.
The root node may be set globally for this TreeWalker instance.
If the root node is not set, it has to be set in the options when start walking the tree.
By default visitRoot
is true.
The tree walker ready for walking the tree.
Constructs a TreeWalker.