struct TreeSitter::Range

Overview

A range defined in terms of points and byte offsets.

Defined in:

tree_sitter/range.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(start_byte : UInt32, end_byte : UInt32, start_row : Int32, start_column : Int32, end_row : Int32, end_column : Int32) #

[View source]
def self.new(start_byte : UInt32, end_byte : UInt32, start_point : Point, end_point : Point) #

[View source]
def self.new #

[View source]

Instance Method Detail

def end_byte(*args, **options) #

[View source]
def end_byte(*args, **options, &) #

[View source]
def end_byte=(arg) #

[View source]
def end_point : Point #

[View source]
def end_point=(point : Point) : Point #

[View source]
def start_byte(*args, **options) #

[View source]
def start_byte(*args, **options, &) #

[View source]
def start_byte=(arg) #

[View source]
def start_point : Point #

[View source]
def start_point=(point : Point) : Point #

[View source]
def to_unsafe : LibTreeSitter::TSRange #

[View source]