# line 1 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" require 'gherkin/core_ext/array' module Gherkin module RbLexer class En_au #:nodoc: # line 125 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" def initialize(listener) @listener = listener # line 16 "lib/gherkin/rb_lexer/en_au.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, 16, 17, 18, 22, 27, 32, 37, 42, 46, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 76, 83, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 161, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 180, 181, 182, 183, 184, 185, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 225, 227, 229, 231, 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, 258, 259, 260, 261, 262, 263, 277, 279, 281, 283, 285, 287, 289, 291, 293, 295, 297, 299, 301, 303, 305, 307, 309, 311, 313, 315, 317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 337, 339, 341, 344, 346, 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, 367, 368, 369, 370, 371, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 388, 393, 394, 399, 415, 417, 419, 421, 423, 425, 427, 429, 431, 433, 435, 437, 439, 441, 443, 445, 447, 449, 452, 454, 456, 458, 460, 462, 464, 466, 468, 470, 472, 474, 475, 476, 477, 478, 479, 480, 481, 494, 496, 498, 500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 524, 526, 528, 530, 532, 534, 536, 538, 540, 542, 544, 546, 548, 551, 553, 555, 557, 559, 561, 563, 565, 567, 569, 571, 573 ] class << self attr_accessor :_lexer_trans_keys private :_lexer_trans_keys, :_lexer_trans_keys= end self._lexer_trans_keys = [ 10, 32, 34, 35, 37, 42, 64, 66, 67, 77, 78, 87, 89, 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, 97, 108, 99, 107, 103, 114, 111, 117, 110, 100, 58, 10, 10, 10, 32, 35, 37, 42, 64, 66, 67, 77, 78, 87, 89, 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, 77, 78, 87, 89, 124, 9, 13, 101, 111, 114, 112, 116, 98, 98, 101, 114, 58, 10, 10, 10, 32, 124, 9, 13, 105, 107, 101, 121, 58, 10, 10, 10, 32, 35, 37, 64, 66, 77, 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, 97, 108, 10, 99, 10, 107, 10, 103, 10, 114, 10, 111, 10, 117, 10, 110, 10, 100, 10, 58, 10, 111, 10, 107, 10, 101, 10, 115, 10, 97, 10, 116, 10, 101, 97, 116, 101, 58, 10, 10, 10, 32, 35, 37, 42, 64, 66, 67, 77, 78, 87, 89, 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, 108, 10, 111, 10, 107, 10, 101, 10, 115, 10, 58, 10, 101, 10, 112, 10, 116, 10, 97, 10, 116, 10, 101, 10, 104, 10, 101, 10, 110, 10, 97, 10, 32, 10, 103, 107, 10, 111, 10, 116, 10, 116, 10, 97, 10, 110, 10, 111, 10, 119, 10, 32, 10, 104, 10, 111, 10, 119, 104, 101, 110, 97, 32, 103, 107, 111, 116, 116, 97, 110, 111, 119, 32, 104, 111, 119, 32, 124, 9, 13, 10, 32, 124, 9, 13, 124, 10, 32, 124, 9, 13, 10, 32, 34, 35, 37, 42, 64, 66, 67, 77, 78, 87, 89, 124, 9, 13, 10, 108, 10, 111, 10, 107, 10, 101, 10, 115, 10, 58, 10, 101, 10, 112, 10, 116, 10, 97, 10, 116, 10, 101, 10, 104, 10, 101, 10, 110, 10, 97, 10, 32, 10, 103, 107, 10, 111, 10, 116, 10, 116, 10, 97, 10, 110, 10, 111, 10, 119, 10, 32, 10, 104, 10, 111, 10, 119, 111, 107, 101, 115, 58, 10, 10, 10, 32, 35, 37, 42, 64, 67, 77, 78, 87, 89, 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, 101, 10, 112, 10, 116, 10, 97, 10, 116, 10, 101, 10, 58, 10, 104, 10, 101, 10, 110, 10, 97, 10, 32, 10, 103, 107, 10, 111, 10, 116, 10, 116, 10, 97, 10, 110, 10, 111, 10, 119, 10, 32, 10, 104, 10, 111, 10, 119, 0 ] class << self attr_accessor :_lexer_single_lengths private :_lexer_single_lengths, :_lexer_single_lengths= end self._lexer_single_lengths = [ 0, 14, 1, 1, 2, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 5, 3, 2, 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, 14, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 7, 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, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 3, 14, 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, 1, 1, 1, 1, 1, 1, 1, 11, 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, 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, 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, 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, 1, 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, 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, 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, 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 ] class << self attr_accessor :_lexer_index_offsets private :_lexer_index_offsets, :_lexer_index_offsets= end self._lexer_index_offsets = [ 0, 0, 16, 18, 20, 24, 29, 34, 39, 44, 48, 52, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 92, 97, 104, 109, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 148, 151, 154, 157, 160, 163, 166, 169, 172, 175, 178, 181, 184, 187, 190, 193, 209, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 236, 238, 240, 242, 244, 246, 248, 250, 259, 262, 265, 268, 271, 274, 277, 280, 283, 286, 289, 292, 295, 298, 301, 305, 308, 311, 314, 317, 320, 323, 326, 329, 332, 335, 338, 341, 344, 347, 350, 353, 355, 357, 359, 361, 363, 365, 379, 382, 385, 388, 391, 394, 397, 400, 403, 406, 409, 412, 415, 418, 421, 424, 427, 430, 433, 436, 439, 442, 445, 448, 451, 454, 457, 460, 463, 466, 469, 472, 475, 479, 482, 485, 488, 491, 494, 497, 500, 503, 506, 509, 512, 514, 516, 518, 520, 522, 525, 527, 529, 531, 533, 535, 537, 539, 541, 543, 545, 547, 551, 556, 558, 563, 579, 582, 585, 588, 591, 594, 597, 600, 603, 606, 609, 612, 615, 618, 621, 624, 627, 630, 634, 637, 640, 643, 646, 649, 652, 655, 658, 661, 664, 667, 669, 671, 673, 675, 677, 679, 681, 694, 697, 700, 703, 706, 709, 712, 715, 718, 721, 724, 727, 730, 733, 736, 739, 742, 745, 748, 751, 754, 757, 760, 763, 766, 769, 772, 775, 779, 782, 785, 788, 791, 794, 797, 800, 803, 806, 809, 812 ] class << self attr_accessor :_lexer_trans_targs private :_lexer_trans_targs, :_lexer_trans_targs= end self._lexer_trans_targs = [ 1, 1, 2, 11, 13, 27, 30, 33, 62, 112, 27, 163, 166, 180, 1, 0, 3, 0, 4, 0, 5, 4, 4, 0, 6, 6, 7, 6, 6, 6, 6, 7, 6, 6, 6, 6, 8, 6, 6, 6, 6, 9, 6, 6, 1, 10, 10, 0, 1, 10, 10, 0, 1, 12, 11, 1, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 261, 0, 28, 0, 0, 29, 1, 12, 29, 0, 0, 0, 0, 31, 32, 1, 32, 32, 30, 31, 31, 1, 32, 30, 32, 0, 34, 214, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 45, 44, 45, 44, 45, 45, 1, 46, 60, 1, 185, 191, 194, 60, 197, 200, 45, 44, 45, 47, 44, 45, 48, 44, 45, 49, 44, 45, 50, 44, 45, 51, 44, 45, 52, 44, 45, 53, 44, 45, 54, 44, 45, 55, 44, 45, 56, 44, 45, 57, 44, 45, 58, 44, 45, 59, 44, 45, 1, 44, 45, 61, 44, 1, 1, 2, 11, 13, 27, 30, 33, 62, 112, 27, 163, 166, 180, 1, 0, 63, 65, 73, 0, 64, 0, 27, 0, 66, 0, 67, 0, 68, 0, 69, 0, 70, 0, 72, 71, 72, 71, 72, 72, 1, 72, 71, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 80, 79, 80, 79, 80, 80, 1, 81, 1, 95, 109, 80, 79, 80, 82, 79, 80, 83, 79, 80, 84, 79, 80, 85, 79, 80, 86, 79, 80, 87, 79, 80, 88, 79, 80, 89, 79, 80, 90, 79, 80, 91, 79, 80, 92, 79, 80, 93, 79, 80, 94, 79, 80, 1, 79, 80, 96, 105, 79, 80, 97, 79, 80, 98, 79, 80, 99, 79, 80, 100, 79, 80, 101, 79, 80, 102, 79, 80, 103, 79, 80, 104, 79, 80, 61, 79, 80, 106, 79, 80, 107, 79, 80, 108, 79, 80, 104, 79, 80, 110, 79, 80, 111, 79, 80, 104, 79, 113, 0, 114, 0, 115, 0, 116, 0, 118, 117, 118, 117, 118, 118, 1, 119, 133, 1, 134, 140, 143, 133, 146, 149, 118, 117, 118, 120, 117, 118, 121, 117, 118, 122, 117, 118, 123, 117, 118, 124, 117, 118, 125, 117, 118, 126, 117, 118, 127, 117, 118, 128, 117, 118, 129, 117, 118, 130, 117, 118, 131, 117, 118, 132, 117, 118, 1, 117, 118, 61, 117, 118, 135, 117, 118, 136, 117, 118, 137, 117, 118, 138, 117, 118, 139, 117, 118, 61, 117, 118, 141, 117, 118, 142, 117, 118, 133, 117, 118, 144, 117, 118, 145, 117, 118, 139, 117, 118, 147, 117, 118, 148, 117, 118, 133, 117, 118, 150, 117, 118, 151, 117, 118, 152, 156, 117, 118, 153, 117, 118, 154, 117, 118, 155, 117, 118, 133, 117, 118, 157, 117, 118, 158, 117, 118, 159, 117, 118, 160, 117, 118, 161, 117, 118, 162, 117, 118, 133, 117, 164, 0, 165, 0, 27, 0, 167, 0, 168, 0, 169, 173, 0, 170, 0, 171, 0, 172, 0, 27, 0, 174, 0, 175, 0, 176, 0, 177, 0, 178, 0, 179, 0, 27, 0, 180, 181, 180, 0, 184, 183, 181, 183, 182, 181, 182, 184, 183, 181, 183, 182, 184, 184, 2, 11, 13, 27, 30, 33, 62, 112, 27, 163, 166, 180, 184, 0, 45, 186, 44, 45, 187, 44, 45, 188, 44, 45, 189, 44, 45, 190, 44, 45, 61, 44, 45, 192, 44, 45, 193, 44, 45, 60, 44, 45, 195, 44, 45, 196, 44, 45, 190, 44, 45, 198, 44, 45, 199, 44, 45, 60, 44, 45, 201, 44, 45, 202, 44, 45, 203, 207, 44, 45, 204, 44, 45, 205, 44, 45, 206, 44, 45, 60, 44, 45, 208, 44, 45, 209, 44, 45, 210, 44, 45, 211, 44, 45, 212, 44, 45, 213, 44, 45, 60, 44, 215, 0, 216, 0, 217, 0, 218, 0, 219, 0, 221, 220, 221, 220, 221, 221, 1, 222, 236, 1, 237, 240, 236, 244, 247, 221, 220, 221, 223, 220, 221, 224, 220, 221, 225, 220, 221, 226, 220, 221, 227, 220, 221, 228, 220, 221, 229, 220, 221, 230, 220, 221, 231, 220, 221, 232, 220, 221, 233, 220, 221, 234, 220, 221, 235, 220, 221, 1, 220, 221, 61, 220, 221, 238, 220, 221, 239, 220, 221, 236, 220, 221, 241, 220, 221, 242, 220, 221, 243, 220, 221, 61, 220, 221, 245, 220, 221, 246, 220, 221, 236, 220, 221, 248, 220, 221, 249, 220, 221, 250, 254, 220, 221, 251, 220, 221, 252, 220, 221, 253, 220, 221, 236, 220, 221, 255, 220, 221, 256, 220, 221, 257, 220, 221, 258, 220, 221, 259, 220, 221, 260, 220, 221, 236, 220, 0, 0 ] class << self attr_accessor :_lexer_trans_actions private :_lexer_trans_actions, :_lexer_trans_actions= end self._lexer_trans_actions = [ 45, 0, 3, 1, 0, 23, 1, 23, 23, 23, 23, 23, 23, 29, 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, 45, 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, 0, 37, 37, 48, 97, 17, 0, 37, 37, 37, 37, 0, 21, 105, 21, 21, 42, 21, 0, 45, 0, 1, 0, 37, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 122, 48, 45, 0, 45, 0, 63, 27, 75, 63, 75, 75, 75, 75, 75, 75, 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, 0, 0, 45, 11, 0, 45, 11, 0, 113, 25, 51, 48, 25, 54, 48, 54, 54, 54, 54, 54, 54, 57, 25, 37, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 122, 48, 45, 0, 45, 0, 72, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 122, 48, 45, 0, 45, 0, 60, 27, 60, 75, 75, 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, 0, 0, 45, 9, 0, 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, 9, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 0, 37, 0, 37, 0, 37, 0, 37, 122, 48, 45, 0, 45, 0, 66, 27, 75, 66, 75, 75, 75, 75, 75, 75, 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, 0, 0, 45, 13, 0, 45, 13, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 13, 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, 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, 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, 0, 37, 0, 37, 0, 37, 0, 37, 0, 0, 0, 37, 45, 31, 78, 31, 31, 33, 0, 45, 0, 33, 0, 0, 45, 0, 84, 81, 35, 87, 81, 87, 87, 87, 87, 87, 87, 90, 0, 37, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 11, 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, 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, 0, 37, 0, 37, 0, 37, 0, 37, 0, 37, 122, 48, 45, 0, 45, 0, 69, 27, 75, 69, 75, 75, 75, 75, 75, 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, 0, 0, 45, 15, 0, 45, 15, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 15, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 45, 0, 0, 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, 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 ] class << self attr_accessor :lexer_start end self.lexer_start = 1; class << self attr_accessor :lexer_first_final end self.lexer_first_final = 261; 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/en_au.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 567 "lib/gherkin/rb_lexer/en_au.rb" begin p ||= 0 pe ||= data.length cs = lexer_start end # line 140 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" # line 576 "lib/gherkin/rb_lexer/en_au.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/en_au.rb.rl" begin @content_start = p @current_line = @line_number end # line 9 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 1 then # line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @current_line = @line_number @start_col = p - @last_newline end # line 14 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 2 then # line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @content_start = p end # line 19 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 3 then # line 23 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 4 then # line 28 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 5 then # line 34 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 6 then # line 40 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 7 then # line 46 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 8 then # line 52 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 9 then # line 58 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 10 then # line 63 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 11 then # line 69 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 12 then # line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @line_number += 1 end # line 75 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 13 then # line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @last_newline = p + 1 end # line 79 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 14 then # line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @keyword_start ||= p end # line 83 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 15 then # line 87 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 16 then # line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @next_keyword_start = p end # line 92 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 17 then # line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin p = p - 1 current_row = [] @current_line = @line_number end # line 96 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 18 then # line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @content_start = p end # line 102 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 19 then # line 106 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" when 20 then # line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" begin @listener.row(current_row, @current_line) end # line 111 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.rb.rl" when 21 then # line 115 "/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/en_au.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/en_au.rb.rl" # line 837 "lib/gherkin/rb_lexer/en_au.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/en_au.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/en_au.rb.rl" # line 877 "lib/gherkin/rb_lexer/en_au.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/en_au.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