Class: JSON5::Input::Position
- Inherits:
-
Data
- Object
- Data
- JSON5::Input::Position
- Defined in:
- lib/json5/input.rb
Instance Attribute Summary collapse
-
#byte_offset ⇒ Object
readonly
Returns the value of attribute byte_offset.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Attribute Details
#byte_offset ⇒ Object (readonly)
Returns the value of attribute byte_offset
5 6 7 |
# File 'lib/json5/input.rb', line 5 def byte_offset @byte_offset end |
#column ⇒ Object (readonly)
Returns the value of attribute column
5 6 7 |
# File 'lib/json5/input.rb', line 5 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
5 6 7 |
# File 'lib/json5/input.rb', line 5 def line @line end |