struct

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)
Source
new(start_byte : UInt32, end_byte : UInt32, start_point : Point, end_point : Point)
Source

Instance methods

end_byte(*args, **options)
Source
end_byte(*args, **options, &)
Source
end_byte=(arg)
Source
end_point
Source
end_point=(point : Point) : Point
Source
start_byte(*args, **options)
Source
start_byte(*args, **options, &)
Source
start_byte=(arg)
Source
start_point
Source
start_point=(point : Point) : Point
Source
to_unsafe
Source

Nested types