Sha256: 3d1cf097ea5ee2d2b2a3548781eacd34b2272ed79493ad7a45c4a78f89914a1d
Contents?: true
Size: 558 Bytes
Versions: 5
Compression:
Stored size: 558 Bytes
Contents
module Jsonerino class Token TOKEN_ID = :token_id TOKEN_STRING = :token_string TOKEN_NUMBER = :token_number TOKEN_LCURLY = :token_lcurly TOKEN_RCURLY = :token_rcurly TOKEN_LBRACKET = :token_lbracket TOKEN_RBRACKET = :token_rbracket TOKEN_COMMA = :token_comma TOKEN_COLON = :token_colon attr_reader :token, :value, :start, :finish, :line def initialize(token, value, start, finish, line) @token = token @value = value @start = start @finish = finish @line = line end end end
Version data entries
5 entries across 5 versions & 1 rubygems