Class: Yerba::Location
- Inherits:
-
Data
- Object
- Data
- Yerba::Location
- Defined in:
- lib/yerba/location.rb
Instance Attribute Summary collapse
-
#end_column ⇒ Object
readonly
Returns the value of attribute end_column.
-
#end_line ⇒ Object
readonly
Returns the value of attribute end_line.
-
#end_offset ⇒ Object
readonly
Returns the value of attribute end_offset.
-
#start_column ⇒ Object
readonly
Returns the value of attribute start_column.
-
#start_line ⇒ Object
readonly
Returns the value of attribute start_line.
-
#start_offset ⇒ Object
readonly
Returns the value of attribute start_offset.
Instance Attribute Details
#end_column ⇒ Object (readonly)
Returns the value of attribute end_column
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def end_column @end_column end |
#end_line ⇒ Object (readonly)
Returns the value of attribute end_line
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def end_line @end_line end |
#end_offset ⇒ Object (readonly)
Returns the value of attribute end_offset
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def end_offset @end_offset end |
#start_column ⇒ Object (readonly)
Returns the value of attribute start_column
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def start_column @start_column end |
#start_line ⇒ Object (readonly)
Returns the value of attribute start_line
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def start_line @start_line end |
#start_offset ⇒ Object (readonly)
Returns the value of attribute start_offset
4 5 6 |
# File 'lib/yerba/location.rb', line 4 def start_offset @start_offset end |