org.eclipse.xtext.parser.impl
Class PartialParsingPointers
java.lang.Object
org.eclipse.xtext.parser.impl.PartialParsingPointers
public class PartialParsingPointers
- extends java.lang.Object
- Author:
- Jan Köhnlein - Initial contribution and API, Sebastian Zarnekow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartialParsingPointers
public PartialParsingPointers(ICompositeNode rootNode,
int offset,
int length,
java.util.List<ICompositeNode> validReplaceRootNodes,
java.util.List<ICompositeNode> nodesEnclosingRegion)
findEntryRuleOrRuleCall
public org.eclipse.emf.ecore.EObject findEntryRuleOrRuleCall(ICompositeNode replaceRootNode)
- Returns:
- either a RuleCall or a ParserRule
getValidReplaceRootNodes
public java.util.List<ICompositeNode> getValidReplaceRootNodes()
getNodesEnclosingRegion
public java.util.List<ICompositeNode> getNodesEnclosingRegion()
getDefaultReplaceRootNode
public ICompositeNode getDefaultReplaceRootNode()
getRootNode
public ICompositeNode getRootNode()
setRootNode
public void setRootNode(ICompositeNode rootNode)
getLength
public int getLength()
setLength
public void setLength(int length)
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)