Class: MailParser::RFC2045::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/mailparser/rfc2045/parser.rb

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",
"CONTENT_TYPE",
"CONTENT_TRANSFER_ENCODING",
"MIME_VERSION",
"\"/\"",
"DIGIT",
"\".\"",
"TOKEN",
"\";\"",
"\"=\"",
"QUOTED_STRING",
"$start",
"all",
"content_type",
"content_transfer_encoding",
"mime_version",
"type",
"subtype",
"parameter_list",
"mechanism",
"parameter",
"attribute",
"value" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values) ⇒ Object

reduce 15 omitted



239
240
241
# File 'lib/mailparser/rfc2045/parser.rb', line 239

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