Class: FortIO::Namelist::Parser
- Inherits:
-
Racc::Parser
- Object
- Racc::Parser
- FortIO::Namelist::Parser
- Defined in:
- lib/fortio-namelist/fortran_namelist.rb,
lib/fortio-namelist/fortran_namelist.tab.rb
Defined Under Namespace
Classes: ParamDef
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", "\"&\"", "\"$\"", "IDENT", "COMMA", "NL", "\"/\"", "\"(\"", "\")\"", "\"=\"", "NIL", "\",\"", "DIGITS", "\"*\"", "STRING", "LOGICAL", "FLOAT", "STRINGLIKE", "\":\"", "$start", "namelist", "group", "group_header", "separator", "varlist", "group_end", "group_prefix", "nls", "blank", "vardef", "equal", "rvalues", "array_spec", "rlist", "ident_list", "element", "constant", "real", "complex" ]
- Racc_debug_parser =
false
Instance Method Summary collapse
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
678 679 680 |
# File 'lib/fortio-namelist/fortran_namelist.tab.rb', line 678 def _reduce_none(val, _values, result) val[0] end |