Package org.eclipse.xtext.nodemodel
Class LookAheadInfo
- java.lang.Object
-
- org.eclipse.xtext.nodemodel.LookAheadInfo
-
@Beta public class LookAheadInfo extends java.lang.ObjectUtility to work with the lookAhead information in the node model.- Since:
- 2.22
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLookAheadInfo.InconsistentLookAheadException
-
Constructor Summary
Constructors Constructor Description LookAheadInfo(ICompositeNode rootNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckConsistency()protected voidcheckConsistency(ICompositeNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)protected voidcheckConsistency(ILeafNode node, java.util.concurrent.atomic.AtomicInteger currentLookAhead)protected voidcheckConsistency(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)
-
-