Interface Range
- All Known Implementing Classes:
InternalRange
public interface Range
-
Method Summary
-
Method Details
-
start
Position start()- Returns:
- the inclusive start position of the range. The character at this location is part of the range.
-
end
Position end()- Returns:
- the exclusive end position of the range. The character at this location is not part of the range.
-
at
- Parameters:
start
- is inclusive.end
- is exclusive, the character at the "end" location is not part of the range.
-
at
- Parameters:
startLine
- , starting at 1, the line number of the first character of the range.startColumn
- starting at 1, the character at this location is part of the range.endLine
- , starting at 1, exclusive, the line number of the last character, the last character is not part of the range.endColumn
- starting at 1, exclusive, the column number of the last character, the last character is not part of the range.
-
at
- Parameters:
start
- is inclusive.length
- is used to compute the end of the range
-
at
- Parameters:
start
- is inclusive.text
- to split into lines to compute the end of the range
-