Class: EPUB::CFIParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/epub/parser/cfi.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",
"COMMA",
"EXCLAMATION_MARK",
"SOLIDUS",
"COLON",
"TILDE",
"ATMARK",
"DIGIT_NON_ZERO",
"ZERO",
"DOT",
"SEMICOLON",
"EQUAL",
"CIRCUMFLEX",
"OPENING_SQUARE_BRACKET",
"CLOSING_SQUARE_BRACKET",
"OPENING_PARENTHESIS",
"CLOSING_PARENTHESIS",
"SPACE",
"UNICODE_CHARACTER_EXCLUDING_SPECIAL_CHARS_AND_SPACE_AND_DOT_AND_COLON_AND_TILDE_AND_ATMARK_AND_SOLIDUS_AND_EXCLAMATION_MARK",
"$start",
"fragment",
"path",
"range_zero_or_one",
"range",
"step",
"local_path",
"step_zero_or_more",
"redirected_path",
"offset_zero_or_one",
"offset",
"integer",
"assertion_part_zero_or_one",
"spatial_offset",
"number",
"spatial_offset_zero_or_one",
"opening_square_bracket",
"assertion",
"closing_square_bracket",
"digit_zero_or_more",
"fractional_portion_zero_or_one",
"fractional_portion",
"digit",
"value_csv_one_or_two",
"parameter_zero_or_more",
"value",
"parameter",
"value_no_space",
"csv",
"string_escaped_special_chars",
"string_escaped_special_chars_excluding_space",
"escaped_special_chars",
"square_brackets",
"parentheses",
"character_escaped_special",
"character_excluding_special_chars",
"character_escaped_special_excluding_space",
"character_excluding_special_chars_and_space",
"character_excluding_special_chars_and_space_and_dot_and_colon_and_tilde_and_atmark_and_solidus_and_exclamation_mark" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object

reduce 80 omitted



691
692
693
# File 'lib/epub/parser/cfi.tab.rb', line 691

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