Package org.eclipse.xtext.util
Interface ITextRegionWithLineInformation
-
- All Superinterfaces:
ITextRegion
- All Known Implementing Classes:
TextRegionWithLineInformation
public interface ITextRegionWithLineInformation extends ITextRegion
- Since:
- 2.3
-
-
Field Summary
Fields Modifier and Type Field Description static ITextRegionWithLineInformation
EMPTY_REGION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getEndLineNumber()
The zero-based line number where the region ends.int
getLineNumber()
The zero-based line number where the region starts.ITextRegionWithLineInformation
merge(ITextRegionWithLineInformation other)
-
-
-
Field Detail
-
EMPTY_REGION
static final ITextRegionWithLineInformation EMPTY_REGION
-
-
Method Detail
-
getLineNumber
int getLineNumber()
The zero-based line number where the region starts.- Returns:
- the start line (zero based)
-
getEndLineNumber
int getEndLineNumber()
The zero-based line number where the region ends.- Returns:
- the end line (zero based)
-
merge
ITextRegionWithLineInformation merge(ITextRegionWithLineInformation other)
-
-