# 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 125 "/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, 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, 14, 16, 17, 18, 20, 21,
22, 23, 24, 25, 27, 28, 29, 30,
31, 32, 33, 34, 35, 36, 37, 38,
39, 48, 50, 52, 54, 56, 58, 60,
74, 78, 79, 80, 81, 83, 84, 85,
86, 87, 88, 89, 90, 91, 92, 93,
94, 95, 96, 108, 110, 112, 114, 117,
119, 121, 123, 125, 127, 129, 131, 133,
137, 139, 141, 143, 146, 148, 150, 152,
154, 156, 158, 161, 163, 165, 167, 169,
171, 173, 175, 177, 179, 181, 184, 186,
188, 190, 192, 194, 196, 198, 200, 202,
204, 206, 208, 210, 212, 214, 216, 218,
220, 222, 224, 226, 228, 230, 232, 234,
236, 238, 240, 242, 244, 246, 248, 250,
253, 254, 255, 256, 257, 258, 259, 260,
261, 262, 263, 265, 266, 267, 268, 269,
270, 271, 272, 273, 274, 286, 288, 290,
292, 295, 297, 299, 301, 303, 305, 307,
309, 311, 315, 317, 319, 321, 324, 326,
328, 330, 332, 334, 336, 339, 341, 343,
345, 347, 349, 351, 353, 355, 357, 359,
361, 363, 365, 367, 369, 371, 373, 375,
377, 379, 381, 383, 385, 387, 389, 391,
393, 395, 397, 399, 401, 403, 405, 407,
409, 411, 413, 414, 415, 427, 429, 431,
433, 436, 438, 440, 442, 444, 446, 448,
450, 452, 456, 458, 460, 462, 465, 467,
469, 471, 473, 475, 477, 480, 482, 484,
486, 488, 490, 492, 494, 496, 498, 500,
503, 505, 507, 509, 511, 513, 515, 517,
519, 521, 523, 525, 527, 529, 531, 533,
535, 537, 539, 541, 543, 545, 547, 549,
551, 553, 555, 557, 559, 561, 563, 565,
567, 569, 570, 571, 572, 573, 578, 579,
580, 581, 582, 583, 584, 585, 586, 587,
588, 589, 590, 591, 595, 600, 605, 610,
615, 619, 623, 625, 626, 627, 628, 629,
630, 631, 632, 633, 634, 635, 636, 637,
638, 639, 640, 645, 652, 657, 661, 666,
667, 672, 686, 688, 690, 692, 694, 696,
698, 700, 702, 704, 706, 708, 711, 713,
715, 717, 719, 721, 723, 725, 727, 729,
731, 733, 735, 737, 739, 741, 743, 745,
747, 749, 751
]
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, 10, -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, -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, 10, -72, 10,
-21, 10, -97, -90, 10, -84, 10, -21,
10, -87, 10, -76, 10, -84, 10, -22,
10, -77, 10, -96, 10, -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, 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, -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,
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, -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, 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, 1,
7, 2, 2, 2, 2, 2, 2, 12,
4, 1, 1, 1, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 10, 2, 2, 2, 3, 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, 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, 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, 2, 1, 1, 10, 2, 2, 2,
3, 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,
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, 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, 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, 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, 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, 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,
61, 70, 73, 76, 79, 82, 85, 88,
102, 107, 109, 111, 113, 116, 118, 120,
122, 124, 126, 128, 130, 132, 134, 136,
138, 140, 142, 154, 157, 160, 163, 167,
170, 173, 176, 179, 182, 185, 188, 191,
196, 199, 202, 205, 209, 212, 215, 218,
221, 224, 227, 231, 234, 237, 240, 243,
246, 249, 252, 255, 258, 261, 265, 268,
271, 274, 277, 280, 283, 286, 289, 292,
295, 298, 301, 304, 307, 310, 313, 316,
319, 322, 325, 328, 331, 334, 337, 340,
343, 346, 349, 352, 355, 358, 361, 364,
368, 370, 372, 374, 376, 378, 380, 382,
384, 386, 388, 391, 393, 395, 397, 399,
401, 403, 405, 407, 409, 421, 424, 427,
430, 434, 437, 440, 443, 446, 449, 452,
455, 458, 463, 466, 469, 472, 476, 479,
482, 485, 488, 491, 494, 498, 501, 504,
507, 510, 513, 516, 519, 522, 525, 528,
531, 534, 537, 540, 543, 546, 549, 552,
555, 558, 561, 564, 567, 570, 573, 576,
579, 582, 585, 588, 591, 594, 597, 600,
603, 606, 609, 611, 613, 625, 628, 631,
634, 638, 641, 644, 647, 650, 653, 656,
659, 662, 667, 670, 673, 676, 680, 683,
686, 689, 692, 695, 698, 702, 705, 708,
711, 714, 717, 720, 723, 726, 729, 732,
736, 739, 742, 745, 748, 751, 754, 757,
760, 763, 766, 769, 772, 775, 778, 781,
784, 787, 790, 793, 796, 799, 802, 805,
808, 811, 814, 817, 820, 823, 826, 829,
832, 835, 837, 839, 841, 843, 848, 850,
852, 854, 856, 858, 860, 862, 864, 866,
868, 870, 872, 874, 878, 883, 888, 893,
898, 902, 906, 909, 911, 913, 915, 917,
919, 921, 923, 925, 927, 929, 931, 933,
935, 937, 939, 944, 951, 956, 960, 965,
967, 972, 986, 989, 992, 995, 998, 1001,
1004, 1007, 1010, 1013, 1016, 1019, 1023, 1026,
1029, 1032, 1035, 1038, 1041, 1044, 1047, 1050,
1053, 1056, 1059, 1062, 1065, 1068, 1071, 1074,
1077, 1080, 1083
]
class << self
attr_accessor :_lexer_trans_targs
private :_lexer_trans_targs, :_lexer_trans_targs=
end
self._lexer_trans_targs = [
2, 32, 119, 281, 1, 1, 289, 298,
299, 313, 314, 317, 1, 0, 3, 17,
0, 4, 0, 5, 0, 6, 13, 0,
7, 0, 8, 0, 9, 0, 10, 0,
0, 11, 1, 12, 11, 1, 0, 14,
0, 15, 0, 16, 0, 10, 0, 18,
0, 19, 0, 20, 0, 21, 0, 22,
0, 24, 23, 24, 23, 25, 322, 24,
24, 1, 340, 1, 24, 23, 26, 24,
23, 27, 24, 23, 28, 24, 23, 29,
24, 23, 30, 24, 23, 24, 31, 23,
2, 32, 119, 281, 1, 1, 289, 298,
299, 313, 314, 317, 1, 0, 33, 34,
39, 43, 0, 10, 0, 35, 0, 36,
0, 37, 38, 0, 10, 0, 10, 0,
40, 0, 41, 0, 42, 0, 10, 0,
44, 0, 45, 0, 46, 0, 47, 0,
48, 0, 50, 49, 50, 49, 51, 63,
74, 96, 50, 50, 1, 104, 118, 1,
50, 49, 52, 50, 49, 53, 50, 49,
54, 50, 49, 55, 59, 50, 49, 56,
50, 49, 57, 50, 49, 58, 50, 49,
31, 50, 49, 60, 50, 49, 61, 50,
49, 62, 50, 49, 31, 50, 49, 64,
65, 70, 50, 49, 31, 50, 49, 66,
50, 49, 67, 50, 49, 68, 69, 50,
49, 31, 50, 49, 31, 50, 49, 71,
50, 49, 72, 50, 49, 73, 50, 49,
31, 50, 49, 75, 93, 50, 49, 76,
50, 49, 77, 50, 49, 78, 50, 49,
79, 50, 49, 80, 50, 49, 81, 50,
49, 82, 50, 49, 83, 50, 49, 84,
50, 49, 85, 50, 49, 50, 86, 31,
49, 87, 50, 49, 88, 50, 49, 89,
50, 49, 90, 50, 49, 91, 50, 49,
92, 50, 49, 50, 31, 49, 94, 50,
49, 95, 50, 49, 58, 50, 49, 97,
50, 49, 98, 50, 49, 99, 50, 49,
100, 50, 49, 101, 50, 49, 102, 50,
49, 103, 50, 49, 31, 50, 49, 50,
105, 49, 50, 106, 49, 50, 107, 49,
50, 108, 49, 50, 109, 49, 50, 110,
49, 50, 111, 49, 50, 112, 49, 50,
113, 49, 50, 114, 49, 50, 115, 49,
50, 116, 49, 50, 117, 49, 50, 1,
49, 50, 31, 49, 120, 273, 278, 0,
121, 0, 122, 0, 123, 0, 124, 0,
125, 0, 126, 0, 127, 0, 128, 0,
129, 0, 130, 0, 131, 202, 0, 132,
0, 133, 0, 134, 0, 135, 0, 136,
0, 137, 0, 138, 0, 140, 139, 140,
139, 141, 153, 164, 179, 140, 140, 1,
187, 201, 1, 140, 139, 142, 140, 139,
143, 140, 139, 144, 140, 139, 145, 149,
140, 139, 146, 140, 139, 147, 140, 139,
148, 140, 139, 31, 140, 139, 150, 140,
139, 151, 140, 139, 152, 140, 139, 31,
140, 139, 154, 155, 160, 140, 139, 31,
140, 139, 156, 140, 139, 157, 140, 139,
158, 159, 140, 139, 31, 140, 139, 31,
140, 139, 161, 140, 139, 162, 140, 139,
163, 140, 139, 31, 140, 139, 165, 176,
140, 139, 166, 140, 139, 167, 140, 139,
168, 140, 139, 169, 140, 139, 170, 140,
139, 171, 140, 139, 172, 140, 139, 173,
140, 139, 174, 140, 139, 175, 140, 139,
140, 31, 139, 177, 140, 139, 178, 140,
139, 148, 140, 139, 180, 140, 139, 181,
140, 139, 182, 140, 139, 183, 140, 139,
184, 140, 139, 185, 140, 139, 186, 140,
139, 31, 140, 139, 140, 188, 139, 140,
189, 139, 140, 190, 139, 140, 191, 139,
140, 192, 139, 140, 193, 139, 140, 194,
139, 140, 195, 139, 140, 196, 139, 140,
197, 139, 140, 198, 139, 140, 199, 139,
140, 200, 139, 140, 1, 139, 140, 31,
139, 204, 203, 204, 203, 205, 217, 228,
250, 204, 204, 1, 258, 272, 1, 204,
203, 206, 204, 203, 207, 204, 203, 208,
204, 203, 209, 213, 204, 203, 210, 204,
203, 211, 204, 203, 212, 204, 203, 31,
204, 203, 214, 204, 203, 215, 204, 203,
216, 204, 203, 31, 204, 203, 218, 219,
224, 204, 203, 31, 204, 203, 220, 204,
203, 221, 204, 203, 222, 223, 204, 203,
31, 204, 203, 31, 204, 203, 225, 204,
203, 226, 204, 203, 227, 204, 203, 31,
204, 203, 229, 247, 204, 203, 230, 204,
203, 231, 204, 203, 232, 204, 203, 233,
204, 203, 234, 204, 203, 235, 204, 203,
236, 204, 203, 237, 204, 203, 238, 204,
203, 239, 204, 203, 204, 240, 31, 203,
241, 204, 203, 242, 204, 203, 243, 204,
203, 244, 204, 203, 245, 204, 203, 246,
204, 203, 204, 31, 203, 248, 204, 203,
249, 204, 203, 212, 204, 203, 251, 204,
203, 252, 204, 203, 253, 204, 203, 254,
204, 203, 255, 204, 203, 256, 204, 203,
257, 204, 203, 31, 204, 203, 204, 259,
203, 204, 260, 203, 204, 261, 203, 204,
262, 203, 204, 263, 203, 204, 264, 203,
204, 265, 203, 204, 266, 203, 204, 267,
203, 204, 268, 203, 204, 269, 203, 204,
270, 203, 204, 271, 203, 204, 1, 203,
204, 31, 203, 274, 0, 275, 0, 277,
276, 277, 276, 277, 277, 1, 277, 276,
279, 0, 280, 0, 9, 0, 282, 0,
283, 0, 284, 0, 285, 0, 286, 0,
287, 0, 288, 0, 10, 0, 290, 0,
291, 0, 292, 291, 291, 0, 293, 293,
294, 293, 293, 293, 293, 294, 293, 293,
293, 293, 295, 293, 293, 293, 293, 296,
293, 293, 1, 297, 297, 0, 1, 297,
297, 0, 1, 12, 298, 300, 0, 301,
0, 302, 0, 303, 0, 304, 0, 305,
0, 306, 0, 307, 0, 308, 0, 309,
0, 310, 0, 311, 0, 312, 0, 354,
0, 10, 0, 0, 0, 0, 0, 315,
316, 1, 316, 316, 314, 315, 315, 1,
316, 314, 316, 0, 317, 318, 317, 0,
321, 320, 318, 320, 319, 318, 319, 321,
320, 318, 320, 319, 2, 32, 119, 281,
321, 321, 289, 298, 299, 313, 314, 317,
321, 0, 323, 24, 23, 324, 24, 23,
325, 24, 23, 326, 24, 23, 327, 24,
23, 328, 24, 23, 329, 24, 23, 330,
24, 23, 331, 24, 23, 332, 24, 23,
333, 24, 23, 24, 334, 31, 23, 335,
24, 23, 336, 24, 23, 337, 24, 23,
338, 24, 23, 339, 24, 23, 30, 24,
23, 24, 341, 23, 24, 342, 23, 24,
343, 23, 24, 344, 23, 24, 345, 23,
24, 346, 23, 24, 347, 23, 24, 348,
23, 24, 349, 23, 24, 350, 23, 24,
351, 23, 24, 352, 23, 24, 353, 23,
24, 1, 23, 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, 45, 0, 3, 1,
0, 23, 1, 29, 0, 37, 0, 0,
37, 0, 37, 0, 37, 0, 0, 37,
0, 37, 0, 37, 0, 37, 0, 37,
37, 48, 97, 17, 0, 45, 37, 0,
37, 0, 37, 0, 37, 0, 37, 0,
37, 0, 37, 0, 37, 0, 37, 0,
37, 122, 48, 45, 0, 75, 75, 45,
0, 60, 27, 60, 0, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 45, 9, 0,
54, 54, 54, 54, 113, 25, 51, 48,
25, 54, 48, 57, 25, 37, 0, 0,
0, 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, 0, 37, 0, 37, 0, 37,
0, 37, 122, 48, 45, 0, 75, 75,
75, 75, 45, 0, 63, 27, 75, 63,
0, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
11, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 11, 45, 0, 0,
0, 0, 45, 0, 11, 45, 0, 0,
45, 0, 0, 45, 0, 0, 0, 45,
0, 11, 45, 0, 11, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
11, 45, 0, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 45, 0, 11,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 45, 11, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 11, 45, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 11,
0, 45, 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, 122, 48, 45,
0, 75, 75, 75, 75, 45, 0, 69,
27, 75, 69, 0, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 15, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 15,
45, 0, 0, 0, 0, 45, 0, 15,
45, 0, 0, 45, 0, 0, 45, 0,
0, 0, 45, 0, 15, 45, 0, 15,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 15, 45, 0, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
45, 15, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 15, 45, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 15, 0, 45, 15,
0, 122, 48, 45, 0, 75, 75, 75,
75, 45, 0, 66, 27, 75, 66, 0,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 13,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 13, 45, 0, 0, 0,
0, 45, 0, 13, 45, 0, 0, 45,
0, 0, 45, 0, 0, 0, 45, 0,
13, 45, 0, 13, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 13,
45, 0, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 45, 0, 13, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 45, 13, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 13, 45, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 13, 0,
45, 13, 0, 0, 37, 0, 37, 122,
48, 45, 0, 45, 0, 72, 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, 45, 0, 0, 37, 117, 39,
39, 39, 5, 109, 27, 27, 27, 0,
109, 27, 27, 27, 0, 109, 27, 0,
27, 0, 93, 7, 7, 37, 45, 0,
0, 37, 101, 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, 0,
21, 105, 21, 21, 42, 21, 0, 45,
0, 1, 0, 37, 0, 0, 0, 37,
45, 31, 78, 31, 31, 33, 0, 45,
0, 33, 0, 0, 87, 87, 87, 87,
45, 0, 84, 81, 35, 87, 81, 90,
0, 37, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 45, 0, 9, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 0, 0, 45, 0, 0, 45, 0,
0, 45, 0, 0, 45, 0, 0, 45,
0, 0, 45, 0, 0, 45, 0, 0,
45, 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, 37, 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 = 354;
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/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 717 "lib/gherkin/rb_lexer/ko.rb"
begin
p ||= 0
pe ||= data.length
cs = lexer_start
end
# line 140 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
# line 726 "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
# line 9 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 2 then
# line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@content_start = p
end
# line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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/, '').gsub(/\\"\\"\\"/, '"""'))
@listener.py_string(con, @current_line)
end
# line 23 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 28 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 34 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 40 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 46 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 52 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 58 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 63 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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
# line 69 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 12 then
# line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@line_number += 1
end
# line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 13 then
# line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@last_newline = p + 1
end
# line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 14 then
# line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@keyword_start ||= p
end
# line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
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(/:$/,'')
@keyword_start = nil
end
# line 87 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 16 then
# line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@next_keyword_start = p
end
# line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 17 then
# line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
p = p - 1
current_row = []
@current_line = @line_number
end
# line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 18 then
# line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@content_start = p
end
# line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 19 then
# line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
con = data[@content_start...p].utf8_pack("c*").strip
current_row << con
end
# line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 20 then
# line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
@listener.row(current_row, @current_line)
end
# line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
when 21 then
# line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
if cs < lexer_first_final
content = current_line_content(data, p)
raise LexingError.new("Lexing error on line %d: '%s'." % [@line_number, content])
else
@listener.eof
end
end
# line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
# line 987 "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 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
begin
if cs < lexer_first_final
content = current_line_content(data, p)
raise LexingError.new("Lexing error on line %d: '%s'." % [@line_number, content])
else
@listener.eof
end
end
# line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.rb.rl"
# line 1027 "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 141 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ko.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(/^ {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