# line 1 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" require 'gherkin/lexer/i18n_lexer' module Gherkin module RbLexer class Eo #:nodoc: # line 125 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" def initialize(listener) @listener = listener # line 16 "lib/gherkin/rb_lexer/eo.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, 14, 1, 15, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 21, 2, 2, 16, 2, 11, 0, 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, 18, 19, 2, 20, 0, 2, 20, 1, 2, 20, 14, 2, 20, 17, 3, 3, 12, 13, 3, 9, 12, 13, 3, 10, 12, 13, 3, 11, 12, 13, 3, 12, 13, 16, 3, 15, 12, 13, 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, 35, 36, 37, 41, 46, 51, 56, 61, 65, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 95, 102, 107, 108, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 134, 136, 138, 140, 142, 144, 146, 162, 163, 164, 165, 166, 167, 168, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 215, 217, 219, 221, 223, 225, 227, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 275, 278, 280, 282, 284, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 323, 325, 327, 329, 331, 333, 335, 337, 339, 341, 343, 345, 347, 349, 351, 353, 355, 358, 360, 362, 364, 366, 368, 370, 372, 374, 377, 379, 381, 383, 385, 387, 389, 392, 394, 396, 398, 400, 402, 403, 404, 405, 406, 407, 408, 409, 410, 423, 425, 427, 429, 431, 433, 435, 437, 439, 441, 443, 445, 447, 449, 451, 453, 455, 458, 460, 462, 464, 466, 468, 470, 472, 474, 476, 478, 481, 483, 485, 487, 489, 491, 493, 495, 497, 499, 501, 503, 505, 507, 509, 511, 513, 515, 517, 519, 522, 525, 527, 529, 531, 533, 535, 536, 537, 538, 539, 540, 541, 542, 543, 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, 635, 637, 639, 641, 643, 645, 647, 649, 651, 653, 657, 663, 666, 668, 674, 690 ] 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, 68, 69, 70, 75, 83, 84, 124, 9, 13, -69, -65, 10, 32, 34, 35, 37, 42, 64, 68, 69, 70, 75, 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, 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, 111, 32, 110, 105, 116, 97, -60, -75, 111, 107, 122, 101, 109, 112, 108, 111, 106, 58, 10, 10, 10, 32, 35, 84, 124, 9, 13, 10, 114, 10, 97, 10, 106, 10, 116, 10, 111, 10, 58, 10, 32, 34, 35, 37, 42, 64, 68, 69, 70, 75, 83, 84, 124, 9, 13, 111, 110, 111, 58, 10, 10, 10, 32, 35, 37, 42, 64, 68, 75, 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, 111, 10, 32, 110, 10, 105, 10, 116, 10, 97, -60, 10, -75, 10, 10, 111, 10, 97, 111, 10, 106, 10, 110, 10, 116, 10, 117, 10, 114, 10, 111, 10, 32, 10, 100, 10, 101, 10, 32, 10, 108, 10, 97, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 111, 10, 58, 10, 99, 101, 10, 32, 100, 10, 114, 10, 97, 10, 106, 10, 116, 97, 111, 106, 110, 116, 117, 114, 111, 32, 100, 101, 32, 108, 97, 32, 115, 99, 101, 110, 97, 114, 111, 58, 10, 10, 10, 32, 35, 37, 42, 64, 68, 75, 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, 111, 10, 32, 110, 10, 105, 10, 116, 10, 97, -60, 10, -75, 10, 10, 111, 10, 97, 10, 106, 10, 99, 101, 10, 101, 10, 110, 10, 97, 10, 114, 10, 111, 10, 58, 10, 32, 100, 10, 114, 10, 97, 10, 106, 10, 116, 99, 101, 101, 110, 97, 114, 111, 58, 10, 10, 10, 32, 35, 37, 42, 64, 68, 70, 75, 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, 111, 10, 32, 110, 10, 105, 10, 116, 10, 97, -60, 10, -75, 10, 10, 111, 10, 111, 10, 110, 10, 111, 10, 58, 10, 97, 111, 10, 106, 10, 110, 10, 116, 10, 117, 10, 114, 10, 111, 10, 32, 10, 100, 10, 101, 10, 32, 10, 108, 10, 97, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 99, 101, 10, 32, 100, 10, 114, 10, 97, 10, 106, 10, 116, 32, 100, 114, 97, 106, 116, 111, 58, 10, 10, 10, 32, 35, 37, 64, 69, 70, 75, 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, 107, 10, 122, 10, 101, 10, 109, 10, 112, 10, 108, 10, 111, 10, 106, 10, 58, 10, 111, 10, 110, 10, 111, 10, 111, 10, 110, 10, 116, 10, 117, 10, 114, 10, 111, 10, 32, 10, 100, 10, 101, 10, 32, 10, 108, 10, 97, 10, 32, 10, 115, 10, 99, 10, 101, 10, 110, 10, 97, 10, 114, 10, 114, 10, 97, 10, 106, 10, 116, 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, 68, 69, 70, 75, 83, 84, 124, 9, 13, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 15, 1, 1, 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, 1, 2, 3, 5, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 2, 2, 2, 2, 2, 2, 14, 1, 1, 1, 1, 1, 1, 10, 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, 3, 3, 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, 1, 1, 10, 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, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 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, 3, 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, 3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 10, 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, 4, 3, 2, 4, 14, 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, 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, 0, 1, 1, 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, 1, 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, 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, 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, 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, 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, 17, 19, 21, 37, 39, 41, 45, 50, 55, 60, 65, 69, 73, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 113, 118, 125, 130, 132, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 176, 179, 182, 185, 188, 191, 194, 210, 212, 214, 216, 218, 220, 222, 234, 237, 240, 243, 246, 249, 252, 255, 258, 261, 264, 267, 270, 273, 276, 279, 282, 286, 289, 292, 295, 298, 301, 304, 308, 311, 314, 317, 320, 323, 326, 329, 332, 335, 338, 341, 344, 347, 350, 353, 356, 359, 362, 365, 368, 371, 375, 379, 382, 385, 388, 391, 394, 396, 398, 400, 402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430, 432, 434, 436, 438, 440, 452, 455, 458, 461, 464, 467, 470, 473, 476, 479, 482, 485, 488, 491, 494, 497, 500, 504, 507, 510, 513, 516, 519, 522, 525, 528, 532, 535, 538, 541, 544, 547, 550, 554, 557, 560, 563, 566, 569, 571, 573, 575, 577, 579, 581, 583, 585, 598, 601, 604, 607, 610, 613, 616, 619, 622, 625, 628, 631, 634, 637, 640, 643, 646, 650, 653, 656, 659, 662, 665, 668, 671, 674, 677, 680, 684, 687, 690, 693, 696, 699, 702, 705, 708, 711, 714, 717, 720, 723, 726, 729, 732, 735, 738, 741, 745, 749, 752, 755, 758, 761, 764, 766, 768, 770, 772, 774, 776, 778, 780, 792, 795, 798, 801, 804, 807, 810, 813, 816, 819, 822, 825, 828, 831, 834, 837, 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, 924, 927, 930, 933, 936, 939, 943, 949, 953, 956, 962, 978 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 2, 4, 4, 5, 14, 16, 30, 33, 36, 44, 63, 121, 183, 247, 305, 4, 0, 3, 0, 4, 0, 4, 4, 5, 14, 16, 30, 33, 36, 44, 63, 121, 183, 247, 305, 4, 0, 6, 0, 7, 0, 8, 7, 7, 0, 9, 9, 10, 9, 9, 9, 9, 10, 9, 9, 9, 9, 11, 9, 9, 9, 9, 12, 9, 9, 4, 13, 13, 0, 4, 13, 13, 0, 4, 15, 14, 4, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, 311, 0, 31, 0, 0, 32, 4, 15, 32, 0, 0, 0, 0, 34, 35, 4, 35, 35, 33, 34, 34, 4, 35, 33, 35, 0, 37, 0, 31, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 30, 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, 4, 56, 4, 55, 54, 55, 57, 54, 55, 58, 54, 55, 59, 54, 55, 60, 54, 55, 61, 54, 55, 62, 54, 4, 4, 5, 14, 16, 30, 33, 36, 44, 63, 121, 183, 247, 305, 4, 0, 64, 0, 65, 0, 66, 0, 67, 0, 69, 68, 69, 68, 69, 69, 4, 70, 84, 4, 85, 93, 115, 117, 69, 68, 69, 71, 68, 69, 72, 68, 69, 73, 68, 69, 74, 68, 69, 75, 68, 69, 76, 68, 69, 77, 68, 69, 78, 68, 69, 79, 68, 69, 80, 68, 69, 81, 68, 69, 82, 68, 69, 83, 68, 69, 4, 68, 69, 62, 68, 69, 86, 68, 69, 62, 87, 68, 69, 88, 68, 69, 89, 68, 69, 90, 68, 91, 69, 68, 92, 69, 68, 69, 84, 68, 69, 94, 95, 68, 69, 84, 68, 69, 96, 68, 69, 97, 68, 69, 98, 68, 69, 99, 68, 69, 100, 68, 69, 101, 68, 69, 102, 68, 69, 103, 68, 69, 104, 68, 69, 105, 68, 69, 106, 68, 69, 107, 68, 69, 108, 68, 69, 109, 68, 69, 110, 68, 69, 111, 68, 69, 112, 68, 69, 113, 68, 69, 114, 68, 69, 62, 68, 69, 109, 116, 68, 69, 62, 84, 68, 69, 118, 68, 69, 119, 68, 69, 120, 68, 69, 113, 68, 122, 123, 0, 30, 0, 124, 0, 125, 0, 126, 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, 142, 0, 143, 0, 145, 144, 145, 144, 145, 145, 4, 146, 160, 4, 161, 169, 171, 179, 145, 144, 145, 147, 144, 145, 148, 144, 145, 149, 144, 145, 150, 144, 145, 151, 144, 145, 152, 144, 145, 153, 144, 145, 154, 144, 145, 155, 144, 145, 156, 144, 145, 157, 144, 145, 158, 144, 145, 159, 144, 145, 4, 144, 145, 62, 144, 145, 162, 144, 145, 62, 163, 144, 145, 164, 144, 145, 165, 144, 145, 166, 144, 167, 145, 144, 168, 145, 144, 145, 160, 144, 145, 170, 144, 145, 160, 144, 145, 172, 178, 144, 145, 173, 144, 145, 174, 144, 145, 175, 144, 145, 176, 144, 145, 177, 144, 145, 62, 144, 145, 62, 160, 144, 145, 180, 144, 145, 181, 144, 145, 182, 144, 145, 176, 144, 184, 246, 0, 185, 0, 186, 0, 187, 0, 188, 0, 189, 0, 190, 0, 192, 191, 192, 191, 192, 192, 4, 193, 207, 4, 208, 216, 220, 240, 242, 192, 191, 192, 194, 191, 192, 195, 191, 192, 196, 191, 192, 197, 191, 192, 198, 191, 192, 199, 191, 192, 200, 191, 192, 201, 191, 192, 202, 191, 192, 203, 191, 192, 204, 191, 192, 205, 191, 192, 206, 191, 192, 4, 191, 192, 62, 191, 192, 209, 191, 192, 62, 210, 191, 192, 211, 191, 192, 212, 191, 192, 213, 191, 214, 192, 191, 215, 192, 191, 192, 207, 191, 192, 217, 191, 192, 218, 191, 192, 219, 191, 192, 62, 191, 192, 221, 222, 191, 192, 207, 191, 192, 223, 191, 192, 224, 191, 192, 225, 191, 192, 226, 191, 192, 227, 191, 192, 228, 191, 192, 229, 191, 192, 230, 191, 192, 231, 191, 192, 232, 191, 192, 233, 191, 192, 234, 191, 192, 235, 191, 192, 236, 191, 192, 237, 191, 192, 238, 191, 192, 239, 191, 192, 218, 191, 192, 236, 241, 191, 192, 62, 207, 191, 192, 243, 191, 192, 244, 191, 192, 245, 191, 192, 218, 191, 31, 30, 0, 248, 0, 249, 0, 250, 0, 251, 0, 252, 0, 253, 0, 255, 254, 255, 254, 255, 255, 4, 256, 4, 270, 279, 282, 296, 301, 255, 254, 255, 257, 254, 255, 258, 254, 255, 259, 254, 255, 260, 254, 255, 261, 254, 255, 262, 254, 255, 263, 254, 255, 264, 254, 255, 265, 254, 255, 266, 254, 255, 267, 254, 255, 268, 254, 255, 269, 254, 255, 4, 254, 255, 271, 254, 255, 272, 254, 255, 273, 254, 255, 274, 254, 255, 275, 254, 255, 276, 254, 255, 277, 254, 255, 278, 254, 255, 62, 254, 255, 280, 254, 255, 281, 254, 255, 278, 254, 255, 283, 254, 255, 284, 254, 255, 285, 254, 255, 286, 254, 255, 287, 254, 255, 288, 254, 255, 289, 254, 255, 290, 254, 255, 291, 254, 255, 292, 254, 255, 293, 254, 255, 294, 254, 255, 295, 254, 255, 296, 254, 255, 297, 254, 255, 298, 254, 255, 299, 254, 255, 300, 254, 255, 281, 254, 255, 302, 254, 255, 303, 254, 255, 304, 254, 255, 281, 254, 305, 306, 305, 0, 310, 309, 308, 306, 309, 307, 0, 308, 306, 307, 0, 308, 307, 310, 309, 308, 306, 309, 307, 310, 310, 5, 14, 16, 30, 33, 36, 44, 63, 121, 183, 247, 305, 310, 0, 0, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 0, 47, 0, 3, 1, 0, 25, 1, 25, 25, 25, 25, 25, 25, 31, 0, 39, 0, 39, 0, 39, 47, 0, 3, 1, 0, 25, 1, 25, 25, 25, 25, 25, 25, 31, 0, 39, 0, 39, 0, 39, 47, 0, 0, 39, 119, 41, 41, 41, 5, 111, 29, 29, 29, 0, 111, 29, 29, 29, 0, 111, 29, 0, 29, 0, 95, 7, 7, 39, 47, 0, 0, 39, 103, 21, 0, 47, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 39, 50, 99, 19, 0, 39, 39, 39, 39, 0, 23, 107, 23, 23, 44, 23, 0, 47, 0, 1, 0, 39, 0, 39, 0, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 74, 77, 74, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 17, 0, 115, 27, 53, 50, 27, 56, 50, 56, 56, 56, 56, 56, 56, 59, 27, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 65, 29, 77, 65, 77, 77, 77, 77, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 11, 0, 47, 11, 0, 47, 0, 0, 47, 11, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 11, 0, 47, 0, 0, 0, 47, 11, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 71, 29, 77, 71, 77, 77, 77, 77, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 15, 0, 47, 15, 0, 47, 0, 0, 47, 15, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 15, 0, 47, 15, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 68, 29, 77, 68, 77, 77, 77, 77, 77, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 13, 0, 47, 13, 0, 47, 0, 0, 47, 13, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 13, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 13, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 62, 29, 62, 77, 77, 77, 77, 77, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 9, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 9, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 0, 0, 39, 47, 33, 33, 80, 33, 33, 39, 0, 35, 0, 39, 0, 0, 47, 0, 0, 35, 0, 0, 47, 0, 86, 83, 37, 89, 83, 89, 89, 89, 89, 89, 89, 92, 0, 39, 0, 0 ] class << self attr_accessor :_lexer_eof_actions private :_lexer_eof_actions, :_lexer_eof_actions= end self._lexer_eof_actions = [ 0, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 311; 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 130 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 655 "lib/gherkin/rb_lexer/eo.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 140 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" # line 664 "lib/gherkin/rb_lexer/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @content_start = p @current_line = @line_number end # line 9 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 1 then # line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 2 then # line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @content_start = p end # line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 3 then # line 23 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""')) @listener.py_string(con, @current_line) end # line 23 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 4 then # line 28 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 5 then # line 34 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 6 then # line 40 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 7 then # line 46 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 8 then # line 52 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 9 then # line 58 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.step(@keyword, con, @current_line) end # line 58 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 10 then # line 63 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.comment(con, @line_number) @keyword_start = nil end # line 63 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 11 then # line 69 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.tag(con, @current_line) @keyword_start = nil end # line 69 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 12 then # line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @line_number += 1 end # line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 13 then # line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @last_newline = p + 1 end # line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 14 then # line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @keyword_start ||= p end # line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 15 then # line 87 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'') @keyword_start = nil end # line 87 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 16 then # line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @next_keyword_start = p end # line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 17 then # line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin p = p - 1 current_row = [] @current_line = @line_number end # line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 18 then # line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @content_start = p end # line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 19 then # line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip current_row << con.gsub(/\\\|/, "|").gsub(/\\\\/, "\\") end # line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 20 then # line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" begin @listener.row(current_row, @current_line) end # line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" when 21 then # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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/aslakhellesoy/gherkin/lexingerror for more information." % [@line_number, content]) else @listener.eof end end # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" # line 925 "lib/gherkin/rb_lexer/eo.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 21 then # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.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/aslakhellesoy/gherkin/lexingerror for more information." % [@line_number, content]) else @listener.eof end end # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" # line 965 "lib/gherkin/rb_lexer/eo.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 141 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/eo.rb.rl" end CRLF_RE = /\r\n/ LF_RE = /[^\r]\n/ CRLF = "\r\n" LF = "\n" def multiline_strip(text) crlf_count = text.scan(CRLF_RE).size lf_count = text.scan(LF_RE).size eol = crlf_count > lf_count ? CRLF : LF text.split(/\r?\n/).map{|s| s.strip}.join(eol).strip 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 = yield utf8_pack(data[@content_start...end_point]) content_lines = content.split("\n") name = content_lines.shift || "" name.strip! description = content_lines.join("\n") @listener.__send__(event, @keyword, name, description, @current_line) end def current_line_content(data, p) rest = data[@last_newline..-1] utf8_pack(rest[0..rest.index(10)||-1]).strip end def utf8_pack(array) (RUBY_VERSION =~ /^1\.9/) ? array.pack("c*").force_encoding("UTF-8") : array.pack("c*") end end end end