Class: TreeSitterLanguagePack::ByteRange

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeByteRange

Returns a new instance of ByteRange.

Parameters:

  • start: (Integer)
  • end: (Integer)


16
# File 'sig/types.rbs', line 16

def initialize: (start: Integer, end: Integer) -> void

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


14
15
16
# File 'sig/types.rbs', line 14

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


13
14
15
# File 'sig/types.rbs', line 13

def start
  @start
end