public class LookAheadPreservingNodeModelBuilder
extends org.eclipse.xtext.nodemodel.impl.NodeModelBuilder
TokenSequencePreservingPartialParsingHelper.
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.| Constructor and Description |
|---|
LookAheadPreservingNodeModelBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
replaceAndTransferLookAhead(org.eclipse.xtext.nodemodel.INode oldNode,
org.eclipse.xtext.nodemodel.INode newRootNode) |
addChild, associateWithSemanticElement, checkValidNewChild, compressAndReturnParent, initializeFirstChildInvariant, newCompositeNode, newCompositeNodeAsParentOf, newLeafNode, newRootNode, replace, replaceByRootNode, replaceChildren, replaceWithoutChildren, setCompleteContent, setForcedFirstGrammarElement, setLookAhead, setSyntaxError