Range#
- class tree_sitter.Range(start_point, end_point, start_byte, end_byte)#
A range of positions in a multi-line text document, both in terms of bytes and of rows and columns.
Special Methods#
- __eq__(value, /)#
Implements
self==value
.
- __ne__(value, /)#
Implements
self!=value
.
- __repr__()#
Implements
repr(self)
.
- __hash__()#
Implements
hash(self)
.
Attributes#
- end_byte#
The end byte.
- end_point#
The end point.
- start_byte#
The start byte.
- start_point#
The start point.