#
# DO NOT MODIFY!!!!
# This file is automatically generated by Racc 1.4.16.pre.1
# from Racc grammer file "".
#

require 'racc/parser.rb'
module Tomlrb
  class GeneratedParser < Racc::Parser
##### State transition tables begin ###

racc_action_table = [
     2,    32,    11,    31,    12,    31,    13,    33,    14,    77,
    15,    16,     8,    78,    34,    10,    35,    29,    36,    29,
    57,    58,    59,    60,    56,    53,    52,    54,    55,    46,
    73,    37,    10,    57,    58,    59,    60,    56,    53,    52,
    54,    55,    46,    69,    70,    10,    57,    58,    59,    60,
    56,    53,    52,    54,    55,    46,    40,    41,    10,    57,
    58,    59,    60,    56,    53,    52,    54,    55,    46,    38,
    43,    10,    57,    58,    59,    60,    56,    53,    52,    54,
    55,    46,    66,    17,    10,    57,    58,    59,    60,    56,
    53,    52,    54,    55,    46,    27,   nil,    10,    57,    58,
    59,    60,    56,    53,    52,    54,    55,    46,   nil,   nil,
    10,    57,    58,    59,    60,    56,    53,    52,    54,    55,
    46,   nil,   nil,    10,    57,    58,    59,    60,    56,    53,
    52,    54,    55,    46,    73,    21,    10,    22,   nil,    23,
   nil,    24,   nil,    25,    26,    21,    19,    22,   nil,    23,
   nil,    24,   nil,    25,    26,   nil,    19 ]

racc_action_check = [
     1,    11,     1,     9,     1,    70,     1,    12,     1,    74,
     1,     1,     1,    74,    13,     1,    14,     9,    15,    70,
    78,    78,    78,    78,    78,    78,    78,    78,    78,    78,
    78,    16,    78,    32,    32,    32,    32,    32,    32,    32,
    32,    32,    32,    42,    42,    32,    33,    33,    33,    33,
    33,    33,    33,    33,    33,    33,    20,    20,    33,    34,
    34,    34,    34,    34,    34,    34,    34,    34,    34,    19,
    30,    34,    35,    35,    35,    35,    35,    35,    35,    35,
    35,    35,    40,     2,    35,    36,    36,    36,    36,    36,
    36,    36,    36,    36,    36,     8,   nil,    36,    37,    37,
    37,    37,    37,    37,    37,    37,    37,    37,   nil,   nil,
    37,    43,    43,    43,    43,    43,    43,    43,    43,    43,
    43,   nil,   nil,    43,    45,    45,    45,    45,    45,    45,
    45,    45,    45,    45,    45,     7,    45,     7,   nil,     7,
   nil,     7,   nil,     7,     7,    41,     7,    41,   nil,    41,
   nil,    41,   nil,    41,    41,   nil,    41 ]

racc_action_pointer = [
   nil,     0,    83,   nil,   nil,   nil,   nil,   133,    83,     1,
   nil,   -17,   -11,    -4,    -2,     0,    13,   nil,   nil,    56,
    43,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
    52,   nil,    30,    43,    56,    69,    82,    95,   nil,   nil,
    69,   143,    27,   108,   nil,   121,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
     3,   nil,   nil,   nil,    -4,   nil,   nil,   nil,    17,   nil ]

racc_action_default = [
    -1,   -56,   -56,    -2,    -3,    -4,    -5,   -56,    -8,   -56,
   -22,   -56,   -56,   -56,   -56,   -56,   -56,    80,    -6,   -10,
   -56,   -15,   -16,   -17,   -18,   -19,   -20,    -7,   -21,   -23,
   -56,   -27,   -46,   -46,   -46,   -46,   -46,   -46,    -9,   -11,
   -13,   -56,   -56,   -46,   -29,   -46,   -40,   -41,   -42,   -43,
   -44,   -45,   -47,   -48,   -49,   -50,   -51,   -52,   -53,   -54,
   -55,   -30,   -31,   -32,   -33,   -34,   -12,   -14,   -24,   -25,
   -56,   -28,   -35,   -36,   -56,   -26,   -37,   -38,   -46,   -39 ]

racc_goto_table = [
    28,    18,     6,    72,    44,    61,    62,    63,    64,    65,
     7,    39,    42,    68,     1,    71,    76,     3,     4,     5,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,    67,    79,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,    75 ]

racc_goto_check = [
    11,     7,     5,    18,    15,    15,    15,    15,    15,    15,
     6,     9,    13,    14,     1,    15,    19,     2,     3,     4,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,     7,    18,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
   nil,    11 ]

