public class StringSemanticRegion extends StringRegion implements ISemanticRegion
EMPTY_REGION
Modifier | Constructor and Description |
---|---|
protected |
StringSemanticRegion(StringBasedRegionAccess regionAccess,
org.eclipse.emf.ecore.EObject semanticElement,
AbstractElement grammarElement,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
AbstractElement |
getGrammarElement() |
IHiddenRegion |
getNextHiddenRegion() |
ISemanticRegion |
getNextSemanticRegion() |
IHiddenRegion |
getPreviousHiddenRegion() |
ISemanticRegion |
getPreviousSemanticRegion() |
org.eclipse.emf.ecore.EObject |
getSemanticElement()
The EObject this semantic region belongs to.
|
ISemanticRegionFinder |
immediatelyFollowing() |
ISemanticRegionFinder |
immediatelyPreceding() |
protected void |
setLeadingHiddenRegion(IHiddenRegion leading) |
protected void |
setTrailingHiddenRegion(IHiddenRegion trailing) |
getLength, getOffset, getTextRegionAccess, toString
compareTo, contains, contains, equals, getEndOffset, getLineCount, getLineRegions, getText, hashCode, isMultiline, merge, replaceWith
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEndOffset, getLineCount, getLineRegions, getText, getTextRegionAccess, isMultiline, merge, replaceWith
contains, contains, getLength, getOffset
protected StringSemanticRegion(StringBasedRegionAccess regionAccess, org.eclipse.emf.ecore.EObject semanticElement, AbstractElement grammarElement, int offset, int length)
public AbstractElement getGrammarElement()
getGrammarElement
in interface IAstRegion
RuleCall
,
CrossReference
, or Keyword
.public IHiddenRegion getNextHiddenRegion()
getNextHiddenRegion
in interface ISequentialRegion
public ISemanticRegion getNextSemanticRegion()
getNextSemanticRegion
in interface ISequentialRegion
public IHiddenRegion getPreviousHiddenRegion()
getPreviousHiddenRegion
in interface ISequentialRegion
public ISemanticRegion getPreviousSemanticRegion()
getPreviousSemanticRegion
in interface ISequentialRegion
public org.eclipse.emf.ecore.EObject getSemanticElement()
IAstRegion
getSemanticElement
in interface IAstRegion
public ISemanticRegionFinder immediatelyFollowing()
immediatelyFollowing
in interface ISequentialRegion
public ISemanticRegionFinder immediatelyPreceding()
immediatelyPreceding
in interface ISequentialRegion
protected void setLeadingHiddenRegion(IHiddenRegion leading)
protected void setTrailingHiddenRegion(IHiddenRegion trailing)