Package org.eclipse.xtext.xbase.parser
Class LookAheadPreservingNodeModelBuilder
- java.lang.Object
-
- org.eclipse.xtext.nodemodel.impl.NodeModelBuilder
-
- org.eclipse.xtext.xbase.parser.LookAheadPreservingNodeModelBuilder
-
public class LookAheadPreservingNodeModelBuilder extends org.eclipse.xtext.nodemodel.impl.NodeModelBuilderThis is required together with theTokenSequencePreservingPartialParsingHelper. During partial parsing, the resulting token sequence is equal to the old sequence thus the lookahead can be losslessly transfered from the old node to the new node.- Since:
- 2.9
- Noreference:
- This method is not intended to be referenced by clients.
- Noextend:
- This class is not intended to be subclassed by clients.
- Nooverride:
- This method is not intended to be re-implemented or extended by clients.
-
-
Constructor Summary
Constructors Constructor Description LookAheadPreservingNodeModelBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreplaceAndTransferLookAhead(org.eclipse.xtext.nodemodel.INode oldNode, org.eclipse.xtext.nodemodel.INode newRootNode)-
Methods inherited from class org.eclipse.xtext.nodemodel.impl.NodeModelBuilder
addChild, associateWithSemanticElement, checkValidNewChild, compressAndReturnParent, initializeFirstChildInvariant, newCompositeNode, newCompositeNodeAsParentOf, newLeafNode, newRootNode, replace, replaceByRootNode, replaceChildren, replaceWithoutChildren, setCompleteContent, setForcedFirstGrammarElement, setLookAhead, setSyntaxError
-
-