org.eclipse.xtext.serializer.sequencer
Class SemanticNodeIterator
java.lang.Object
org.eclipse.xtext.serializer.sequencer.SemanticNodeIterator
- All Implemented Interfaces:
- java.util.Iterator<Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject>>
public class SemanticNodeIterator
- extends java.lang.Object
- implements java.util.Iterator<Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject>>
- Author:
- Moritz Eysholdt - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
next
protected Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject> next
SemanticNodeIterator
public SemanticNodeIterator(org.eclipse.emf.ecore.EObject obj)
SemanticNodeIterator
public SemanticNodeIterator(INode start)
findNext
protected Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject> findNext(INode node,
boolean prune)
getEObjectNodeEObject
protected org.eclipse.emf.ecore.EObject getEObjectNodeEObject(INode node)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject>>
isEObjectNode
protected boolean isEObjectNode(INode node)
next
public Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject> next()
- Specified by:
next
in interface java.util.Iterator<Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject>>
next
protected INode next(INode node,
boolean prune)
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Triple<INode,AbstractElement,org.eclipse.emf.ecore.EObject>>