Class: FortranFormatParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
ext/fortio/lib/fortio/fortran_format.rb,
ext/fortio/lib/fortio/fortran_format.tab.rb

Defined Under Namespace

Classes: Continue, Flush, Group, NodeA, NodeB, NodeE, NodeES, NodeF, NodeG, NodeH, NodeI, NodeL, NodeP, NodeS, NodeSp, NodeT, NodeTL, NodeTR, NodeX, State

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",
"DIGITS",
"H",
"STRING",
"P",
"Sp",
"B",
"T",
"TR",
"TL",
"\"$\"",
"\"(\"",
"\")\"",
"\"/\"",
"X",
"A",
"I",
"L",
"F",
"E",
"ES",
"D",
"G",
"EXP",
"$start",
"format",
"format_string",
"format_spec",
"hollerith",
"unrepeatable",
"repeatable",
"fixed_point",
"floating_point" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object



530
531
532
# File 'ext/fortio/lib/fortio/fortran_format.tab.rb', line 530

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