Class: BibTeX::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/bibtex/parser.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",
"AT",
"COMMA",
"COMMENT",
"CONTENT",
"ERROR",
"EQ",
"LBRACE",
"META_CONTENT",
"KEY",
"NAME",
"NUMBER",
"PREAMBLE",
"RBRACE",
"SHARP",
"STRING",
"STRING_LITERAL",
"$start",
"bibliography",
"objects",
"object",
"at_object",
"comment",
"string",
"preamble",
"entry",
"content",
"string_value",
"string_assignment",
"string_literal",
"entry_head",
"assignments",
"opt_key",
"assignment",
"value" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object


469
470
471
# File 'lib/bibtex/parser.rb', line 469

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