Class: Tomlrb::GeneratedParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/tomlrb/generated_parser.rb

Direct Known Subclasses

Parser

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object



537
538
539
# File 'lib/tomlrb/generated_parser.rb', line 537

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