# line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" require 'gherkin/lexer/i18n_lexer' module Gherkin module RbLexer class Ko #:nodoc: # line 127 "/Users/ahellesoy/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, 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, 15, 17, 18, 19, 21, 22, 23, 24, 25, 26, 28, 42, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 76, 79, 81, 83, 86, 88, 90, 92, 94, 108, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 144, 147, 149, 151, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 184, 186, 188, 190, 193, 195, 197, 199, 201, 203, 205, 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, 294, 297, 299, 301, 304, 306, 308, 310, 312, 314, 316, 318, 320, 322, 324, 326, 328, 330, 335, 337, 339, 341, 344, 346, 348, 350, 352, 354, 356, 358, 360, 362, 364, 367, 369, 371, 373, 375, 377, 379, 381, 383, 385, 387, 390, 392, 394, 396, 398, 400, 402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430, 432, 434, 436, 438, 440, 442, 444, 446, 448, 450, 452, 454, 455, 456, 457, 458, 465, 467, 469, 471, 473, 475, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 494, 499, 504, 509, 514, 518, 522, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 545, 552, 557, 561, 567, 570, 572, 578, 592, 594, 596, 598, 600, 602, 604, 606, 608, 610, 614, 616, 618, 620, 623, 625, 627, 629, 631, 633, 635, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656, 658, 661, 663, 665, 667, 669, 671, 673, 675, 677, 679, 681, 683, 685, 687, 689, 691, 693, 695, 697, 699, 701, 703, 705, 707, 709, 711, 713, 715, 717, 719, 721, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 746, 748, 750, 752, 754, 756, 758, 760, 762, 764, 766, 768, 771, 773, 775, 777, 779, 781, 783, 785, 787, 789, 791, 794, 796, 798, 800, 802, 804, 806, 808, 810, 812, 814, 816, 818, 820, 822, 824, 826, 828, 830, 832, 834, 836, 837, 838 ] class << self attr_accessor :_lexer_trans_keys private :_lexer_trans_keys, :_lexer_trans_keys= end self._lexer_trans_keys = [ -22, -21, -20, -19, -17, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -73, -72, -72, -21, -97, -90, -84, -21, -87, -76, 10, 10, 13, -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -117, -89, -88, -80, -88, -116, -20, -107, -99, -67, -68, -68, -20, -96, -128, -80, -22, -78, -67, 58, 10, 10, -22, -21, -20, -19, 10, 32, 35, 37, 42, 64, 9, 13, -73, -72, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -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, -72, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -84, 10, -22, 10, -77, 10, -96, 10, -80, 10, -21, 10, -118, 10, -91, 10, 10, 58, -117, -89, -88, 10, -88, 10, -116, 10, -20, 10, -107, -99, 10, -67, 10, -68, 10, -68, 10, -20, 10, -96, 10, -128, 10, -117, -95, 10, -100, 10, -21, 10, -126, 10, -104, 10, -21, 10, -90, 10, -84, 10, -20, 10, -104, 10, -92, 10, -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, -72, 10, -72, 10, -21, 10, -97, -90, 10, -84, 10, -21, 10, -87, 10, -76, 10, -84, 10, -22, 10, -77, 10, -96, 10, -80, 10, -21, 10, -118, 10, -91, 10, 10, 58, -117, -89, -88, -80, 10, -88, 10, -116, 10, -20, 10, -107, -99, 10, -67, 10, -68, 10, -68, 10, -20, 10, -96, 10, -128, 10, -80, 10, -22, 10, -78, 10, -67, 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, -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, -22, 10, 32, 35, 124, 9, 13, -72, 10, -80, 10, -21, 10, -118, 10, -91, 10, 10, 58, -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, 10, 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, 92, 124, 9, 13, 10, 92, 124, 10, 92, 10, 32, 92, 124, 9, 13, -22, -21, -20, -19, 10, 32, 34, 35, 37, 42, 64, 124, 9, 13, -84, 10, -22, 10, -77, 10, -96, 10, -80, 10, -21, 10, -118, 10, -91, 10, 10, 58, -117, -89, -88, 10, -88, 10, -116, 10, -20, 10, -107, -99, 10, -67, 10, -68, 10, -68, 10, -20, 10, -96, 10, -128, 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, -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, -84, -22, -77, -96, -80, -21, -118, -91, 58, 10, 10, -22, -21, -20, 10, 32, 35, 37, 64, 9, 13, -72, 10, -80, 10, -21, 10, -118, 10, -91, 10, 10, 58, -80, 10, -80, 10, -22, 10, -78, 10, -67, 10, -117, -104, 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, -120, 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, -69, -65, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 13, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 12, 4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 3, 2, 2, 3, 2, 2, 2, 2, 12, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 3, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 10, 3, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 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, 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, 1, 1, 1, 1, 5, 2, 2, 2, 2, 2, 2, 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, 1, 3, 5, 3, 2, 4, 3, 2, 4, 12, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 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, 1, 1, 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, 1, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 0, 0, 0, 0, 0, 0, 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, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 15, 18, 20, 22, 25, 27, 29, 31, 33, 35, 38, 52, 57, 59, 61, 63, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 104, 108, 111, 114, 118, 121, 124, 127, 130, 144, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 171, 173, 175, 177, 179, 181, 183, 185, 187, 189, 201, 205, 208, 211, 215, 218, 221, 224, 227, 230, 233, 236, 239, 242, 245, 248, 251, 254, 259, 262, 265, 268, 272, 275, 278, 281, 284, 287, 290, 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, 396, 399, 402, 404, 406, 418, 422, 425, 428, 432, 435, 438, 441, 444, 447, 450, 453, 456, 459, 462, 465, 468, 471, 477, 480, 483, 486, 490, 493, 496, 499, 502, 505, 508, 511, 514, 517, 520, 524, 527, 530, 533, 536, 539, 542, 545, 548, 551, 554, 558, 561, 564, 567, 570, 573, 576, 579, 582, 585, 588, 591, 594, 597, 600, 603, 606, 609, 612, 615, 618, 621, 624, 627, 630, 633, 636, 639, 642, 645, 648, 651, 654, 656, 658, 660, 662, 669, 672, 675, 678, 681, 684, 687, 689, 691, 693, 695, 697, 699, 701, 703, 705, 707, 709, 711, 713, 717, 722, 727, 732, 737, 741, 745, 748, 750, 752, 754, 756, 758, 760, 762, 764, 766, 768, 770, 772, 774, 776, 778, 780, 785, 792, 797, 801, 807, 811, 814, 820, 834, 837, 840, 843, 846, 849, 852, 855, 858, 861, 866, 869, 872, 875, 879, 882, 885, 888, 891, 894, 897, 901, 904, 907, 910, 913, 916, 919, 922, 925, 928, 931, 935, 938, 941, 944, 947, 950, 953, 956, 959, 962, 965, 968, 971, 974, 977, 980, 983, 986, 989, 992, 995, 998, 1001, 1004, 1007, 1010, 1013, 1016, 1019, 1022, 1025, 1028, 1031, 1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047, 1049, 1051, 1053, 1063, 1066, 1069, 1072, 1075, 1078, 1081, 1084, 1087, 1090, 1093, 1096, 1100, 1103, 1106, 1109, 1112, 1115, 1118, 1121, 1124, 1127, 1130, 1134, 1137, 1140, 1143, 1146, 1149, 1152, 1155, 1158, 1161, 1164, 1167, 1170, 1173, 1176, 1179, 1182, 1185, 1188, 1191, 1194, 1197, 1199, 1201 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 2, 13, 41, 221, 384, 12, 12, 229, 238, 240, 254, 255, 258, 12, 0, 3, 332, 0, 4, 0, 5, 0, 6, 328, 0, 7, 0, 8, 0, 9, 0, 10, 0, 0, 11, 12, 239, 11, 2, 13, 41, 221, 12, 12, 229, 238, 240, 254, 255, 258, 12, 0, 14, 15, 20, 24, 0, 10, 0, 16, 0, 17, 0, 18, 19, 0, 10, 0, 10, 0, 21, 0, 22, 0, 23, 0, 10, 0, 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, 31, 30, 31, 30, 32, 273, 284, 305, 31, 31, 12, 313, 327, 12, 31, 30, 33, 268, 31, 30, 34, 31, 30, 35, 31, 30, 36, 264, 31, 30, 37, 31, 30, 38, 31, 30, 39, 31, 30, 40, 31, 30, 2, 13, 41, 221, 12, 12, 229, 238, 240, 254, 255, 258, 12, 0, 42, 207, 218, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 128, 0, 54, 0, 55, 0, 56, 0, 57, 0, 58, 0, 59, 0, 60, 0, 62, 61, 62, 61, 63, 80, 91, 105, 62, 62, 12, 113, 127, 12, 62, 61, 64, 75, 62, 61, 65, 62, 61, 66, 62, 61, 67, 71, 62, 61, 68, 62, 61, 69, 62, 61, 70, 62, 61, 40, 62, 61, 72, 62, 61, 73, 62, 61, 74, 62, 61, 40, 62, 61, 76, 62, 61, 77, 62, 61, 78, 62, 61, 79, 62, 61, 62, 40, 61, 81, 82, 87, 62, 61, 40, 62, 61, 83, 62, 61, 84, 62, 61, 85, 86, 62, 61, 40, 62, 61, 40, 62, 61, 88, 62, 61, 89, 62, 61, 90, 62, 61, 40, 62, 61, 92, 102, 62, 61, 93, 62, 61, 94, 62, 61, 95, 62, 61, 96, 62, 61, 97, 62, 61, 98, 62, 61, 99, 62, 61, 100, 62, 61, 101, 62, 61, 79, 62, 61, 103, 62, 61, 104, 62, 61, 70, 62, 61, 106, 62, 61, 107, 62, 61, 108, 62, 61, 109, 62, 61, 110, 62, 61, 111, 62, 61, 112, 62, 61, 40, 62, 61, 62, 114, 61, 62, 115, 61, 62, 116, 61, 62, 117, 61, 62, 118, 61, 62, 119, 61, 62, 120, 61, 62, 121, 61, 62, 122, 61, 62, 123, 61, 62, 124, 61, 62, 125, 61, 62, 126, 61, 62, 12, 61, 62, 40, 61, 130, 129, 130, 129, 131, 148, 163, 184, 130, 130, 12, 192, 206, 12, 130, 129, 132, 143, 130, 129, 133, 130, 129, 134, 130, 129, 135, 139, 130, 129, 136, 130, 129, 137, 130, 129, 138, 130, 129, 40, 130, 129, 140, 130, 129, 141, 130, 129, 142, 130, 129, 40, 130, 129, 144, 130, 129, 145, 130, 129, 146, 130, 129, 147, 130, 129, 130, 40, 129, 149, 150, 155, 159, 130, 129, 40, 130, 129, 151, 130, 129, 152, 130, 129, 153, 154, 130, 129, 40, 130, 129, 40, 130, 129, 156, 130, 129, 157, 130, 129, 158, 130, 129, 40, 130, 129, 160, 130, 129, 161, 130, 129, 162, 130, 129, 147, 130, 129, 164, 181, 130, 129, 165, 130, 129, 166, 130, 129, 167, 130, 129, 168, 130, 129, 169, 130, 129, 170, 130, 129, 171, 130, 129, 172, 130, 129, 173, 130, 129, 174, 130, 129, 130, 175, 40, 129, 176, 130, 129, 177, 130, 129, 178, 130, 129, 179, 130, 129, 180, 130, 129, 147, 130, 129, 182, 130, 129, 183, 130, 129, 138, 130, 129, 185, 130, 129, 186, 130, 129, 187, 130, 129, 188, 130, 129, 189, 130, 129, 190, 130, 129, 191, 130, 129, 40, 130, 129, 130, 193, 129, 130, 194, 129, 130, 195, 129, 130, 196, 129, 130, 197, 129, 130, 198, 129, 130, 199, 129, 130, 200, 129, 130, 201, 129, 130, 202, 129, 130, 203, 129, 130, 204, 129, 130, 205, 129, 130, 12, 129, 130, 40, 129, 208, 0, 209, 0, 211, 210, 211, 210, 212, 211, 211, 12, 12, 211, 210, 213, 211, 210, 214, 211, 210, 215, 211, 210, 216, 211, 210, 217, 211, 210, 211, 40, 210, 219, 0, 220, 0, 9, 0, 222, 0, 223, 0, 224, 0, 225, 0, 226, 0, 227, 0, 228, 0, 10, 0, 230, 0, 231, 0, 232, 231, 231, 0, 233, 233, 234, 233, 233, 233, 233, 234, 233, 233, 233, 233, 235, 233, 233, 233, 233, 236, 233, 233, 12, 237, 237, 0, 12, 237, 237, 0, 12, 239, 238, 12, 0, 241, 0, 242, 0, 243, 0, 244, 0, 245, 0, 246, 0, 247, 0, 248, 0, 249, 0, 250, 0, 251, 0, 252, 0, 253, 0, 386, 0, 10, 0, 0, 0, 0, 0, 256, 257, 12, 257, 257, 255, 256, 256, 12, 257, 255, 257, 0, 258, 259, 258, 0, 263, 262, 261, 259, 262, 260, 0, 261, 259, 260, 0, 261, 260, 263, 262, 261, 259, 262, 260, 2, 13, 41, 221, 263, 263, 229, 238, 240, 254, 255, 258, 263, 0, 265, 31, 30, 266, 31, 30, 267, 31, 30, 40, 31, 30, 269, 31, 30, 270, 31, 30, 271, 31, 30, 272, 31, 30, 31, 40, 30, 274, 275, 280, 31, 30, 40, 31, 30, 276, 31, 30, 277, 31, 30, 278, 279, 31, 30, 40, 31, 30, 40, 31, 30, 281, 31, 30, 282, 31, 30, 283, 31, 30, 40, 31, 30, 285, 302, 31, 30, 286, 31, 30, 287, 31, 30, 288, 31, 30, 289, 31, 30, 290, 31, 30, 291, 31, 30, 292, 31, 30, 293, 31, 30, 294, 31, 30, 295, 31, 30, 31, 296, 40, 30, 297, 31, 30, 298, 31, 30, 299, 31, 30, 300, 31, 30, 301, 31, 30, 272, 31, 30, 303, 31, 30, 304, 31, 30, 39, 31, 30, 306, 31, 30, 307, 31, 30, 308, 31, 30, 309, 31, 30, 310, 31, 30, 311, 31, 30, 312, 31, 30, 40, 31, 30, 31, 314, 30, 31, 315, 30, 31, 316, 30, 31, 317, 30, 31, 318, 30, 31, 319, 30, 31, 320, 30, 31, 321, 30, 31, 322, 30, 31, 323, 30, 31, 324, 30, 31, 325, 30, 31, 326, 30, 31, 12, 30, 31, 40, 30, 329, 0, 330, 0, 331, 0, 10, 0, 333, 0, 334, 0, 335, 0, 336, 0, 337, 0, 339, 338, 339, 338, 340, 346, 351, 339, 339, 12, 370, 12, 339, 338, 341, 339, 338, 342, 339, 338, 343, 339, 338, 344, 339, 338, 345, 339, 338, 339, 40, 338, 347, 339, 338, 348, 339, 338, 349, 339, 338, 350, 339, 338, 345, 339, 338, 352, 369, 339, 338, 353, 339, 338, 354, 339, 338, 355, 339, 338, 356, 339, 338, 357, 339, 338, 358, 339, 338, 359, 339, 338, 360, 339, 338, 361, 339, 338, 362, 339, 338, 339, 363, 40, 338, 364, 339, 338, 365, 339, 338, 366, 339, 338, 367, 339, 338, 368, 339, 338, 345, 339, 338, 345, 339, 338, 339, 371, 338, 339, 372, 338, 339, 373, 338, 339, 374, 338, 339, 375, 338, 339, 376, 338, 339, 377, 338, 339, 378, 338, 339, 379, 338, 339, 380, 338, 339, 381, 338, 339, 382, 338, 339, 383, 338, 339, 12, 338, 385, 0, 12, 0, 0, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 25, 25, 25, 25, 0, 47, 0, 3, 1, 0, 25, 1, 31, 0, 39, 0, 0, 39, 0, 39, 0, 39, 0, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 39, 50, 99, 19, 0, 25, 25, 25, 25, 47, 0, 3, 1, 0, 25, 1, 31, 0, 39, 0, 0, 0, 0, 39, 0, 39, 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, 124, 50, 47, 0, 77, 77, 77, 77, 47, 0, 65, 29, 77, 65, 0, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 11, 47, 0, 56, 56, 56, 56, 115, 27, 53, 50, 27, 56, 50, 59, 27, 39, 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, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 77, 77, 77, 77, 47, 0, 71, 29, 77, 71, 0, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 15, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 15, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 15, 0, 0, 0, 0, 47, 0, 15, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 15, 47, 0, 15, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 15, 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, 0, 15, 47, 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, 124, 50, 47, 0, 77, 77, 77, 77, 47, 0, 68, 29, 77, 68, 0, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 13, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 13, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 13, 0, 0, 0, 0, 0, 47, 0, 13, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 13, 47, 0, 13, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 13, 47, 0, 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, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 13, 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, 13, 47, 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, 0, 39, 0, 39, 124, 50, 47, 0, 77, 47, 0, 74, 74, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 17, 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, 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, 39, 39, 39, 0, 23, 107, 23, 23, 44, 23, 0, 47, 0, 1, 0, 39, 0, 0, 0, 39, 47, 33, 33, 80, 33, 33, 39, 0, 35, 0, 39, 0, 0, 47, 0, 0, 35, 0, 0, 89, 89, 89, 89, 47, 0, 86, 83, 37, 89, 83, 92, 0, 39, 0, 47, 0, 0, 47, 0, 0, 47, 0, 11, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 11, 0, 0, 0, 0, 47, 0, 11, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 11, 47, 0, 11, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 11, 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, 47, 0, 11, 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, 11, 47, 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, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 77, 77, 77, 47, 0, 62, 29, 62, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 9, 0, 0, 47, 0, 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, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 9, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 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, 0, 39, 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, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 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 = 386; 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 132 "/Users/ahellesoy/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 779 "lib/gherkin/rb_lexer/ko.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 142 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" # line 788 "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/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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/ko.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/ko.rb.rl" begin @content_start = p end when 3 then # line 24 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 when 4 then # line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin store_keyword_content(:feature, data, p, eof) { |con| unindent(@start_col + 2, con).rstrip } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end when 5 then # line 36 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin store_keyword_content(:background, data, p, eof) { |con| unindent(@start_col + 2, con).rstrip } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end when 6 then # line 42 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin store_keyword_content(:scenario, data, p, eof) { |con| unindent(@start_col + 2, con).rstrip } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end when 7 then # line 48 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin store_keyword_content(:scenario_outline, data, p, eof) { |con| unindent(@start_col + 2, con).rstrip } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end when 8 then # line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin store_keyword_content(:examples, data, p, eof) { |con| unindent(@start_col + 2, con).rstrip } p = @next_keyword_start - 1 if @next_keyword_start @next_keyword_start = nil end when 9 then # line 60 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.step(@keyword, con, @current_line) end when 10 then # line 65 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.comment(con, @line_number) @keyword_start = nil end when 11 then # line 71 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.tag(con, @current_line) @keyword_start = nil end when 12 then # line 77 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @line_number += 1 end when 13 then # line 81 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @last_newline = p + 1 end when 14 then # line 85 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @keyword_start ||= p end when 15 then # line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'') @keyword_start = nil end when 16 then # line 94 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @next_keyword_start = p end when 17 then # line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin p = p - 1 current_row = [] @current_line = @line_number end when 18 then # line 104 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @content_start = p end when 19 then # line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\") end when 20 then # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl" begin @listener.row(current_row, @current_line) end when 21 then # line 117 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 1029 "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 21 then # line 117 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 1068 "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 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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 = 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 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