I want to avoid the callbacks of WalkPath and be able to iterate over a snapshot of the tree so I made a PathIterator to do just that. It iterates through the tree identically to what WalkPath would except now the iteration is split across multiple invocations of Next.
TODOS
[x] Add some PathIterator unit tests as a duplicate of the WalkPath unit tests.
Description
I want to avoid the callbacks of WalkPath and be able to iterate over a snapshot of the tree so I made a PathIterator to do just that. It iterates through the tree identically to what WalkPath would except now the iteration is split across multiple invocations of Next.
TODOS