racc_goto_pointer = [
   nil,    14,    16,    17,    18,     1,     9,    -6,   nil,    -9,
   nil,    -9,   nil,   -18,   -29,   -28,   nil,   nil,   -42,   -58,
   nil,   nil,   nil ]

racc_goto_default = [
   nil,   nil,   nil,   nil,   nil,    49,   nil,   nil,    20,   nil,
     9,   nil,    30,   nil,   nil,    74,    48,    45,   nil,   nil,
    47,    50,    51 ]

racc_reduce_table = [
  0, 0, :racc_error,
  0, 20, :_reduce_none,
  2, 20, :_reduce_none,
  1, 21, :_reduce_none,
  1, 21, :_reduce_none,
  1, 21, :_reduce_none,
  2, 22, :_reduce_none,
  2, 25, :_reduce_7,
  1, 25, :_reduce_8,
  2, 26, :_reduce_9,
  1, 26, :_reduce_10,
  2, 26, :_reduce_none,
  2, 28, :_reduce_12,
  1, 28, :_reduce_13,
  2, 28, :_reduce_none,
  1, 27, :_reduce_15,
  1, 27, :_reduce_16,
  1, 27, :_reduce_17,
  1, 27, :_reduce_18,
  1, 27, :_reduce_19,
  1, 27, :_reduce_20,
  2, 24, :_reduce_none,
  1, 29, :_reduce_22,
  1, 30, :_reduce_23,
  3, 30, :_reduce_none,
  1, 33, :_reduce_25,
  2, 33, :_reduce_none,
  1, 31, :_reduce_27,
  2, 32, :_reduce_none,
  3, 23, :_reduce_29,
  3, 23, :_reduce_30,
  3, 23, :_reduce_31,
  3, 23, :_reduce_32,
  3, 23, :_reduce_33,
  3, 23, :_reduce_34,
  2, 35, :_reduce_none,
  1, 37, :_reduce_36,
  2, 37, :_reduce_none,
  1, 38, :_reduce_38,
  2, 38, :_reduce_none,
  1, 36, :_reduce_40,
  1, 34, :_reduce_41,
  1, 34, :_reduce_none,
  1, 34, :_reduce_none,
  1, 39, :_reduce_none,
  1, 39, :_reduce_none,
  0, 41, :_reduce_none,
  1, 41, :_reduce_47,
  1, 41, :_reduce_48,
  1, 41, :_reduce_49,
  1, 41, :_reduce_50,
  1, 41, :_reduce_51,
  1, 40, :_reduce_52,
  1, 40, :_reduce_53,
  1, 40, :_reduce_54,
  1, 40, :_reduce_55 ]

racc_reduce_n = 56

racc_shift_n = 80

racc_token_table = {
  false => 0,
  :error => 1,
  :IDENTIFIER => 2,
  :STRING_MULTI => 3,
  :STRING_BASIC => 4,
  :STRING_LITERAL_MULTI => 5,
  :STRING_LITERAL => 6,
  :DATETIME => 7,
  :INTEGER => 8,
  :FLOAT => 9,
  :TRUE => 10,
  :FALSE => 11,
  "[" => 12,
  "]" => 13,
  "." => 14,
  "{" => 15,
  "}" => 16,
  "," => 17,
  "=" => 18 }

racc_nt_base = 19

racc_use_result_var = true

Racc_arg = [
  racc_action_table,
  racc_action_check,
  racc_action_default,
  racc_action_pointer,
  racc_goto_table,
  racc_goto_check,
  racc_goto_default,
  racc_goto_pointer,
  racc_nt_base,
  racc_reduce_table,
  racc_token_table,
  racc_shift_n,
  racc_reduce_n,
  racc_use_result_var ]

Racc_token_to_s_table = [
  "$end",
  "error",
  "IDENTIFIER",
  "STRING_MULTI",
  "STRING_BASIC",
  "STRING_LITERAL_MULTI",
  "STRING_LITERAL",
  "DATETIME",
  "INTEGER",
  "FLOAT",
  "TRUE",
  "FALSE",
  "\"[\"",
  "\"]\"",
  "\".\"",
  "\"{\"",
  "\"}\"",
  "\",\"",
  "\"=\"",
  "$start",
  "expressions",
  "expression",
  "table",
  "assignment",
  "inline_table",
  "table_start",
  "table_continued",
  "table_identifier",
  "table_next",
  "inline_table_start",
  "inline_continued",
  "inline_assignment_key",
  "inline_assignment_value",
  "inline_next",
  "value",
  "array",
  "start_array",
  "array_continued",
  "array_next",
  "scalar",
  "string",
  "literal" ]

