Class: DynamoDB::Parser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/ddbcli/ddb-parser.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",
"RUBY_SCRIPT",
"SHELL_SCRIPT",
"GT",
"STRING_VALUE",
"GTGT",
"SHOW",
"TABLES",
"TABLE",
"STATUS",
"REGIONS",
"CREATE",
"IDENTIFIER",
"LIKE",
"ALTER",
"CHANGE",
"GLOBAL",
"INDEX",
"ADD",
"DROP",
"USE",
"STRING",
"\"(\"",
"\")\"",
"STREAM",
"EQ",
"BOOL",
"NEW_IMAGE",
"OLD_IMAGE",
"NEW_AND_OLD_IMAGES",
"KEYS_ONLY",
"HASH",
"\",\"",
"RANGE",
"NUMBER",
"BINARY",
"READ",
"NUMBER_VALUE",
"WRITE",
"ALL",
"INCLUDE",
"DESCRIBE",
"DESC",
"SELECT",
"FROM",
"COUNT",
"\"*\"",
"\"/\"",
"GET",
"WHERE",
"AND",
"BETWEEN",
"LE",
"LT",
"GE",
"BEGINS_WITH",
"IN",
"IS",
"NE",
"CONTAINS",
"NOT",
"NULL",
"ORDER",
"ASC",
"LIMIT",
"HAVING",
"UPDATE",
"SET",
"DELETE",
"DEL",
"INSERT",
"INTO",
"VALUES",
"NEXT",
"\"[\"",
"\"]\"",
"\"{\"",
"\"}\"",
"\":\"",
"BINARY_VALUE",
"$start",
"stmt",
"query",
"show_stmt",
"alter_stmt",
"use_stmt",
"create_stmt",
"drop_stmt",
"describe_stmt",
"select_stmt",
"scan_stmt",
"get_stmt",
"update_stmt",
"delete_stmt",
"insert_stmt",
"next_stmt",
"limit_clause",
"like_clause",
"alter_table_stmt",
"alter_table_index_stmt",
"capacity_clause",
"stream_clause",
"global_index_definition_with_capacity",
"create_definition",
"capacity_stream_clause",
"stream_view_type",
"attr_type_list",
"index_definition_list",
"strict_capacity_clause",
"index_definition",
"locat_index_definition",
"global_index_definition",
"index_type_definition",
"global_index_definition_without_capacity",
"global_index_keys",
"index_include_attr_list",
"identifier_list",
"attrs_to_get",
"use_index_clause",
"select_where_clause",
"having_clause",
"order_clause",
"scan_where_clause",
"update_where_clause",
"attrs_list",
"select_expr_list",
"select_expr",
"select_operator",
"value",
"common_operator",
"scan_expr_list",
"scan_expr",
"scan_operator",
"value_list",
"null_operator",
"contains_operator",
"set_or_add",
"attr_to_update_list",
"delete_or_del",
"attr_to_update",
"update_expr_list",
"update_expr",
"attr_to_insert_list",
"insert_value_clause",
"insert_value_list",
"single_value",
"list",
"map",
"list_items",
"map_items",
"map_item",
"number_list",
"string_list",
"binary_list" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values) ⇒ Object



1990
1991
1992
# File 'lib/ddbcli/ddb-parser.tab.rb', line 1990

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