Class: Nagios::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
core_modules/nagios_core/lib/puppet/external/nagios/parser.rb

Overview

rubocop:disable Style/Documentation

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,
].freeze
Racc_token_to_s_table =
[
  '$end',
  'error',
  'DEFINE',
  'NAME',
  'PARAM',
  'LCURLY',
  'RCURLY',
  'VALUE',
  'RETURN',
  '$start',
  'decls',
  'decl',
  'object',
  'returns',
  'vars',
  'var',
].freeze
Racc_debug_parser =

rubocop:disable Style/ConstantName

false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, _result) ⇒ Object

reduce 11 omitted



406
407
408
# File 'core_modules/nagios_core/lib/puppet/external/nagios/parser.rb', line 406

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