TreeSitter::Range
Inherits Struct / Value / Object
A range defined in terms of points and byte offsets.
Constructors
new(start_byte : UInt32, end_byte : UInt32, start_row : Int32, start_column : Int32, end_row : Int32, end_column : Int32)
Sourcenew(start_byte : UInt32, end_byte : UInt32, start_point : Point, end_point : Point)
Sourcenew
SourceInstance methods
end_byte(*args, **options)
Sourceend_byte(*args, **options, &)
Sourceend_byte=(arg)
Sourceend_point
Sourceend_point=(point : Point) : Point
Sourcestart_byte(*args, **options)
Sourcestart_byte(*args, **options, &)
Sourcestart_byte=(arg)
Sourcestart_point
Sourcestart_point=(point : Point) : Point
Sourceto_unsafe
Source