Class: TreeSitterLanguagePack::Span
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::Span
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#end_byte ⇒ Integer?
Returns the value of attribute end_byte.
-
#end_column ⇒ Integer?
Returns the value of attribute end_column.
-
#end_line ⇒ Integer?
Returns the value of attribute end_line.
-
#start_byte ⇒ Integer?
Returns the value of attribute start_byte.
-
#start_column ⇒ Integer?
Returns the value of attribute start_column.
-
#start_line ⇒ Integer?
Returns the value of attribute start_line.
Instance Method Summary collapse
-
#initialize ⇒ Span
constructor
A new instance of Span.
Constructor Details
#initialize ⇒ Span
Returns a new instance of Span.
39 |
# File 'sig/types.rbs', line 39
def initialize: (?start_byte: Integer, ?end_byte: Integer, ?start_line: Integer, ?start_column: Integer, ?end_line: Integer, ?end_column: Integer) -> void
|
Instance Attribute Details
#end_byte ⇒ Integer?
Returns the value of attribute end_byte.
33 34 35 |
# File 'sig/types.rbs', line 33 def end_byte @end_byte end |
#end_column ⇒ Integer?
Returns the value of attribute end_column.
37 38 39 |
# File 'sig/types.rbs', line 37 def end_column @end_column end |
#end_line ⇒ Integer?
Returns the value of attribute end_line.
36 37 38 |
# File 'sig/types.rbs', line 36 def end_line @end_line end |
#start_byte ⇒ Integer?
Returns the value of attribute start_byte.
32 33 34 |
# File 'sig/types.rbs', line 32 def start_byte @start_byte end |
#start_column ⇒ Integer?
Returns the value of attribute start_column.
35 36 37 |
# File 'sig/types.rbs', line 35 def start_column @start_column end |
#start_line ⇒ Integer?
Returns the value of attribute start_line.
34 35 36 |
# File 'sig/types.rbs', line 34 def start_line @start_line end |