# line 1 "./tasks/../ragel/i18n/sk.rb.rl" module Gherkin module RbLexer class Sk #:nodoc: # line 134 "./tasks/../ragel/i18n/sk.rb.rl" def initialize(listener) @listener = listener # line 14 "lib/gherkin/rb_lexer/sk.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, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 170, 172, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 305, 307, 309, 311, 313, 315, 317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 338, 340, 342, 344, 346, 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, 402, 404, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 444, 446, 448, 450, 452, 454, 456, 458, 460, 462, 464, 466, 468, 470, 472, 474, 477, 479, 481, 483, 485, 487, 489, 491, 493, 495, 497, 499, 501, 503, 505, 507, 509, 511, 513, 515, 517, 519, 521, 523, 525, 527, 529, 531, 533, 535, 537, 539, 541, 543, 545, 546, 547, 551, 556, 557, 562, 578, 581, 583, 585, 587, 589, 591, 593, 595, 597, 599, 601, 603, 605, 607, 609, 611, 613, 615, 617, 619 ] 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, 75, 78, 80, 83, 84, 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, 32, 108, 101, 101, -60, -113, -61, -95, -60, -115, 114, 116, 32, 83, 99, 101, 110, -61, -95, 114, 117, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 75, 80, 83, 84, 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, 75, 78, 80, 83, 84, 124, 9, 13, 111, 114, -59, 107, 122, -66, 105, 97, 100, 97, 118, 107, 97, 58, 10, 10, 10, 32, 35, 37, 64, 78, 80, 83, 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, -61, 10, -95, 10, -60, 10, -115, 10, 10, 114, 10, 116, 10, 32, 10, 83, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 117, 10, 58, 10, 111, 10, 122, 10, 97, 10, 100, 10, 105, 10, 101, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 105, 97, -60, -66, 97, 100, 105, 101, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 75, 78, 80, 83, 84, 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, 108, 10, 101, 10, 101, -60, 10, -113, 10, -61, 10, -95, 10, -60, 10, -115, 10, 10, 114, 10, 116, 10, 32, 10, 83, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 117, 10, 58, 10, 111, 10, 107, 10, 105, 10, 97, -60, 10, -66, 10, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 97, 10, 107, -61, -83, 107, 108, 97, 100, 121, 58, 10, 10, 10, 32, 124, 9, 13, 99, 101, 110, -61, -95, 114, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 75, 78, 80, 83, 84, 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, 108, 10, 101, 10, 101, -60, 10, -113, 10, -61, 10, -95, 10, -60, 10, -115, 10, 10, 114, 10, 116, 10, 32, 10, 83, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 117, 10, 58, 10, 111, 10, 107, 10, 105, 10, 97, -60, 10, -66, 10, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 97, 10, 107, 97, 107, 32, 124, 9, 13, 10, 32, 124, 9, 13, 124, 10, 32, 124, 9, 13, 10, 32, 34, 35, 37, 42, 64, 65, 75, 78, 80, 83, 84, 124, 9, 13, 10, 32, 108, 10, 101, 10, 101, -60, 10, -113, 10, 10, 111, 10, 107, 10, 105, 10, 97, -60, 10, -66, 10, 10, 99, 10, 101, 10, 110, -61, 10, -95, 10, 10, 114, 10, 58, 10, 97, 10, 107, 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, 2, 1, 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, 14, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 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, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 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, 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, 1, 1, 2, 3, 1, 3, 14, 3, 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, 0, 0, 0, 1, 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, 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, 1, 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, 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 ] 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, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 167, 170, 173, 176, 179, 182, 185, 188, 191, 194, 197, 200, 203, 206, 209, 212, 228, 231, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, 267, 270, 273, 276, 279, 282, 285, 288, 291, 294, 297, 300, 303, 306, 309, 312, 315, 318, 321, 324, 327, 330, 333, 336, 339, 342, 345, 348, 351, 354, 357, 360, 363, 366, 369, 372, 375, 378, 381, 384, 387, 390, 393, 395, 397, 399, 401, 403, 405, 407, 409, 411, 413, 415, 429, 432, 435, 438, 441, 444, 447, 450, 453, 456, 459, 462, 465, 468, 471, 474, 478, 481, 484, 487, 490, 493, 496, 499, 502, 505, 508, 511, 514, 517, 520, 523, 526, 529, 532, 535, 538, 541, 544, 547, 550, 553, 556, 559, 562, 565, 568, 571, 574, 577, 580, 582, 584, 586, 588, 590, 592, 594, 596, 598, 600, 605, 607, 609, 611, 613, 615, 617, 619, 621, 623, 637, 640, 643, 646, 649, 652, 655, 658, 661, 664, 667, 670, 673, 676, 679, 682, 686, 689, 692, 695, 698, 701, 704, 707, 710, 713, 716, 719, 722, 725, 728, 731, 734, 737, 740, 743, 746, 749, 752, 755, 758, 761, 764, 767, 770, 773, 776, 779, 782, 785, 788, 790, 792, 796, 801, 803, 808, 824, 828, 831, 834, 837, 840, 843, 846, 849, 852, 855, 858, 861, 864, 867, 870, 873, 876, 879, 882, 885 ] 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, 37, 72, 201, 261, 263, 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, 288, 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, 27, 33, 0, 26, 0, 35, 0, 36, 0, 26, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 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, 56, 70, 1, 268, 270, 273, 279, 286, 55, 54, 55, 57, 54, 55, 58, 54, 55, 59, 54, 55, 60, 54, 55, 61, 54, 55, 62, 54, 55, 63, 54, 55, 64, 54, 55, 65, 54, 55, 66, 54, 55, 67, 54, 55, 68, 54, 55, 69, 54, 55, 1, 54, 55, 71, 54, 1, 1, 2, 11, 12, 26, 29, 32, 34, 37, 72, 201, 261, 263, 1, 0, 73, 190, 0, 74, 128, 132, 0, 75, 0, 76, 0, 77, 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, 0, 85, 84, 85, 84, 85, 85, 1, 86, 1, 100, 116, 122, 85, 84, 85, 87, 84, 85, 88, 84, 85, 89, 84, 85, 90, 84, 85, 91, 84, 85, 92, 84, 85, 93, 84, 85, 94, 84, 85, 95, 84, 85, 96, 84, 85, 97, 84, 85, 98, 84, 85, 99, 84, 85, 1, 84, 101, 85, 84, 102, 85, 84, 103, 85, 84, 104, 85, 84, 85, 105, 84, 85, 106, 84, 85, 107, 84, 85, 108, 84, 85, 109, 84, 85, 110, 84, 85, 111, 84, 112, 85, 84, 113, 85, 84, 85, 114, 84, 85, 115, 84, 85, 71, 84, 85, 117, 84, 85, 118, 84, 85, 119, 84, 85, 120, 84, 85, 121, 84, 85, 115, 84, 85, 123, 84, 85, 124, 84, 85, 125, 84, 126, 85, 84, 127, 85, 84, 85, 115, 84, 129, 0, 130, 0, 131, 0, 26, 0, 133, 0, 134, 0, 135, 0, 136, 0, 137, 0, 139, 138, 139, 138, 139, 139, 1, 140, 154, 1, 155, 157, 160, 176, 182, 188, 139, 138, 139, 141, 138, 139, 142, 138, 139, 143, 138, 139, 144, 138, 139, 145, 138, 139, 146, 138, 139, 147, 138, 139, 148, 138, 139, 149, 138, 139, 150, 138, 139, 151, 138, 139, 152, 138, 139, 153, 138, 139, 1, 138, 139, 71, 138, 139, 71, 156, 138, 139, 154, 138, 139, 158, 138, 159, 139, 138, 154, 139, 138, 161, 139, 138, 162, 139, 138, 163, 139, 138, 164, 139, 138, 139, 165, 138, 139, 166, 138, 139, 167, 138, 139, 168, 138, 139, 169, 138, 139, 170, 138, 139, 171, 138, 172, 139, 138, 173, 139, 138, 139, 174, 138, 139, 175, 138, 139, 71, 138, 139, 177, 138, 139, 178, 138, 139, 179, 138, 139, 180, 138, 181, 139, 138, 154, 139, 138, 139, 183, 138, 139, 184, 138, 139, 185, 138, 186, 139, 138, 187, 139, 138, 139, 175, 138, 139, 189, 138, 139, 154, 138, 191, 0, 192, 0, 193, 0, 194, 0, 195, 0, 196, 0, 197, 0, 198, 0, 200, 199, 200, 199, 200, 200, 1, 200, 199, 202, 0, 203, 0, 204, 0, 205, 0, 206, 0, 207, 0, 208, 0, 210, 209, 210, 209, 210, 210, 1, 211, 225, 1, 226, 228, 231, 247, 253, 259, 210, 209, 210, 212, 209, 210, 213, 209, 210, 214, 209, 210, 215, 209, 210, 216, 209, 210, 217, 209, 210, 218, 209, 210, 219, 209, 210, 220, 209, 210, 221, 209, 210, 222, 209, 210, 223, 209, 210, 224, 209, 210, 1, 209, 210, 71, 209, 210, 71, 227, 209, 210, 225, 209, 210, 229, 209, 230, 210, 209, 225, 210, 209, 232, 210, 209, 233, 210, 209, 234, 210, 209, 235, 210, 209, 210, 236, 209, 210, 237, 209, 210, 238, 209, 210, 239, 209, 210, 240, 209, 210, 241, 209, 210, 242, 209, 243, 210, 209, 244, 210, 209, 210, 245, 209, 210, 246, 209, 210, 71, 209, 210, 248, 209, 210, 249, 209, 210, 250, 209, 210, 251, 209, 252, 210, 209, 225, 210, 209, 210, 254, 209, 210, 255, 209, 210, 256, 209, 257, 210, 209, 258, 210, 209, 210, 246, 209, 210, 260, 209, 210, 225, 209, 262, 0, 26, 0, 263, 264, 263, 0, 267, 266, 264, 266, 265, 264, 265, 267, 266, 264, 266, 265, 267, 267, 2, 11, 12, 26, 29, 32, 34, 37, 72, 201, 261, 264, 267, 0, 55, 71, 269, 54, 55, 70, 54, 55, 271, 54, 272, 55, 54, 70, 55, 54, 55, 274, 54, 55, 275, 54, 55, 276, 54, 55, 277, 54, 278, 55, 54, 70, 55, 54, 55, 280, 54, 55, 281, 54, 55, 282, 54, 283, 55, 54, 284, 55, 54, 55, 285, 54, 55, 71, 54, 55, 287, 54, 55, 70, 54, 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, 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, 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, 104, 25, 48, 45, 25, 51, 25, 51, 51, 51, 51, 51, 51, 54, 25, 37, 0, 0, 37, 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, 57, 27, 57, 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, 9, 0, 0, 42, 0, 0, 42, 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, 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, 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, 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, 11, 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, 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, 11, 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, 0, 42, 0, 0, 42, 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, 125, 45, 42, 0, 42, 0, 69, 0, 0, 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, 42, 13, 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, 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, 13, 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, 0, 42, 0, 0, 42, 0, 42, 0, 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, 15, 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, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 42, 0, 0, 42, 15, 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 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 288; 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/sk.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 610 "lib/gherkin/rb_lexer/sk.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 149 "./tasks/../ragel/i18n/sk.rb.rl" # line 619 "lib/gherkin/rb_lexer/sk.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/sk.rb.rl" begin @content_start = p @current_line = @line_number end # line 12 "./tasks/../ragel/i18n/sk.rb.rl" when 1 then # line 17 "./tasks/../ragel/i18n/sk.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 17 "./tasks/../ragel/i18n/sk.rb.rl" when 2 then # line 22 "./tasks/../ragel/i18n/sk.rb.rl" begin @content_start = p end # line 22 "./tasks/../ragel/i18n/sk.rb.rl" when 3 then # line 26 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 4 then # line 31 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 5 then # line 37 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 6 then # line 43 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 7 then # line 49 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 8 then # line 55 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" when 9 then # line 61 "./tasks/../ragel/i18n/sk.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.step(@keyword, con, @current_line) end # line 61 "./tasks/../ragel/i18n/sk.rb.rl" when 10 then # line 66 "./tasks/../ragel/i18n/sk.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.comment(con, @line_number) end # line 66 "./tasks/../ragel/i18n/sk.rb.rl" when 11 then # line 71 "./tasks/../ragel/i18n/sk.rb.rl" begin con = data[@content_start...p].pack("c*").strip @listener.tag(con, @current_line) end # line 71 "./tasks/../ragel/i18n/sk.rb.rl" when 12 then # line 76 "./tasks/../ragel/i18n/sk.rb.rl" begin @line_number += 1 end # line 76 "./tasks/../ragel/i18n/sk.rb.rl" when 13 then # line 80 "./tasks/../ragel/i18n/sk.rb.rl" begin @last_newline = p + 1 end # line 80 "./tasks/../ragel/i18n/sk.rb.rl" when 14 then # line 84 "./tasks/../ragel/i18n/sk.rb.rl" begin @keyword_start ||= p end # line 84 "./tasks/../ragel/i18n/sk.rb.rl" when 15 then # line 88 "./tasks/../ragel/i18n/sk.rb.rl" begin @keyword = data[@keyword_start...p].pack("c*").sub(/:$/,'').strip @keyword_start = nil end # line 88 "./tasks/../ragel/i18n/sk.rb.rl" when 16 then # line 93 "./tasks/../ragel/i18n/sk.rb.rl" begin @next_keyword_start = p end # line 93 "./tasks/../ragel/i18n/sk.rb.rl" when 17 then # line 97 "./tasks/../ragel/i18n/sk.rb.rl" begin p = p - 1 @rows = [] @current_line = @line_number end # line 97 "./tasks/../ragel/i18n/sk.rb.rl" when 18 then # line 103 "./tasks/../ragel/i18n/sk.rb.rl" begin current_row = [] end # line 103 "./tasks/../ragel/i18n/sk.rb.rl" when 19 then # line 107 "./tasks/../ragel/i18n/sk.rb.rl" begin @content_start = p end # line 107 "./tasks/../ragel/i18n/sk.rb.rl" when 20 then # line 111 "./tasks/../ragel/i18n/sk.rb.rl" begin con = data[@content_start...p].pack("c*").strip current_row << con end # line 111 "./tasks/../ragel/i18n/sk.rb.rl" when 21 then # line 116 "./tasks/../ragel/i18n/sk.rb.rl" begin @rows << current_row end # line 116 "./tasks/../ragel/i18n/sk.rb.rl" when 22 then # line 120 "./tasks/../ragel/i18n/sk.rb.rl" begin if @rows.size != 0 @listener.table(@rows, @current_line) end end # line 120 "./tasks/../ragel/i18n/sk.rb.rl" when 23 then # line 126 "./tasks/../ragel/i18n/sk.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/sk.rb.rl" # line 892 "lib/gherkin/rb_lexer/sk.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/sk.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/sk.rb.rl" # line 930 "lib/gherkin/rb_lexer/sk.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/sk.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