# line 1 "./tasks/../ragel/i18n/pl.rb.rl" require 'gherkin/core_ext/array' module Gherkin module RbLexer class Pl #:nodoc: # line 133 "./tasks/../ragel/i18n/pl.rb.rl" def initialize(listener) @listener = listener # line 16 "lib/gherkin/rb_lexer/pl.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, 17, 18, 19, 23, 28, 33, 38, 43, 47, 51, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 76, 83, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 116, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 190, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 247, 249, 251, 253, 255, 257, 259, 261, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 289, 291, 293, 295, 297, 299, 301, 303, 305, 307, 309, 311, 313, 315, 317, 318, 319, 320, 321, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, 368, 370, 372, 374, 376, 378, 380, 382, 384, 386, 388, 390, 392, 394, 396, 398, 400, 403, 405, 407, 409, 411, 413, 415, 417, 419, 421, 423, 425, 427, 429, 431, 433, 435, 437, 439, 441, 443, 445, 447, 449, 451, 453, 455, 457, 459, 461, 463, 465, 467, 469, 471, 473, 475, 477, 479, 481, 483, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 498, 503, 504, 509, 526, 528, 530, 532, 534, 536, 538, 540, 542, 544, 546, 548, 551, 553, 555, 557, 559, 561, 563, 565, 567, 569, 571, 573, 575, 577, 579, 581, 583, 585, 587, 589, 591, 593, 595, 597, 599, 601, 603, 605, 607, 609, 611, 613, 615, 617, 619, 621, 623, 625, 627, 629, 631, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 667, 669, 671, 673, 675, 677, 679, 681, 683, 685, 687, 689, 691, 693, 695, 697, 699, 701, 703, 705, 707, 709, 711, 713, 715, 717, 719, 721, 723, 725, 727, 729, 731, 733, 735, 737, 739, 741, 743, 745, 747, 749, 751, 753, 755, 757, 759, 761, 763, 765, 767, 769 ] 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, 74, 79, 80, 83, 87, 90, 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, 108, 101, 101, -59, -68, 101, 108, 105, 114, 97, 122, 114, 122, 121, 107, -59, -126, 97, 100, 121, 58, 10, 10, 10, 32, 124, 9, 13, 99, 122, 101, 110, 97, 114, 105, 117, 115, 122, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 74, 79, 83, 87, 90, 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, 74, 79, 80, 83, 87, 90, 124, 9, 13, -59, 116, -126, 97, -59, -101, 99, 105, 119, 111, -59, -101, -60, -121, 58, 10, 10, 10, 32, 35, 37, 64, 83, 90, 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, 99, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 58, 10, 97, 10, 98, 10, 108, 10, 111, 10, 110, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 97, 10, 97, -59, 10, -126, 10, 10, 111, -59, 10, -68, 10, 10, 101, 10, 110, 10, 105, 101, 100, 121, 97, -59, 107, -126, 111, -59, -68, 101, 110, 105, 97, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 74, 79, 83, 87, 90, 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, 108, 10, 101, 10, 101, -59, 10, -68, 10, 10, 101, 10, 108, 10, 105, 10, 114, 10, 97, 10, 122, 10, 99, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 58, 10, 97, 10, 98, 10, 108, 10, 111, 10, 110, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 97, 10, 116, 10, 101, 10, 100, 10, 121, 10, 97, 10, 107, -59, 10, -126, 10, 10, 97, 10, 100, 10, 97, 10, 106, -60, 10, -123, 10, 10, 99, -59, -126, 97, 100, 97, 106, -60, -123, 99, 32, 124, 9, 13, 10, 32, 124, 9, 13, 124, 10, 32, 124, 9, 13, 10, 32, 34, 35, 37, 42, 64, 65, 74, 79, 80, 83, 87, 90, 124, 9, 13, 10, 108, 10, 101, 10, 101, -59, 10, -68, 10, 10, 101, 10, 108, 10, 105, 10, 114, 10, 97, 10, 122, 10, 99, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 58, 10, 97, 10, 98, 10, 108, 10, 111, 10, 110, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 97, 10, 116, 10, 101, 10, 100, 10, 121, 10, 97, 10, 107, -59, 10, -126, 10, 10, 97, 10, 100, 10, 97, 10, 106, -60, 10, -123, 10, 10, 99, 97, 98, 108, 111, 110, 32, 115, 99, 101, 110, 97, 114, 105, 117, 115, 122, 97, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 74, 79, 83, 87, 90, 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, 108, 10, 101, 10, 101, -59, 10, -68, 10, 10, 101, 10, 108, 10, 105, 10, 114, 10, 97, 10, 122, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 117, 10, 115, 10, 122, 10, 58, 10, 116, 10, 101, 10, 100, 10, 121, 10, 97, 10, 107, -59, 10, -126, 10, 10, 97, 10, 100, 10, 97, 10, 106, -60, 10, -123, 10, 10, 99, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 15, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 15, 2, 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, 3, 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, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 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, 2, 2, 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, 2, 3, 1, 3, 15, 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, 2, 2, 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, 12, 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, 2, 2, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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, 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, 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, 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, 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, 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, 17, 19, 21, 25, 30, 35, 40, 45, 49, 53, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 91, 96, 103, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 159, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, 228, 231, 234, 237, 240, 243, 260, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 289, 291, 293, 302, 305, 308, 311, 314, 317, 320, 323, 326, 329, 332, 335, 338, 341, 344, 348, 351, 354, 357, 360, 363, 366, 369, 372, 375, 378, 381, 384, 387, 390, 393, 396, 399, 402, 405, 408, 411, 414, 417, 420, 423, 426, 429, 432, 435, 438, 441, 444, 447, 450, 453, 455, 457, 459, 461, 464, 466, 468, 470, 472, 474, 476, 478, 480, 482, 484, 486, 500, 503, 506, 509, 512, 515, 518, 521, 524, 527, 530, 533, 536, 539, 542, 545, 548, 551, 554, 557, 560, 563, 566, 569, 572, 575, 578, 582, 585, 588, 591, 594, 597, 600, 603, 606, 609, 612, 615, 618, 621, 624, 627, 630, 633, 636, 639, 642, 645, 648, 651, 654, 657, 660, 663, 666, 669, 672, 675, 678, 681, 684, 687, 690, 693, 696, 699, 702, 705, 707, 709, 711, 713, 715, 717, 719, 721, 723, 727, 732, 734, 739, 756, 759, 762, 765, 768, 771, 774, 777, 780, 783, 786, 789, 793, 796, 799, 802, 805, 808, 811, 814, 817, 820, 823, 826, 829, 832, 835, 838, 841, 844, 847, 850, 853, 856, 859, 862, 865, 868, 871, 874, 877, 880, 883, 886, 889, 892, 895, 898, 901, 904, 907, 910, 913, 916, 918, 920, 922, 924, 926, 928, 930, 932, 934, 936, 938, 940, 942, 944, 946, 948, 950, 952, 954, 956, 970, 973, 976, 979, 982, 985, 988, 991, 994, 997, 1000, 1003, 1006, 1009, 1012, 1015, 1018, 1021, 1024, 1027, 1030, 1033, 1036, 1039, 1042, 1045, 1048, 1051, 1054, 1057, 1060, 1063, 1066, 1069, 1072, 1075, 1078, 1081, 1084, 1087, 1090, 1093, 1096, 1099, 1102, 1105, 1108, 1111, 1114, 1117, 1120, 1123 ] 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, 34, 40, 43, 56, 85, 155, 246, 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, 376, 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, 26, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 26, 0, 41, 0, 42, 0, 26, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 55, 54, 55, 54, 55, 55, 1, 55, 54, 57, 304, 0, 58, 0, 59, 0, 60, 0, 61, 0, 62, 0, 63, 0, 64, 0, 65, 0, 66, 0, 68, 67, 68, 67, 68, 68, 1, 69, 83, 1, 251, 253, 259, 262, 289, 293, 68, 67, 68, 70, 67, 68, 71, 67, 68, 72, 67, 68, 73, 67, 68, 74, 67, 68, 75, 67, 68, 76, 67, 68, 77, 67, 68, 78, 67, 68, 79, 67, 68, 80, 67, 68, 81, 67, 68, 82, 67, 68, 1, 67, 68, 84, 67, 1, 1, 2, 11, 12, 26, 29, 32, 34, 40, 43, 56, 85, 155, 246, 1, 0, 86, 152, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 96, 0, 97, 0, 98, 0, 99, 0, 101, 100, 101, 100, 101, 101, 1, 102, 1, 116, 143, 101, 100, 101, 103, 100, 101, 104, 100, 101, 105, 100, 101, 106, 100, 101, 107, 100, 101, 108, 100, 101, 109, 100, 101, 110, 100, 101, 111, 100, 101, 112, 100, 101, 113, 100, 101, 114, 100, 101, 115, 100, 101, 1, 100, 101, 117, 126, 100, 101, 118, 100, 101, 119, 100, 101, 120, 100, 101, 121, 100, 101, 122, 100, 101, 123, 100, 101, 124, 100, 101, 125, 100, 101, 84, 100, 101, 127, 100, 101, 128, 100, 101, 129, 100, 101, 130, 100, 101, 131, 100, 101, 132, 100, 101, 133, 100, 101, 134, 100, 101, 135, 100, 101, 136, 100, 101, 137, 100, 101, 138, 100, 101, 139, 100, 101, 140, 100, 101, 141, 100, 101, 142, 100, 101, 125, 100, 101, 144, 100, 145, 101, 100, 146, 101, 100, 101, 147, 100, 148, 101, 100, 149, 101, 100, 101, 150, 100, 101, 151, 100, 101, 142, 100, 153, 0, 154, 0, 26, 0, 156, 0, 157, 237, 0, 158, 0, 159, 0, 160, 0, 161, 0, 162, 0, 163, 0, 164, 0, 165, 0, 166, 0, 168, 167, 168, 167, 168, 168, 1, 169, 183, 1, 184, 186, 192, 195, 222, 226, 168, 167, 168, 170, 167, 168, 171, 167, 168, 172, 167, 168, 173, 167, 168, 174, 167, 168, 175, 167, 168, 176, 167, 168, 177, 167, 168, 178, 167, 168, 179, 167, 168, 180, 167, 168, 181, 167, 168, 182, 167, 168, 1, 167, 168, 84, 167, 168, 185, 167, 168, 183, 167, 168, 187, 167, 188, 168, 167, 189, 168, 167, 168, 190, 167, 168, 191, 167, 168, 183, 167, 168, 193, 167, 168, 194, 167, 168, 183, 167, 168, 196, 205, 167, 168, 197, 167, 168, 198, 167, 168, 199, 167, 168, 200, 167, 168, 201, 167, 168, 202, 167, 168, 203, 167, 168, 204, 167, 168, 84, 167, 168, 206, 167, 168, 207, 167, 168, 208, 167, 168, 209, 167, 168, 210, 167, 168, 211, 167, 168, 212, 167, 168, 213, 167, 168, 214, 167, 168, 215, 167, 168, 216, 167, 168, 217, 167, 168, 218, 167, 168, 219, 167, 168, 220, 167, 168, 221, 167, 168, 204, 167, 168, 223, 167, 168, 224, 167, 168, 225, 167, 168, 183, 167, 168, 227, 167, 168, 228, 167, 229, 168, 167, 230, 168, 167, 168, 231, 167, 168, 232, 167, 168, 233, 167, 168, 234, 167, 235, 168, 167, 236, 168, 167, 168, 183, 167, 238, 0, 239, 0, 240, 0, 241, 0, 242, 0, 243, 0, 244, 0, 245, 0, 26, 0, 246, 247, 246, 0, 250, 249, 247, 249, 248, 247, 248, 250, 249, 247, 249, 248, 250, 250, 2, 11, 12, 26, 29, 32, 34, 40, 43, 56, 85, 155, 247, 250, 0, 68, 252, 67, 68, 83, 67, 68, 254, 67, 255, 68, 67, 256, 68, 67, 68, 257, 67, 68, 258, 67, 68, 83, 67, 68, 260, 67, 68, 261, 67, 68, 83, 67, 68, 263, 272, 67, 68, 264, 67, 68, 265, 67, 68, 266, 67, 68, 267, 67, 68, 268, 67, 68, 269, 67, 68, 270, 67, 68, 271, 67, 68, 84, 67, 68, 273, 67, 68, 274, 67, 68, 275, 67, 68, 276, 67, 68, 277, 67, 68, 278, 67, 68, 279, 67, 68, 280, 67, 68, 281, 67, 68, 282, 67, 68, 283, 67, 68, 284, 67, 68, 285, 67, 68, 286, 67, 68, 287, 67, 68, 288, 67, 68, 271, 67, 68, 290, 67, 68, 291, 67, 68, 292, 67, 68, 83, 67, 68, 294, 67, 68, 295, 67, 296, 68, 67, 297, 68, 67, 68, 298, 67, 68, 299, 67, 68, 300, 67, 68, 301, 67, 302, 68, 67, 303, 68, 67, 68, 83, 67, 305, 0, 306, 0, 307, 0, 308, 0, 309, 0, 310, 0, 311, 0, 312, 0, 313, 0, 314, 0, 315, 0, 316, 0, 317, 0, 318, 0, 319, 0, 320, 0, 321, 0, 322, 0, 324, 323, 324, 323, 324, 324, 1, 325, 339, 1, 340, 342, 348, 351, 361, 365, 324, 323, 324, 326, 323, 324, 327, 323, 324, 328, 323, 324, 329, 323, 324, 330, 323, 324, 331, 323, 324, 332, 323, 324, 333, 323, 324, 334, 323, 324, 335, 323, 324, 336, 323, 324, 337, 323, 324, 338, 323, 324, 1, 323, 324, 84, 323, 324, 341, 323, 324, 339, 323, 324, 343, 323, 344, 324, 323, 345, 324, 323, 324, 346, 323, 324, 347, 323, 324, 339, 323, 324, 349, 323, 324, 350, 323, 324, 339, 323, 324, 352, 323, 324, 353, 323, 324, 354, 323, 324, 355, 323, 324, 356, 323, 324, 357, 323, 324, 358, 323, 324, 359, 323, 324, 360, 323, 324, 84, 323, 324, 362, 323, 324, 363, 323, 324, 364, 323, 324, 339, 323, 324, 366, 323, 324, 367, 323, 368, 324, 323, 369, 324, 323, 324, 370, 323, 324, 371, 323, 324, 372, 323, 324, 373, 323, 374, 324, 323, 375, 324, 323, 324, 339, 323, 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, 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, 0, 37, 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, 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, 63, 27, 72, 63, 72, 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, 104, 25, 48, 45, 25, 51, 25, 51, 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, 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, 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, 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, 42, 0, 0, 0, 42, 0, 0, 42, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 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, 0, 37, 0, 37, 125, 45, 42, 0, 42, 0, 60, 27, 72, 60, 72, 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, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 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, 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, 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, 42, 0, 0, 42, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 42, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 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, 116, 78, 0, 37, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 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, 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, 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, 42, 0, 0, 42, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 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, 125, 45, 42, 0, 42, 0, 66, 27, 72, 66, 72, 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, 0, 42, 0, 0, 42, 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, 15, 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, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 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, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 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 = 376; 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 138 "./tasks/../ragel/i18n/pl.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 746 "lib/gherkin/rb_lexer/pl.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 148 "./tasks/../ragel/i18n/pl.rb.rl" # line 755 "lib/gherkin/rb_lexer/pl.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 9 "./tasks/../ragel/i18n/pl.rb.rl" begin @content_start = p @current_line = @line_number end # line 9 "./tasks/../ragel/i18n/pl.rb.rl" when 1 then # line 14 "./tasks/../ragel/i18n/pl.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 14 "./tasks/../ragel/i18n/pl.rb.rl" when 2 then # line 19 "./tasks/../ragel/i18n/pl.rb.rl" begin @content_start = p end # line 19 "./tasks/../ragel/i18n/pl.rb.rl" when 3 then # line 23 "./tasks/../ragel/i18n/pl.rb.rl" begin con = unindent(@start_col, data[@content_start...@next_keyword_start-1].utf8_pack("c*").sub(/(\r?\n)?( )*\Z/, '')) @listener.py_string(con, @current_line) end # line 23 "./tasks/../ragel/i18n/pl.rb.rl" when 4 then # line 28 "./tasks/../ragel/i18n/pl.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 28 "./tasks/../ragel/i18n/pl.rb.rl" when 5 then # line 34 "./tasks/../ragel/i18n/pl.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 34 "./tasks/../ragel/i18n/pl.rb.rl" when 6 then # line 40 "./tasks/../ragel/i18n/pl.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 40 "./tasks/../ragel/i18n/pl.rb.rl" when 7 then # line 46 "./tasks/../ragel/i18n/pl.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 46 "./tasks/../ragel/i18n/pl.rb.rl" when 8 then # line 52 "./tasks/../ragel/i18n/pl.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 52 "./tasks/../ragel/i18n/pl.rb.rl" when 9 then # line 58 "./tasks/../ragel/i18n/pl.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.step(@keyword, con, @current_line) end # line 58 "./tasks/../ragel/i18n/pl.rb.rl" when 10 then # line 63 "./tasks/../ragel/i18n/pl.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.comment(con, @line_number) @keyword_start = nil end # line 63 "./tasks/../ragel/i18n/pl.rb.rl" when 11 then # line 69 "./tasks/../ragel/i18n/pl.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.tag(con, @current_line) @keyword_start = nil end # line 69 "./tasks/../ragel/i18n/pl.rb.rl" when 12 then # line 75 "./tasks/../ragel/i18n/pl.rb.rl" begin @line_number += 1 end # line 75 "./tasks/../ragel/i18n/pl.rb.rl" when 13 then # line 79 "./tasks/../ragel/i18n/pl.rb.rl" begin @last_newline = p + 1 end # line 79 "./tasks/../ragel/i18n/pl.rb.rl" when 14 then # line 83 "./tasks/../ragel/i18n/pl.rb.rl" begin @keyword_start ||= p end # line 83 "./tasks/../ragel/i18n/pl.rb.rl" when 15 then # line 87 "./tasks/../ragel/i18n/pl.rb.rl" begin @keyword = data[@keyword_start...p].utf8_pack("c*").sub(/:$/,'').strip @keyword_start = nil end # line 87 "./tasks/../ragel/i18n/pl.rb.rl" when 16 then # line 92 "./tasks/../ragel/i18n/pl.rb.rl" begin @next_keyword_start = p end # line 92 "./tasks/../ragel/i18n/pl.rb.rl" when 17 then # line 96 "./tasks/../ragel/i18n/pl.rb.rl" begin p = p - 1 @rows = [] @current_line = @line_number end # line 96 "./tasks/../ragel/i18n/pl.rb.rl" when 18 then # line 102 "./tasks/../ragel/i18n/pl.rb.rl" begin current_row = [] end # line 102 "./tasks/../ragel/i18n/pl.rb.rl" when 19 then # line 106 "./tasks/../ragel/i18n/pl.rb.rl" begin @content_start = p end # line 106 "./tasks/../ragel/i18n/pl.rb.rl" when 20 then # line 110 "./tasks/../ragel/i18n/pl.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip current_row << con end # line 110 "./tasks/../ragel/i18n/pl.rb.rl" when 21 then # line 115 "./tasks/../ragel/i18n/pl.rb.rl" begin @rows << current_row end # line 115 "./tasks/../ragel/i18n/pl.rb.rl" when 22 then # line 119 "./tasks/../ragel/i18n/pl.rb.rl" begin if @rows.size != 0 @listener.table(@rows, @current_line) end end # line 119 "./tasks/../ragel/i18n/pl.rb.rl" when 23 then # line 125 "./tasks/../ragel/i18n/pl.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 125 "./tasks/../ragel/i18n/pl.rb.rl" # line 1030 "lib/gherkin/rb_lexer/pl.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 125 "./tasks/../ragel/i18n/pl.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 125 "./tasks/../ragel/i18n/pl.rb.rl" # line 1068 "lib/gherkin/rb_lexer/pl.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 149 "./tasks/../ragel/i18n/pl.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].utf8_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].utf8_pack("c*").strip end end end end