Package org.eclipse.xtext.nodemodel
Class LookAheadInfo
- java.lang.Object
-
- org.eclipse.xtext.nodemodel.LookAheadInfo
-
@Beta public class LookAheadInfo extends java.lang.Object
Utility to work with the lookAhead information in the node model.- Since:
- 2.22
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LookAheadInfo.InconsistentLookAheadException
-
Constructor Summary
Constructors Constructor Description LookAheadInfo(ICompositeNode rootNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkConsistency()
protected void
checkConsistency(ICompositeNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
protected void
checkConsistency(ILeafNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
protected void
checkConsistency(INode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
-
-
-
Constructor Detail
-
LookAheadInfo
public LookAheadInfo(ICompositeNode rootNode)
-
-
Method Detail
-
checkConsistency
public void checkConsistency() throws LookAheadInfo.InconsistentLookAheadException
-
checkConsistency
protected void checkConsistency(INode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
-
checkConsistency
protected void checkConsistency(ICompositeNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
-
checkConsistency
protected void checkConsistency(ILeafNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)
-
-