Class: JSON5::Trivia

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

Instance Attribute Summary collapse

Instance Attribute Details

#end_byteObject (readonly)

Returns the value of attribute end_byte

Returns:

  • (Object)

    the current value of end_byte



25
26
27
# File 'lib/json5/token.rb', line 25

def end_byte
  @end_byte
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



25
26
27
# File 'lib/json5/token.rb', line 25

def kind
  @kind
end

#rawObject (readonly)

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



25
26
27
# File 'lib/json5/token.rb', line 25

def raw
  @raw
end

#start_byteObject (readonly)

Returns the value of attribute start_byte

Returns:

  • (Object)

    the current value of start_byte



25
26
27
# File 'lib/json5/token.rb', line 25

def start_byte
  @start_byte
end