lib/ddbcli/ddb-parser.tab.rb in ddbcli-0.4.1 vs lib/ddbcli/ddb-parser.tab.rb in ddbcli-0.4.2.beta

- old
+ new

@@ -1,8 +1,8 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.11 +# This file is automatically generated by Racc 1.4.12 # from Racc grammer file "". # require 'racc/parser.rb' @@ -13,11 +13,11 @@ module DynamoDB class Parser < Racc::Parser -module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 622) +module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 664) KEYWORDS = %w( ADD ALL ALTER @@ -47,21 +47,25 @@ IN IS KEYS_ONLY LIKE LIMIT + NEW_AND_OLD_IMAGES + NEW_IMAGE NEXT NOT NUMBER + OLD_IMAGE ORDER RANGE READ REGIONS SELECT SET SHOW STATUS + STREAM STRING TABLES TABLE UPDATE VALUES @@ -194,428 +198,449 @@ ...end ddb-parser.y/module_eval... ##### State transition tables begin ### racc_action_table = [ - 175, 258, 227, 211, 175, 256, 55, 53, 175, 53, - 190, 210, 175, 188, 191, 177, 175, 216, 100, 177, - 189, 211, 136, 177, 174, 56, 223, 177, 174, 210, - 330, 177, 174, 53, 175, 51, 174, 51, 175, 144, - 174, 215, 284, 114, 249, 224, 225, 226, 228, 177, - 284, 171, 257, 177, 255, 171, 285, 131, 174, 171, - 74, 51, 174, 171, 285, 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, - 207, 58, 261, 175, 262, 288, 114, 175, 57, 170, - 172, 177, 173, 170, 172, 176, 173, 136, 177, 176, - 174, 94, 177, 53, 100, 175, 287, 174, 117, 175, - 153, 174, 95, 175, 130, 96, 154, 155, 144, 50, - 177, 175, 49, 137, 177, 114, 25, 171, 177, 174, - 48, 51, 348, 174, 171, 349, 177, 174, 171, 282, - 41, 170, 172, 284, 173, 174, 42, 176, 170, 172, - 204, 173, 170, 172, 176, 173, 171, 285, 176, 153, - 171, 263, 153, 264, 171, 154, 155, 175, 154, 155, - 170, 172, 171, 173, 170, 172, 176, 173, 170, 172, - 176, 173, 177, 129, 176, 95, 170, 172, 96, 173, - 99, 174, 176, 3, 4, 153, 98, 227, 18, 273, - 272, 154, 155, 21, 153, 95, 19, 110, 96, 20, - 154, 155, 32, 33, 34, 265, 35, 266, 171, 36, - 37, 223, 38, 39, 70, 143, 22, 23, 24, 25, - 144, 70, 170, 172, 26, 173, 148, 149, 176, 231, - 224, 225, 226, 228, 230, 232, 235, 236, 237, 333, - 95, 320, 27, 96, 319, 28, 320, 29, 150, 151, - 30, 80, 81, 82, 83, 80, 81, 82, 83, 342, - 343, 344, 342, 343, 344, 357, 127, 358, 126, 158, - 159, 160, 144, 162, 163, 110, 61, 125, 123, 180, - 181, 184, 64, 186, 100, 122, 121, 120, 116, 193, - 195, 198, 199, 200, 64, 202, 203, 60, 59, 114, - 64, 64, 143, 70, 222, 110, 238, 239, 240, 241, - 242, 243, 245, 184, 247, 107, 251, 129, 253, 144, - 106, 105, 259, 260, 104, 103, 102, 184, 101, 177, - 100, 92, 274, 276, 277, 278, 279, 280, 89, 64, - 90, 222, 198, 46, 45, 292, 158, 144, 64, 44, - 89, 43, 87, 300, 301, 302, 303, 304, 305, 40, - 308, 309, 310, 86, 312, 313, 314, 195, 64, 85, - 318, 84, 77, 322, 323, 324, 76, 245, 62, 31, - 329, 132, 331, 64, 75, 64, 72, 337, 310, 338, - 339, 71, 70, 68, 346, 347, 67, 351, 353, 354, - 355, 66, 65, 359, 360, 361, 189, 191 ] + 188, 188, 274, 304, 119, 232, 272, 188, 55, 53, + 218, 201, 53, 188, 53, 190, 190, 202, 53, 183, + 183, 227, 190, 116, 303, 188, 183, 25, 190, 226, + 187, 187, 183, 56, 188, 231, 50, 187, 300, 49, + 190, 74, 51, 187, 183, 51, 48, 51, 300, 190, + 273, 51, 271, 183, 101, 187, 184, 184, 301, 227, + 100, 136, 298, 184, 187, 277, 300, 226, 301, 184, + 185, 185, 186, 186, 278, 189, 189, 185, 220, 186, + 233, 184, 189, 185, 188, 186, 301, 142, 189, 335, + 184, 102, 188, 188, 223, 185, 243, 186, 336, 190, + 189, 188, 188, 183, 185, 141, 186, 190, 190, 189, + 116, 183, 183, 164, 187, 239, 190, 190, 135, 95, + 183, 183, 187, 187, 116, 96, 165, 166, 164, 349, + 112, 187, 187, 141, 102, 70, 188, 97, 336, 98, + 184, 165, 166, 265, 240, 241, 242, 244, 184, 184, + 148, 190, 149, 149, 185, 183, 186, 184, 184, 189, + 188, 149, 185, 185, 186, 186, 187, 189, 189, 188, + 188, 185, 185, 186, 186, 190, 189, 189, 70, 183, + 41, 96, 96, 153, 190, 190, 42, 359, 183, 183, + 187, 164, 184, 97, 97, 98, 98, 358, 360, 187, + 187, 164, 359, 58, 165, 166, 185, 164, 186, 57, + 134, 189, 358, 360, 165, 166, 184, 160, 3, 4, + 165, 166, 161, 18, 243, 184, 184, 279, 21, 281, + 185, 19, 186, 162, 20, 189, 280, 373, 282, 185, + 185, 186, 186, 239, 189, 189, 374, 36, 37, 203, + 38, 39, 97, 204, 98, 132, 22, 23, 24, 25, + 80, 81, 82, 83, 26, 154, 156, 157, 158, 159, + 131, 247, 240, 241, 242, 244, 246, 248, 251, 252, + 253, 97, 27, 98, 97, 28, 98, 29, 289, 288, + 30, 32, 33, 34, 171, 35, 80, 81, 82, 83, + 364, 97, 365, 98, 172, 173, 149, 175, 176, 112, + 130, 128, 127, 193, 194, 197, 64, 199, 102, 126, + 125, 96, 122, 207, 118, 96, 211, 214, 215, 216, + 64, 137, 219, 116, 70, 112, 64, 64, 148, 109, + 238, 108, 254, 255, 256, 257, 258, 107, 259, 261, + 197, 263, 106, 267, 134, 269, 149, 105, 104, 275, + 276, 103, 102, 92, 197, 89, 190, 90, 89, 290, + 292, 293, 294, 295, 296, 87, 64, 86, 238, 214, + 85, 84, 308, 171, 149, 64, 77, 76, 75, 72, + 316, 317, 318, 319, 320, 321, 71, 324, 325, 326, + 70, 328, 329, 330, 211, 64, 68, 334, 67, 66, + 338, 339, 340, 65, 261, 64, 62, 345, 346, 347, + 64, 61, 60, 59, 353, 326, 354, 355, 46, 45, + 44, 362, 363, 43, 367, 369, 370, 371, 40, 31, + 375, 376, 377, 202, 204 ] racc_action_check = [ - 318, 208, 198, 258, 320, 205, 27, 105, 314, 26, - 150, 258, 303, 149, 150, 318, 276, 177, 140, 320, - 149, 173, 108, 314, 318, 27, 198, 303, 320, 173, - 323, 276, 314, 49, 260, 105, 303, 26, 259, 140, - 276, 177, 310, 108, 198, 198, 198, 198, 198, 260, - 329, 318, 208, 259, 205, 320, 310, 103, 260, 314, - 49, 49, 259, 303, 329, 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, - 173, 28, 212, 172, 212, 245, 107, 248, 28, 260, - 260, 256, 260, 259, 259, 260, 259, 139, 172, 259, - 256, 67, 248, 25, 111, 231, 245, 172, 87, 229, - 282, 248, 67, 181, 102, 67, 282, 282, 139, 25, - 231, 137, 25, 110, 229, 111, 87, 256, 181, 231, - 25, 25, 345, 229, 172, 345, 137, 181, 248, 243, - 20, 256, 256, 243, 256, 137, 20, 256, 172, 172, - 172, 172, 248, 248, 172, 248, 231, 243, 248, 125, - 229, 213, 337, 213, 181, 125, 125, 249, 337, 337, - 231, 231, 137, 231, 229, 229, 231, 229, 181, 181, - 229, 181, 249, 101, 181, 151, 137, 137, 151, 137, - 68, 249, 137, 0, 0, 351, 68, 184, 0, 232, - 232, 351, 351, 0, 330, 148, 0, 112, 148, 0, - 330, 330, 2, 2, 2, 214, 2, 214, 249, 18, - 18, 184, 18, 18, 113, 114, 0, 0, 0, 0, - 116, 117, 249, 249, 0, 249, 121, 122, 249, 184, - 184, 184, 184, 184, 184, 184, 184, 184, 184, 327, - 126, 327, 0, 126, 306, 0, 306, 0, 123, 124, - 0, 84, 84, 84, 84, 55, 55, 55, 55, 338, - 338, 338, 339, 339, 339, 352, 100, 352, 99, 128, - 129, 130, 131, 132, 133, 136, 34, 98, 96, 141, - 143, 144, 145, 146, 147, 95, 94, 89, 86, 152, - 157, 158, 159, 160, 161, 162, 163, 31, 29, 85, - 178, 179, 180, 79, 182, 78, 186, 188, 189, 190, - 191, 193, 194, 195, 196, 77, 199, 200, 202, 203, - 76, 75, 210, 211, 74, 73, 72, 222, 71, 230, - 69, 66, 237, 238, 239, 240, 241, 242, 65, 244, - 64, 246, 247, 24, 23, 251, 252, 253, 254, 22, - 63, 21, 59, 262, 264, 266, 270, 273, 275, 19, - 277, 279, 281, 58, 284, 285, 291, 293, 294, 57, - 305, 56, 54, 311, 312, 313, 52, 315, 35, 1, - 322, 104, 324, 326, 50, 36, 48, 331, 334, 335, - 336, 47, 44, 43, 340, 344, 40, 346, 347, 348, - 349, 39, 37, 354, 355, 358, 359, 360 ] + 292, 142, 224, 261, 87, 190, 221, 185, 27, 49, + 175, 160, 26, 319, 25, 292, 142, 160, 107, 292, + 142, 186, 185, 109, 261, 194, 185, 87, 319, 186, + 292, 142, 319, 27, 275, 190, 25, 185, 326, 25, + 194, 49, 49, 319, 194, 26, 25, 25, 345, 275, + 224, 107, 221, 275, 68, 194, 292, 142, 326, 274, + 68, 105, 259, 185, 275, 228, 259, 274, 345, 319, + 292, 142, 292, 142, 228, 292, 142, 185, 185, 185, + 190, 194, 185, 319, 272, 319, 259, 112, 319, 322, + 275, 113, 330, 334, 186, 194, 214, 194, 322, 272, + 194, 336, 265, 272, 275, 110, 275, 330, 334, 275, + 113, 330, 334, 346, 272, 214, 336, 265, 104, 67, + 336, 265, 330, 334, 110, 67, 346, 346, 130, 343, + 114, 336, 265, 144, 145, 115, 264, 67, 343, 67, + 272, 130, 130, 214, 214, 214, 214, 214, 330, 334, + 116, 264, 144, 145, 272, 264, 272, 336, 265, 272, + 247, 118, 330, 334, 330, 334, 264, 330, 334, 276, + 245, 336, 265, 336, 265, 247, 336, 265, 119, 247, + 20, 162, 131, 125, 276, 245, 20, 354, 276, 245, + 247, 367, 264, 162, 131, 162, 131, 354, 354, 276, + 245, 353, 355, 28, 367, 367, 264, 298, 264, 28, + 103, 264, 355, 355, 353, 353, 247, 127, 0, 0, + 298, 298, 128, 0, 197, 276, 245, 229, 0, 230, + 247, 0, 247, 129, 0, 247, 229, 368, 230, 276, + 245, 276, 245, 197, 276, 245, 368, 18, 18, 161, + 18, 18, 94, 161, 94, 102, 0, 0, 0, 0, + 84, 84, 84, 84, 0, 126, 126, 126, 126, 126, + 101, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 153, 0, 153, 206, 0, 206, 0, 248, 248, + 0, 2, 2, 2, 133, 2, 55, 55, 55, 55, + 361, 167, 361, 167, 134, 135, 136, 137, 138, 141, + 100, 98, 97, 146, 148, 149, 150, 151, 152, 96, + 95, 93, 89, 163, 86, 169, 170, 171, 172, 173, + 174, 106, 176, 85, 79, 78, 191, 192, 193, 77, + 195, 76, 199, 201, 202, 203, 204, 75, 207, 210, + 211, 212, 74, 215, 216, 218, 219, 73, 72, 226, + 227, 71, 69, 66, 238, 65, 246, 64, 63, 253, + 254, 255, 256, 257, 258, 59, 260, 58, 262, 263, + 57, 56, 267, 268, 269, 270, 54, 52, 50, 48, + 278, 280, 282, 286, 289, 291, 47, 293, 295, 297, + 44, 300, 301, 307, 309, 310, 43, 321, 40, 39, + 327, 328, 329, 37, 331, 36, 35, 338, 339, 340, + 342, 34, 31, 29, 347, 350, 351, 352, 24, 23, + 22, 356, 360, 21, 362, 363, 364, 365, 19, 1, + 370, 371, 374, 375, 376 ] racc_action_pointer = [ - 201, 399, 220, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, nil, 221, 370, - 137, 362, 360, 351, 350, 100, -4, -7, 59, 251, - nil, 317, nil, nil, 291, 393, 346, 412, nil, 412, - 403, nil, nil, 400, 399, nil, nil, 372, 386, 20, - 362, nil, 373, nil, 353, 213, 378, 376, 344, 359, - nil, nil, nil, 356, 331, 344, 338, 95, 186, 327, - nil, 335, 305, 306, 324, 312, 327, 322, 312, 310, - nil, nil, nil, nil, 209, 275, 295, 98, nil, 302, - nil, nil, nil, nil, 289, 277, 270, nil, 284, 275, - 273, 175, 103, 44, 360, -6, nil, 52, -1, nil, - 105, 91, 204, 221, 222, nil, 196, 228, nil, nil, - nil, 233, 218, 239, 248, 150, 233, nil, 245, 273, - 252, 248, 272, 255, nil, nil, 282, 126, nil, 84, - -5, 254, nil, 272, 288, 243, 282, 281, 188, -10, - -13, 168, 287, nil, nil, nil, nil, 250, 298, 292, - 300, 255, 276, 303, nil, nil, nil, nil, nil, nil, - nil, nil, 88, 16, 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, 71, 150, 204, nil, nil, nil, nil, nil, - nil, nil, 334, nil, nil, nil, nil, nil, nil, 114, - 329, 110, 154, nil, nil, nil, nil, 298, 333, 326, - 326, 328, 328, 136, 300, 58, 316, 349, 92, 172, - nil, 344, 322, 323, 309, nil, 81, nil, -2, 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, 243, nil, nil, nil, - 25, 369, 374, 382, 3, 340, nil, nil, -5, nil, - -1, nil, 377, 17, 382, nil, 344, 238, nil, 33, - 195, 394, nil, nil, 385, 388, 389, 153, 247, 250, - 391, nil, nil, nil, 395, 115, 404, 405, 391, 392, - nil, 186, 264, nil, 394, 395, nil, nil, 412, 396, - 400, nil ] + 216, 439, 289, nil, nil, nil, nil, nil, nil, nil, + nil, nil, nil, nil, nil, nil, nil, nil, 239, 429, + 167, 424, 421, 416, 415, 1, -1, -5, 165, 351, + nil, 422, nil, nil, 416, 411, 351, 403, nil, 400, + 395, nil, nil, 393, 387, nil, nil, 352, 369, -4, + 341, nil, 357, nil, 342, 229, 368, 367, 333, 362, + nil, nil, nil, 354, 332, 351, 350, 103, 40, 332, + nil, 348, 312, 313, 332, 312, 328, 326, 322, 321, + nil, nil, nil, nil, 193, 284, 311, -16, nil, 317, + nil, nil, nil, 299, 218, 303, 296, 289, 288, nil, + 297, 257, 242, 192, 97, 48, 285, 5, nil, -26, + 75, nil, 64, 61, 117, 122, 137, nil, 112, 165, + nil, nil, nil, nil, nil, 170, 241, 182, 187, 212, + 109, 160, nil, 245, 287, 261, 257, 286, 264, nil, + nil, 296, -4, nil, 103, 104, 263, nil, 291, 302, + 252, 296, 288, 247, nil, nil, nil, nil, nil, nil, + -19, 219, 159, 294, nil, nil, nil, 267, nil, 303, + 261, 314, 308, 316, 266, -34, 319, nil, nil, nil, + nil, nil, nil, nil, nil, 2, 16, nil, nil, nil, + 0, 272, 273, 325, 20, 290, nil, 220, nil, 269, + nil, 307, 321, 311, 323, nil, 250, 318, nil, nil, + 287, 337, 301, nil, 92, 340, 336, nil, 342, 307, + nil, -24, nil, nil, -28, nil, 280, 281, 44, 206, + 208, nil, nil, nil, nil, nil, nil, nil, 351, nil, + nil, nil, nil, nil, nil, 165, 346, 155, 228, nil, + nil, nil, nil, 310, 350, 348, 337, 350, 339, 49, + 312, -39, 328, 366, 131, 97, nil, 361, 334, 335, + 321, nil, 79, nil, 54, 29, 164, nil, 355, nil, + 386, nil, 312, nil, nil, nil, 343, nil, nil, 333, + nil, 365, -5, 362, nil, 363, nil, 369, 188, nil, + 388, 385, nil, nil, nil, nil, nil, 353, nil, 339, + 341, nil, nil, nil, nil, nil, nil, nil, nil, 8, + nil, 387, 68, nil, nil, nil, 21, 379, 391, 399, + 87, 352, nil, nil, 88, nil, 96, nil, 387, 405, + 399, nil, 356, 108, nil, 31, 94, 411, nil, nil, + 395, 405, 406, 182, 159, 174, 401, nil, nil, nil, + 412, 266, 421, 422, 413, 414, nil, 172, 216, nil, + 405, 406, nil, nil, 429, 407, 410, 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 ] + -177, -177, -1, -6, -7, -8, -9, -10, -11, -12, + -13, -14, -15, -16, -17, -18, -19, -20, -177, -177, + -177, -177, -177, -177, -177, -177, -177, -177, -177, -177, + -146, -177, -2, -3, -177, -177, -117, -177, -23, -177, + -177, -32, -33, -177, -177, -72, -73, -177, -177, -177, + -177, -80, -81, -82, -177, -177, -177, -177, -177, -177, + 378, -4, -5, -25, -177, -25, -177, -177, -177, -71, + -175, -177, -177, -177, -177, -177, -177, -177, -177, -177, + -125, -126, -127, -128, -177, -177, -177, -177, -21, -177, + -118, -22, -24, -27, -28, -177, -177, -177, -177, -56, + -177, -177, -177, -84, -177, -177, -177, -177, -83, -177, + -177, -129, -177, -177, -177, -177, -177, -136, -99, -177, + -139, -140, -26, -29, -30, -177, -177, -177, -177, -177, + -177, -35, -176, -86, -177, -177, -99, -177, -177, -79, + -121, -177, -177, -123, -99, -99, -132, -133, -177, -177, + -117, -177, -141, -177, -41, -42, -43, -44, -45, -46, + -177, -177, -177, -177, -51, -52, -53, -36, -37, -38, + -119, -177, -177, -177, -117, -177, -177, -130, -131, -147, + -148, -149, -150, -151, -152, -177, -177, -163, -164, -165, + -177, -117, -117, -177, -177, -100, -101, -177, -137, -177, + -31, -177, -177, -177, -177, -34, -177, -47, -40, -39, + -114, -177, -87, -88, -177, -177, -84, -76, -177, -99, + -153, -177, -155, -157, -177, -159, -177, -177, -177, -177, + -177, -169, -171, -173, -122, -124, -134, -135, -177, -93, + -94, -95, -96, -97, -98, -177, -177, -177, -177, -107, + -108, -109, -110, -177, -177, -177, -177, -177, -177, -177, + -117, -177, -120, -177, -177, -177, -92, -177, -86, -99, + -117, -154, -177, -158, -177, -177, -177, -166, -177, -167, + -177, -168, -177, -102, -103, -104, -177, -106, -112, -177, + -111, -138, -177, -177, -57, -177, -58, -48, -177, -59, + -177, -177, -74, -115, -116, -89, -90, -177, -85, -119, + -117, -78, -156, -160, -161, -162, -170, -172, -174, -177, + -113, -177, -177, -144, -54, -55, -177, -177, -177, -177, + -177, -114, -77, -105, -177, -142, -177, -60, -49, -177, + -177, -91, -117, -177, -145, -177, -177, -177, -75, -143, + -50, -177, -177, -177, -177, -177, -64, -61, -66, -67, + -177, -62, -177, -177, -177, -177, -63, -177, -177, -69, + -177, -177, -65, -68, -177, -177, -177, -70 ] 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, + 63, 178, 163, 210, 170, 260, 150, 133, 93, 213, + 94, 225, 297, 12, 147, 11, 195, 69, 322, 110, + 168, 47, 54, 249, 174, 79, 88, 78, 91, 357, + 361, 1, 191, 192, 117, 124, 123, 352, 337, 368, + 266, 366, 155, 129, 222, 73, 17, 16, 212, 15, + 264, 205, 113, 237, 115, 144, 114, 14, 139, 140, + 343, 13, 143, 10, 283, 245, 285, 287, 250, 9, + 8, 7, 177, 146, 167, 6, 151, 291, 262, 5, + 221, 224, 2, 228, 229, 230, nil, nil, 145, nil, + nil, 236, 152, nil, 200, nil, nil, nil, 350, 313, + 121, 305, 120, 138, 284, 206, 286, 270, 208, nil, + nil, nil, 209, nil, 198, nil, nil, nil, nil, nil, + 268, nil, nil, 306, 307, nil, 342, nil, nil, nil, + nil, 312, nil, nil, 314, 315, nil, nil, 217, 309, + nil, nil, 331, nil, nil, nil, nil, 208, nil, nil, + nil, nil, nil, nil, nil, 234, 235, 310, nil, 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, + 327, nil, nil, nil, nil, nil, nil, nil, 333, nil, + nil, nil, nil, nil, nil, nil, nil, nil, nil, 341, + nil, nil, nil, nil, nil, 344, nil, nil, 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, 351, nil, + nil, nil, nil, nil, 302, 356, nil, nil, nil, nil, + nil, nil, nil, nil, 311, nil, nil, nil, nil, 372, 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, 332, 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 ] + nil, nil, nil, nil, nil, nil, 348 ] 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, + 16, 42, 23, 34, 33, 35, 36, 32, 18, 40, + 19, 64, 24, 10, 55, 9, 44, 30, 58, 51, + 21, 31, 31, 43, 36, 52, 17, 50, 17, 27, + 27, 1, 36, 36, 37, 18, 19, 28, 26, 29, + 43, 25, 22, 20, 42, 31, 15, 14, 39, 13, + 41, 21, 30, 42, 52, 51, 50, 12, 37, 37, + 58, 11, 37, 8, 45, 46, 47, 48, 49, 7, + 6, 5, 53, 54, 19, 4, 56, 57, 44, 3, + 62, 63, 2, 65, 66, 67, nil, nil, 30, nil, + nil, 55, 30, nil, 18, nil, nil, nil, 24, 64, + 10, 40, 9, 31, 42, 19, 42, 36, 18, nil, + nil, nil, 19, nil, 16, nil, nil, nil, nil, nil, + 32, nil, nil, 42, 42, nil, 35, nil, nil, nil, + nil, 42, nil, nil, 42, 42, nil, nil, 16, 33, + nil, nil, 34, nil, nil, nil, nil, 18, nil, nil, + nil, nil, nil, nil, nil, 16, 16, 36, nil, 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, + 23, nil, nil, nil, nil, nil, nil, nil, 42, nil, + nil, nil, nil, nil, nil, nil, nil, nil, nil, 42, + nil, nil, nil, nil, nil, 42, nil, nil, 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, 23, nil, + nil, nil, nil, nil, 16, 23, nil, nil, nil, nil, + nil, nil, nil, nil, 16, nil, nil, nil, nil, 23, 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, 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, - 16 ] + 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 ] + nil, 31, 82, 79, 75, 71, 70, 69, 63, 15, + 13, 61, 57, 49, 47, 46, -36, -37, -59, -57, + -57, -111, -84, -128, -247, -320, -288, -325, -310, -324, + -27, -4, -96, -129, -167, -205, -112, -51, nil, -123, + -162, -164, -141, -174, -133, -174, -132, -180, -181, -129, + -28, -59, -30, -69, -43, -102, -43, -177, -274, nil, + nil, nil, -105, -105, -175, -107, -106, -105 ] 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 ] + nil, nil, nil, nil, nil, nil, nil, nil, 169, nil, + nil, nil, nil, nil, nil, 99, 299, nil, nil, nil, + nil, nil, nil, nil, nil, nil, nil, nil, 52, nil, + nil, nil, 323, nil, nil, 196, nil, 180, nil, nil, + nil, nil, nil, 111, nil, nil, nil, nil, nil, 179, + 181, 182, 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, 82, :_reduce_1, + 2, 82, :_reduce_2, + 2, 82, :_reduce_3, + 3, 82, :_reduce_4, + 3, 82, :_reduce_5, + 1, 82, :_reduce_6, + 1, 82, :_reduce_7, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 1, 83, :_reduce_none, + 4, 84, :_reduce_21, + 4, 84, :_reduce_22, + 2, 84, :_reduce_23, + 4, 84, :_reduce_24, + 0, 98, :_reduce_none, + 2, 98, :_reduce_26, + 4, 85, :_reduce_27, + 4, 85, :_reduce_28, + 5, 85, :_reduce_29, + 5, 85, :_reduce_30, + 7, 85, :_reduce_31, + 2, 86, :_reduce_32, + 2, 86, :_reduce_33, + 7, 87, :_reduce_34, + 5, 87, :_reduce_35, + 6, 87, :_reduce_36, + 6, 87, :_reduce_37, + 1, 102, :_reduce_38, + 2, 102, :_reduce_39, + 2, 102, :_reduce_40, + 3, 100, :_reduce_41, + 3, 100, :_reduce_42, + 1, 103, :_reduce_none, + 1, 103, :_reduce_none, + 1, 103, :_reduce_none, + 1, 103, :_reduce_none, + 3, 101, :_reduce_47, + 5, 101, :_reduce_48, + 7, 101, :_reduce_49, + 9, 101, :_reduce_50, + 1, 104, :_reduce_51, + 1, 104, :_reduce_52, + 1, 104, :_reduce_53, + 7, 99, :_reduce_54, + 7, 99, :_reduce_55, + 1, 99, :_reduce_none, + 6, 106, :_reduce_57, + 6, 106, :_reduce_58, + 1, 105, :_reduce_59, + 3, 105, :_reduce_60, + 7, 107, :_reduce_61, + 7, 107, :_reduce_62, + 8, 107, :_reduce_63, + 2, 109, :_reduce_64, + 5, 109, :_reduce_65, + 1, 108, :_reduce_66, + 1, 108, :_reduce_67, + 4, 108, :_reduce_68, + 1, 110, :_reduce_69, + 3, 110, :_reduce_70, + 3, 88, :_reduce_71, + 2, 89, :_reduce_72, + 2, 89, :_reduce_73, + 9, 90, :_reduce_74, + 12, 90, :_reduce_75, + 7, 91, :_reduce_76, + 10, 91, :_reduce_77, + 9, 91, :_reduce_78, + 5, 92, :_reduce_79, + 1, 112, :_reduce_80, + 1, 112, :_reduce_81, + 1, 119, :_reduce_82, + 3, 119, :_reduce_83, + 0, 113, :_reduce_none, + 5, 113, :_reduce_85, + 0, 114, :_reduce_none, + 2, 114, :_reduce_87, + 1, 120, :_reduce_88, + 3, 120, :_reduce_89, + 3, 121, :_reduce_90, + 5, 121, :_reduce_91, + 1, 122, :_reduce_none, + 1, 124, :_reduce_93, + 1, 124, :_reduce_94, + 1, 124, :_reduce_95, + 1, 124, :_reduce_96, + 1, 124, :_reduce_97, + 1, 124, :_reduce_none, + 0, 117, :_reduce_none, + 2, 117, :_reduce_100, + 1, 125, :_reduce_101, + 3, 125, :_reduce_102, + 3, 126, :_reduce_103, + 3, 126, :_reduce_104, + 5, 126, :_reduce_105, + 3, 126, :_reduce_106, + 1, 127, :_reduce_none, + 1, 127, :_reduce_none, + 1, 127, :_reduce_109, 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, + 2, 130, :_reduce_111, + 1, 129, :_reduce_112, + 2, 129, :_reduce_113, + 0, 116, :_reduce_none, + 2, 116, :_reduce_115, + 2, 116, :_reduce_116, + 0, 97, :_reduce_none, + 2, 97, :_reduce_118, + 0, 115, :_reduce_none, + 2, 115, :_reduce_120, + 5, 93, :_reduce_121, + 7, 93, :_reduce_122, + 5, 93, :_reduce_123, + 7, 93, :_reduce_124, + 1, 131, :_reduce_125, + 1, 131, :_reduce_126, + 1, 133, :_reduce_127, + 1, 133, :_reduce_128, + 1, 132, :_reduce_129, + 3, 132, :_reduce_130, + 3, 134, :_reduce_131, + 2, 118, :_reduce_132, + 1, 135, :_reduce_133, + 3, 135, :_reduce_134, + 3, 136, :_reduce_135, + 4, 94, :_reduce_136, + 6, 94, :_reduce_137, + 8, 95, :_reduce_138, + 4, 95, :_reduce_139, + 4, 95, :_reduce_140, 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 ] + 3, 138, :_reduce_142, + 5, 138, :_reduce_143, + 1, 139, :_reduce_144, + 3, 139, :_reduce_145, + 1, 96, :_reduce_146, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 2, 141, :_reduce_none, + 3, 141, :_reduce_154, + 1, 143, :_reduce_155, + 3, 143, :_reduce_156, + 2, 142, :_reduce_157, + 3, 142, :_reduce_158, + 1, 144, :_reduce_none, + 3, 144, :_reduce_160, + 3, 145, :_reduce_161, + 3, 145, :_reduce_162, + 1, 140, :_reduce_none, + 1, 140, :_reduce_none, + 1, 140, :_reduce_none, + 3, 128, :_reduce_166, + 3, 128, :_reduce_167, + 3, 128, :_reduce_168, + 1, 146, :_reduce_169, + 3, 146, :_reduce_170, + 1, 147, :_reduce_171, + 3, 147, :_reduce_172, + 1, 148, :_reduce_173, + 3, 148, :_reduce_174, + 1, 111, :_reduce_175, + 3, 111, :_reduce_176 ] -racc_reduce_n = 164 +racc_reduce_n = 177 -racc_shift_n = 362 +racc_shift_n = 378 racc_token_table = { false => 0, :error => 1, :RUBY_SCRIPT => 2, @@ -636,67 +661,71 @@ :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 } + :STREAM => 22, + :EQ => 23, + :BOOL => 24, + :NEW_IMAGE => 25, + :OLD_IMAGE => 26, + :NEW_AND_OLD_IMAGES => 27, + :KEYS_ONLY => 28, + :HASH => 29, + "," => 30, + :RANGE => 31, + :NUMBER => 32, + :BINARY => 33, + :READ => 34, + :NUMBER_VALUE => 35, + :WRITE => 36, + :GLOBAL => 37, + :ALL => 38, + :INCLUDE => 39, + :DROP => 40, + :DESCRIBE => 41, + :DESC => 42, + :SELECT => 43, + :FROM => 44, + :COUNT => 45, + "*" => 46, + "/" => 47, + :GET => 48, + :WHERE => 49, + :AND => 50, + :BETWEEN => 51, + :LE => 52, + :LT => 53, + :GE => 54, + :BEGINS_WITH => 55, + :IN => 56, + :IS => 57, + :NE => 58, + :CONTAINS => 59, + :NOT => 60, + :NULL => 61, + :ORDER => 62, + :ASC => 63, + :LIMIT => 64, + :HAVING => 65, + :UPDATE => 66, + :SET => 67, + :ADD => 68, + :DELETE => 69, + :DEL => 70, + :INSERT => 71, + :INTO => 72, + :VALUES => 73, + :NEXT => 74, + "[" => 75, + "]" => 76, + "{" => 77, + "}" => 78, + ":" => 79, + :BINARY_VALUE => 80 } -racc_nt_base = 77 +racc_nt_base = 81 racc_use_result_var = false Racc_arg = [ racc_action_table, @@ -735,22 +764,27 @@ "INDEX", "USE", "STRING", "\"(\"", "\")\"", + "STREAM", + "EQ", + "BOOL", + "NEW_IMAGE", + "OLD_IMAGE", + "NEW_AND_OLD_IMAGES", + "KEYS_ONLY", "HASH", "\",\"", "RANGE", "NUMBER", "BINARY", "READ", - "EQ", "NUMBER_VALUE", "WRITE", "GLOBAL", "ALL", - "KEYS_ONLY", "INCLUDE", "DROP", "DESCRIBE", "DESC", "SELECT", @@ -783,11 +817,10 @@ "DEL", "INSERT", "INTO", "VALUES", "NEXT", - "BOOL", "\"[\"", "\"]\"", "\"{\"", "\"}\"", "\":\"", @@ -809,11 +842,14 @@ "insert_stmt", "next_stmt", "limit_clause", "like_clause", "capacity_clause", + "stream_clause", "create_definition", + "capacity_stream_clause", + "stream_view_type", "attr_type_list", "index_definition_list", "strict_capacity_clause", "index_definition", "index_type_definition", @@ -976,848 +1012,919 @@ end .,., module_eval(<<'.,.,', 'ddb-parser.y', 71) def _reduce_27(val, _values) - struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => val[3]) + struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => val[3], :stream => nil) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 76) +module_eval(<<'.,.,', 'ddb-parser.y', 75) def _reduce_28(val, _values) - struct(:ALTER_TABLE, :table => val[2], :index_name => val[5], :capacity => val[6]) + struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => nil, :stream => val[3]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 81) +module_eval(<<'.,.,', 'ddb-parser.y', 79) def _reduce_29(val, _values) + struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => val[3], :stream => val[4]) + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 83) + def _reduce_30(val, _values) + struct(:ALTER_TABLE, :table => val[2], :index_name => nil, :capacity => val[4], :stream => val[3]) + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 87) + def _reduce_31(val, _values) + struct(:ALTER_TABLE, :table => val[2], :index_name => val[5], :capacity => val[6]) + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 92) + def _reduce_32(val, _values) struct(:USE, :endpoint_or_region => val[1]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 86) - def _reduce_30(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 97) + def _reduce_33(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])) +module_eval(<<'.,.,', 'ddb-parser.y', 102) + def _reduce_34(val, _values) + struct(:CREATE, val[4].merge(:table => val[2], :capacity => val[6][:capacity], :stream => val[6][:stream])) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 95) - def _reduce_32(val, _values) - struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil) +module_eval(<<'.,.,', 'ddb-parser.y', 106) + def _reduce_35(val, _values) + struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil, :stream => 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]) +module_eval(<<'.,.,', 'ddb-parser.y', 110) + def _reduce_36(val, _values) + struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil, :stream => val[5]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 104) - def _reduce_34(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 114) + def _reduce_37(val, _values) + struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => val[5][:capacity], :stream => val[5][:stream]) + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 119) + def _reduce_38(val, _values) + {:capacity => val[0], :stream => nil} + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 123) + def _reduce_39(val, _values) + {:capacity => val[0], :stream => val[1]} + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 127) + def _reduce_40(val, _values) + {:capacity => val[1], :stream => val[0]} + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 132) + def _reduce_41(val, _values) + val[2] + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 136) + def _reduce_42(val, _values) + val[2] + + end +.,., + +# reduce 43 omitted + +# reduce 44 omitted + +# reduce 45 omitted + +# reduce 46 omitted + +module_eval(<<'.,.,', 'ddb-parser.y', 146) + def _reduce_47(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) +module_eval(<<'.,.,', 'ddb-parser.y', 150) + def _reduce_48(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) +module_eval(<<'.,.,', 'ddb-parser.y', 154) + def _reduce_49(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) +module_eval(<<'.,.,', 'ddb-parser.y', 158) + def _reduce_50(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) +module_eval(<<'.,.,', 'ddb-parser.y', 163) + def _reduce_51(val, _values) 'S' end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 125) - def _reduce_39(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 167) + def _reduce_52(val, _values) 'N' end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 129) - def _reduce_40(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 171) + def _reduce_53(val, _values) 'B' end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 134) - def _reduce_41(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 176) + def _reduce_54(val, _values) {:read => val[2], :write => val[6]} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 138) - def _reduce_42(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 180) + def _reduce_55(val, _values) {:read => val[6], :write => val[2]} end .,., -# reduce 43 omitted +# reduce 56 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 144) - def _reduce_44(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 186) + def _reduce_57(val, _values) {:read => val[2], :write => val[5]} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 148) - def _reduce_45(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 190) + def _reduce_58(val, _values) {:read => val[5], :write => val[2]} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 153) - def _reduce_46(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 195) + def _reduce_59(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 157) - def _reduce_47(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 199) + def _reduce_60(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 162) - def _reduce_48(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 204) + def _reduce_61(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) +module_eval(<<'.,.,', 'ddb-parser.y', 208) + def _reduce_62(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) +module_eval(<<'.,.,', 'ddb-parser.y', 212) + def _reduce_63(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) +module_eval(<<'.,.,', 'ddb-parser.y', 217) + def _reduce_64(val, _values) {:hash => {:key => val[0], :type => val[1]}} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 179) - def _reduce_52(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 221) + def _reduce_65(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) +module_eval(<<'.,.,', 'ddb-parser.y', 229) + def _reduce_66(val, _values) {:type => 'ALL'} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 191) - def _reduce_54(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 233) + def _reduce_67(val, _values) {:type => 'KEYS_ONLY'} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 195) - def _reduce_55(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 237) + def _reduce_68(val, _values) {:type => 'INCLUDE', :attrs => val[2]} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 200) - def _reduce_56(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 242) + def _reduce_69(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 204) - def _reduce_57(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 246) + def _reduce_70(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 209) - def _reduce_58(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 251) + def _reduce_71(val, _values) struct(:DROP, :tables => val[2]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 214) - def _reduce_59(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 256) + def _reduce_72(val, _values) struct(:DESCRIBE, :table => val[1]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 218) - def _reduce_60(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 260) + def _reduce_73(val, _values) struct(:DESCRIBE, :table => val[1]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 223) - def _reduce_61(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 265) + def _reduce_74(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) +module_eval(<<'.,.,', 'ddb-parser.y', 269) + def _reduce_75(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) +module_eval(<<'.,.,', 'ddb-parser.y', 274) + def _reduce_76(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) +module_eval(<<'.,.,', 'ddb-parser.y', 278) + def _reduce_77(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) +module_eval(<<'.,.,', 'ddb-parser.y', 282) + def _reduce_78(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) +module_eval(<<'.,.,', 'ddb-parser.y', 287) + def _reduce_79(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) +module_eval(<<'.,.,', 'ddb-parser.y', 292) + def _reduce_80(val, _values) [] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 254) - def _reduce_68(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 296) + def _reduce_81(val, _values) val[0] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 259) - def _reduce_69(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 301) + def _reduce_82(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 263) - def _reduce_70(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 305) + def _reduce_83(val, _values) val[0] + [val[2]] end .,., -# reduce 71 omitted +# reduce 84 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 269) - def _reduce_72(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 311) + def _reduce_85(val, _values) val[3] end .,., -# reduce 73 omitted +# reduce 86 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 275) - def _reduce_74(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 317) + def _reduce_87(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 280) - def _reduce_75(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 322) + def _reduce_88(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 284) - def _reduce_76(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 326) + def _reduce_89(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 289) - def _reduce_77(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 331) + def _reduce_90(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) +module_eval(<<'.,.,', 'ddb-parser.y', 335) + def _reduce_91(val, _values) [val[0], val[1].to_s.upcase.to_sym, [val[2], val[4]]] end .,., -# reduce 79 omitted +# reduce 92 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 300) - def _reduce_80(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 342) + def _reduce_93(val, _values) :EQ end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 304) - def _reduce_81(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 346) + def _reduce_94(val, _values) :LE end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 308) - def _reduce_82(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 350) + def _reduce_95(val, _values) :LT end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 312) - def _reduce_83(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 354) + def _reduce_96(val, _values) :GE end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 316) - def _reduce_84(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 358) + def _reduce_97(val, _values) :GT end .,., -# reduce 85 omitted +# reduce 98 omitted -# reduce 86 omitted +# reduce 99 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 323) - def _reduce_87(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 365) + def _reduce_100(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 328) - def _reduce_88(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 370) + def _reduce_101(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 332) - def _reduce_89(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 374) + def _reduce_102(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 337) - def _reduce_90(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 379) + def _reduce_103(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) +module_eval(<<'.,.,', 'ddb-parser.y', 383) + def _reduce_104(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) +module_eval(<<'.,.,', 'ddb-parser.y', 387) + def _reduce_105(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) +module_eval(<<'.,.,', 'ddb-parser.y', 391) + def _reduce_106(val, _values) [val[0], val[2].to_s.upcase.to_sym, []] end .,., -# reduce 94 omitted +# reduce 107 omitted -# reduce 95 omitted +# reduce 108 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 355) - def _reduce_96(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 397) + def _reduce_109(val, _values) :NE end .,., -# reduce 97 omitted +# reduce 110 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 361) - def _reduce_98(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 403) + def _reduce_111(val, _values) :NOT_CONTAINS end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 365) - def _reduce_99(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 407) + def _reduce_112(val, _values) :NULL end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 369) - def _reduce_100(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 411) + def _reduce_113(val, _values) :NOT_NULL end .,., -# reduce 101 omitted +# reduce 114 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 375) - def _reduce_102(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 417) + def _reduce_115(val, _values) true end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 379) - def _reduce_103(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 421) + def _reduce_116(val, _values) false end .,., -# reduce 104 omitted +# reduce 117 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 385) - def _reduce_105(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 427) + def _reduce_118(val, _values) val[1] end .,., -# reduce 106 omitted +# reduce 119 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 391) - def _reduce_107(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 433) + def _reduce_120(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 396) - def _reduce_108(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 438) + def _reduce_121(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) +module_eval(<<'.,.,', 'ddb-parser.y', 442) + def _reduce_122(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) +module_eval(<<'.,.,', 'ddb-parser.y', 446) + def _reduce_123(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) +module_eval(<<'.,.,', 'ddb-parser.y', 452) + def _reduce_124(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) +module_eval(<<'.,.,', 'ddb-parser.y', 459) + def _reduce_125(val, _values) :PUT end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 421) - def _reduce_113(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 463) + def _reduce_126(val, _values) :ADD end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 426) - def _reduce_114(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 468) + def _reduce_127(val, _values) :DELETE end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 430) - def _reduce_115(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 472) + def _reduce_128(val, _values) :DELETE end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 435) - def _reduce_116(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 477) + def _reduce_129(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 439) - def _reduce_117(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 481) + def _reduce_130(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 444) - def _reduce_118(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 486) + def _reduce_131(val, _values) [val[0], val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 449) - def _reduce_119(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 491) + def _reduce_132(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 454) - def _reduce_120(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 496) + def _reduce_133(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 458) - def _reduce_121(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 500) + def _reduce_134(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 463) - def _reduce_122(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 505) + def _reduce_135(val, _values) [val[0], val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 468) - def _reduce_123(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 510) + def _reduce_136(val, _values) struct(:DELETE, :table => val[2], :conds => val[3]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 472) - def _reduce_124(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 514) + def _reduce_137(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) +module_eval(<<'.,.,', 'ddb-parser.y', 519) + def _reduce_138(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) +module_eval(<<'.,.,', 'ddb-parser.y', 523) + def _reduce_139(val, _values) struct(:INSERT_SELECT, :table => val[2], :select => val[3]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 485) - def _reduce_127(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 527) + def _reduce_140(val, _values) struct(:INSERT_SCAN, :table => val[2], :select => val[3]) end .,., -# reduce 128 omitted +# reduce 141 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 492) - def _reduce_129(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 534) + def _reduce_142(val, _values) [val[1]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 496) - def _reduce_130(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 538) + def _reduce_143(val, _values) val[0] + [val[3]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 501) - def _reduce_131(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 543) + def _reduce_144(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 505) - def _reduce_132(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 547) + def _reduce_145(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 510) - def _reduce_133(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 552) + def _reduce_146(val, _values) struct(:NEXT) end .,., -# reduce 134 omitted +# reduce 147 omitted -# reduce 135 omitted +# reduce 148 omitted -# reduce 136 omitted +# reduce 149 omitted -# reduce 137 omitted +# reduce 150 omitted -# reduce 138 omitted +# reduce 151 omitted -# reduce 139 omitted +# reduce 152 omitted -# reduce 140 omitted +# reduce 153 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 523) - def _reduce_141(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 565) + def _reduce_154(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 528) - def _reduce_142(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 570) + def _reduce_155(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 532) - def _reduce_143(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 574) + def _reduce_156(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 537) - def _reduce_144(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 579) + def _reduce_157(val, _values) {} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 541) - def _reduce_145(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 583) + def _reduce_158(val, _values) val[1] end .,., -# reduce 146 omitted +# reduce 159 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 547) - def _reduce_147(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 589) + def _reduce_160(val, _values) val[0].merge(val[2]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 552) - def _reduce_148(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 594) + def _reduce_161(val, _values) {val[0] => val[2]} end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 556) - def _reduce_149(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 598) + def _reduce_162(val, _values) {val[0] => val[2]} end .,., -# reduce 150 omitted +# reduce 163 omitted -# reduce 151 omitted +# reduce 164 omitted -# reduce 152 omitted +# reduce 165 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 565) - def _reduce_153(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 607) + def _reduce_166(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 569) - def _reduce_154(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 611) + def _reduce_167(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 573) - def _reduce_155(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 615) + def _reduce_168(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 578) - def _reduce_156(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 620) + def _reduce_169(val, _values) Set[val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 582) - def _reduce_157(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 624) + def _reduce_170(val, _values) val[0] + Set[val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 587) - def _reduce_158(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 629) + def _reduce_171(val, _values) Set[val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 591) - def _reduce_159(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 633) + def _reduce_172(val, _values) val[0] + Set[val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 596) - def _reduce_160(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 638) + def _reduce_173(val, _values) Set[val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 600) - def _reduce_161(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 642) + def _reduce_174(val, _values) val[0] + Set[val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 605) - def _reduce_162(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 647) + def _reduce_175(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 609) - def _reduce_163(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 651) + def _reduce_176(val, _values) val[0] + [val[2]] end .,.,