# line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" require 'gherkin/lexer/i18n_lexer' module Gherkin module RbLexer class De #:nodoc: # line 123 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" def initialize(listener) @listener = listener # line 16 "lib/gherkin/rb_lexer/de.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, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 21, 1, 22, 1, 23, 2, 2, 18, 2, 3, 4, 2, 13, 0, 2, 14, 15, 2, 17, 0, 2, 17, 1, 2, 17, 16, 2, 17, 19, 2, 18, 6, 2, 18, 7, 2, 18, 8, 2, 18, 9, 2, 18, 10, 2, 18, 16, 2, 20, 21, 2, 22, 0, 2, 22, 1, 2, 22, 16, 2, 22, 19, 3, 4, 14, 15, 3, 5, 14, 15, 3, 11, 14, 15, 3, 12, 14, 15, 3, 13, 14, 15, 3, 14, 15, 18, 3, 17, 14, 15, 4, 2, 14, 15, 18, 4, 3, 4, 14, 15, 4, 17, 0, 14, 15 ] class << self attr_accessor :_lexer_key_offsets private :_lexer_key_offsets, :_lexer_key_offsets= end self._lexer_key_offsets = [ 0, 0, 19, 20, 21, 39, 40, 41, 43, 45, 50, 55, 60, 65, 69, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 94, 99, 106, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 219, 221, 223, 225, 227, 229, 231, 233, 235, 237, 239, 241, 243, 245, 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, 319, 321, 324, 326, 328, 330, 332, 334, 336, 338, 340, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 376, 378, 380, 382, 384, 386, 388, 390, 392, 394, 396, 398, 400, 402, 404, 406, 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, 487, 489, 491, 493, 495, 497, 500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 523, 524, 525, 526, 527, 528, 529, 531, 532, 533, 548, 550, 552, 554, 556, 558, 560, 562, 564, 566, 568, 570, 572, 574, 576, 578, 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, 635, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656, 658, 660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 687, 689, 691, 693, 695, 697, 699, 701, 703, 705, 707, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 735, 737, 739, 741, 743, 745, 747, 749, 751, 753, 755, 757, 759, 761, 763, 765, 768, 770, 772, 774, 776, 778, 780, 782, 784, 786, 788, 790, 792, 794, 796, 798, 800, 802, 804, 806, 808, 810, 812, 814, 816, 818, 820, 822, 824, 826, 828, 830, 832, 834, 836, 838, 840, 842, 844, 846, 848, 850, 852, 854, 856, 858, 860, 862, 863, 864, 865, 869, 875, 878, 880, 886, 904 ] class << self attr_accessor :_lexer_trans_keys private :_lexer_trans_keys, :_lexer_trans_keys= end self._lexer_trans_keys = [ -17, 10, 32, 34, 35, 37, 42, 64, 65, 66, 68, 70, 71, 83, 85, 87, 124, 9, 13, -69, -65, 10, 32, 34, 35, 37, 42, 64, 65, 66, 68, 70, 71, 83, 85, 87, 124, 9, 13, 34, 34, 10, 13, 10, 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, 10, 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, 98, 110, 101, 114, 103, 101, 110, 111, 109, 109, 101, 110, 101, 105, 115, 112, 105, 101, 108, 101, 58, 10, 10, 10, 32, 35, 70, 124, 9, 13, 10, 117, 10, 110, 10, 107, 10, 116, 10, 105, 10, 111, 10, 110, 10, 97, 10, 108, 10, 105, 10, 116, -61, 10, -92, 10, 10, 116, 10, 58, 10, 32, 34, 35, 37, 42, 64, 65, 66, 68, 70, 71, 83, 85, 87, 124, 9, 13, 97, 110, 117, 110, 107, 116, 105, 111, 110, 97, 108, 105, 116, -61, -92, 116, 58, 10, 10, 10, 32, 35, 37, 64, 66, 70, 71, 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, 10, 101, 10, 105, 10, 115, 10, 112, 10, 105, 10, 101, 10, 108, 10, 101, 10, 58, 10, 117, 10, 110, 10, 107, 10, 116, 10, 105, 10, 111, 10, 110, 10, 97, 10, 108, 10, 105, 10, 116, -61, 10, -92, 10, 10, 116, 10, 114, 10, 117, 10, 110, 10, 100, 10, 108, 10, 97, 10, 103, 10, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 103, 10, 114, 10, 117, 10, 110, 10, 100, 10, 114, 10, 105, 10, 115, 10, 115, 101, 114, 103, 101, 98, 101, 110, 32, 115, 101, 105, 117, 110, 100, 108, 97, 103, 101, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 68, 70, 71, 83, 85, 87, 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, 98, 110, 10, 101, 10, 114, 10, 103, 10, 101, 10, 110, 10, 111, 10, 109, 10, 109, 10, 101, 10, 110, 10, 97, 10, 110, 10, 117, 10, 110, 10, 107, 10, 116, 10, 105, 10, 111, 10, 110, 10, 97, 10, 108, 10, 105, 10, 116, -61, 10, -92, 10, 10, 116, 10, 58, 10, 101, 10, 103, 10, 101, 10, 98, 10, 101, 10, 110, 10, 32, 10, 115, 10, 101, 10, 105, 10, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 103, 10, 114, 10, 117, 10, 110, 10, 100, 10, 114, 10, 105, 10, 115, 10, 115, 10, 110, 10, 100, 10, 101, 122, 101, 110, 97, 114, 105, 111, 58, 103, 10, 10, 10, 32, 35, 37, 42, 64, 65, 68, 70, 71, 83, 85, 87, 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, 98, 110, 10, 101, 10, 114, 10, 103, 10, 101, 10, 110, 10, 111, 10, 109, 10, 109, 10, 101, 10, 110, 10, 97, 10, 110, 10, 117, 10, 110, 10, 107, 10, 116, 10, 105, 10, 111, 10, 110, 10, 97, 10, 108, 10, 105, 10, 116, -61, 10, -92, 10, 10, 116, 10, 58, 10, 101, 114, 10, 103, 10, 101, 10, 98, 10, 101, 10, 110, 10, 32, 10, 115, 10, 101, 10, 105, 10, 117, 10, 110, 10, 100, 10, 108, 10, 97, 10, 103, 10, 101, 10, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 58, 103, 10, 114, 10, 117, 10, 110, 10, 100, 10, 114, 10, 105, 10, 115, 10, 115, 10, 110, 10, 100, 10, 101, 114, 117, 110, 100, 114, 105, 115, 115, 58, 10, 10, 10, 32, 35, 37, 42, 64, 65, 68, 70, 71, 83, 85, 87, 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, 98, 110, 10, 101, 10, 114, 10, 103, 10, 101, 10, 110, 10, 111, 10, 109, 10, 109, 10, 101, 10, 110, 10, 97, 10, 110, 10, 117, 10, 110, 10, 107, 10, 116, 10, 105, 10, 111, 10, 110, 10, 97, 10, 108, 10, 105, 10, 116, -61, 10, -92, 10, 10, 116, 10, 58, 10, 101, 10, 103, 10, 101, 10, 98, 10, 101, 10, 110, 10, 32, 10, 115, 10, 101, 10, 105, 10, 122, 10, 101, 10, 110, 10, 97, 10, 114, 10, 105, 10, 111, 10, 110, 10, 100, 10, 101, 110, 100, 101, 32, 124, 9, 13, 10, 32, 92, 124, 9, 13, 10, 92, 124, 10, 92, 10, 32, 92, 124, 9, 13, 10, 32, 34, 35, 37, 42, 64, 65, 66, 68, 70, 71, 83, 85, 87, 124, 9, 13, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 17, 1, 1, 16, 1, 1, 2, 2, 3, 3, 3, 3, 2, 2, 2, 1, 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, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 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, 3, 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, 13, 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, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 13, 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, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 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, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 4, 3, 2, 4, 16, 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, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 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, 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, 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, 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, 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, 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, 1, 0, 0, 1, 1, 0 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 19, 21, 23, 41, 43, 45, 48, 51, 56, 61, 66, 71, 75, 79, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 124, 131, 136, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 177, 179, 181, 188, 191, 194, 197, 200, 203, 206, 209, 212, 215, 218, 221, 224, 227, 230, 233, 251, 253, 255, 257, 259, 261, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 289, 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, 396, 399, 402, 405, 408, 411, 414, 417, 420, 423, 426, 429, 432, 435, 438, 441, 444, 447, 450, 453, 457, 460, 463, 466, 469, 472, 475, 478, 481, 484, 486, 488, 490, 492, 494, 496, 498, 500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 537, 540, 543, 546, 549, 552, 555, 558, 561, 564, 567, 570, 573, 576, 579, 582, 586, 589, 592, 595, 598, 601, 604, 607, 610, 613, 616, 619, 622, 625, 628, 631, 634, 637, 640, 643, 646, 649, 652, 655, 658, 661, 664, 667, 670, 673, 676, 679, 682, 685, 688, 691, 694, 697, 700, 703, 706, 709, 712, 715, 718, 722, 725, 728, 731, 734, 737, 740, 743, 746, 749, 752, 755, 757, 759, 761, 763, 765, 767, 769, 772, 774, 776, 791, 794, 797, 800, 803, 806, 809, 812, 815, 818, 821, 824, 827, 830, 833, 836, 840, 843, 846, 849, 852, 855, 858, 861, 864, 867, 870, 873, 876, 879, 882, 885, 888, 891, 894, 897, 900, 903, 906, 909, 912, 915, 918, 921, 925, 928, 931, 934, 937, 940, 943, 946, 949, 952, 955, 958, 961, 964, 967, 970, 973, 976, 979, 982, 985, 988, 991, 994, 998, 1001, 1004, 1007, 1010, 1013, 1016, 1019, 1022, 1025, 1028, 1031, 1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047, 1049, 1051, 1053, 1068, 1071, 1074, 1077, 1080, 1083, 1086, 1089, 1092, 1095, 1098, 1101, 1104, 1107, 1110, 1113, 1117, 1120, 1123, 1126, 1129, 1132, 1135, 1138, 1141, 1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165, 1168, 1171, 1174, 1177, 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1210, 1213, 1216, 1219, 1222, 1225, 1228, 1231, 1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255, 1258, 1260, 1262, 1264, 1268, 1274, 1278, 1281, 1287, 1305 ] class << self attr_accessor :_lexer_indicies private :_lexer_indicies, :_lexer_indicies= end self._lexer_indicies = [ 1, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 2, 0, 18, 0, 2, 0, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 2, 0, 19, 0, 20, 0, 22, 23, 21, 25, 26, 24, 29, 28, 30, 28, 27, 33, 32, 34, 32, 31, 33, 32, 35, 32, 31, 33, 32, 36, 32, 31, 38, 37, 37, 0, 3, 39, 39, 0, 41, 42, 40, 3, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 0, 58, 60, 61, 59, 0, 0, 0, 0, 62, 63, 64, 63, 63, 66, 65, 62, 3, 67, 8, 67, 0, 68, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 71, 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, 0, 84, 0, 85, 0, 86, 0, 87, 0, 89, 88, 91, 90, 91, 92, 93, 94, 93, 92, 90, 91, 95, 90, 91, 96, 90, 91, 97, 90, 91, 98, 90, 91, 99, 90, 91, 100, 90, 91, 101, 90, 91, 102, 90, 91, 103, 90, 91, 104, 90, 91, 105, 90, 106, 91, 90, 107, 91, 90, 91, 108, 90, 91, 109, 90, 111, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 110, 0, 126, 0, 78, 0, 127, 0, 128, 0, 129, 0, 130, 0, 131, 0, 132, 0, 133, 0, 134, 0, 135, 0, 136, 0, 137, 0, 138, 0, 139, 0, 140, 0, 141, 0, 143, 142, 145, 144, 145, 146, 147, 148, 147, 149, 150, 151, 152, 146, 144, 145, 153, 144, 145, 154, 144, 145, 155, 144, 145, 156, 144, 145, 157, 144, 145, 158, 144, 145, 159, 144, 145, 160, 144, 145, 161, 144, 145, 162, 144, 145, 163, 144, 145, 164, 144, 145, 165, 144, 145, 166, 144, 145, 167, 144, 145, 168, 144, 145, 169, 144, 145, 170, 144, 145, 171, 144, 145, 172, 144, 145, 173, 144, 145, 174, 144, 145, 175, 144, 145, 176, 144, 145, 177, 144, 145, 178, 144, 145, 179, 144, 145, 180, 144, 145, 181, 144, 145, 182, 144, 145, 183, 144, 145, 184, 144, 145, 185, 144, 145, 186, 144, 187, 145, 144, 188, 145, 144, 145, 174, 144, 145, 189, 144, 145, 190, 144, 145, 191, 144, 145, 192, 144, 145, 193, 144, 145, 194, 144, 145, 173, 144, 145, 195, 144, 145, 196, 144, 145, 197, 144, 145, 198, 144, 145, 199, 144, 145, 200, 144, 145, 201, 144, 145, 175, 202, 144, 145, 203, 144, 145, 204, 144, 145, 205, 144, 145, 206, 144, 145, 207, 144, 145, 208, 144, 145, 209, 144, 145, 174, 144, 210, 211, 0, 212, 0, 213, 0, 214, 0, 215, 0, 216, 0, 217, 0, 218, 0, 219, 0, 71, 0, 220, 0, 221, 0, 222, 0, 223, 0, 224, 0, 225, 0, 226, 0, 227, 0, 229, 228, 231, 230, 231, 232, 233, 234, 235, 233, 236, 237, 238, 239, 240, 241, 242, 232, 230, 231, 243, 230, 231, 244, 230, 231, 245, 230, 231, 246, 230, 231, 247, 230, 231, 248, 230, 231, 249, 230, 231, 250, 230, 231, 251, 230, 231, 252, 230, 231, 253, 230, 231, 254, 230, 231, 255, 230, 231, 256, 230, 231, 257, 230, 231, 258, 259, 230, 231, 260, 230, 231, 261, 230, 231, 262, 230, 231, 263, 230, 231, 264, 230, 231, 265, 230, 231, 266, 230, 231, 267, 230, 231, 268, 230, 231, 261, 230, 231, 269, 230, 231, 268, 230, 231, 270, 230, 231, 271, 230, 231, 272, 230, 231, 273, 230, 231, 274, 230, 231, 275, 230, 231, 276, 230, 231, 277, 230, 231, 278, 230, 231, 279, 230, 231, 280, 230, 281, 231, 230, 282, 231, 230, 231, 283, 230, 231, 257, 230, 231, 284, 230, 231, 285, 230, 231, 286, 230, 231, 287, 230, 231, 288, 230, 231, 289, 230, 231, 290, 230, 231, 291, 230, 231, 292, 230, 231, 261, 230, 231, 293, 230, 231, 294, 230, 231, 295, 230, 231, 296, 230, 231, 297, 230, 231, 298, 230, 231, 299, 230, 231, 257, 300, 230, 231, 301, 230, 231, 302, 230, 231, 303, 230, 231, 304, 230, 231, 305, 230, 231, 306, 230, 231, 307, 230, 231, 283, 230, 231, 308, 230, 231, 261, 230, 231, 269, 230, 309, 0, 310, 0, 311, 0, 312, 0, 313, 0, 314, 0, 315, 0, 316, 317, 0, 319, 318, 321, 320, 321, 322, 323, 324, 325, 323, 326, 327, 328, 329, 330, 331, 332, 322, 320, 321, 333, 320, 321, 334, 320, 321, 335, 320, 321, 336, 320, 321, 337, 320, 321, 338, 320, 321, 339, 320, 321, 340, 320, 321, 341, 320, 321, 342, 320, 321, 343, 320, 321, 344, 320, 321, 345, 320, 321, 346, 320, 321, 347, 320, 321, 348, 349, 320, 321, 350, 320, 321, 351, 320, 321, 352, 320, 321, 353, 320, 321, 354, 320, 321, 355, 320, 321, 356, 320, 321, 357, 320, 321, 358, 320, 321, 351, 320, 321, 359, 320, 321, 358, 320, 321, 360, 320, 321, 361, 320, 321, 362, 320, 321, 363, 320, 321, 364, 320, 321, 365, 320, 321, 366, 320, 321, 367, 320, 321, 368, 320, 321, 369, 320, 321, 370, 320, 371, 321, 320, 372, 321, 320, 321, 373, 320, 321, 347, 320, 321, 374, 375, 320, 321, 376, 320, 321, 377, 320, 321, 378, 320, 321, 379, 320, 321, 380, 320, 321, 381, 320, 321, 382, 320, 321, 383, 320, 321, 351, 320, 321, 384, 320, 321, 385, 320, 321, 386, 320, 321, 387, 320, 321, 388, 320, 321, 389, 320, 321, 373, 320, 321, 390, 320, 321, 391, 320, 321, 392, 320, 321, 393, 320, 321, 394, 320, 321, 395, 320, 321, 396, 320, 321, 347, 397, 320, 321, 398, 320, 321, 399, 320, 321, 400, 320, 321, 401, 320, 321, 402, 320, 321, 403, 320, 321, 404, 320, 321, 373, 320, 321, 405, 320, 321, 351, 320, 321, 359, 320, 406, 0, 407, 0, 408, 0, 409, 0, 410, 0, 411, 0, 412, 0, 413, 0, 414, 0, 416, 415, 418, 417, 418, 419, 420, 421, 422, 420, 423, 424, 425, 426, 427, 428, 429, 419, 417, 418, 430, 417, 418, 431, 417, 418, 432, 417, 418, 433, 417, 418, 434, 417, 418, 435, 417, 418, 436, 417, 418, 437, 417, 418, 438, 417, 418, 439, 417, 418, 440, 417, 418, 441, 417, 418, 442, 417, 418, 443, 417, 418, 444, 417, 418, 445, 446, 417, 418, 447, 417, 418, 448, 417, 418, 449, 417, 418, 450, 417, 418, 451, 417, 418, 452, 417, 418, 453, 417, 418, 454, 417, 418, 455, 417, 418, 448, 417, 418, 456, 417, 418, 455, 417, 418, 457, 417, 418, 458, 417, 418, 459, 417, 418, 460, 417, 418, 461, 417, 418, 462, 417, 418, 463, 417, 418, 464, 417, 418, 465, 417, 418, 466, 417, 418, 467, 417, 468, 418, 417, 469, 418, 417, 418, 470, 417, 418, 444, 417, 418, 471, 417, 418, 472, 417, 418, 473, 417, 418, 474, 417, 418, 475, 417, 418, 476, 417, 418, 477, 417, 418, 478, 417, 418, 479, 417, 418, 448, 417, 418, 480, 417, 418, 481, 417, 418, 482, 417, 418, 483, 417, 418, 484, 417, 418, 485, 417, 418, 470, 417, 418, 486, 417, 418, 448, 417, 418, 456, 417, 487, 0, 71, 0, 126, 0, 488, 489, 488, 0, 492, 491, 493, 494, 491, 490, 0, 496, 497, 495, 0, 496, 495, 492, 498, 496, 497, 498, 495, 492, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 499, 0, 514, 0 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 0, 2, 4, 4, 5, 15, 17, 31, 34, 37, 48, 76, 78, 156, 249, 414, 416, 417, 3, 6, 7, 8, 9, 8, 8, 9, 8, 10, 10, 10, 11, 10, 10, 10, 11, 12, 13, 14, 4, 14, 15, 4, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 423, 32, 33, 33, 4, 16, 35, 36, 4, 35, 34, 36, 38, 40, 39, 31, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 58, 59, 59, 4, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 4, 4, 5, 15, 17, 31, 34, 37, 48, 76, 78, 156, 249, 414, 416, 417, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 94, 95, 95, 4, 96, 110, 119, 133, 140, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 4, 111, 112, 113, 114, 115, 116, 117, 118, 75, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157, 166, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 175, 176, 176, 4, 177, 191, 192, 203, 205, 220, 230, 246, 248, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 4, 75, 193, 195, 194, 191, 196, 197, 198, 199, 200, 201, 202, 204, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 221, 222, 223, 224, 225, 226, 227, 228, 229, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 247, 250, 251, 252, 253, 254, 255, 256, 257, 339, 258, 259, 258, 259, 259, 4, 260, 274, 275, 286, 288, 303, 320, 336, 338, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 4, 75, 276, 278, 277, 274, 279, 280, 281, 282, 283, 284, 285, 287, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 304, 313, 305, 306, 307, 308, 309, 310, 311, 312, 314, 315, 316, 317, 318, 319, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 337, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 349, 350, 350, 4, 351, 365, 366, 377, 379, 394, 404, 411, 413, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 4, 75, 367, 369, 368, 365, 370, 371, 372, 373, 374, 375, 376, 378, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 395, 396, 397, 398, 399, 400, 401, 402, 403, 405, 406, 407, 408, 409, 410, 412, 415, 417, 418, 419, 421, 422, 420, 418, 419, 420, 418, 421, 422, 5, 15, 17, 31, 34, 37, 48, 76, 78, 156, 249, 414, 416, 417, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 43, 0, 0, 54, 3, 1, 0, 29, 1, 29, 29, 29, 29, 29, 29, 29, 29, 35, 0, 0, 0, 7, 135, 48, 0, 102, 9, 5, 45, 130, 45, 0, 33, 122, 33, 33, 0, 11, 106, 0, 0, 114, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 0, 110, 23, 0, 27, 118, 27, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 140, 0, 54, 0, 81, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 31, 126, 60, 57, 31, 63, 57, 63, 63, 63, 63, 63, 63, 63, 63, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 140, 0, 54, 0, 69, 33, 84, 84, 84, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 140, 0, 54, 0, 72, 33, 84, 84, 84, 84, 84, 84, 84, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 140, 0, 54, 0, 75, 33, 84, 84, 84, 84, 84, 84, 84, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 57, 140, 0, 54, 0, 78, 33, 84, 84, 84, 84, 84, 84, 84, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 37, 54, 37, 87, 0, 0, 39, 0, 0, 93, 90, 41, 96, 90, 96, 96, 96, 96, 96, 96, 96, 96, 99, 0 ] class << self attr_accessor :_lexer_eof_actions private :_lexer_eof_actions, :_lexer_eof_actions= end self._lexer_eof_actions = [ 0, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 423; 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 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.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 809 "lib/gherkin/rb_lexer/de.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 138 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" # line 818 "lib/gherkin/rb_lexer/de.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 _trans = _lexer_indicies[_trans] 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 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @content_start = p @current_line = @line_number @start_col = p - @last_newline - "#{@keyword}:".length end when 1 then # line 15 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end when 2 then # line 20 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @content_start = p end when 3 then # line 24 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @docstring_content_type_start = p end when 4 then # line 27 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @docstring_content_type_end = p end when 5 then # line 31 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""')) con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip @listener.doc_string(con_type, con, @current_line) end when 6 then # line 36 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = store_keyword_content(:feature, data, p, eof) end when 7 then # line 40 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = store_keyword_content(:background, data, p, eof) end when 8 then # line 44 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = store_keyword_content(:scenario, data, p, eof) end when 9 then # line 48 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = store_keyword_content(:scenario_outline, data, p, eof) end when 10 then # line 52 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = store_keyword_content(:examples, data, p, eof) end when 11 then # line 56 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.step(@keyword, con, @current_line) end when 12 then # line 61 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.comment(con, @line_number) @keyword_start = nil end when 13 then # line 67 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.tag(con, @current_line) @keyword_start = nil end when 14 then # line 73 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @line_number += 1 end when 15 then # line 77 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @last_newline = p + 1 end when 16 then # line 81 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @keyword_start ||= p end when 17 then # line 85 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'') @keyword_start = nil end when 18 then # line 90 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @next_keyword_start = p end when 19 then # line 94 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin p = p - 1 current_row = [] @current_line = @line_number end when 20 then # line 100 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @content_start = p end when 21 then # line 104 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\") end when 22 then # line 109 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin @listener.row(current_row, @current_line) end when 23 then # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content]) else @listener.eof end end # line 1062 "lib/gherkin/rb_lexer/de.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 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content]) else @listener.eof end end # line 1101 "lib/gherkin/rb_lexer/de.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 139 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/de.rb.rl" end def unindent(startcol, text) text.gsub(/^[\t ]{0,#{startcol}}/, "") end def store_keyword_content(event, data, p, eof) end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip content_lines = content.split("\n") name = content_lines.shift || "" name.strip! description = content_lines.join("\n") @listener.__send__(event, @keyword, name, description, @current_line) @next_keyword_start ? @next_keyword_start - 1 : p ensure @next_keyword_start = nil end def current_line_content(data, p) rest = data[@last_newline..-1] utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n end if (RUBY_VERSION =~ /^1\.9/) def utf8_pack(array) array.pack("c*").force_encoding("UTF-8") end else def utf8_pack(array) array.pack("c*") end end end end end