# line 1 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" module Gherkin module RbLexer class Vi #:nodoc: # line 123 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" def initialize(listener) @listener = listener # line 14 "lib/gherkin/rb_lexer/vi.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, 18, 19, 20, 37, 38, 39, 43, 48, 53, 58, 63, 67, 71, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 97, 104, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 257, 259, 261, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 290, 292, 294, 296, 298, 300, 302, 304, 306, 308, 310, 312, 314, 316, 318, 320, 322, 324, 327, 329, 331, 333, 335, 337, 339, 341, 343, 345, 347, 350, 352, 354, 356, 359, 361, 363, 365, 367, 369, 371, 373, 375, 377, 379, 381, 383, 385, 387, 389, 391, 393, 395, 398, 401, 403, 405, 407, 409, 411, 413, 415, 417, 419, 421, 423, 424, 425, 426, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 456, 458, 460, 462, 464, 466, 468, 470, 472, 474, 476, 478, 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, 540, 543, 545, 547, 549, 551, 553, 555, 557, 559, 561, 563, 565, 567, 569, 571, 573, 575, 577, 579, 581, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 602, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 636, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656, 658, 660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 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, 742, 744, 746, 748, 750, 752, 754, 756, 758, 760, 762, 764, 766, 768, 770, 773, 775, 777, 779, 781, 783, 785, 786, 787, 788, 789, 793, 799, 802, 804, 810, 827, 829, 831, 833, 835, 837, 839, 841, 844, 846, 848, 850, 852, 854, 856, 858, 860, 862, 864, 866, 869, 871, 873, 875, 878, 880, 882, 884, 886, 888, 890, 892, 894, 896, 898, 900, 902, 904, 906, 908, 910, 912, 914, 917, 920, 922, 924, 926, 928, 930, 932, 934, 936, 938, 940, 941, 942, 943, 944 ] 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, 66, 67, 68, 75, 78, 84, 86, 124, 9, 13, -69, -65, 10, 32, 34, 35, 37, 42, 64, 66, 67, 68, 75, 78, 84, 86, 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, -31, 105, -69, -111, 105, 32, 99, -31, -70, -93, 110, 104, 58, 10, 10, 10, 32, 35, 37, 42, 64, 66, 67, 75, 78, 84, 86, 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, 32, 34, 35, 37, 42, 64, 66, 67, 68, 75, 78, 84, 86, 124, 9, 13, 104, 111, -31, -69, -81, 32, 108, 105, -31, -69, -121, 117, 58, 10, 10, 10, 32, 84, 124, 9, 13, -61, 10, -83, 10, 10, 110, 10, 104, 10, 32, 10, 110, -60, 10, -125, 10, 10, 110, 10, 103, 10, 58, -31, 104, -69, -117, 99, 104, 32, 98, -31, -70, -93, 110, 58, 10, 10, 10, 32, 35, 37, 42, 64, 66, 67, 75, 78, 84, 86, 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, -31, 10, 105, -69, 10, -111, 10, 10, 105, 10, 32, 10, 99, -31, 10, -70, 10, -93, 10, 10, 110, 10, 104, 10, 58, -31, 10, -70, 10, -65, 10, 10, 116, 10, 104, 10, 111, -31, 10, 104, -69, 10, -117, 10, 10, 99, 10, 104, 10, 32, 10, 98, -31, 10, -70, 10, -93, 10, 10, 110, 10, 105, 117, 10, 110, 10, 103, 10, 32, 10, 107, 116, -31, 10, -61, 10, -84, 10, 10, 110, 10, 104, 10, 32, 10, 104, 10, 117, -31, 10, -69, 10, -111, 10, 10, 110, 10, 103, 10, 104, -58, 10, -80, 10, 10, 110, 10, 103, -61, 10, 104, -84, -83, 10, 10, 110, 10, 104, 10, 32, 10, 110, -60, 10, -125, 10, -61, 10, -84, 10, -61, 10, -96, 10, 105, 117, 110, 103, 32, 107, 116, -31, -69, -117, 99, 104, 32, 98, -31, -70, -93, 110, 58, 10, 10, 10, 32, 35, 37, 42, 64, 66, 67, 75, 78, 84, 86, 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, 105, -31, 10, -70, 10, -65, 10, 10, 116, 10, 104, 10, 111, -31, 10, 104, -69, 10, -117, 10, 10, 99, 10, 104, 10, 32, 10, 98, -31, 10, -70, 10, -93, 10, 10, 110, 10, 58, 10, 105, 10, 104, -58, 10, -80, 10, 10, 110, 10, 103, -61, 10, 104, -84, -83, 10, 10, 110, 10, 104, 10, 32, 10, 104, 10, 117, -31, 10, -69, 10, -111, 10, 10, 110, 10, 103, 10, 110, 10, 104, 10, 32, 10, 110, -60, 10, -125, 10, -61, 10, -84, 10, -61, 10, -96, 10, -61, -84, 110, 104, 32, 104, 117, -31, -69, -111, 110, 103, 104, -58, -80, 110, 103, -61, 104, -84, -83, 110, 104, 32, 104, 117, -31, -69, -111, 110, 103, 110, 104, 32, 110, -60, -125, 110, 103, 58, 10, 10, 10, 32, 35, 37, 64, 66, 68, 75, 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, -31, 10, -69, 10, -111, 10, 10, 105, 10, 32, 10, 99, -31, 10, -70, 10, -93, 10, 10, 110, 10, 104, 10, 58, -31, 10, -69, 10, -81, 10, 10, 32, 10, 108, 10, 105, -31, 10, -69, 10, -121, 10, 10, 117, -31, 10, 104, -69, 10, -117, 10, 10, 99, 10, 104, 10, 32, 10, 98, -31, 10, -70, 10, -93, 10, 10, 110, 10, 117, 10, 110, 10, 103, 10, 32, 10, 107, 116, -31, 10, -61, 10, -84, 10, 10, 110, 10, 104, 10, 32, 10, 104, 10, 117, -31, 10, -69, 10, -111, 10, 10, 110, 10, 103, -61, 10, -84, -83, 10, 10, 110, 10, 104, 10, 32, 10, 110, -60, 10, -125, 10, -61, -84, -61, -96, 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, 66, 67, 68, 75, 78, 84, 86, 124, 9, 13, 10, 105, -31, 10, -70, 10, -65, 10, 10, 116, 10, 104, 10, 111, -31, 10, 104, -69, 10, -117, 10, 10, 99, 10, 104, 10, 32, 10, 98, -31, 10, -70, 10, -93, 10, 10, 110, 10, 58, 10, 105, 117, 10, 110, 10, 103, 10, 32, 10, 107, 116, -31, 10, -61, 10, -84, 10, 10, 110, 10, 104, 10, 32, 10, 104, 10, 117, -31, 10, -69, 10, -111, 10, 10, 110, 10, 103, 10, 104, -58, 10, -80, 10, 10, 110, 10, 103, -61, 10, 104, -84, -83, 10, 10, 110, 10, 104, 10, 32, 10, 110, -60, 10, -125, 10, -61, 10, -84, 10, -61, 10, -96, 10, -31, -70, -65, 116, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 16, 1, 1, 15, 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, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 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, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 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, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 4, 3, 2, 4, 15, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 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, 2, 2, 2, 2, 2, 1, 1, 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, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 18, 20, 22, 39, 41, 43, 47, 52, 57, 62, 67, 71, 75, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 115, 120, 127, 132, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 175, 178, 181, 184, 187, 190, 193, 196, 199, 202, 205, 208, 211, 214, 217, 220, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, 259, 261, 263, 265, 267, 273, 276, 279, 282, 285, 288, 291, 294, 297, 300, 303, 306, 309, 311, 313, 315, 317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 349, 352, 355, 358, 361, 364, 367, 370, 373, 376, 379, 382, 385, 388, 391, 394, 398, 401, 404, 407, 410, 413, 416, 419, 422, 425, 428, 431, 434, 437, 440, 443, 446, 449, 453, 456, 459, 462, 465, 468, 471, 474, 477, 480, 483, 487, 490, 493, 496, 500, 503, 506, 509, 512, 515, 518, 521, 524, 527, 530, 533, 536, 539, 542, 545, 548, 551, 554, 558, 562, 565, 568, 571, 574, 577, 580, 583, 586, 589, 592, 595, 597, 599, 601, 604, 606, 608, 610, 612, 614, 616, 618, 620, 622, 624, 626, 628, 630, 632, 646, 649, 652, 655, 658, 661, 664, 667, 670, 673, 676, 679, 682, 685, 688, 691, 694, 697, 700, 703, 706, 709, 712, 716, 719, 722, 725, 728, 731, 734, 737, 740, 743, 746, 749, 752, 755, 758, 761, 764, 767, 771, 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, 845, 847, 849, 851, 853, 855, 857, 859, 861, 863, 865, 867, 869, 872, 875, 877, 879, 881, 883, 885, 887, 889, 891, 893, 895, 897, 899, 901, 903, 905, 907, 909, 911, 913, 915, 917, 928, 931, 934, 937, 940, 943, 946, 949, 952, 955, 958, 961, 964, 967, 970, 973, 976, 979, 982, 985, 988, 991, 994, 997, 1000, 1003, 1006, 1009, 1012, 1015, 1018, 1021, 1024, 1027, 1030, 1033, 1036, 1040, 1043, 1046, 1049, 1052, 1055, 1058, 1061, 1064, 1067, 1070, 1073, 1076, 1079, 1082, 1086, 1089, 1092, 1095, 1098, 1101, 1104, 1107, 1110, 1113, 1116, 1119, 1122, 1125, 1128, 1132, 1135, 1138, 1141, 1144, 1147, 1150, 1152, 1154, 1156, 1158, 1162, 1168, 1172, 1175, 1181, 1198, 1201, 1204, 1207, 1210, 1213, 1216, 1219, 1223, 1226, 1229, 1232, 1235, 1238, 1241, 1244, 1247, 1250, 1253, 1256, 1260, 1263, 1266, 1269, 1273, 1276, 1279, 1282, 1285, 1288, 1291, 1294, 1297, 1300, 1303, 1306, 1309, 1312, 1315, 1318, 1321, 1324, 1327, 1331, 1335, 1338, 1341, 1344, 1347, 1350, 1353, 1356, 1359, 1362, 1365, 1367, 1369, 1371, 1373 ] 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, 67, 69, 94, 282, 287, 386, 388, 4, 0, 3, 0, 4, 0, 4, 4, 5, 14, 16, 30, 33, 36, 67, 69, 94, 282, 287, 386, 388, 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, 452, 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, 448, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 50, 49, 50, 49, 50, 50, 4, 51, 65, 4, 394, 399, 401, 431, 436, 446, 50, 49, 50, 52, 49, 50, 53, 49, 50, 54, 49, 50, 55, 49, 50, 56, 49, 50, 57, 49, 50, 58, 49, 50, 59, 49, 50, 60, 49, 50, 61, 49, 50, 62, 49, 50, 63, 49, 50, 64, 49, 50, 4, 49, 50, 66, 49, 4, 4, 5, 14, 16, 30, 33, 36, 67, 69, 94, 282, 287, 386, 388, 4, 0, 68, 0, 30, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 79, 0, 80, 0, 82, 81, 82, 81, 82, 82, 83, 4, 82, 81, 84, 82, 81, 85, 82, 81, 82, 86, 81, 82, 87, 81, 82, 88, 81, 82, 89, 81, 90, 82, 81, 91, 82, 81, 82, 92, 81, 82, 93, 81, 82, 66, 81, 95, 188, 0, 96, 0, 97, 0, 98, 0, 99, 0, 100, 0, 101, 0, 102, 0, 103, 0, 104, 0, 105, 0, 106, 0, 108, 107, 108, 107, 108, 108, 4, 109, 123, 4, 124, 140, 142, 171, 176, 186, 108, 107, 108, 110, 107, 108, 111, 107, 108, 112, 107, 108, 113, 107, 108, 114, 107, 108, 115, 107, 108, 116, 107, 108, 117, 107, 108, 118, 107, 108, 119, 107, 108, 120, 107, 108, 121, 107, 108, 122, 107, 108, 4, 107, 108, 66, 107, 125, 108, 136, 107, 126, 108, 107, 127, 108, 107, 108, 128, 107, 108, 129, 107, 108, 130, 107, 131, 108, 107, 132, 108, 107, 133, 108, 107, 108, 134, 107, 108, 135, 107, 108, 66, 107, 137, 108, 107, 138, 108, 107, 139, 108, 107, 108, 123, 107, 108, 141, 107, 108, 123, 107, 143, 108, 153, 107, 144, 108, 107, 145, 108, 107, 108, 146, 107, 108, 147, 107, 108, 148, 107, 108, 149, 107, 150, 108, 107, 151, 108, 107, 152, 108, 107, 108, 135, 107, 108, 123, 154, 107, 108, 155, 107, 108, 156, 107, 108, 157, 107, 108, 158, 159, 107, 143, 108, 107, 160, 108, 107, 161, 108, 107, 108, 162, 107, 108, 163, 107, 108, 164, 107, 108, 165, 107, 108, 166, 107, 167, 108, 107, 168, 108, 107, 169, 108, 107, 108, 170, 107, 108, 135, 107, 108, 172, 107, 173, 108, 107, 174, 108, 107, 108, 175, 107, 108, 123, 107, 177, 108, 184, 107, 161, 178, 108, 107, 108, 179, 107, 108, 180, 107, 108, 181, 107, 108, 182, 107, 183, 108, 107, 169, 108, 107, 185, 108, 107, 123, 108, 107, 187, 108, 107, 123, 108, 107, 30, 189, 0, 190, 0, 191, 0, 192, 0, 193, 270, 0, 194, 0, 195, 0, 196, 0, 197, 0, 198, 0, 199, 0, 200, 0, 201, 0, 202, 0, 203, 0, 204, 0, 205, 0, 207, 206, 207, 206, 207, 207, 4, 208, 222, 4, 223, 228, 230, 243, 248, 268, 207, 206, 207, 209, 206, 207, 210, 206, 207, 211, 206, 207, 212, 206, 207, 213, 206, 207, 214, 206, 207, 215, 206, 207, 216, 206, 207, 217, 206, 207, 218, 206, 207, 219, 206, 207, 220, 206, 207, 221, 206, 207, 4, 206, 207, 66, 206, 207, 224, 206, 225, 207, 206, 226, 207, 206, 227, 207, 206, 207, 222, 206, 207, 229, 206, 207, 222, 206, 231, 207, 242, 206, 232, 207, 206, 233, 207, 206, 207, 234, 206, 207, 235, 206, 207, 236, 206, 207, 237, 206, 238, 207, 206, 239, 207, 206, 240, 207, 206, 207, 241, 206, 207, 66, 206, 207, 222, 206, 207, 244, 206, 245, 207, 206, 246, 207, 206, 207, 247, 206, 207, 222, 206, 249, 207, 266, 206, 250, 260, 207, 206, 207, 251, 206, 207, 252, 206, 207, 253, 206, 207, 254, 206, 207, 255, 206, 256, 207, 206, 257, 207, 206, 258, 207, 206, 207, 259, 206, 207, 241, 206, 207, 261, 206, 207, 262, 206, 207, 263, 206, 207, 264, 206, 265, 207, 206, 258, 207, 206, 267, 207, 206, 222, 207, 206, 269, 207, 206, 222, 207, 206, 271, 0, 272, 0, 273, 0, 274, 0, 275, 0, 276, 0, 277, 0, 278, 0, 279, 0, 280, 0, 281, 0, 204, 0, 283, 0, 284, 0, 285, 0, 286, 0, 30, 0, 288, 384, 0, 289, 299, 0, 290, 0, 291, 0, 292, 0, 293, 0, 294, 0, 295, 0, 296, 0, 297, 0, 298, 0, 105, 0, 300, 0, 301, 0, 302, 0, 303, 0, 304, 0, 305, 0, 306, 0, 307, 0, 308, 0, 310, 309, 310, 309, 310, 310, 4, 311, 4, 325, 337, 347, 376, 310, 309, 310, 312, 309, 310, 313, 309, 310, 314, 309, 310, 315, 309, 310, 316, 309, 310, 317, 309, 310, 318, 309, 310, 319, 309, 310, 320, 309, 310, 321, 309, 310, 322, 309, 310, 323, 309, 310, 324, 309, 310, 4, 309, 326, 310, 309, 327, 310, 309, 328, 310, 309, 310, 329, 309, 310, 330, 309, 310, 331, 309, 332, 310, 309, 333, 310, 309, 334, 310, 309, 310, 335, 309, 310, 336, 309, 310, 66, 309, 338, 310, 309, 339, 310, 309, 340, 310, 309, 310, 341, 309, 310, 342, 309, 310, 343, 309, 344, 310, 309, 345, 310, 309, 346, 310, 309, 310, 336, 309, 348, 310, 358, 309, 349, 310, 309, 350, 310, 309, 310, 351, 309, 310, 352, 309, 310, 353, 309, 310, 354, 309, 355, 310, 309, 356, 310, 309, 357, 310, 309, 310, 336, 309, 310, 359, 309, 310, 360, 309, 310, 361, 309, 310, 362, 309, 310, 363, 364, 309, 348, 310, 309, 365, 310, 309, 366, 310, 309, 310, 367, 309, 310, 368, 309, 310, 369, 309, 310, 370, 309, 310, 371, 309, 372, 310, 309, 373, 310, 309, 374, 310, 309, 310, 375, 309, 310, 336, 309, 377, 310, 309, 366, 378, 310, 309, 310, 379, 309, 310, 380, 309, 310, 381, 309, 310, 382, 309, 383, 310, 309, 374, 310, 309, 385, 0, 30, 0, 387, 0, 30, 0, 388, 389, 388, 0, 393, 392, 391, 389, 392, 390, 0, 391, 389, 390, 0, 391, 390, 393, 392, 391, 389, 392, 390, 393, 393, 5, 14, 16, 30, 33, 36, 67, 69, 94, 282, 287, 386, 388, 393, 0, 50, 395, 49, 396, 50, 49, 397, 50, 49, 398, 50, 49, 50, 65, 49, 50, 400, 49, 50, 65, 49, 402, 50, 413, 49, 403, 50, 49, 404, 50, 49, 50, 405, 49, 50, 406, 49, 50, 407, 49, 50, 408, 49, 409, 50, 49, 410, 50, 49, 411, 50, 49, 50, 412, 49, 50, 66, 49, 50, 65, 414, 49, 50, 415, 49, 50, 416, 49, 50, 417, 49, 50, 418, 419, 49, 402, 50, 49, 420, 50, 49, 421, 50, 49, 50, 422, 49, 50, 423, 49, 50, 424, 49, 50, 425, 49, 50, 426, 49, 427, 50, 49, 428, 50, 49, 429, 50, 49, 50, 430, 49, 50, 412, 49, 50, 432, 49, 433, 50, 49, 434, 50, 49, 50, 435, 49, 50, 65, 49, 437, 50, 444, 49, 421, 438, 50, 49, 50, 439, 49, 50, 440, 49, 50, 441, 49, 50, 442, 49, 443, 50, 49, 429, 50, 49, 445, 50, 49, 65, 50, 49, 447, 50, 49, 65, 50, 49, 449, 0, 450, 0, 451, 0, 30, 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, 25, 31, 0, 39, 0, 39, 0, 39, 47, 0, 3, 1, 0, 25, 1, 25, 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, 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, 65, 29, 77, 65, 77, 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, 11, 0, 47, 11, 0, 115, 27, 53, 50, 27, 56, 50, 56, 56, 56, 56, 56, 56, 56, 59, 27, 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, 77, 74, 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, 47, 0, 0, 47, 0, 0, 47, 17, 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, 124, 50, 47, 0, 47, 0, 68, 29, 77, 68, 77, 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, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 13, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 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, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 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, 0, 47, 0, 0, 47, 0, 0, 47, 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, 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, 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, 0, 39, 124, 50, 47, 0, 47, 0, 71, 29, 77, 71, 77, 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, 15, 0, 47, 15, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 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, 47, 0, 0, 47, 15, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 0, 0, 47, 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, 47, 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, 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, 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, 0, 39, 0, 39, 0, 39, 0, 39, 124, 50, 47, 0, 47, 0, 62, 29, 62, 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, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 9, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 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, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 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, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 39, 0, 39, 0, 39, 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, 47, 0, 86, 83, 37, 89, 83, 89, 89, 89, 89, 89, 89, 89, 92, 0, 39, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 47, 0, 0, 47, 0, 0, 47, 0, 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, 47, 0, 0, 47, 11, 0, 47, 0, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 47, 0, 0, 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, 0, 47, 0, 0, 47, 0, 0, 47, 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, 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, 0, 0, 39, 0, 39, 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, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 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 = 452; class << self attr_accessor :lexer_error end self.lexer_error = 0; class << self attr_accessor :lexer_en_main end self.lexer_en_main = 1; # line 128 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" end def scan(data, uri, offset) @listener.location(uri, offset) data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably eof = pe = data.length @line_number = 1 @last_newline = 0 # line 874 "lib/gherkin/rb_lexer/vi.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 139 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" # line 883 "lib/gherkin/rb_lexer/vi.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 7 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @content_start = p @current_line = @line_number end # line 7 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 1 then # line 12 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 12 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 2 then # line 17 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @content_start = p end # line 17 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 3 then # line 21 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 21 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 4 then # line 26 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 26 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 5 then # line 32 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 32 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 6 then # line 38 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 38 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 7 then # line 44 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 44 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 8 then # line 50 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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 50 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 9 then # line 56 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.step(@keyword, con, @current_line) end # line 56 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 10 then # line 61 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.comment(con, @line_number) @keyword_start = nil end # line 61 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 11 then # line 67 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip @listener.tag(con, @current_line) @keyword_start = nil end # line 67 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 12 then # line 73 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @line_number += 1 end # line 73 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 13 then # line 77 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @last_newline = p + 1 end # line 77 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 14 then # line 81 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @keyword_start ||= p end # line 81 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 15 then # line 85 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'') @keyword_start = nil end # line 85 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 16 then # line 90 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @next_keyword_start = p end # line 90 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 17 then # line 94 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin p = p - 1 current_row = [] @current_line = @line_number end # line 94 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 18 then # line 100 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @content_start = p end # line 100 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 19 then # line 104 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin con = utf8_pack(data[@content_start...p]).strip current_row << con.gsub(/\\\|/, "|").gsub(/\\\\/, "\\") end # line 104 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 20 then # line 109 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin @listener.row(current_row, @current_line) end # line 109 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" when 21 then # line 113 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise 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 113 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" # line 1144 "lib/gherkin/rb_lexer/vi.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 113 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" begin if cs < lexer_first_final content = current_line_content(data, p) raise 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 113 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.rb.rl" # line 1184 "lib/gherkin/rb_lexer/vi.rb" end # eof action switch end if _trigger_goto next end end end if _goto_level <= _out break end end end # line 140 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/vi.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