Community
Participate
Working Groups
context: org.eclipse.xtext.nodemodel.util.NodeTreeIterator Use case: In a tree like A / \ / \ B C / \ / \ D E F G I'd like to be able to iterate from E to G. I would expect the iterator to visit F on the way. Currently, this is not possible, since the TreeIterator will never leave its root node and the root node is also implicitly the iterators start node. I'd like to be able to specify A as root (if the iterator really needs a root) and G as the start node.
If you have A you could filter over the leafiterator