Racc_debug_parser = false

##### State transition tables end #####

# reduce 0 omitted

# reduce 1 omitted

# reduce 2 omitted

# reduce 3 omitted

# reduce 4 omitted

# reduce 5 omitted

# reduce 6 omitted

module_eval(<<'.,.,', 'parser.y', 15)
  def _reduce_7(val, _values, result)
     @handler.start_(:array_of_tables) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 16)
  def _reduce_8(val, _values, result)
     @handler.start_(:table) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 19)
  def _reduce_9(val, _values, result)
     array = @handler.end_(:array_of_tables); @handler.set_context(array, is_array_of_tables: true) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 20)
  def _reduce_10(val, _values, result)
     array = @handler.end_(:table); @handler.set_context(array) 
    result
  end
.,.,

# reduce 11 omitted

module_eval(<<'.,.,', 'parser.y', 24)
  def _reduce_12(val, _values, result)
     array = @handler.end_(:array_of_tables); @handler.set_context(array, is_array_of_tables: true) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 25)
  def _reduce_13(val, _values, result)
     array = @handler.end_(:table); @handler.set_context(array) 
    result
  end
.,.,

# reduce 14 omitted

module_eval(<<'.,.,', 'parser.y', 29)
  def _reduce_15(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 30)
  def _reduce_16(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 31)
  def _reduce_17(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 32)
  def _reduce_18(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 33)
  def _reduce_19(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 34)
  def _reduce_20(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

# reduce 21 omitted

module_eval(<<'.,.,', 'parser.y', 40)
  def _reduce_22(val, _values, result)
     @handler.start_(:inline) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 43)
  def _reduce_23(val, _values, result)
     array = @handler.end_(:inline); @handler.push(Hash[*array]) 
    result
  end
.,.,

# reduce 24 omitted

module_eval(<<'.,.,', 'parser.y', 48)
  def _reduce_25(val, _values, result)
          array = @handler.end_(:inline)
      array.map!.with_index{ |n,i| i.even? ? n.to_sym : n } if @handler.symbolize_keys
      @handler.push(Hash[*array])
    
    result
  end
.,.,

# reduce 26 omitted

module_eval(<<'.,.,', 'parser.y', 55)
  def _reduce_27(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

# reduce 28 omitted

module_eval(<<'.,.,', 'parser.y', 61)
  def _reduce_29(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 62)
  def _reduce_30(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 63)
  def _reduce_31(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 64)
  def _reduce_32(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 65)
  def _reduce_33(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 66)
  def _reduce_34(val, _values, result)
     @handler.assign(val[0]) 
    result
  end
.,.,

# reduce 35 omitted

module_eval(<<'.,.,', 'parser.y', 72)
  def _reduce_36(val, _values, result)
     array = @handler.end_(:array); @handler.push(array) 
    result
  end
.,.,

# reduce 37 omitted

module_eval(<<'.,.,', 'parser.y', 76)
  def _reduce_38(val, _values, result)
     array = @handler.end_(:array); @handler.push(array) 
    result
  end
.,.,

# reduce 39 omitted

module_eval(<<'.,.,', 'parser.y', 80)
  def _reduce_40(val, _values, result)
     @handler.start_(:array) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 83)
  def _reduce_41(val, _values, result)
     @handler.push(val[0]) 
    result
  end
.,.,

# reduce 42 omitted

# reduce 43 omitted

# reduce 44 omitted

# reduce 45 omitted

# reduce 46 omitted

module_eval(<<'.,.,', 'parser.y', 92)
  def _reduce_47(val, _values, result)
     result = val[0].to_f 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 93)
  def _reduce_48(val, _values, result)
     result = val[0].to_i 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 94)
  def _reduce_49(val, _values, result)
     result = true 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 95)
  def _reduce_50(val, _values, result)
     result = false 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 96)
  def _reduce_51(val, _values, result)
     result = Time.new(*val[0])
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 99)
  def _reduce_52(val, _values, result)
     result = StringUtils.replace_escaped_chars(StringUtils.multiline_replacements(val[0])) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 100)
  def _reduce_53(val, _values, result)
     result = StringUtils.replace_escaped_chars(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 101)
  def _reduce_54(val, _values, result)
     result = StringUtils.strip_spaces(val[0]) 
    result
  end
.,.,

module_eval(<<'.,.,', 'parser.y', 102)
  def _reduce_55(val, _values, result)
     result = val[0] 
    result
  end
.,.,

def _reduce_none(val, _values, result)
  val[0]
end

  end   # class GeneratedParser
end   # module Tomlrb
