Class: Riemann::Tools::MdstatParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/riemann/tools/mdstat_parser.tab.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",
"ALGORITHM",
"BITMAP",
"BLOCKS",
"BYTE_UNIT",
"CHECK",
"CHUNK",
"DELAYED",
"DISK_STATUS",
"FINISH",
"FLOAT",
"IDENTIFIER",
"INTEGER",
"LEVEL",
"MIN",
"NONE",
"PAGES",
"PERSONALITIES",
"PERSONALITY",
"PENDING",
"PROGRESS",
"RECOVER",
"RECOVERY",
"REMOTE",
"RESHAPE",
"RESYNC",
"SPEED",
"SPEED_UNIT",
"SUPER",
"UNIT",
"UNUSED_DEVICES",
"\"[\"",
"\"]\"",
"\":\"",
"\"/\"",
"\",\"",
"\"=\"",
"\"%\"",
"\"(\"",
"\")\"",
"$start",
"target",
"personalities",
"devices",
"unused_devices",
"list_of_personalities",
"device",
"list_of_devices",
"super",
"level",
"progress",
"bitmap",
"progress_action",
"identifiers" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object

reduce 32 omitted



408
409
410
# File 'lib/riemann/tools/mdstat_parser.tab.rb', line 408

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