Interface IAstRegion
-
- All Superinterfaces:
java.lang.Comparable<ITextSegment>
,ISequentialRegion
,org.eclipse.xtext.util.ITextRegion
,ITextSegment
- All Known Subinterfaces:
IEObjectRegion
,ISemanticRegion
- All Known Implementing Classes:
AbstractEObjectRegion
,NodeEObjectRegion
,NodeSemanticRegion
,StringEObjectRegion
,StringSemanticRegion
public interface IAstRegion extends ISequentialRegion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getContainingFeature()
IEObjectRegion
getContainingRegion()
org.eclipse.emf.ecore.EObject
getGrammarElement()
int
getIndexInContainingFeature()
org.eclipse.emf.ecore.EObject
getSemanticElement()
The AST-Element represented by this IEObjectRegion.-
Methods inherited from interface org.eclipse.xtext.formatting2.regionaccess.ISequentialRegion
getNextHiddenRegion, getNextSemanticRegion, getNextSequentialRegion, getPreviousHiddenRegion, getPreviousSemanticRegion, getPreviousSequentialRegion, immediatelyFollowing, immediatelyPreceding
-
Methods inherited from interface org.eclipse.xtext.util.ITextRegion
contains, contains, getLength, getOffset
-
Methods inherited from interface org.eclipse.xtext.formatting2.regionaccess.ITextSegment
getEndOffset, getLineCount, getLineRegions, getText, getTextRegionAccess, isMultiline, merge, replaceWith
-
-
-
-
Method Detail
-
getGrammarElement
org.eclipse.emf.ecore.EObject getGrammarElement()
- Returns:
- The grammar element used to parse this semantic region. Can be an
RuleCall
,CrossReference
, orKeyword
.
-
getSemanticElement
org.eclipse.emf.ecore.EObject getSemanticElement()
The AST-Element represented by this IEObjectRegion.
-
getContainingRegion
IEObjectRegion getContainingRegion()
- Since:
- 2.13
-
getContainingFeature
org.eclipse.emf.ecore.EStructuralFeature getContainingFeature()
- Since:
- 2.13
-
getIndexInContainingFeature
int getIndexInContainingFeature()
- Since:
- 2.13
-
-