# line 1 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" require 'gherkin/core_ext/array' module Gherkin module RbLexer class Ko #:nodoc: # line 133 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" def initialize(listener) @listener = listener # line 16 "lib/gherkin/rb_lexer/ko.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, 14, 16, 17, 18, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 47, 49, 51, 53, 55, 57, 59, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 98, 100, 102, 104, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 159, 161, 163, 165, 167, 169, 171, 173, 175, 177, 179, 181, 183, 185, 187, 189, 191, 193, 195, 197, 199, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 261, 263, 265, 267, 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 299, 301, 303, 305, 307, 309, 311, 313, 315, 317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 337, 339, 341, 343, 345, 347, 349, 351, 353, 355, 357, 359, 361, 363, 365, 367, 369, 371, 373, 374, 375, 387, 389, 391, 393, 396, 398, 400, 402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 425, 427, 429, 431, 433, 435, 437, 439, 441, 443, 445, 448, 450, 452, 454, 456, 458, 460, 462, 464, 466, 468, 470, 472, 474, 476, 478, 480, 482, 484, 486, 488, 490, 492, 494, 496, 498, 500, 502, 504, 506, 508, 510, 512, 514, 515, 516, 517, 518, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 540, 545, 550, 555, 560, 564, 568, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 590, 597, 602, 606, 611, 612, 617, 631, 633, 635, 637, 639, 641, 643, 645, 647, 649, 651, 653, 656, 658, 660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 686, 688, 690, 692, 694, 696 ] class << self attr_accessor :_lexer_trans_keys private :_lexer_trans_keys, :_lexer_trans_keys= end self._lexer_trans_keys = [ -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -73, -72, -72, -21, -97, -90, -84, -21, -87, -76, 10, 10, 13, -84, -22, -77, -96, -80, -21, -118, -91, 58, 10, 10, -21, -20, 10, 32, 35, 37, 64, 9, 13, -80, 10, -80, 10, -22, 10, -78, 10, -67, 10, 10, 58, -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -89, -80, -116, -20, -99, -68, -80, -22, -78, -67, 58, 10, 10, -22, -21, -20, -19, 10, 32, 35, 37, 42, 64, 9, 13, -73, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -84, 10, -22, 10, -77, 10, -96, 10, -89, 10, -116, 10, -20, 10, -99, 10, -68, 10, -117, -95, 10, -100, 10, -21, 10, -126, 10, -104, 10, -21, 10, -90, 10, -84, 10, -20, 10, -104, 10, -92, 10, 10, 32, 58, -22, 10, -80, 10, -100, 10, -20, 10, -102, 10, -108, 10, 10, 58, -80, 10, -22, 10, -79, 10, -107, 10, -104, 10, -20, 10, -89, 10, -128, 10, -21, 10, -89, 10, -116, 10, 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, -117, -104, -95, -100, -21, -126, -104, -21, -90, -84, -20, -104, -92, 32, 58, -22, -80, -100, -20, -102, -108, 58, 10, 10, -22, -21, -20, -19, 10, 32, 35, 37, 42, 64, 9, 13, -73, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -84, 10, -22, 10, -77, 10, -96, 10, -89, 10, -116, 10, -20, 10, -99, 10, -68, 10, -117, -95, 10, -100, 10, -21, 10, -126, 10, -104, 10, -21, 10, -90, 10, -84, 10, -20, 10, -104, 10, -92, 10, 10, 58, -80, 10, -22, 10, -79, 10, -107, 10, -104, 10, -20, 10, -89, 10, -128, 10, -21, 10, -89, 10, -116, 10, 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, 10, -22, -21, -20, -19, 10, 32, 35, 37, 42, 64, 9, 13, -73, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -84, 10, -22, 10, -77, 10, -96, 10, -89, 10, -116, 10, -20, 10, -99, 10, -68, 10, -117, -95, 10, -100, 10, -21, 10, -126, 10, -104, 10, -21, 10, -90, 10, -84, 10, -20, 10, -104, 10, -92, 10, 10, 32, 58, -22, 10, -80, 10, -100, 10, -20, 10, -102, 10, -108, 10, 10, 58, -80, 10, -22, 10, -79, 10, -107, 10, -104, 10, -20, 10, -89, 10, -128, 10, -21, 10, -89, 10, -116, 10, 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, -120, 58, 10, 10, 10, 32, 124, 9, 13, -80, -22, -79, -107, -104, -20, -89, -128, -21, -89, -116, 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, 13, 32, 64, 9, 10, 9, 10, 13, 32, 64, 11, 12, 10, 32, 64, 9, 13, 32, 124, 9, 13, 10, 32, 124, 9, 13, 124, 10, 32, 124, 9, 13, -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -117, 10, -100, 10, -21, 10, -126, 10, -104, 10, -21, 10, -90, 10, -84, 10, -20, 10, -104, 10, -92, 10, 10, 32, 58, -22, 10, -80, 10, -100, 10, -20, 10, -102, 10, -108, 10, 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, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 12, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 2, 2, 2, 2, 2, 2, 12, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 2, 2, 2, 3, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 2, 2, 2, 3, 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, 1, 1, 10, 2, 2, 2, 3, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 5, 3, 2, 3, 1, 3, 12, 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, 0 ] class << self attr_accessor :_lexer_range_lengths private :_lexer_range_lengths, :_lexer_range_lengths= end self._lexer_range_lengths = [ 0, 1, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 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 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 14, 17, 19, 21, 24, 26, 28, 30, 32, 34, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 68, 71, 74, 77, 80, 83, 86, 100, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 137, 140, 143, 146, 150, 153, 156, 159, 162, 165, 168, 171, 174, 177, 180, 183, 186, 189, 193, 196, 199, 202, 205, 208, 211, 214, 217, 220, 223, 227, 230, 233, 236, 239, 242, 245, 248, 251, 254, 257, 260, 263, 266, 269, 272, 275, 278, 281, 284, 287, 290, 293, 296, 299, 302, 305, 308, 311, 314, 317, 320, 323, 326, 330, 332, 334, 336, 338, 340, 342, 344, 346, 348, 350, 353, 355, 357, 359, 361, 363, 365, 367, 369, 371, 383, 386, 389, 392, 396, 399, 402, 405, 408, 411, 414, 417, 420, 423, 426, 429, 432, 435, 439, 442, 445, 448, 451, 454, 457, 460, 463, 466, 469, 472, 475, 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, 552, 554, 566, 569, 572, 575, 579, 582, 585, 588, 591, 594, 597, 600, 603, 606, 609, 612, 615, 618, 622, 625, 628, 631, 634, 637, 640, 643, 646, 649, 652, 656, 659, 662, 665, 668, 671, 674, 677, 680, 683, 686, 689, 692, 695, 698, 701, 704, 707, 710, 713, 716, 719, 722, 725, 728, 731, 734, 737, 740, 743, 746, 749, 752, 755, 757, 759, 761, 763, 768, 770, 772, 774, 776, 778, 780, 782, 784, 786, 788, 790, 792, 794, 798, 803, 808, 813, 818, 822, 826, 829, 831, 833, 835, 837, 839, 841, 843, 845, 847, 849, 851, 853, 855, 857, 859, 864, 871, 876, 880, 885, 887, 892, 906, 909, 912, 915, 918, 921, 924, 927, 930, 933, 936, 939, 943, 946, 949, 952, 955, 958, 961, 964, 967, 970, 973, 976, 979, 982, 985, 988, 991, 994, 997, 1000, 1003 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 2, 31, 106, 256, 1, 1, 264, 273, 274, 288, 289, 292, 1, 0, 3, 16, 0, 4, 0, 5, 0, 6, 12, 0, 7, 0, 8, 0, 9, 0, 10, 0, 0, 11, 1, 11, 11, 13, 0, 14, 0, 15, 0, 10, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 23, 22, 23, 22, 24, 297, 23, 23, 1, 315, 1, 23, 22, 25, 23, 22, 26, 23, 22, 27, 23, 22, 28, 23, 22, 29, 23, 22, 23, 30, 22, 2, 31, 106, 256, 1, 1, 264, 273, 274, 288, 289, 292, 1, 0, 32, 36, 0, 33, 0, 34, 0, 35, 0, 10, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 43, 42, 43, 42, 44, 56, 61, 83, 43, 43, 1, 91, 105, 1, 43, 42, 45, 43, 42, 46, 43, 42, 47, 43, 42, 48, 52, 43, 42, 49, 43, 42, 50, 43, 42, 51, 43, 42, 30, 43, 42, 53, 43, 42, 54, 43, 42, 55, 43, 42, 30, 43, 42, 57, 43, 42, 58, 43, 42, 59, 43, 42, 60, 43, 42, 30, 43, 42, 62, 80, 43, 42, 63, 43, 42, 64, 43, 42, 65, 43, 42, 66, 43, 42, 67, 43, 42, 68, 43, 42, 69, 43, 42, 70, 43, 42, 71, 43, 42, 72, 43, 42, 43, 73, 30, 42, 74, 43, 42, 75, 43, 42, 76, 43, 42, 77, 43, 42, 78, 43, 42, 79, 43, 42, 43, 30, 42, 81, 43, 42, 82, 43, 42, 51, 43, 42, 84, 43, 42, 85, 43, 42, 86, 43, 42, 87, 43, 42, 88, 43, 42, 89, 43, 42, 90, 43, 42, 30, 43, 42, 43, 92, 42, 43, 93, 42, 43, 94, 42, 43, 95, 42, 43, 96, 42, 43, 97, 42, 43, 98, 42, 43, 99, 42, 43, 100, 42, 43, 101, 42, 43, 102, 42, 43, 103, 42, 43, 104, 42, 43, 1, 42, 43, 30, 42, 107, 248, 253, 0, 108, 0, 109, 0, 110, 0, 111, 0, 112, 0, 113, 0, 114, 0, 115, 0, 116, 0, 117, 0, 118, 183, 0, 119, 0, 120, 0, 121, 0, 122, 0, 123, 0, 124, 0, 125, 0, 127, 126, 127, 126, 128, 140, 145, 160, 127, 127, 1, 168, 182, 1, 127, 126, 129, 127, 126, 130, 127, 126, 131, 127, 126, 132, 136, 127, 126, 133, 127, 126, 134, 127, 126, 135, 127, 126, 30, 127, 126, 137, 127, 126, 138, 127, 126, 139, 127, 126, 30, 127, 126, 141, 127, 126, 142, 127, 126, 143, 127, 126, 144, 127, 126, 30, 127, 126, 146, 157, 127, 126, 147, 127, 126, 148, 127, 126, 149, 127, 126, 150, 127, 126, 151, 127, 126, 152, 127, 126, 153, 127, 126, 154, 127, 126, 155, 127, 126, 156, 127, 126, 127, 30, 126, 158, 127, 126, 159, 127, 126, 135, 127, 126, 161, 127, 126, 162, 127, 126, 163, 127, 126, 164, 127, 126, 165, 127, 126, 166, 127, 126, 167, 127, 126, 30, 127, 126, 127, 169, 126, 127, 170, 126, 127, 171, 126, 127, 172, 126, 127, 173, 126, 127, 174, 126, 127, 175, 126, 127, 176, 126, 127, 177, 126, 127, 178, 126, 127, 179, 126, 127, 180, 126, 127, 181, 126, 127, 1, 126, 127, 30, 126, 185, 184, 185, 184, 186, 198, 203, 225, 185, 185, 1, 233, 247, 1, 185, 184, 187, 185, 184, 188, 185, 184, 189, 185, 184, 190, 194, 185, 184, 191, 185, 184, 192, 185, 184, 193, 185, 184, 30, 185, 184, 195, 185, 184, 196, 185, 184, 197, 185, 184, 30, 185, 184, 199, 185, 184, 200, 185, 184, 201, 185, 184, 202, 185, 184, 30, 185, 184, 204, 222, 185, 184, 205, 185, 184, 206, 185, 184, 207, 185, 184, 208, 185, 184, 209, 185, 184, 210, 185, 184, 211, 185, 184, 212, 185, 184, 213, 185, 184, 214, 185, 184, 185, 215, 30, 184, 216, 185, 184, 217, 185, 184, 218, 185, 184, 219, 185, 184, 220, 185, 184, 221, 185, 184, 185, 30, 184, 223, 185, 184, 224, 185, 184, 193, 185, 184, 226, 185, 184, 227, 185, 184, 228, 185, 184, 229, 185, 184, 230, 185, 184, 231, 185, 184, 232, 185, 184, 30, 185, 184, 185, 234, 184, 185, 235, 184, 185, 236, 184, 185, 237, 184, 185, 238, 184, 185, 239, 184, 185, 240, 184, 185, 241, 184, 185, 242, 184, 185, 243, 184, 185, 244, 184, 185, 245, 184, 185, 246, 184, 185, 1, 184, 185, 30, 184, 249, 0, 250, 0, 252, 251, 252, 251, 252, 252, 1, 252, 251, 254, 0, 255, 0, 9, 0, 257, 0, 258, 0, 259, 0, 260, 0, 261, 0, 262, 0, 263, 0, 10, 0, 265, 0, 266, 0, 267, 266, 266, 0, 268, 268, 269, 268, 268, 268, 268, 269, 268, 268, 268, 268, 270, 268, 268, 268, 268, 271, 268, 268, 1, 272, 272, 0, 1, 272, 272, 0, 1, 273, 273, 275, 0, 276, 0, 277, 0, 278, 0, 279, 0, 280, 0, 281, 0, 282, 0, 283, 0, 284, 0, 285, 0, 286, 0, 287, 0, 329, 0, 10, 0, 0, 0, 0, 0, 290, 291, 1, 291, 291, 289, 290, 290, 1, 291, 289, 291, 0, 292, 293, 292, 0, 296, 295, 293, 295, 294, 293, 294, 296, 295, 293, 295, 294, 2, 31, 106, 256, 296, 296, 264, 273, 274, 288, 289, 293, 296, 0, 298, 23, 22, 299, 23, 22, 300, 23, 22, 301, 23, 22, 302, 23, 22, 303, 23, 22, 304, 23, 22, 305, 23, 22, 306, 23, 22, 307, 23, 22, 308, 23, 22, 23, 309, 30, 22, 310, 23, 22, 311, 23, 22, 312, 23, 22, 313, 23, 22, 314, 23, 22, 29, 23, 22, 23, 316, 22, 23, 317, 22, 23, 318, 22, 23, 319, 22, 23, 320, 22, 23, 321, 22, 23, 322, 22, 23, 323, 22, 23, 324, 22, 23, 325, 22, 23, 326, 22, 23, 327, 22, 23, 328, 22, 23, 1, 22, 0, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 23, 23, 23, 23, 42, 0, 3, 1, 0, 23, 0, 29, 0, 37, 0, 0, 37, 0, 37, 0, 37, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 37, 45, 88, 17, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 72, 72, 42, 0, 57, 27, 57, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 9, 0, 51, 51, 51, 51, 104, 25, 48, 45, 25, 51, 25, 54, 25, 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, 72, 72, 72, 72, 42, 0, 60, 27, 72, 60, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 11, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 11, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 11, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 0, 11, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 11, 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, 11, 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, 11, 0, 42, 11, 0, 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, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 125, 45, 42, 0, 72, 72, 72, 72, 42, 0, 66, 27, 72, 66, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 15, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 15, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 15, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 15, 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, 15, 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, 15, 0, 42, 15, 0, 125, 45, 42, 0, 72, 72, 72, 72, 42, 0, 63, 27, 72, 63, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 13, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 13, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 13, 42, 0, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 0, 13, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 42, 13, 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, 13, 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, 13, 0, 42, 13, 0, 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, 0, 37, 0, 37, 0, 37, 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, 37, 37, 37, 1, 21, 96, 21, 21, 21, 21, 0, 42, 0, 0, 0, 37, 0, 31, 0, 37, 42, 33, 75, 33, 33, 35, 0, 42, 0, 35, 0, 0, 116, 116, 116, 116, 42, 0, 112, 108, 81, 116, 81, 78, 0, 37, 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, 42, 0, 9, 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, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 0, 0, 42, 9, 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 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 329; 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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 677 "lib/gherkin/rb_lexer/ko.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 148 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" # line 686 "lib/gherkin/rb_lexer/ko.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/ko.rb.rl" begin @content_start = p @current_line = @line_number end when 1 then # line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end when 2 then # line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @content_start = p end when 3 then # line 23 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 4 then # line 28 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 5 then # line 34 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 6 then # line 40 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 7 then # line 46 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 8 then # line 52 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 9 then # line 58 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.step(@keyword, con, @current_line) end when 10 then # line 63 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.comment(con, @line_number) @keyword_start = nil end when 11 then # line 69 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip @listener.tag(con, @current_line) @keyword_start = nil end when 12 then # line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @line_number += 1 end when 13 then # line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @last_newline = p + 1 end when 14 then # line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @keyword_start ||= p end when 15 then # line 87 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @keyword = data[@keyword_start...p].utf8_pack("c*").sub(/:$/,'').strip @keyword_start = nil end when 16 then # line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @next_keyword_start = p end when 17 then # line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin p = p - 1 @rows = [] @current_line = @line_number end when 18 then # line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin current_row = [] end when 19 then # line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @content_start = p end when 20 then # line 110 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = data[@content_start...p].utf8_pack("c*").strip current_row << con end when 21 then # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @rows << current_row end when 22 then # line 119 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin if @rows.size != 0 @listener.table(@rows, @current_line) end end when 23 then # line 125 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 937 "lib/gherkin/rb_lexer/ko.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 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 974 "lib/gherkin/rb_lexer/ko.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 149 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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