class Jsonerino::Token

Constants

TOKEN_COLON
TOKEN_COMMA
TOKEN_ID
TOKEN_LBRACKET
TOKEN_LCURLY
TOKEN_NUMBER
TOKEN_RBRACKET
TOKEN_RCURLY
TOKEN_STRING

Attributes

finish[R]
line[R]
start[R]
token[R]
value[R]

Public Class Methods

new(token, value, start, finish, line) click to toggle source
# File lib/jsonerino/token.rb, line 15
def initialize(token, value, start, finish, line)
  @token = token
  @value = value
  @start = start
  @finish = finish
  @line = line
end