# line 1 "./tasks/../ragel/i18n/es.rb.rl" module Gherkin module RbLexer class Es #:nodoc: # line 134 "./tasks/../ragel/i18n/es.rb.rl" def initialize(listener) @listener = listener # line 14 "lib/gherkin/rb_lexer/es.rb" class << self attr_accessor :_lexer_actions private :_lexer_actions, :_lexer_actions= end self._lexer_actions = [ 0, 1, 0, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 9, 1, 10, 1, 11, 1, 14, 1, 15, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 23, 2, 2, 16, 2, 12, 13, 2, 15, 0, 2, 15, 1, 2, 15, 14, 2, 15, 17, 2, 16, 4, 2, 16, 5, 2, 16, 6, 2, 16, 7, 2, 16, 8, 2, 16, 14, 2, 19, 20, 2, 21, 18, 2, 21, 22, 3, 3, 12, 13, 3, 9, 12, 13, 3, 10, 12, 13, 3, 11, 12, 13, 3, 12, 13, 16, 3, 15, 12, 13, 3, 21, 22, 0, 3, 21, 22, 1, 3, 21, 22, 14, 4, 2, 12, 13, 16, 4, 15, 0, 12, 13 ] class << self attr_accessor :_lexer_key_offsets private :_lexer_key_offsets, :_lexer_key_offsets= end self._lexer_key_offsets = [ 0, 0, 16, 17, 18, 22, 27, 32, 37, 42, 46, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 75, 82, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 160, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 187, 189, 191, 193, 195, 197, 199, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 233, 235, 237, 239, 241, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 281, 282, 283, 284, 285, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 302, 303, 304, 305, 306, 307, 308, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 332, 334, 336, 338, 340, 342, 344, 346, 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, 368, 370, 372, 374, 377, 379, 381, 383, 385, 387, 389, 392, 394, 396, 398, 400, 402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430, 432, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 468, 470, 472, 474, 476, 478, 480, 482, 484, 486, 488, 490, 492, 494, 496, 498, 500, 502, 504, 506, 508, 510, 513, 515, 517, 519, 521, 523, 525, 527, 529, 531, 533, 535, 537, 539, 541, 543, 545, 546, 547, 551, 556, 557, 562, 578, 580, 582, 584, 586, 588, 590, 593, 595, 597, 599, 601, 603, 605, 608, 610, 612, 614, 616, 618, 620, 622, 624, 626, 628, 630, 632, 634, 636, 638, 640, 642, 644, 646, 648, 650 ] class << self attr_accessor :_lexer_trans_keys private :_lexer_trans_keys, :_lexer_trans_keys= end self._lexer_trans_keys = [ 10, 32, 34, 35, 37, 42, 64, 65, 67, 68, 69, 80, 89, 124, 9, 13, 34, 34, 10, 32, 9, 13, 10, 32, 34, 9, 13, 10, 32, 34, 9, 13, 10, 32, 34, 9, 13, 10, 32, 34, 9, 13, 10, 32, 9, 13, 10, 32, 9, 13, 10, 13, 95, 70, 69, 65, 84, 85, 82, 69, 95, 69, 78, 68, 95, 37, 32, 10, 10, 13, 13, 32, 64, 9, 10, 9, 10, 13, 32, 64, 11, 12, 10, 32, 64, 9, 13, 110, 116, 101, 99, 101, 100, 101, 110, 116, 101, 115, 58, 10, 10, 10, 32, 35, 37, 42, 64, 67, 68, 69, 80, 89, 9, 13, 10, 95, 10, 70, 10, 69, 10, 65, 10, 84, 10, 85, 10, 82, 10, 69, 10, 95, 10, 69, 10, 78, 10, 68, 10, 95, 10, 37, 10, 32, 10, 32, 34, 35, 37, 42, 64, 65, 67, 68, 69, 80, 89, 124, 9, 13, 97, 117, 114, 97, 99, 116, 101, 114, -61, -83, 115, 116, 105, 99, 97, 58, 10, 10, 10, 32, 35, 37, 64, 65, 69, 9, 13, 10, 95, 10, 70, 10, 69, 10, 65, 10, 84, 10, 85, 10, 82, 10, 69, 10, 95, 10, 69, 10, 78, 10, 68, 10, 95, 10, 37, 10, 110, 10, 116, 10, 101, 10, 99, 10, 101, 10, 100, 10, 101, 10, 110, 10, 116, 10, 101, 10, 115, 10, 58, 10, 115, 10, 99, 113, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 117, 10, 101, 10, 109, 10, 97, 10, 32, 10, 100, 10, 101, 10, 108, 10, 32, 10, 101, 10, 115, 10, 99, 97, 110, 100, 111, 97, 106, 110, 115, 101, 109, 112, 108, 111, 115, 58, 10, 10, 10, 32, 124, 9, 13, 116, 111, 110, 99, 101, 115, 99, 113, 101, 110, 97, 114, 105, 111, 58, 10, 10, 10, 32, 35, 37, 42, 64, 67, 68, 69, 80, 89, 9, 13, 10, 95, 10, 70, 10, 69, 10, 65, 10, 84, 10, 85, 10, 82, 10, 69, 10, 95, 10, 69, 10, 78, 10, 68, 10, 95, 10, 37, 10, 32, 10, 117, 10, 97, 10, 110, 10, 100, 10, 111, 10, 97, 10, 110, 115, 10, 116, 10, 111, 10, 110, 10, 99, 10, 101, 10, 115, 10, 99, 113, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 10, 117, 10, 101, 10, 109, 10, 97, 10, 32, 10, 100, 10, 101, 10, 108, 10, 32, 10, 101, 10, 115, 10, 99, 10, 101, 10, 114, 117, 101, 109, 97, 32, 100, 101, 108, 32, 101, 115, 99, 101, 110, 97, 114, 105, 111, 58, 10, 10, 10, 32, 35, 37, 42, 64, 67, 68, 69, 80, 89, 9, 13, 10, 95, 10, 70, 10, 69, 10, 65, 10, 84, 10, 85, 10, 82, 10, 69, 10, 95, 10, 69, 10, 78, 10, 68, 10, 95, 10, 37, 10, 32, 10, 117, 10, 97, 10, 110, 10, 100, 10, 111, 10, 97, 10, 110, 115, 10, 116, 10, 111, 10, 110, 10, 99, 10, 101, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 10, 101, 10, 114, 101, 114, 32, 124, 9, 13, 10, 32, 124, 9, 13, 124, 10, 32, 124, 9, 13, 10, 32, 34, 35, 37, 42, 64, 65, 67, 68, 69, 80, 89, 124, 9, 13, 10, 117, 10, 97, 10, 110, 10, 100, 10, 111, 10, 97, 10, 110, 115, 10, 116, 10, 111, 10, 110, 10, 99, 10, 101, 10, 115, 10, 99, 113, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 10, 117, 10, 101, 10, 109, 10, 97, 10, 32, 10, 100, 10, 101, 10, 108, 10, 32, 10, 101, 10, 115, 10, 99, 10, 101, 10, 114, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 14, 1, 1, 2, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 5, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 14, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 3, 1, 3, 14, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0 ] class << self attr_accessor :_lexer_range_lengths private :_lexer_range_lengths, :_lexer_range_lengths= end self._lexer_range_lengths = [ 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 16, 18, 20, 24, 29, 34, 39, 44, 48, 52, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90, 95, 102, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135, 148, 151, 154, 157, 160, 163, 166, 169, 172, 175, 178, 181, 184, 187, 190, 193, 209, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 253, 256, 259, 262, 265, 268, 271, 274, 277, 280, 283, 286, 289, 292, 295, 298, 301, 304, 307, 310, 313, 316, 319, 322, 325, 328, 331, 334, 338, 341, 344, 347, 350, 353, 356, 359, 362, 365, 368, 371, 374, 377, 380, 383, 386, 389, 392, 394, 396, 398, 400, 402, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 429, 431, 433, 435, 437, 439, 441, 444, 446, 448, 450, 452, 454, 456, 458, 460, 462, 475, 478, 481, 484, 487, 490, 493, 496, 499, 502, 505, 508, 511, 514, 517, 520, 523, 526, 529, 532, 535, 538, 542, 545, 548, 551, 554, 557, 560, 564, 567, 570, 573, 576, 579, 582, 585, 588, 591, 594, 597, 600, 603, 606, 609, 612, 615, 618, 621, 624, 627, 629, 631, 633, 635, 637, 639, 641, 643, 645, 647, 649, 651, 653, 655, 657, 659, 661, 663, 665, 667, 669, 682, 685, 688, 691, 694, 697, 700, 703, 706, 709, 712, 715, 718, 721, 724, 727, 730, 733, 736, 739, 742, 745, 749, 752, 755, 758, 761, 764, 767, 770, 773, 776, 779, 782, 785, 788, 791, 794, 797, 799, 801, 805, 810, 812, 817, 833, 836, 839, 842, 845, 848, 851, 855, 858, 861, 864, 867, 870, 873, 877, 880, 883, 886, 889, 892, 895, 898, 901, 904, 907, 910, 913, 916, 919, 922, 925, 928, 931, 934, 937, 940 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 1, 1, 2, 11, 12, 26, 29, 32, 63, 131, 132, 270, 26, 272, 1, 0, 3, 0, 4, 0, 5, 4, 4, 0, 6, 6, 7, 6, 6, 6, 6, 7, 6, 6, 6, 6, 8, 6, 6, 6, 6, 9, 6, 6, 1, 10, 10, 0, 1, 10, 10, 0, 1, 11, 11, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 312, 0, 27, 0, 0, 28, 1, 28, 28, 0, 0, 0, 0, 30, 31, 1, 31, 31, 29, 30, 30, 1, 31, 29, 31, 0, 33, 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 44, 0, 46, 45, 46, 45, 46, 46, 1, 47, 61, 1, 277, 282, 283, 310, 61, 46, 45, 46, 48, 45, 46, 49, 45, 46, 50, 45, 46, 51, 45, 46, 52, 45, 46, 53, 45, 46, 54, 45, 46, 55, 45, 46, 56, 45, 46, 57, 45, 46, 58, 45, 46, 59, 45, 46, 60, 45, 46, 1, 45, 46, 62, 45, 1, 1, 2, 11, 12, 26, 29, 32, 63, 131, 132, 270, 26, 272, 1, 0, 64, 127, 0, 65, 0, 66, 0, 67, 0, 68, 0, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 80, 79, 80, 79, 80, 80, 1, 81, 1, 95, 107, 80, 79, 80, 82, 79, 80, 83, 79, 80, 84, 79, 80, 85, 79, 80, 86, 79, 80, 87, 79, 80, 88, 79, 80, 89, 79, 80, 90, 79, 80, 91, 79, 80, 92, 79, 80, 93, 79, 80, 94, 79, 80, 1, 79, 80, 96, 79, 80, 97, 79, 80, 98, 79, 80, 99, 79, 80, 100, 79, 80, 101, 79, 80, 102, 79, 80, 103, 79, 80, 104, 79, 80, 105, 79, 80, 106, 79, 80, 62, 79, 80, 108, 79, 80, 109, 115, 79, 80, 110, 79, 80, 111, 79, 80, 112, 79, 80, 113, 79, 80, 114, 79, 80, 106, 79, 80, 116, 79, 80, 117, 79, 80, 118, 79, 80, 119, 79, 80, 120, 79, 80, 121, 79, 80, 122, 79, 80, 123, 79, 80, 124, 79, 80, 125, 79, 80, 126, 79, 80, 109, 79, 128, 0, 129, 0, 130, 0, 26, 0, 129, 0, 133, 143, 149, 0, 134, 0, 135, 0, 136, 0, 137, 0, 138, 0, 139, 0, 140, 0, 142, 141, 142, 141, 142, 142, 1, 142, 141, 144, 0, 145, 0, 146, 0, 147, 0, 148, 0, 26, 0, 150, 210, 0, 151, 0, 152, 0, 153, 0, 154, 0, 155, 0, 156, 0, 157, 0, 159, 158, 159, 158, 159, 159, 1, 160, 174, 1, 175, 180, 181, 208, 174, 159, 158, 159, 161, 158, 159, 162, 158, 159, 163, 158, 159, 164, 158, 159, 165, 158, 159, 166, 158, 159, 167, 158, 159, 168, 158, 159, 169, 158, 159, 170, 158, 159, 171, 158, 159, 172, 158, 159, 173, 158, 159, 1, 158, 159, 62, 158, 159, 176, 158, 159, 177, 158, 159, 178, 158, 159, 179, 158, 159, 174, 158, 159, 178, 158, 159, 182, 188, 158, 159, 183, 158, 159, 184, 158, 159, 185, 158, 159, 186, 158, 159, 187, 158, 159, 174, 158, 159, 189, 196, 158, 159, 190, 158, 159, 191, 158, 159, 192, 158, 159, 193, 158, 159, 194, 158, 159, 195, 158, 159, 62, 158, 159, 197, 158, 159, 198, 158, 159, 199, 158, 159, 200, 158, 159, 201, 158, 159, 202, 158, 159, 203, 158, 159, 204, 158, 159, 205, 158, 159, 206, 158, 159, 207, 158, 159, 189, 158, 159, 209, 158, 159, 179, 158, 211, 0, 212, 0, 213, 0, 214, 0, 215, 0, 216, 0, 217, 0, 218, 0, 219, 0, 220, 0, 221, 0, 222, 0, 223, 0, 224, 0, 225, 0, 226, 0, 227, 0, 228, 0, 229, 0, 231, 230, 231, 230, 231, 231, 1, 232, 246, 1, 247, 252, 253, 268, 246, 231, 230, 231, 233, 230, 231, 234, 230, 231, 235, 230, 231, 236, 230, 231, 237, 230, 231, 238, 230, 231, 239, 230, 231, 240, 230, 231, 241, 230, 231, 242, 230, 231, 243, 230, 231, 244, 230, 231, 245, 230, 231, 1, 230, 231, 62, 230, 231, 248, 230, 231, 249, 230, 231, 250, 230, 231, 251, 230, 231, 246, 230, 231, 250, 230, 231, 254, 260, 230, 231, 255, 230, 231, 256, 230, 231, 257, 230, 231, 258, 230, 231, 259, 230, 231, 246, 230, 231, 261, 230, 231, 262, 230, 231, 263, 230, 231, 264, 230, 231, 265, 230, 231, 266, 230, 231, 267, 230, 231, 62, 230, 231, 269, 230, 231, 251, 230, 271, 0, 130, 0, 272, 273, 272, 0, 276, 275, 273, 275, 274, 273, 274, 276, 275, 273, 275, 274, 276, 276, 2, 11, 12, 26, 29, 32, 63, 131, 132, 270, 26, 273, 276, 0, 46, 278, 45, 46, 279, 45, 46, 280, 45, 46, 281, 45, 46, 61, 45, 46, 280, 45, 46, 284, 290, 45, 46, 285, 45, 46, 286, 45, 46, 287, 45, 46, 288, 45, 46, 289, 45, 46, 61, 45, 46, 291, 298, 45, 46, 292, 45, 46, 293, 45, 46, 294, 45, 46, 295, 45, 46, 296, 45, 46, 297, 45, 46, 62, 45, 46, 299, 45, 46, 300, 45, 46, 301, 45, 46, 302, 45, 46, 303, 45, 46, 304, 45, 46, 305, 45, 46, 306, 45, 46, 307, 45, 46, 308, 45, 46, 309, 45, 46, 291, 45, 46, 311, 45, 46, 281, 45, 0, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 42, 0, 3, 1, 0, 23, 0, 23, 23, 23, 23, 23, 23, 29, 0, 37, 0, 37, 0, 37, 42, 0, 0, 37, 120, 39, 39, 39, 5, 100, 27, 27, 27, 0, 100, 27, 27, 27, 0, 100, 27, 0, 27, 0, 84, 7, 7, 37, 42, 0, 0, 37, 92, 19, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 37, 45, 88, 17, 0, 37, 37, 37, 37, 1, 21, 96, 21, 21, 21, 21, 0, 42, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 60, 27, 72, 60, 72, 72, 72, 72, 72, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 11, 0, 42, 11, 0, 104, 25, 48, 45, 25, 51, 25, 51, 51, 51, 51, 51, 51, 54, 25, 37, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 57, 27, 57, 72, 72, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 9, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 9, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 69, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 63, 27, 72, 63, 72, 72, 72, 72, 72, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 13, 0, 42, 13, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 13, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 66, 27, 72, 66, 72, 72, 72, 72, 72, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 15, 0, 42, 15, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 15, 0, 42, 0, 0, 42, 0, 0, 0, 37, 0, 37, 0, 31, 0, 37, 42, 33, 75, 33, 33, 35, 0, 42, 0, 35, 0, 0, 42, 0, 112, 108, 81, 116, 81, 116, 116, 116, 116, 116, 116, 78, 0, 37, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 11, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 0 ] class << self attr_accessor :_lexer_eof_actions private :_lexer_eof_actions, :_lexer_eof_actions= end self._lexer_eof_actions = [ 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 312; class << self attr_accessor :lexer_error end self.lexer_error = 0; class << self attr_accessor :lexer_en_main end self.lexer_en_main = 1; # line 139 "./tasks/../ragel/i18n/es.rb.rl" end def scan(data) data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably eof = pe = data.length @line_number = 1 @last_newline = 0 # line 643 "lib/gherkin/rb_lexer/es.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 149 "./tasks/../ragel/i18n/es.rb.rl" # line 652 "lib/gherkin/rb_lexer/es.rb" begin _klen, _trans, _keys, _acts, _nacts = nil _goto_level = 0 _resume = 10 _eof_trans = 15 _again = 20 _test_eof = 30 _out = 40 while true _trigger_goto = false if _goto_level <= 0 if p == pe _goto_level = _test_eof next end if cs == 0 _goto_level = _out next end end if _goto_level <= _resume _keys = _lexer_key_offsets[cs] _trans = _lexer_index_offsets[cs] _klen = _lexer_single_lengths[cs] _break_match = false begin if _klen > 0 _lower = _keys _upper = _keys + _klen - 1 loop do break if _upper < _lower _mid = _lower + ( (_upper - _lower) >> 1 ) if data[p] < _lexer_trans_keys[_mid] _upper = _mid - 1 elsif data[p] > _lexer_trans_keys[_mid] _lower = _mid + 1 else _trans += (_mid - _keys) _break_match = true break end end # loop break if _break_match _keys += _klen _trans += _klen end _klen = _lexer_range_lengths[cs] if _klen > 0 _lower = _keys _upper = _keys + (_klen << 1) - 2 loop do break if _upper < _lower _mid = _lower + (((_upper-_lower) >> 1) & ~1) if data[p] < _lexer_trans_keys[_mid] _upper = _mid - 2 elsif data[p] > _lexer_trans_keys[_mid+1] _lower = _mid + 2 else _trans += ((_mid - _keys) >> 1) _break_match = true break end end # loop break if _break_match _trans += _klen end end while false cs = _lexer_trans_targs[_trans] if _lexer_trans_actions[_trans] != 0 _acts = _lexer_trans_actions[_trans] _nacts = _lexer_actions[_acts] _acts += 1 while _nacts > 0 _nacts -= 1 _acts += 1 case _lexer_actions[_acts - 1] when 0 then # line 12 "./tasks/../ragel/i18n/es.rb.rl" begin @content_start = p @current_line = @line_number end # line 12 "./tasks/../ragel/i18n/es.rb.rl" when 1 then # line 17 "./tasks/../ragel/i18n/es.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 17 "./tasks/../ragel/i18n/es.rb.rl" when 2 then # line 22 "./tasks/../ragel/i18n/es.rb.rl" begin @content_start = p end # line 22 "./tasks/../ragel/i18n/es.rb.rl" when 3 then # line 26 "./tasks/../ragel/i18n/es.rb.rl" begin con = unindent(@start_col, data[@content_start...@next_keyword_start-1].pack("c*").sub(/(\r?\n)?( )*\Z/, '')) @listener.py_string(con, @current_line) end # line 26 "./tasks/../ragel/i18n/es.rb.rl" when 4 then # line 31 "./tasks/../ragel/i18n/es.rb.rl" begin store_keyword_content(:feature, data, p, eof) { |con| multiline_strip(con) } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end # line 31 "./tasks/../ragel/i18n/es.rb.rl" when 5 then # line 37 "./tasks/../ragel/i18n/es.rb.rl" begin store_keyword_content(:background, data, p, eof) { |con| multiline_strip(con) } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end # line 37 "./tasks/../ragel/i18n/es.rb.rl" when 6 then # line 43 "./tasks/../ragel/i18n/es.rb.rl" begin store_keyword_content(:scenario, data, p, eof) { |con| multiline_strip(con) } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end # line 43 "./tasks/../ragel/i18n/es.rb.rl" when 7 then # line 49 "./tasks/../ragel/i18n/es.rb.rl" begin store_keyword_content(:scenario_outline, data, p, eof) { |con| multiline_strip(con) } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end # line 49 "./tasks/../ragel/i18n/es.rb.rl" when 8 then # line 55 "./tasks/../ragel/i18n/es.rb.rl" begin store_keyword_content(:examples, data, p, eof) { |con| multiline_strip(con) } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end # line 55 "./tasks/../ragel/i18n/es.rb.rl" when 9 then # line 61 "./tasks/../ragel/i18n/es.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.step(@keyword, con, @current_line) end # line 61 "./tasks/../ragel/i18n/es.rb.rl" when 10 then # line 66 "./tasks/../ragel/i18n/es.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.comment(con, @line_number) end # line 66 "./tasks/../ragel/i18n/es.rb.rl" when 11 then # line 71 "./tasks/../ragel/i18n/es.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.tag(con, @current_line) end # line 71 "./tasks/../ragel/i18n/es.rb.rl" when 12 then # line 76 "./tasks/../ragel/i18n/es.rb.rl" begin @line_number += 1 end # line 76 "./tasks/../ragel/i18n/es.rb.rl" when 13 then # line 80 "./tasks/../ragel/i18n/es.rb.rl" begin @last_newline = p + 1 end # line 80 "./tasks/../ragel/i18n/es.rb.rl" when 14 then # line 84 "./tasks/../ragel/i18n/es.rb.rl" begin @keyword_start ||= p end # line 84 "./tasks/../ragel/i18n/es.rb.rl" when 15 then # line 88 "./tasks/../ragel/i18n/es.rb.rl" begin @keyword = data[@keyword_start...p].pack("c*").sub(/:$/,'').strip @keyword_start = nil end # line 88 "./tasks/../ragel/i18n/es.rb.rl" when 16 then # line 93 "./tasks/../ragel/i18n/es.rb.rl" begin @next_keyword_start = p end # line 93 "./tasks/../ragel/i18n/es.rb.rl" when 17 then # line 97 "./tasks/../ragel/i18n/es.rb.rl" begin p = p - 1 @rows = [] @current_line = @line_number end # line 97 "./tasks/../ragel/i18n/es.rb.rl" when 18 then # line 103 "./tasks/../ragel/i18n/es.rb.rl" begin current_row = [] end # line 103 "./tasks/../ragel/i18n/es.rb.rl" when 19 then # line 107 "./tasks/../ragel/i18n/es.rb.rl" begin @content_start = p end # line 107 "./tasks/../ragel/i18n/es.rb.rl" when 20 then # line 111 "./tasks/../ragel/i18n/es.rb.rl" begin con = data[@content_start...p].pack("c*").strip current_row << con end # line 111 "./tasks/../ragel/i18n/es.rb.rl" when 21 then # line 116 "./tasks/../ragel/i18n/es.rb.rl" begin @rows << current_row end # line 116 "./tasks/../ragel/i18n/es.rb.rl" when 22 then # line 120 "./tasks/../ragel/i18n/es.rb.rl" begin if @rows.size != 0 @listener.table(@rows, @current_line) end end # line 120 "./tasks/../ragel/i18n/es.rb.rl" when 23 then # line 126 "./tasks/../ragel/i18n/es.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise Lexer::LexingError.new("Lexing error on line %d: '%s'." % [@line_number, content]) end end # line 126 "./tasks/../ragel/i18n/es.rb.rl" # line 925 "lib/gherkin/rb_lexer/es.rb" end # action switch end end if _trigger_goto next end end if _goto_level <= _again if cs == 0 _goto_level = _out next end p += 1 if p != pe _goto_level = _resume next end end if _goto_level <= _test_eof if p == eof __acts = _lexer_eof_actions[cs] __nacts = _lexer_actions[__acts] __acts += 1 while __nacts > 0 __nacts -= 1 __acts += 1 case _lexer_actions[__acts - 1] when 23 then # line 126 "./tasks/../ragel/i18n/es.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise Lexer::LexingError.new("Lexing error on line %d: '%s'." % [@line_number, content]) end end # line 126 "./tasks/../ragel/i18n/es.rb.rl" # line 963 "lib/gherkin/rb_lexer/es.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 150 "./tasks/../ragel/i18n/es.rb.rl" end def multiline_strip(text) text.split("\n").map{|s| s.strip}.join("\n").strip end def unindent(startcol, text) text.gsub(/^ {0,#{startcol}}/, "") end def store_keyword_content(event, data, p, eof) end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start con = yield data[@content_start...end_point].pack("c*") @listener.send(event, @keyword, con, @current_line) end def current_line_content(data, p) rest = data[@last_newline..-1] rest[0..rest.index(10)||-1].pack("c*").strip end end end end