Package org.jetbrains.mps.openapi.util
Interface TreeIterator<T>
- 
- All Superinterfaces:
- Iterator<T>
 - All Known Implementing Classes:
- DescendantsTreeIterator
 
 public interface TreeIterator<T> extends Iterator<T> Tree iterator traverses a n-ary tree in a way that a parent node is visited before its children and children are returned left-to-right.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidskipChildren()Skip children of the last element returned by the iterator.- 
Methods inherited from interface java.util.IteratorforEachRemaining, hasNext, next, remove
 
- 
 
- 
- 
- 
Method Detail- 
skipChildrenvoid skipChildren() Skip children of the last element returned by the iterator.- Throws:
- IllegalStateException- if the next method has not yet been called
 
 
- 
 
-