# # DO NOT MODIFY!!!! # This file is automatically generated by Racc 1.4.11 # from Racc grammer file "". # require 'racc/parser.rb' require 'strscan' require 'ddbcli/ddb-binary' require 'set' module DynamoDB class Parser < Racc::Parser module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 622) KEYWORDS = %w( ADD ALL ALTER AND ASC BEGINS_WITH BETWEEN BINARY CHANGE CREATE CONTAINS COUNT DELETE DEL DESCRIBE DESC DROP FROM GET GLOBAL HASH HAVING INCLUDE INDEX INSERT INTO IN IS KEYS_ONLY LIKE LIMIT NEXT NOT NUMBER ORDER RANGE READ REGIONS SELECT SET SHOW STATUS STRING TABLES TABLE UPDATE VALUES WHERE WRITE USE ) KEYWORD_REGEXP = Regexp.compile("(?:#{KEYWORDS.join '|'})\\b", Regexp::IGNORECASE) def initialize(obj) src = obj.is_a?(IO) ? obj.read : obj.to_s @ss = StringScanner.new(src) end @@structs = {} def struct(name, attrs = {}) unless (clazz = @@structs[name]) clazz = attrs.empty? ? Struct.new(name.to_s) : Struct.new(name.to_s, *attrs.keys) @@structs[name] = clazz end obj = clazz.new attrs.each do |key, val| obj.send("#{key}=", val) end return obj end private :struct def scan tok = nil @prev_tokens = [] until @ss.eos? if (tok = @ss.scan /\s+/) # nothing to do elsif (tok = @ss.scan /(?:>>|<>|!=|>=|<=|>|<|=)/) sym = { '>>' => :GTGT, '<>' => :NE, '!=' => :NE, '>=' => :GE, '<=' => :LE, '>' => :GT, '<' => :LT, '=' => :EQ, }.fetch(tok) yield [sym, tok] elsif (tok = @ss.scan KEYWORD_REGEXP) yield [tok.upcase.to_sym, tok] elsif (tok = @ss.scan /NULL/i) yield [:NULL, nil] elsif (tok = @ss.scan /`(?:[^`]|``)*`/) yield [:IDENTIFIER, tok.slice(1...-1).gsub(/``/, '`')] elsif (tok = @ss.scan /x'(?:[^']|'')*'/) #' hex = tok.slice(2...-1).gsub(/''/, "'") bin = DynamoDB::Binary.new([hex].pack('H*')) yield [:BINARY_VALUE, bin] elsif (tok = @ss.scan /x"(?:[^"]|"")*"/) #" hex = tok.slice(2...-1).gsub(/""/, '"') bin = DynamoDB::Binary.new([hex].pack('H*')) yield [:BINARY_VALUE, bin] elsif (tok = @ss.scan /'(?:[^']|'')*'/) #' yield [:STRING_VALUE, tok.slice(1...-1).gsub(/''/, "'")] elsif (tok = @ss.scan /"(?:[^"]|"")*"/) #" yield [:STRING_VALUE, tok.slice(1...-1).gsub(/""/, '"')] elsif (tok = @ss.scan /\d+(?:\.\d+)?/) yield [:NUMBER_VALUE, (tok =~ /\./ ? tok.to_f : tok.to_i)] elsif (tok = @ss.scan /[,\(\)\*\/\[\]\{\}:]/) yield [tok, tok] elsif (tok = @ss.scan /\|(?:.*)/) yield [:RUBY_SCRIPT, tok.slice(1..-1)] elsif (tok = @ss.scan /\|(?:.*)/) yield [:RUBY_SCRIPT, tok.slice(1..-1)] elsif (tok = @ss.scan /\!(?:.*)/) yield [:SHELL_SCRIPT, tok.slice(1..-1)] elsif (tok = @ss.scan %r|[-.0-9a-z_]*|i) if ['true', 'false'].include?(tok) yield [:BOOL, 'true' == tok] else yield [:IDENTIFIER, tok] end else raise_error(tok, @prev_tokens, @ss) end @prev_tokens << tok end yield [false, ''] end private :scan def raise_error(error_value, prev_tokens, scanner) errmsg = ["__#{error_value}__"] if prev_tokens and not prev_tokens.empty? toks = prev_tokens.reverse[0, 5].reverse toks.unshift('...') if prev_tokens.length > toks.length errmsg.unshift(toks.join.strip) end if scanner and not (rest = (scanner.rest || '').strip).empty? str = rest[0, 16] str += '...' if rest.length > str.length errmsg << str end raise Racc::ParseError, ('parse error on value: %s' % errmsg.join(' ')) end private :raise_error def parse yyparse self, :scan end def on_error(error_token_id, error_value, value_stack) raise_error(error_value, @prev_tokens, @ss) end def self.parse(obj) self.new(obj).parse end ...end ddb-parser.y/module_eval... ##### State transition tables begin ### racc_action_table = [ 175, 258, 227, 210, 175, 256, 55, 53, 175, 211, 190, 53, 175, 188, 191, 177, 175, 216, 330, 177, 189, 100, 136, 177, 174, 56, 223, 177, 174, 53, 58, 177, 174, 131, 175, 51, 174, 57, 175, 51, 174, 215, 114, 144, 249, 224, 225, 226, 228, 177, 114, 171, 257, 177, 255, 171, 74, 51, 174, 171, 273, 272, 174, 171, 207, 170, 172, 171, 173, 170, 172, 176, 173, 170, 172, 176, 173, 170, 172, 176, 173, 170, 172, 176, 173, 171, 175, 176, 217, 171, 288, 348, 41, 175, 349, 100, 117, 175, 42, 170, 172, 177, 173, 170, 172, 176, 173, 136, 177, 176, 174, 287, 177, 53, 25, 175, 144, 174, 282, 175, 153, 174, 284, 175, 130, 137, 154, 155, 114, 50, 177, 175, 49, 129, 177, 284, 285, 171, 177, 174, 48, 51, 284, 174, 171, 110, 177, 174, 171, 285, 95, 170, 172, 96, 173, 174, 285, 176, 170, 172, 70, 173, 170, 172, 176, 173, 171, 99, 176, 153, 171, 143, 153, 98, 171, 154, 155, 175, 154, 155, 170, 172, 171, 173, 170, 172, 176, 173, 170, 172, 176, 173, 177, 144, 176, 94, 170, 172, 204, 173, 70, 174, 176, 3, 4, 153, 95, 227, 18, 96, 148, 154, 155, 21, 153, 95, 19, 210, 96, 20, 154, 155, 333, 211, 320, 32, 33, 34, 171, 35, 149, 223, 80, 81, 82, 83, 22, 23, 24, 25, 150, 151, 170, 172, 26, 173, 127, 126, 176, 231, 224, 225, 226, 228, 230, 232, 235, 236, 237, 158, 36, 37, 27, 38, 39, 28, 95, 29, 159, 96, 30, 80, 81, 82, 83, 342, 343, 344, 342, 343, 344, 261, 263, 262, 264, 319, 357, 320, 358, 265, 160, 266, 144, 162, 163, 110, 60, 125, 123, 180, 181, 184, 64, 186, 100, 122, 121, 120, 116, 193, 195, 198, 199, 200, 64, 202, 203, 59, 114, 70, 64, 64, 143, 110, 222, 107, 238, 239, 240, 241, 242, 243, 245, 184, 247, 106, 251, 129, 253, 144, 105, 104, 259, 260, 103, 102, 101, 184, 100, 177, 92, 89, 274, 276, 277, 278, 279, 280, 90, 64, 89, 222, 198, 46, 45, 292, 158, 144, 64, 44, 87, 43, 86, 300, 301, 302, 303, 304, 305, 40, 308, 309, 310, 85, 312, 313, 314, 195, 64, 84, 318, 77, 76, 322, 323, 324, 75, 245, 61, 31, 329, 132, 331, 64, 62, 72, 71, 337, 310, 338, 339, 70, 68, 67, 346, 347, 66, 351, 353, 354, 355, 65, 64, 359, 360, 361, 189, 191 ] racc_action_check = [ 318, 208, 198, 173, 320, 205, 27, 105, 314, 173, 150, 26, 303, 149, 150, 318, 276, 177, 323, 320, 149, 111, 139, 314, 318, 27, 198, 303, 320, 49, 28, 276, 314, 103, 260, 105, 303, 28, 259, 26, 276, 177, 111, 139, 198, 198, 198, 198, 198, 260, 107, 318, 208, 259, 205, 320, 49, 49, 260, 314, 232, 232, 259, 303, 173, 318, 318, 276, 318, 320, 320, 318, 320, 314, 314, 320, 314, 303, 303, 314, 303, 276, 276, 303, 276, 260, 256, 276, 177, 259, 245, 345, 20, 249, 345, 140, 87, 248, 20, 260, 260, 256, 260, 259, 259, 260, 259, 108, 249, 259, 256, 245, 248, 25, 87, 231, 140, 249, 243, 229, 282, 248, 243, 181, 102, 110, 282, 282, 108, 25, 231, 172, 25, 101, 229, 329, 243, 256, 181, 231, 25, 25, 310, 229, 249, 112, 172, 181, 248, 329, 151, 256, 256, 151, 256, 172, 310, 256, 249, 249, 113, 249, 248, 248, 249, 248, 231, 68, 248, 351, 229, 114, 337, 68, 181, 351, 351, 137, 337, 337, 231, 231, 172, 231, 229, 229, 231, 229, 181, 181, 229, 181, 137, 116, 181, 67, 172, 172, 172, 172, 117, 137, 172, 0, 0, 125, 67, 184, 0, 67, 121, 125, 125, 0, 330, 148, 0, 258, 148, 0, 330, 330, 327, 258, 327, 2, 2, 2, 137, 2, 122, 184, 84, 84, 84, 84, 0, 0, 0, 0, 123, 124, 137, 137, 0, 137, 100, 99, 137, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 128, 18, 18, 0, 18, 18, 0, 126, 0, 129, 126, 0, 55, 55, 55, 55, 338, 338, 338, 339, 339, 339, 212, 213, 212, 213, 306, 352, 306, 352, 214, 130, 214, 131, 132, 133, 136, 31, 98, 96, 141, 143, 144, 145, 146, 147, 95, 94, 89, 86, 152, 157, 158, 159, 160, 161, 162, 163, 29, 85, 79, 178, 179, 180, 78, 182, 77, 186, 188, 189, 190, 191, 193, 194, 195, 196, 76, 199, 200, 202, 203, 75, 74, 210, 211, 73, 72, 71, 222, 69, 230, 66, 65, 237, 238, 239, 240, 241, 242, 64, 244, 63, 246, 247, 24, 23, 251, 252, 253, 254, 22, 59, 21, 58, 262, 264, 266, 270, 273, 275, 19, 277, 279, 281, 57, 284, 285, 291, 293, 294, 56, 305, 54, 52, 311, 312, 313, 50, 315, 34, 1, 322, 104, 324, 326, 35, 48, 47, 331, 334, 335, 336, 44, 43, 40, 340, 344, 39, 346, 347, 348, 349, 37, 36, 354, 355, 358, 359, 360 ] racc_action_pointer = [ 201, 399, 223, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 252, 370, 79, 362, 360, 351, 350, 100, -2, -7, -2, 250, nil, 296, nil, nil, 393, 399, 363, 411, nil, 407, 400, nil, nil, 399, 398, nil, nil, 367, 385, 16, 354, nil, 369, nil, 352, 209, 376, 370, 333, 357, nil, nil, nil, 346, 329, 337, 337, 179, 153, 325, nil, 333, 304, 305, 321, 311, 322, 312, 310, 306, nil, nil, nil, nil, 170, 274, 295, 76, nil, 302, nil, nil, nil, nil, 289, 277, 270, nil, 284, 234, 233, 115, 103, 20, 360, -6, nil, 6, 84, nil, 97, -2, 132, 147, 158, nil, 149, 187, nil, nil, nil, 197, 201, 211, 220, 186, 239, nil, 215, 251, 251, 248, 272, 255, nil, nil, 282, 172, nil, -1, 72, 254, nil, 272, 288, 243, 282, 281, 188, -10, -13, 123, 287, nil, nil, nil, nil, 250, 298, 292, 300, 255, 276, 303, nil, nil, nil, nil, nil, nil, nil, nil, 126, -10, nil, nil, nil, 12, 261, 262, 309, 118, 279, nil, 203, nil, 258, nil, 297, 300, 302, 302, nil, 308, 275, 320, 289, nil, -2, 323, 319, nil, 325, 295, nil, -18, nil, nil, -22, nil, 267, 268, 260, 261, 268, nil, nil, nil, nil, nil, nil, nil, 334, nil, nil, nil, nil, nil, nil, 114, 329, 110, 5, nil, nil, nil, nil, 298, 333, 326, 326, 328, 328, 105, 300, 53, 316, 349, 92, 88, nil, 344, 322, 323, 309, nil, 81, nil, 204, 33, 29, nil, 344, nil, 369, nil, 299, nil, nil, nil, 331, nil, nil, 321, nil, 355, 11, 351, nil, 352, nil, 359, 101, nil, 371, 368, nil, nil, nil, nil, nil, 341, nil, 327, 329, nil, nil, nil, nil, nil, nil, nil, nil, 7, nil, 370, 264, nil, nil, nil, 125, 369, 374, 382, 3, 340, nil, nil, -5, nil, -1, nil, 377, 5, 382, nil, 344, 201, nil, 118, 195, 394, nil, nil, 385, 388, 389, 153, 243, 246, 391, nil, nil, nil, 395, 64, 404, 405, 391, 392, nil, 150, 265, nil, 394, 395, nil, nil, 412, 396, 400, nil ] racc_action_default = [ -164, -164, -1, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -164, -164, -164, -164, -164, -164, -164, -164, -164, -164, -164, -164, -133, -164, -2, -3, -164, -164, -104, -164, -23, -164, -164, -29, -30, -164, -164, -59, -60, -164, -164, -164, -164, -67, -68, -69, -164, -164, -164, -164, -164, -164, 362, -4, -5, -25, -164, -25, -164, -164, -164, -58, -162, -164, -164, -164, -164, -164, -164, -164, -164, -164, -112, -113, -114, -115, -164, -164, -164, -164, -21, -164, -105, -22, -24, -27, -164, -164, -164, -43, -164, -164, -164, -71, -164, -164, -164, -164, -70, -164, -164, -116, -164, -164, -164, -164, -164, -123, -86, -164, -126, -127, -26, -164, -164, -164, -164, -164, -32, -163, -73, -164, -164, -86, -164, -164, -66, -108, -164, -164, -110, -86, -86, -119, -120, -164, -164, -104, -164, -128, -164, -164, -164, -164, -164, -38, -39, -40, -33, -106, -164, -164, -164, -104, -164, -164, -117, -118, -134, -135, -136, -137, -138, -139, -164, -164, -150, -151, -152, -164, -104, -104, -164, -164, -87, -88, -164, -124, -164, -28, -164, -164, -164, -164, -31, -34, -101, -164, -74, -75, -164, -164, -71, -63, -164, -86, -140, -164, -142, -144, -164, -146, -164, -164, -164, -164, -164, -156, -158, -160, -109, -111, -121, -122, -164, -80, -81, -82, -83, -84, -85, -164, -164, -164, -164, -94, -95, -96, -97, -164, -164, -164, -164, -164, -164, -164, -104, -164, -107, -164, -164, -164, -79, -164, -73, -86, -104, -141, -164, -145, -164, -164, -164, -153, -164, -154, -164, -155, -164, -89, -90, -91, -164, -93, -99, -164, -98, -125, -164, -164, -44, -164, -45, -35, -164, -46, -164, -164, -61, -102, -103, -76, -77, -164, -72, -106, -104, -65, -143, -147, -148, -149, -157, -159, -161, -164, -100, -164, -164, -131, -41, -42, -164, -164, -164, -164, -164, -101, -64, -92, -164, -129, -164, -47, -36, -164, -164, -78, -104, -164, -132, -164, -164, -164, -62, -130, -37, -164, -164, -164, -164, -164, -51, -48, -53, -54, -164, -49, -164, -164, -164, -164, -50, -164, -164, -56, -164, -164, -52, -55, -164, -164, -164, -57 ] racc_goto_table = [ 63, 152, 145, 244, 165, 194, 157, 128, 197, 281, 93, 142, 12, 11, 69, 182, 209, 161, 306, 108, 233, 78, 47, 54, 1, 178, 179, 79, 88, 115, 91, 341, 345, 336, 250, 321, 350, 352, 124, 206, 17, 16, 196, 15, 248, 14, 73, 13, 221, 111, 112, 134, 135, 139, 10, 138, 113, 267, 229, 269, 327, 271, 234, 9, 8, 7, 246, 164, 141, 156, 6, 146, 275, 5, 205, 208, 2, 220, 212, 213, 214, nil, nil, 140, nil, nil, nil, 147, nil, 254, nil, 187, nil, nil, 192, 334, 268, 289, 270, 119, 118, 297, 133, nil, nil, nil, 252, nil, nil, 185, nil, nil, nil, nil, nil, 290, 291, nil, nil, nil, nil, nil, nil, 296, 326, 201, 298, 299, nil, nil, 293, nil, nil, nil, nil, nil, nil, nil, nil, 294, nil, 315, 218, 219, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 311, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 317, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 325, nil, nil, nil, nil, nil, 328, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 335, nil, 286, nil, nil, nil, nil, 340, nil, nil, nil, nil, 295, nil, nil, nil, nil, nil, nil, nil, nil, 356, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 316, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 332 ] racc_goto_check = [ 16, 20, 33, 32, 39, 31, 30, 29, 37, 21, 18, 52, 10, 9, 27, 41, 61, 33, 55, 48, 40, 47, 28, 28, 1, 33, 33, 49, 17, 34, 17, 24, 24, 25, 40, 23, 22, 26, 19, 39, 15, 14, 36, 13, 38, 12, 28, 11, 39, 27, 47, 34, 34, 48, 8, 34, 49, 42, 43, 44, 55, 45, 46, 7, 6, 5, 41, 50, 51, 18, 4, 53, 54, 3, 59, 60, 2, 52, 62, 63, 64, nil, nil, 27, nil, nil, nil, 27, nil, 33, nil, 18, nil, nil, 18, 21, 39, 37, 39, 10, 9, 61, 28, nil, nil, nil, 29, nil, nil, 16, nil, nil, nil, nil, nil, 39, 39, nil, nil, nil, nil, nil, nil, 39, 32, 16, 39, 39, nil, nil, 30, nil, nil, nil, nil, nil, nil, nil, nil, 33, nil, 31, 16, 16, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 20, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 39, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 39, nil, nil, nil, nil, nil, 39, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 20, nil, 16, nil, nil, nil, nil, 20, nil, nil, nil, nil, 16, nil, nil, nil, nil, nil, nil, nil, nil, 20, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 16, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 16 ] racc_goto_pointer = [ nil, 24, 76, 73, 70, 65, 64, 63, 54, 13, 12, 47, 45, 43, 41, 40, -36, -35, -57, -60, -124, -234, -309, -275, -307, -298, -310, -30, -3, -94, -122, -152, -191, -114, -56, nil, -116, -150, -154, -133, -164, -129, -165, -126, -171, -171, -122, -34, -59, -28, -69, -46, -103, -46, -166, -258, nil, nil, nil, -98, -98, -157, -99, -98, -97 ] racc_goto_default = [ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 97, 283, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 52, nil, nil, nil, 307, nil, nil, 183, nil, 167, nil, nil, nil, nil, nil, 109, nil, nil, nil, nil, nil, 166, 168, 169, nil, nil, nil, nil, nil, nil ] racc_reduce_table = [ 0, 0, :racc_error, 1, 78, :_reduce_1, 2, 78, :_reduce_2, 2, 78, :_reduce_3, 3, 78, :_reduce_4, 3, 78, :_reduce_5, 1, 78, :_reduce_6, 1, 78, :_reduce_7, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 1, 79, :_reduce_none, 4, 80, :_reduce_21, 4, 80, :_reduce_22, 2, 80, :_reduce_23, 4, 80, :_reduce_24, 0, 94, :_reduce_none, 2, 94, :_reduce_26, 4, 81, :_reduce_27, 7, 81, :_reduce_28, 2, 82, :_reduce_29, 2, 82, :_reduce_30, 7, 83, :_reduce_31, 5, 83, :_reduce_32, 6, 83, :_reduce_33, 3, 96, :_reduce_34, 5, 96, :_reduce_35, 7, 96, :_reduce_36, 9, 96, :_reduce_37, 1, 97, :_reduce_38, 1, 97, :_reduce_39, 1, 97, :_reduce_40, 7, 95, :_reduce_41, 7, 95, :_reduce_42, 1, 95, :_reduce_none, 6, 99, :_reduce_44, 6, 99, :_reduce_45, 1, 98, :_reduce_46, 3, 98, :_reduce_47, 7, 100, :_reduce_48, 7, 100, :_reduce_49, 8, 100, :_reduce_50, 2, 102, :_reduce_51, 5, 102, :_reduce_52, 1, 101, :_reduce_53, 1, 101, :_reduce_54, 4, 101, :_reduce_55, 1, 103, :_reduce_56, 3, 103, :_reduce_57, 3, 84, :_reduce_58, 2, 85, :_reduce_59, 2, 85, :_reduce_60, 9, 86, :_reduce_61, 12, 86, :_reduce_62, 7, 87, :_reduce_63, 10, 87, :_reduce_64, 9, 87, :_reduce_65, 5, 88, :_reduce_66, 1, 105, :_reduce_67, 1, 105, :_reduce_68, 1, 112, :_reduce_69, 3, 112, :_reduce_70, 0, 106, :_reduce_none, 5, 106, :_reduce_72, 0, 107, :_reduce_none, 2, 107, :_reduce_74, 1, 113, :_reduce_75, 3, 113, :_reduce_76, 3, 114, :_reduce_77, 5, 114, :_reduce_78, 1, 115, :_reduce_none, 1, 117, :_reduce_80, 1, 117, :_reduce_81, 1, 117, :_reduce_82, 1, 117, :_reduce_83, 1, 117, :_reduce_84, 1, 117, :_reduce_none, 0, 110, :_reduce_none, 2, 110, :_reduce_87, 1, 118, :_reduce_88, 3, 118, :_reduce_89, 3, 119, :_reduce_90, 3, 119, :_reduce_91, 5, 119, :_reduce_92, 3, 119, :_reduce_93, 1, 120, :_reduce_none, 1, 120, :_reduce_none, 1, 120, :_reduce_96, 1, 123, :_reduce_none, 2, 123, :_reduce_98, 1, 122, :_reduce_99, 2, 122, :_reduce_100, 0, 109, :_reduce_none, 2, 109, :_reduce_102, 2, 109, :_reduce_103, 0, 93, :_reduce_none, 2, 93, :_reduce_105, 0, 108, :_reduce_none, 2, 108, :_reduce_107, 5, 89, :_reduce_108, 7, 89, :_reduce_109, 5, 89, :_reduce_110, 7, 89, :_reduce_111, 1, 124, :_reduce_112, 1, 124, :_reduce_113, 1, 126, :_reduce_114, 1, 126, :_reduce_115, 1, 125, :_reduce_116, 3, 125, :_reduce_117, 3, 127, :_reduce_118, 2, 111, :_reduce_119, 1, 128, :_reduce_120, 3, 128, :_reduce_121, 3, 129, :_reduce_122, 4, 90, :_reduce_123, 6, 90, :_reduce_124, 8, 91, :_reduce_125, 4, 91, :_reduce_126, 4, 91, :_reduce_127, 1, 130, :_reduce_none, 3, 131, :_reduce_129, 5, 131, :_reduce_130, 1, 132, :_reduce_131, 3, 132, :_reduce_132, 1, 92, :_reduce_133, 1, 116, :_reduce_none, 1, 116, :_reduce_none, 1, 116, :_reduce_none, 1, 116, :_reduce_none, 1, 116, :_reduce_none, 1, 116, :_reduce_none, 2, 134, :_reduce_none, 3, 134, :_reduce_141, 1, 136, :_reduce_142, 3, 136, :_reduce_143, 2, 135, :_reduce_144, 3, 135, :_reduce_145, 1, 137, :_reduce_none, 3, 137, :_reduce_147, 3, 138, :_reduce_148, 3, 138, :_reduce_149, 1, 133, :_reduce_none, 1, 133, :_reduce_none, 1, 133, :_reduce_none, 3, 121, :_reduce_153, 3, 121, :_reduce_154, 3, 121, :_reduce_155, 1, 139, :_reduce_156, 3, 139, :_reduce_157, 1, 140, :_reduce_158, 3, 140, :_reduce_159, 1, 141, :_reduce_160, 3, 141, :_reduce_161, 1, 104, :_reduce_162, 3, 104, :_reduce_163 ] racc_reduce_n = 164 racc_shift_n = 362 racc_token_table = { false => 0, :error => 1, :RUBY_SCRIPT => 2, :SHELL_SCRIPT => 3, :GT => 4, :STRING_VALUE => 5, :GTGT => 6, :SHOW => 7, :TABLES => 8, :TABLE => 9, :STATUS => 10, :REGIONS => 11, :CREATE => 12, :IDENTIFIER => 13, :LIKE => 14, :ALTER => 15, :CHANGE => 16, :INDEX => 17, :USE => 18, :STRING => 19, "(" => 20, ")" => 21, :HASH => 22, "," => 23, :RANGE => 24, :NUMBER => 25, :BINARY => 26, :READ => 27, :EQ => 28, :NUMBER_VALUE => 29, :WRITE => 30, :GLOBAL => 31, :ALL => 32, :KEYS_ONLY => 33, :INCLUDE => 34, :DROP => 35, :DESCRIBE => 36, :DESC => 37, :SELECT => 38, :FROM => 39, :COUNT => 40, "*" => 41, "/" => 42, :GET => 43, :WHERE => 44, :AND => 45, :BETWEEN => 46, :LE => 47, :LT => 48, :GE => 49, :BEGINS_WITH => 50, :IN => 51, :IS => 52, :NE => 53, :CONTAINS => 54, :NOT => 55, :NULL => 56, :ORDER => 57, :ASC => 58, :LIMIT => 59, :HAVING => 60, :UPDATE => 61, :SET => 62, :ADD => 63, :DELETE => 64, :DEL => 65, :INSERT => 66, :INTO => 67, :VALUES => 68, :NEXT => 69, :BOOL => 70, "[" => 71, "]" => 72, "{" => 73, "}" => 74, ":" => 75, :BINARY_VALUE => 76 } racc_nt_base = 77 racc_use_result_var = false 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", "INDEX", "USE", "STRING", "\"(\"", "\")\"", "HASH", "\",\"", "RANGE", "NUMBER", "BINARY", "READ", "EQ", "NUMBER_VALUE", "WRITE", "GLOBAL", "ALL", "KEYS_ONLY", "INCLUDE", "DROP", "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", "ADD", "DELETE", "DEL", "INSERT", "INTO", "VALUES", "NEXT", "BOOL", "\"[\"", "\"]\"", "\"{\"", "\"}\"", "\":\"", "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", "capacity_clause", "create_definition", "attr_type_list", "index_definition_list", "strict_capacity_clause", "index_definition", "index_type_definition", "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 ##### State transition tables end ##### # reduce 0 omitted module_eval(<<'.,.,', 'ddb-parser.y', 5) def _reduce_1(val, _values) [val[0], nil, nil] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 9) def _reduce_2(val, _values) [val[0], :ruby, val[1]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 13) def _reduce_3(val, _values) [val[0], :shell, val[1]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 17) def _reduce_4(val, _values) [val[0], :overwrite, val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 21) def _reduce_5(val, _values) [val[0], :append, val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 25) def _reduce_6(val, _values) [struct(:NULL), :ruby, val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 29) def _reduce_7(val, _values) [struct(:NULL), :shell, val[0]] end .,., # reduce 8 omitted # reduce 9 omitted # reduce 10 omitted # reduce 11 omitted # reduce 12 omitted # reduce 13 omitted # reduce 14 omitted # reduce 15 omitted # reduce 16 omitted # reduce 17 omitted # reduce 18 omitted # reduce 19 omitted # reduce 20 omitted module_eval(<<'.,.,', 'ddb-parser.y', 48) def _reduce_21(val, _values) struct(:SHOW_TABLES, :limit => val[2], :like => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 52) def _reduce_22(val, _values) struct(:SHOW_TABLE_STATUS, :like => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 56) def _reduce_23(val, _values) struct(:SHOW_REGIONS) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 60) def _reduce_24(val, _values) struct(:SHOW_CREATE_TABLE, :table => val[3]) end .,., # reduce 25 omitted module_eval(<<'.,.,', 'ddb-parser.y', 66) def _reduce_26(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 71) def _reduce_27(val, _values) struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 76) def _reduce_28(val, _values) struct(:ALTER_TABLE, :table => val[2], :index_name => val[5], :capacity => val[6]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 81) def _reduce_29(val, _values) struct(:USE, :endpoint_or_region => val[1]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 86) def _reduce_30(val, _values) struct(:USE, :endpoint_or_region => val[1]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 91) def _reduce_31(val, _values) struct(:CREATE, val[4].merge(:table => val[2], :capacity => val[6])) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 95) def _reduce_32(val, _values) struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 99) def _reduce_33(val, _values) struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => val[5]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 104) def _reduce_34(val, _values) {:hash => {:name => val[0], :type => val[1]}, :range => nil, :indices => nil} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 108) def _reduce_35(val, _values) {:hash => {:name => val[0], :type => val[1]}, :range => nil, :indices => val[4]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 112) def _reduce_36(val, _values) {:hash => {:name => val[0], :type => val[1]}, :range => {:name => val[4], :type => val[5]}, :indices => nil} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 116) def _reduce_37(val, _values) {:hash => {:name => val[0], :type => val[1]}, :range => {:name => val[4], :type => val[5]}, :indices => val[8]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 121) def _reduce_38(val, _values) 'S' end .,., module_eval(<<'.,.,', 'ddb-parser.y', 125) def _reduce_39(val, _values) 'N' end .,., module_eval(<<'.,.,', 'ddb-parser.y', 129) def _reduce_40(val, _values) 'B' end .,., module_eval(<<'.,.,', 'ddb-parser.y', 134) def _reduce_41(val, _values) {:read => val[2], :write => val[6]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 138) def _reduce_42(val, _values) {:read => val[6], :write => val[2]} end .,., # reduce 43 omitted module_eval(<<'.,.,', 'ddb-parser.y', 144) def _reduce_44(val, _values) {:read => val[2], :write => val[5]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 148) def _reduce_45(val, _values) {:read => val[5], :write => val[2]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 153) def _reduce_46(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 157) def _reduce_47(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 162) def _reduce_48(val, _values) {:name => val[1], :key => val[3], :type => val[4], :projection => val[6]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 166) def _reduce_49(val, _values) {:name => val[2], :keys => val[4], :projection => val[6], :global => true} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 170) def _reduce_50(val, _values) {:name => val[2], :keys => val[4], :projection => val[6], :capacity => val[7], :global => true} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 175) def _reduce_51(val, _values) {:hash => {:key => val[0], :type => val[1]}} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 179) def _reduce_52(val, _values) { :hash => {:key => val[0], :type => val[1]}, :range => {:key => val[3], :type => val[4]}, } end .,., module_eval(<<'.,.,', 'ddb-parser.y', 187) def _reduce_53(val, _values) {:type => 'ALL'} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 191) def _reduce_54(val, _values) {:type => 'KEYS_ONLY'} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 195) def _reduce_55(val, _values) {:type => 'INCLUDE', :attrs => val[2]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 200) def _reduce_56(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 204) def _reduce_57(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 209) def _reduce_58(val, _values) struct(:DROP, :tables => val[2]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 214) def _reduce_59(val, _values) struct(:DESCRIBE, :table => val[1]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 218) def _reduce_60(val, _values) struct(:DESCRIBE, :table => val[1]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 223) def _reduce_61(val, _values) struct(:SELECT, :attrs => val[1], :table => val[3], :index => val[4], :conds => val[5], :having => val[6], :order_asc => val[7], :limit => val[8], :count => false) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 227) def _reduce_62(val, _values) struct(:SELECT, :attrs => [], :table => val[6], :index => val[7], :conds => val[8], :having => val[9], :order_asc => val[10], :limit => val[11], :count => true) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 232) def _reduce_63(val, _values) struct(:SCAN, :attrs => val[2], :table => val[4], :conds => val[5], :limit => val[6], :count => false, :segment => nil, :total_segments => nil) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 236) def _reduce_64(val, _values) struct(:SCAN, :attrs => [], :table => val[7], :conds => val[8], :limit => val[9], :count => true, :segment => nil, :total_segments => nil) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 240) def _reduce_65(val, _values) struct(:SCAN, :attrs => val[4], :table => val[6], :conds => val[7], :limit => val[8], :count => false, :segment => val[1], :total_segments => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 245) def _reduce_66(val, _values) struct(:GET, :attrs => val[1], :table => val[3], :conds => val[4]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 250) def _reduce_67(val, _values) [] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 254) def _reduce_68(val, _values) val[0] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 259) def _reduce_69(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 263) def _reduce_70(val, _values) val[0] + [val[2]] end .,., # reduce 71 omitted module_eval(<<'.,.,', 'ddb-parser.y', 269) def _reduce_72(val, _values) val[3] end .,., # reduce 73 omitted module_eval(<<'.,.,', 'ddb-parser.y', 275) def _reduce_74(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 280) def _reduce_75(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 284) def _reduce_76(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 289) def _reduce_77(val, _values) [val[0], val[1].to_s.upcase.to_sym, [val[2]]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 293) def _reduce_78(val, _values) [val[0], val[1].to_s.upcase.to_sym, [val[2], val[4]]] end .,., # reduce 79 omitted module_eval(<<'.,.,', 'ddb-parser.y', 300) def _reduce_80(val, _values) :EQ end .,., module_eval(<<'.,.,', 'ddb-parser.y', 304) def _reduce_81(val, _values) :LE end .,., module_eval(<<'.,.,', 'ddb-parser.y', 308) def _reduce_82(val, _values) :LT end .,., module_eval(<<'.,.,', 'ddb-parser.y', 312) def _reduce_83(val, _values) :GE end .,., module_eval(<<'.,.,', 'ddb-parser.y', 316) def _reduce_84(val, _values) :GT end .,., # reduce 85 omitted # reduce 86 omitted module_eval(<<'.,.,', 'ddb-parser.y', 323) def _reduce_87(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 328) def _reduce_88(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 332) def _reduce_89(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 337) def _reduce_90(val, _values) [val[0], val[1].to_s.upcase.to_sym, [val[2]]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 341) def _reduce_91(val, _values) [val[0], val[1].to_s.upcase.to_sym, val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 345) def _reduce_92(val, _values) [val[0], val[1].to_s.upcase.to_sym, [val[2], val[4]]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 349) def _reduce_93(val, _values) [val[0], val[2].to_s.upcase.to_sym, []] end .,., # reduce 94 omitted # reduce 95 omitted module_eval(<<'.,.,', 'ddb-parser.y', 355) def _reduce_96(val, _values) :NE end .,., # reduce 97 omitted module_eval(<<'.,.,', 'ddb-parser.y', 361) def _reduce_98(val, _values) :NOT_CONTAINS end .,., module_eval(<<'.,.,', 'ddb-parser.y', 365) def _reduce_99(val, _values) :NULL end .,., module_eval(<<'.,.,', 'ddb-parser.y', 369) def _reduce_100(val, _values) :NOT_NULL end .,., # reduce 101 omitted module_eval(<<'.,.,', 'ddb-parser.y', 375) def _reduce_102(val, _values) true end .,., module_eval(<<'.,.,', 'ddb-parser.y', 379) def _reduce_103(val, _values) false end .,., # reduce 104 omitted module_eval(<<'.,.,', 'ddb-parser.y', 385) def _reduce_105(val, _values) val[1] end .,., # reduce 106 omitted module_eval(<<'.,.,', 'ddb-parser.y', 391) def _reduce_107(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 396) def _reduce_108(val, _values) struct(:UPDATE, :table => val[1], :action => val[2], :attrs => val[3], :conds => val[4]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 400) def _reduce_109(val, _values) struct(:UPDATE_ALL, :table => val[2], :action => val[3], :attrs => val[4], :conds => val[5], :limit => val[6]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 404) def _reduce_110(val, _values) attrs = {} val[3].each {|i| attrs[i] = true } struct(:UPDATE, :table => val[1], :action => val[2], :attrs => attrs, :conds => val[4]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 410) def _reduce_111(val, _values) attrs = {} val[4].each {|i| attrs[i] = true } struct(:UPDATE_ALL, :table => val[2], :action => val[3], :attrs => attrs, :conds => val[5], :limit => val[6]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 417) def _reduce_112(val, _values) :PUT end .,., module_eval(<<'.,.,', 'ddb-parser.y', 421) def _reduce_113(val, _values) :ADD end .,., module_eval(<<'.,.,', 'ddb-parser.y', 426) def _reduce_114(val, _values) :DELETE end .,., module_eval(<<'.,.,', 'ddb-parser.y', 430) def _reduce_115(val, _values) :DELETE end .,., module_eval(<<'.,.,', 'ddb-parser.y', 435) def _reduce_116(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 439) def _reduce_117(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 444) def _reduce_118(val, _values) [val[0], val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 449) def _reduce_119(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 454) def _reduce_120(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 458) def _reduce_121(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 463) def _reduce_122(val, _values) [val[0], val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 468) def _reduce_123(val, _values) struct(:DELETE, :table => val[2], :conds => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 472) def _reduce_124(val, _values) struct(:DELETE_ALL, :table => val[3], :conds => val[4], :limit => val[5]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 477) def _reduce_125(val, _values) struct(:INSERT, :table => val[2], :attrs => val[4], :values => val[7]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 481) def _reduce_126(val, _values) struct(:INSERT_SELECT, :table => val[2], :select => val[3]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 485) def _reduce_127(val, _values) struct(:INSERT_SCAN, :table => val[2], :select => val[3]) end .,., # reduce 128 omitted module_eval(<<'.,.,', 'ddb-parser.y', 492) def _reduce_129(val, _values) [val[1]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 496) def _reduce_130(val, _values) val[0] + [val[3]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 501) def _reduce_131(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 505) def _reduce_132(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 510) def _reduce_133(val, _values) struct(:NEXT) end .,., # reduce 134 omitted # reduce 135 omitted # reduce 136 omitted # reduce 137 omitted # reduce 138 omitted # reduce 139 omitted # reduce 140 omitted module_eval(<<'.,.,', 'ddb-parser.y', 523) def _reduce_141(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 528) def _reduce_142(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 532) def _reduce_143(val, _values) val[0] + [val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 537) def _reduce_144(val, _values) {} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 541) def _reduce_145(val, _values) val[1] end .,., # reduce 146 omitted module_eval(<<'.,.,', 'ddb-parser.y', 547) def _reduce_147(val, _values) val[0].merge(val[2]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 552) def _reduce_148(val, _values) {val[0] => val[2]} end .,., module_eval(<<'.,.,', 'ddb-parser.y', 556) def _reduce_149(val, _values) {val[0] => val[2]} end .,., # reduce 150 omitted # reduce 151 omitted # reduce 152 omitted module_eval(<<'.,.,', 'ddb-parser.y', 565) def _reduce_153(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 569) def _reduce_154(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 573) def _reduce_155(val, _values) val[1] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 578) def _reduce_156(val, _values) Set[val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 582) def _reduce_157(val, _values) val[0] + Set[val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 587) def _reduce_158(val, _values) Set[val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 591) def _reduce_159(val, _values) val[0] + Set[val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 596) def _reduce_160(val, _values) Set[val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 600) def _reduce_161(val, _values) val[0] + Set[val[2]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 605) def _reduce_162(val, _values) [val[0]] end .,., module_eval(<<'.,.,', 'ddb-parser.y', 609) def _reduce_163(val, _values) val[0] + [val[2]] end .,., def _reduce_none(val, _values) val[0] end end # class Parser end # DynamoDB