Class: JSON5::Trivia
- Inherits:
-
Data
- Object
- Data
- JSON5::Trivia
- Defined in:
- lib/json5/token.rb
Instance Attribute Summary collapse
-
#end_byte ⇒ Object
readonly
Returns the value of attribute end_byte.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#start_byte ⇒ Object
readonly
Returns the value of attribute start_byte.
Instance Attribute Details
#end_byte ⇒ Object (readonly)
Returns the value of attribute end_byte
25 26 27 |
# File 'lib/json5/token.rb', line 25 def end_byte @end_byte end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
25 26 27 |
# File 'lib/json5/token.rb', line 25 def kind @kind end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw
25 26 27 |
# File 'lib/json5/token.rb', line 25 def raw @raw end |
#start_byte ⇒ Object (readonly)
Returns the value of attribute start_byte
25 26 27 |
# File 'lib/json5/token.rb', line 25 def start_byte @start_byte end |