Class: TreeSitterLanguagePack::ByteRange
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ByteRange
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#end ⇒ Integer
readonly
Returns the value of attribute end.
-
#start ⇒ Integer
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize ⇒ ByteRange
constructor
A new instance of ByteRange.
Constructor Details
#initialize ⇒ ByteRange
Returns a new instance of ByteRange.
192 |
# File 'sig/types.rbs', line 192
def initialize: (start: Integer, end: Integer) -> void
|
Instance Attribute Details
#end ⇒ Integer (readonly)
Returns the value of attribute end.
190 191 192 |
# File 'sig/types.rbs', line 190 def end @end end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
189 190 191 |
# File 'sig/types.rbs', line 189 def start @start end |