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 ITextRegionWithLineInformationEMPTY_REGION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetEndLineNumber()The zero-based line number where the region ends.intgetLineNumber()The zero-based line number where the region starts.ITextRegionWithLineInformationmerge(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)
-
-