struct TreeSitter::Range
- TreeSitter::Range
- Struct
- Value
- Object
Overview
A range defined in terms of points and byte offsets.
Defined in:
tree_sitter/range.crConstructors
- .new(start_byte : UInt32, end_byte : UInt32, start_row : Int32, start_column : Int32, end_row : Int32, end_column : Int32)
- .new(start_byte : UInt32, end_byte : UInt32, start_point : Point, end_point : Point)
- .new
Instance Method Summary
- #end_byte(*args, **options)
- #end_byte(*args, **options, &)
- #end_byte=(arg)
- #end_point : Point
- #end_point=(point : Point) : Point
- #start_byte(*args, **options)
- #start_byte(*args, **options, &)
- #start_byte=(arg)
- #start_point : Point
- #start_point=(point : Point) : Point
- #to_unsafe : LibTreeSitter::TSRange
Constructor Detail
def self.new(start_byte : UInt32, end_byte : UInt32, start_row : Int32, start_column : Int32, end_row : Int32, end_column : Int32)
#