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)


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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


190
191
192
# File 'sig/types.rbs', line 190

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


189
190
191
# File 'sig/types.rbs', line 189

def start
  @start
end