Class: ActiveTokyoCabinet::SQLParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/active_tokyocabinet/sqlparser.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",
"INSERT",
"INTO",
"\"(\"",
"\")\"",
"VALUES",
"SELECT",
"FROM",
"COUNT",
"AS",
"\"*\"",
"WHERE",
"ID",
"\"=\"",
"IN",
"AND",
"BETWEEN",
"ORDER",
"BY",
"ORDER_SPEC",
"LIMIT",
"NUMBER",
"OFFSET",
"UPDATE",
"SET",
"\",\"",
"DELETE",
"IDENTIFIER",
"STRING",
"NULL",
"BW",
"EW",
"INCALL",
"INCANY",
"INC",
"ANYONE",
"REGEXP",
"BT",
"FTS",
"FTSAND",
"FTSOR",
"FTSEX",
"\">=\"",
"\"<=\"",
"\">\"",
"\"<\"",
"$start",
"sql",
"create_statement",
"read_statemant",
"update_statemant",
"delete_statemant",
"id",
"id_list",
"value_list",
"select_list",
"where_clause",
"order_by_clause",
"limit_clause",
"offset_clause",
"count_clause",
"count_arg",
"id_search_condition",
"search_condition",
"id_predicate",
"value",
"boolean_primary",
"predicate",
"op",
"between_predicate",
"ordering_spec",
"set_clause_list",
"set_clause" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values) ⇒ Object

reduce 67 omitted



745
746
747
# File 'lib/active_tokyocabinet/sqlparser.tab.rb', line 745

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