Class: TreeSitterLanguagePack::Span
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::Span
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#end_byte ⇒ Integer
readonly
Returns the value of attribute end_byte.
-
#end_column ⇒ Integer
readonly
Returns the value of attribute end_column.
-
#end_line ⇒ Integer
readonly
Returns the value of attribute end_line.
-
#start_byte ⇒ Integer
readonly
Returns the value of attribute start_byte.
-
#start_column ⇒ Integer
readonly
Returns the value of attribute start_column.
-
#start_line ⇒ Integer
readonly
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.
242 |
# File 'sig/types.rbs', line 242
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 (readonly)
Returns the value of attribute end_byte.
236 237 238 |
# File 'sig/types.rbs', line 236 def end_byte @end_byte end |
#end_column ⇒ Integer (readonly)
Returns the value of attribute end_column.
240 241 242 |
# File 'sig/types.rbs', line 240 def end_column @end_column end |
#end_line ⇒ Integer (readonly)
Returns the value of attribute end_line.
239 240 241 |
# File 'sig/types.rbs', line 239 def end_line @end_line end |
#start_byte ⇒ Integer (readonly)
Returns the value of attribute start_byte.
235 236 237 |
# File 'sig/types.rbs', line 235 def start_byte @start_byte end |
#start_column ⇒ Integer (readonly)
Returns the value of attribute start_column.
238 239 240 |
# File 'sig/types.rbs', line 238 def start_column @start_column end |
#start_line ⇒ Integer (readonly)
Returns the value of attribute start_line.
237 238 239 |
# File 'sig/types.rbs', line 237 def start_line @start_line end |