Class: JSON5::DocumentParser::MemberParts

Inherits:
Struct
  • Object
show all
Defined in:
lib/json5/document_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colonObject

Returns the value of attribute colon

Returns:

  • (Object)

    the current value of colon



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

def colon
  @colon
end

#commaObject

Returns the value of attribute comma

Returns:

  • (Object)

    the current value of comma



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

def comma
  @comma
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

def value
  @value
end