Class: JSON5::Input::Position

Inherits:
Data
  • Object
show all
Defined in:
lib/json5/input.rb

Instance Attribute Summary collapse

Instance Attribute Details

#byte_offsetObject (readonly)

Returns the value of attribute byte_offset

Returns:

  • (Object)

    the current value of byte_offset



5
6
7
# File 'lib/json5/input.rb', line 5

def byte_offset
  @byte_offset
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



5
6
7
# File 'lib/json5/input.rb', line 5

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/json5/input.rb', line 5

def line
  @line
end