gherkin 2.12.0 → 2.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +6 -14
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +1 -3
  4. data/History.md +18 -0
  5. data/LICENSE +1 -1
  6. data/README.md +22 -28
  7. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +466 -466
  8. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +2 -2
  9. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +535 -395
  10. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +2 -2
  11. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +2 -2
  12. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +2 -2
  13. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +2 -2
  14. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +296 -286
  15. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +2 -2
  16. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +2 -2
  17. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +2 -2
  18. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +2 -2
  19. data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +2 -2
  20. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +2 -2
  21. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +2 -2
  22. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +2 -2
  23. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +2 -2
  24. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +2 -2
  25. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +2 -2
  26. data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +2 -2
  27. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +2 -2
  28. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +2 -2
  29. data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +2 -2
  30. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +2 -2
  31. data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +784 -685
  32. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +2 -2
  33. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +2 -2
  34. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +2 -2
  35. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +2 -2
  36. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +2 -2
  37. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +2 -2
  38. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +2 -2
  39. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +2 -2
  40. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +2 -2
  41. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +2 -2
  42. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +2 -2
  43. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +2 -2
  44. data/ext/gherkin_lexer_pa/extconf.rb +6 -0
  45. data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +2160 -0
  46. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +2 -2
  47. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +2 -2
  48. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +2 -2
  49. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2 -2
  50. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +2 -2
  51. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2 -2
  52. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +586 -589
  53. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +2 -2
  54. data/ext/gherkin_lexer_th/extconf.rb +6 -0
  55. data/ext/gherkin_lexer_th/gherkin_lexer_th.c +2840 -0
  56. data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +2 -2
  57. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +2 -2
  58. data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +2 -2
  59. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +2 -2
  60. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +586 -594
  61. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +2 -2
  62. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +2 -2
  63. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +2 -2
  64. data/features/.cucumber/stepdefs.json +66 -66
  65. data/gherkin.gemspec +12 -11
  66. data/lib/gherkin/formatter/filter_formatter.rb +1 -1
  67. data/lib/gherkin/i18n.json +38 -10
  68. data/lib/gherkin/i18n.rb +1 -1
  69. data/lib/gherkin/lexer/ar.rb +1167 -0
  70. data/lib/gherkin/lexer/bg.rb +1379 -0
  71. data/lib/gherkin/lexer/bm.rb +1247 -0
  72. data/lib/gherkin/lexer/ca.rb +1307 -0
  73. data/lib/gherkin/lexer/cs.rb +1243 -0
  74. data/lib/gherkin/lexer/cy_gb.rb +1029 -0
  75. data/lib/gherkin/lexer/da.rb +1045 -0
  76. data/lib/gherkin/lexer/de.rb +1163 -0
  77. data/lib/gherkin/lexer/el.rb +1677 -0
  78. data/lib/gherkin/lexer/en.rb +1153 -0
  79. data/lib/gherkin/lexer/en_au.rb +1483 -0
  80. data/lib/gherkin/lexer/en_lol.rb +931 -0
  81. data/lib/gherkin/lexer/en_old.rb +1034 -0
  82. data/lib/gherkin/lexer/en_pirate.rb +1207 -0
  83. data/lib/gherkin/lexer/en_scouse.rb +1359 -0
  84. data/lib/gherkin/lexer/en_tx.rb +1013 -0
  85. data/lib/gherkin/lexer/eo.rb +992 -0
  86. data/lib/gherkin/lexer/es.rb +1137 -0
  87. data/lib/gherkin/lexer/et.rb +987 -0
  88. data/lib/gherkin/lexer/fa.rb +1211 -0
  89. data/lib/gherkin/lexer/fi.rb +966 -0
  90. data/lib/gherkin/lexer/fr.rb +1225 -0
  91. data/lib/gherkin/lexer/gl.rb +1114 -0
  92. data/lib/gherkin/lexer/he.rb +1115 -0
  93. data/lib/gherkin/lexer/hi.rb +1556 -0
  94. data/lib/gherkin/lexer/hr.rb +1063 -0
  95. data/lib/gherkin/lexer/hu.rb +1115 -0
  96. data/lib/gherkin/lexer/id.rb +960 -0
  97. data/lib/gherkin/lexer/is.rb +1117 -0
  98. data/lib/gherkin/lexer/it.rb +1083 -0
  99. data/lib/gherkin/lexer/ja.rb +1415 -0
  100. data/lib/gherkin/lexer/ko.rb +1099 -0
  101. data/lib/gherkin/lexer/lt.rb +1042 -0
  102. data/lib/gherkin/lexer/lu.rb +1129 -0
  103. data/lib/gherkin/lexer/lv.rb +1163 -0
  104. data/lib/gherkin/lexer/nl.rb +1112 -0
  105. data/lib/gherkin/lexer/no.rb +1057 -0
  106. data/lib/gherkin/lexer/pa.rb +1849 -0
  107. data/lib/gherkin/lexer/pl.rb +1454 -0
  108. data/lib/gherkin/lexer/pt.rb +1427 -0
  109. data/lib/gherkin/lexer/ro.rb +1161 -0
  110. data/lib/gherkin/lexer/ru.rb +1763 -0
  111. data/lib/gherkin/lexer/sk.rb +1449 -0
  112. data/lib/gherkin/lexer/sr_cyrl.rb +1800 -0
  113. data/lib/gherkin/lexer/sr_latn.rb +1291 -0
  114. data/lib/gherkin/lexer/sv.rb +1067 -0
  115. data/lib/gherkin/lexer/th.rb +2489 -0
  116. data/lib/gherkin/lexer/tl.rb +1723 -0
  117. data/lib/gherkin/lexer/tr.rb +1089 -0
  118. data/lib/gherkin/lexer/tt.rb +1640 -0
  119. data/lib/gherkin/lexer/uk.rb +1643 -0
  120. data/lib/gherkin/lexer/uz.rb +1373 -0
  121. data/lib/gherkin/lexer/vi.rb +1195 -0
  122. data/lib/gherkin/lexer/zh_cn.rb +1055 -0
  123. data/lib/gherkin/lexer/zh_tw.rb +1049 -0
  124. data/lib/gherkin/platform.rb +2 -2
  125. data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
  126. data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
  127. data/spec/gherkin/i18n_spec.rb +2 -0
  128. data/tasks/gems.rake +19 -4
  129. data/tasks/ikvm.rake +10 -8
  130. data/tasks/ragel_task.rb +3 -2
  131. data/tasks/rspec.rake +2 -6
  132. metadata +295 -169
@@ -0,0 +1,1291 @@
1
+
2
+ # line 1 "ragel/i18n/sr_latn.rb.rl"
3
+ require 'gherkin/native'
4
+
5
+ module Gherkin
6
+ module Lexer
7
+ class Sr_latn #:nodoc:
8
+ native_impl('gherkin')
9
+
10
+
11
+ # line 125 "ragel/i18n/sr_latn.rb.rl"
12
+
13
+
14
+ def initialize(listener)
15
+ @listener = listener
16
+
17
+ # line 18 "lib/gherkin/lexer/sr_latn.rb"
18
+ class << self
19
+ attr_accessor :_lexer_actions
20
+ private :_lexer_actions, :_lexer_actions=
21
+ end
22
+ self._lexer_actions = [
23
+ 0, 1, 0, 1, 1, 1, 2, 1,
24
+ 3, 1, 4, 1, 5, 1, 6, 1,
25
+ 7, 1, 8, 1, 9, 1, 10, 1,
26
+ 11, 1, 12, 1, 13, 1, 16, 1,
27
+ 17, 1, 18, 1, 19, 1, 20, 1,
28
+ 21, 1, 22, 1, 23, 2, 2, 18,
29
+ 2, 3, 4, 2, 13, 0, 2, 14,
30
+ 15, 2, 17, 0, 2, 17, 1, 2,
31
+ 17, 16, 2, 17, 19, 2, 18, 6,
32
+ 2, 18, 7, 2, 18, 8, 2, 18,
33
+ 9, 2, 18, 10, 2, 18, 16, 2,
34
+ 20, 21, 2, 22, 0, 2, 22, 1,
35
+ 2, 22, 16, 2, 22, 19, 3, 4,
36
+ 14, 15, 3, 5, 14, 15, 3, 11,
37
+ 14, 15, 3, 12, 14, 15, 3, 13,
38
+ 14, 15, 3, 14, 15, 18, 3, 17,
39
+ 0, 11, 3, 17, 14, 15, 4, 2,
40
+ 14, 15, 18, 4, 3, 4, 14, 15,
41
+ 4, 17, 0, 14, 15, 5, 17, 0,
42
+ 11, 14, 15
43
+ ]
44
+
45
+ class << self
46
+ attr_accessor :_lexer_key_offsets
47
+ private :_lexer_key_offsets, :_lexer_key_offsets=
48
+ end
49
+ self._lexer_key_offsets = [
50
+ 0, 0, 20, 21, 22, 41, 42, 43,
51
+ 45, 47, 52, 57, 62, 67, 71, 75,
52
+ 77, 78, 79, 80, 81, 82, 83, 84,
53
+ 85, 86, 87, 88, 89, 90, 91, 92,
54
+ 93, 95, 97, 102, 109, 114, 115, 116,
55
+ 117, 118, 119, 120, 121, 122, 123, 124,
56
+ 125, 126, 127, 128, 129, 130, 131, 132,
57
+ 145, 147, 149, 151, 153, 155, 157, 159,
58
+ 161, 163, 165, 167, 169, 171, 173, 175,
59
+ 177, 179, 181, 183, 185, 187, 189, 191,
60
+ 193, 195, 197, 199, 201, 220, 222, 223,
61
+ 225, 226, 228, 229, 230, 231, 232, 233,
62
+ 234, 251, 253, 255, 257, 259, 261, 263,
63
+ 265, 267, 269, 271, 273, 275, 277, 279,
64
+ 281, 283, 285, 287, 289, 291, 293, 295,
65
+ 297, 299, 301, 303, 305, 307, 309, 311,
66
+ 313, 315, 317, 320, 322, 324, 326, 329,
67
+ 331, 334, 336, 338, 340, 342, 344, 346,
68
+ 348, 350, 352, 354, 356, 358, 360, 362,
69
+ 364, 366, 368, 370, 372, 374, 377, 379,
70
+ 381, 384, 386, 388, 389, 390, 391, 392,
71
+ 393, 394, 395, 412, 414, 416, 418, 420,
72
+ 422, 424, 426, 428, 430, 432, 434, 436,
73
+ 438, 440, 442, 444, 446, 448, 450, 452,
74
+ 454, 456, 458, 460, 462, 464, 466, 468,
75
+ 470, 472, 474, 477, 479, 482, 484, 486,
76
+ 488, 490, 492, 494, 496, 499, 501, 504,
77
+ 506, 508, 510, 512, 514, 516, 518, 520,
78
+ 522, 524, 526, 528, 532, 534, 536, 538,
79
+ 540, 542, 544, 546, 548, 550, 552, 554,
80
+ 556, 558, 560, 562, 564, 566, 568, 570,
81
+ 572, 574, 576, 578, 580, 582, 585, 587,
82
+ 589, 592, 594, 596, 597, 598, 599, 601,
83
+ 602, 604, 605, 606, 608, 609, 610, 611,
84
+ 612, 613, 614, 615, 617, 618, 619, 620,
85
+ 621, 622, 623, 624, 625, 626, 628, 629,
86
+ 630, 647, 649, 651, 653, 655, 657, 659,
87
+ 661, 663, 665, 667, 669, 671, 673, 675,
88
+ 677, 679, 681, 683, 685, 687, 689, 691,
89
+ 693, 695, 697, 699, 701, 703, 705, 707,
90
+ 709, 712, 714, 717, 719, 722, 724, 726,
91
+ 728, 730, 732, 734, 736, 739, 741, 744,
92
+ 746, 748, 751, 753, 755, 757, 759, 761,
93
+ 763, 766, 768, 770, 772, 774, 776, 778,
94
+ 780, 784, 786, 788, 790, 792, 794, 796,
95
+ 798, 800, 802, 804, 806, 808, 810, 812,
96
+ 814, 816, 818, 820, 822, 824, 826, 828,
97
+ 830, 832, 834, 837, 839, 841, 844, 846,
98
+ 848, 849, 850, 851, 860, 862, 864, 866,
99
+ 868, 870, 872, 874, 876, 878, 880, 882,
100
+ 884, 886, 888, 890, 892, 894, 897, 899,
101
+ 901, 903, 905, 907, 909, 911, 914, 915,
102
+ 916, 917, 918, 919, 921, 922, 923, 924,
103
+ 925, 926, 927, 928, 929, 930, 931, 932,
104
+ 933, 934, 935, 936, 937, 938, 939, 940,
105
+ 941, 942, 943, 945, 946, 947, 949, 950,
106
+ 951, 955, 961, 964, 966, 972, 991, 993,
107
+ 995, 998, 1000, 1002, 1004, 1006, 1008, 1010,
108
+ 1012, 1015, 1017, 1019, 1022, 1024, 1026, 1028,
109
+ 1030, 1032, 1034, 1037, 1039, 1041, 1043, 1045,
110
+ 1047, 1049, 1051, 1054, 1058, 1060, 1062, 1064,
111
+ 1066, 1068, 1071, 1073, 1075, 1077, 1079, 1081,
112
+ 1083, 1085, 1087, 1089, 1091, 1093, 1095, 1097,
113
+ 1099, 1101, 1103, 1105, 1107, 1109
114
+ ]
115
+
116
+ class << self
117
+ attr_accessor :_lexer_trans_keys
118
+ private :_lexer_trans_keys, :_lexer_trans_keys=
119
+ end
120
+ self._lexer_trans_keys = [
121
+ -17, 10, 32, 34, 35, 37, 42, 64,
122
+ 65, 70, 73, 75, 77, 79, 80, 83,
123
+ 90, 124, 9, 13, -69, -65, 10, 32,
124
+ 34, 35, 37, 42, 64, 65, 70, 73,
125
+ 75, 77, 79, 80, 83, 90, 124, 9,
126
+ 13, 34, 34, 10, 13, 10, 13, 10,
127
+ 32, 34, 9, 13, 10, 32, 34, 9,
128
+ 13, 10, 32, 34, 9, 13, 10, 32,
129
+ 34, 9, 13, 10, 32, 9, 13, 10,
130
+ 32, 9, 13, 10, 13, 10, 95, 70,
131
+ 69, 65, 84, 85, 82, 69, 95, 69,
132
+ 78, 68, 95, 37, 32, 10, 13, 10,
133
+ 13, 13, 32, 64, 9, 10, 9, 10,
134
+ 13, 32, 64, 11, 12, 10, 32, 64,
135
+ 9, 13, 108, 105, 117, 110, 107, 99,
136
+ 105, 111, 110, 97, 108, 110, 111, 115,
137
+ 116, 58, 10, 10, 10, 32, 35, 37,
138
+ 64, 70, 75, 77, 79, 80, 83, 9,
139
+ 13, 10, 95, 10, 70, 10, 69, 10,
140
+ 65, 10, 84, 10, 85, 10, 82, 10,
141
+ 69, 10, 95, 10, 69, 10, 78, 10,
142
+ 68, 10, 95, 10, 37, 10, 117, 10,
143
+ 110, 10, 107, 10, 99, 10, 105, 10,
144
+ 111, 10, 110, 10, 97, 10, 108, 10,
145
+ 110, 10, 111, 10, 115, 10, 116, 10,
146
+ 58, 10, 32, 34, 35, 37, 42, 64,
147
+ 65, 70, 73, 75, 77, 79, 80, 83,
148
+ 90, 124, 9, 13, 97, 111, 100, 32,
149
+ 97, 110, 99, 116, 101, 112, 116, 58,
150
+ 10, 10, 10, 32, 35, 37, 42, 64,
151
+ 65, 70, 73, 75, 77, 79, 80, 83,
152
+ 90, 9, 13, 10, 95, 10, 70, 10,
153
+ 69, 10, 65, 10, 84, 10, 85, 10,
154
+ 82, 10, 69, 10, 95, 10, 69, 10,
155
+ 78, 10, 68, 10, 95, 10, 37, 10,
156
+ 32, 10, 108, 10, 105, 10, 117, 10,
157
+ 110, 10, 107, 10, 99, 10, 105, 10,
158
+ 111, 10, 110, 10, 97, 10, 108, 10,
159
+ 110, 10, 111, 10, 115, 10, 116, 10,
160
+ 58, 10, 97, 10, 100, 10, 32, 97,
161
+ 10, 111, 10, 103, 10, 117, -60, 10,
162
+ 99, -121, 10, 10, 110, 115, 10, 100,
163
+ 10, 97, 10, 111, 10, 98, 10, 105,
164
+ 10, 110, 10, 97, 10, 114, 10, 105,
165
+ 10, 109, 10, 101, 10, 114, 10, 99,
166
+ 10, 101, 10, 110, 10, 97, 10, 114,
167
+ 10, 105, 10, 111, 10, 97, 10, 100,
168
+ 116, 10, 97, 10, 116, 10, 101, 111,
169
+ 10, 97, 10, 116, 101, 107, 115, 116,
170
+ 58, 10, 10, 10, 32, 35, 37, 42,
171
+ 64, 65, 70, 73, 75, 77, 79, 80,
172
+ 83, 90, 9, 13, 10, 95, 10, 70,
173
+ 10, 69, 10, 65, 10, 84, 10, 85,
174
+ 10, 82, 10, 69, 10, 95, 10, 69,
175
+ 10, 78, 10, 68, 10, 95, 10, 37,
176
+ 10, 32, 10, 108, 10, 105, 10, 117,
177
+ 10, 110, 10, 107, 10, 99, 10, 105,
178
+ 10, 111, 10, 110, 10, 97, 10, 108,
179
+ 10, 110, 10, 111, 10, 115, 10, 116,
180
+ 10, 58, 10, 97, 111, 10, 100, 10,
181
+ 32, 97, 10, 110, 10, 99, 10, 101,
182
+ 10, 112, 10, 111, 10, 103, 10, 117,
183
+ -60, 10, 99, -121, 10, 10, 110, 115,
184
+ 10, 100, 10, 97, 10, 111, 10, 98,
185
+ 10, 105, 10, 110, 10, 97, 10, 114,
186
+ 10, 105, 10, 109, 10, 101, 10, 114,
187
+ 10, 99, 107, 116, 10, 101, 10, 110,
188
+ 10, 97, 10, 114, 10, 105, 10, 111,
189
+ 10, 105, 10, 99, 10, 114, 10, 117,
190
+ 10, 107, 10, 116, 10, 117, 10, 114,
191
+ 10, 97, 10, 32, 10, 115, 10, 99,
192
+ 10, 101, 10, 110, 10, 97, 10, 114,
193
+ 10, 105, 10, 106, 10, 97, 10, 100,
194
+ 116, 10, 97, 10, 116, 10, 101, 111,
195
+ 10, 97, 10, 116, 111, 103, 117, -60,
196
+ 99, -121, 110, 115, 100, 97, 110, 111,
197
+ 111, 118, 97, 98, 105, 110, 97, 111,
198
+ 114, 122, 97, 100, 105, 110, 105, 109,
199
+ 101, 114, 58, 105, 10, 10, 10, 32,
200
+ 35, 37, 42, 64, 65, 70, 73, 75,
201
+ 77, 79, 80, 83, 90, 9, 13, 10,
202
+ 95, 10, 70, 10, 69, 10, 65, 10,
203
+ 84, 10, 85, 10, 82, 10, 69, 10,
204
+ 95, 10, 69, 10, 78, 10, 68, 10,
205
+ 95, 10, 37, 10, 32, 10, 108, 10,
206
+ 105, 10, 117, 10, 110, 10, 107, 10,
207
+ 99, 10, 105, 10, 111, 10, 110, 10,
208
+ 97, 10, 108, 10, 110, 10, 111, 10,
209
+ 115, 10, 116, 10, 58, 10, 97, 111,
210
+ 10, 100, 10, 32, 97, 10, 110, 10,
211
+ 99, 116, 10, 101, 10, 112, 10, 101,
212
+ 10, 107, 10, 111, 10, 103, 10, 117,
213
+ -60, 10, 99, -121, 10, 10, 110, 115,
214
+ 10, 100, 10, 97, 10, 110, 111, 10,
215
+ 111, 10, 118, 10, 97, 10, 98, 10,
216
+ 105, 10, 110, 10, 111, 114, 10, 122,
217
+ 10, 97, 10, 100, 10, 105, 10, 109,
218
+ 10, 101, 10, 114, 10, 99, 107, 116,
219
+ 10, 101, 10, 110, 10, 97, 10, 114,
220
+ 10, 105, 10, 111, 10, 105, 10, 99,
221
+ 10, 114, 10, 117, 10, 107, 10, 116,
222
+ 10, 117, 10, 114, 10, 97, 10, 32,
223
+ 10, 115, 10, 99, 10, 101, 10, 110,
224
+ 10, 97, 10, 114, 10, 105, 10, 106,
225
+ 10, 97, 10, 100, 116, 10, 97, 10,
226
+ 116, 10, 101, 111, 10, 97, 10, 116,
227
+ 58, 10, 10, 10, 32, 35, 70, 77,
228
+ 79, 124, 9, 13, 10, 117, 10, 110,
229
+ 10, 107, 10, 99, 10, 105, 10, 111,
230
+ 10, 110, 10, 97, 10, 108, 10, 110,
231
+ 10, 111, 10, 115, 10, 116, 10, 58,
232
+ 10, 111, 10, 103, 10, 117, -60, 10,
233
+ 99, -121, 10, 10, 115, 10, 111, 10,
234
+ 98, 10, 105, 10, 110, 10, 97, 99,
235
+ 107, 116, 101, 110, 97, 114, 105, 106,
236
+ 111, 105, 58, 105, 99, 97, 114, 117,
237
+ 107, 116, 117, 114, 97, 32, 115, 99,
238
+ 101, 110, 97, 114, 105, 106, 97, 100,
239
+ 116, 97, 116, 101, 111, 97, 116, 32,
240
+ 124, 9, 13, 10, 32, 92, 124, 9,
241
+ 13, 10, 92, 124, 10, 92, 10, 32,
242
+ 92, 124, 9, 13, 10, 32, 34, 35,
243
+ 37, 42, 64, 65, 70, 73, 75, 77,
244
+ 79, 80, 83, 90, 124, 9, 13, 10,
245
+ 111, 10, 110, 10, 99, 116, 10, 101,
246
+ 10, 112, 10, 101, 10, 107, 10, 111,
247
+ 10, 103, 10, 117, -60, 10, 99, -121,
248
+ 10, 10, 115, 10, 110, 111, 10, 111,
249
+ 10, 118, 10, 97, 10, 98, 10, 105,
250
+ 10, 110, 10, 111, 114, 10, 122, 10,
251
+ 97, 10, 100, 10, 105, 10, 109, 10,
252
+ 101, 10, 114, 10, 58, 105, 10, 99,
253
+ 107, 116, 10, 101, 10, 110, 10, 97,
254
+ 10, 114, 10, 105, 10, 106, 111, 10,
255
+ 105, 10, 105, 10, 99, 10, 114, 10,
256
+ 117, 10, 107, 10, 116, 10, 117, 10,
257
+ 114, 10, 97, 10, 32, 10, 115, 10,
258
+ 99, 10, 101, 10, 110, 10, 97, 10,
259
+ 114, 10, 105, 10, 106, 0
260
+ ]
261
+
262
+ class << self
263
+ attr_accessor :_lexer_single_lengths
264
+ private :_lexer_single_lengths, :_lexer_single_lengths=
265
+ end
266
+ self._lexer_single_lengths = [
267
+ 0, 18, 1, 1, 17, 1, 1, 2,
268
+ 2, 3, 3, 3, 3, 2, 2, 2,
269
+ 1, 1, 1, 1, 1, 1, 1, 1,
270
+ 1, 1, 1, 1, 1, 1, 1, 1,
271
+ 2, 2, 3, 5, 3, 1, 1, 1,
272
+ 1, 1, 1, 1, 1, 1, 1, 1,
273
+ 1, 1, 1, 1, 1, 1, 1, 11,
274
+ 2, 2, 2, 2, 2, 2, 2, 2,
275
+ 2, 2, 2, 2, 2, 2, 2, 2,
276
+ 2, 2, 2, 2, 2, 2, 2, 2,
277
+ 2, 2, 2, 2, 17, 2, 1, 2,
278
+ 1, 2, 1, 1, 1, 1, 1, 1,
279
+ 15, 2, 2, 2, 2, 2, 2, 2,
280
+ 2, 2, 2, 2, 2, 2, 2, 2,
281
+ 2, 2, 2, 2, 2, 2, 2, 2,
282
+ 2, 2, 2, 2, 2, 2, 2, 2,
283
+ 2, 2, 3, 2, 2, 2, 3, 2,
284
+ 3, 2, 2, 2, 2, 2, 2, 2,
285
+ 2, 2, 2, 2, 2, 2, 2, 2,
286
+ 2, 2, 2, 2, 2, 3, 2, 2,
287
+ 3, 2, 2, 1, 1, 1, 1, 1,
288
+ 1, 1, 15, 2, 2, 2, 2, 2,
289
+ 2, 2, 2, 2, 2, 2, 2, 2,
290
+ 2, 2, 2, 2, 2, 2, 2, 2,
291
+ 2, 2, 2, 2, 2, 2, 2, 2,
292
+ 2, 2, 3, 2, 3, 2, 2, 2,
293
+ 2, 2, 2, 2, 3, 2, 3, 2,
294
+ 2, 2, 2, 2, 2, 2, 2, 2,
295
+ 2, 2, 2, 4, 2, 2, 2, 2,
296
+ 2, 2, 2, 2, 2, 2, 2, 2,
297
+ 2, 2, 2, 2, 2, 2, 2, 2,
298
+ 2, 2, 2, 2, 2, 3, 2, 2,
299
+ 3, 2, 2, 1, 1, 1, 2, 1,
300
+ 2, 1, 1, 2, 1, 1, 1, 1,
301
+ 1, 1, 1, 2, 1, 1, 1, 1,
302
+ 1, 1, 1, 1, 1, 2, 1, 1,
303
+ 15, 2, 2, 2, 2, 2, 2, 2,
304
+ 2, 2, 2, 2, 2, 2, 2, 2,
305
+ 2, 2, 2, 2, 2, 2, 2, 2,
306
+ 2, 2, 2, 2, 2, 2, 2, 2,
307
+ 3, 2, 3, 2, 3, 2, 2, 2,
308
+ 2, 2, 2, 2, 3, 2, 3, 2,
309
+ 2, 3, 2, 2, 2, 2, 2, 2,
310
+ 3, 2, 2, 2, 2, 2, 2, 2,
311
+ 4, 2, 2, 2, 2, 2, 2, 2,
312
+ 2, 2, 2, 2, 2, 2, 2, 2,
313
+ 2, 2, 2, 2, 2, 2, 2, 2,
314
+ 2, 2, 3, 2, 2, 3, 2, 2,
315
+ 1, 1, 1, 7, 2, 2, 2, 2,
316
+ 2, 2, 2, 2, 2, 2, 2, 2,
317
+ 2, 2, 2, 2, 2, 3, 2, 2,
318
+ 2, 2, 2, 2, 2, 3, 1, 1,
319
+ 1, 1, 1, 2, 1, 1, 1, 1,
320
+ 1, 1, 1, 1, 1, 1, 1, 1,
321
+ 1, 1, 1, 1, 1, 1, 1, 1,
322
+ 1, 1, 2, 1, 1, 2, 1, 1,
323
+ 2, 4, 3, 2, 4, 17, 2, 2,
324
+ 3, 2, 2, 2, 2, 2, 2, 2,
325
+ 3, 2, 2, 3, 2, 2, 2, 2,
326
+ 2, 2, 3, 2, 2, 2, 2, 2,
327
+ 2, 2, 3, 4, 2, 2, 2, 2,
328
+ 2, 3, 2, 2, 2, 2, 2, 2,
329
+ 2, 2, 2, 2, 2, 2, 2, 2,
330
+ 2, 2, 2, 2, 2, 0
331
+ ]
332
+
333
+ class << self
334
+ attr_accessor :_lexer_range_lengths
335
+ private :_lexer_range_lengths, :_lexer_range_lengths=
336
+ end
337
+ self._lexer_range_lengths = [
338
+ 0, 1, 0, 0, 1, 0, 0, 0,
339
+ 0, 1, 1, 1, 1, 1, 1, 0,
340
+ 0, 0, 0, 0, 0, 0, 0, 0,
341
+ 0, 0, 0, 0, 0, 0, 0, 0,
342
+ 0, 0, 1, 1, 1, 0, 0, 0,
343
+ 0, 0, 0, 0, 0, 0, 0, 0,
344
+ 0, 0, 0, 0, 0, 0, 0, 1,
345
+ 0, 0, 0, 0, 0, 0, 0, 0,
346
+ 0, 0, 0, 0, 0, 0, 0, 0,
347
+ 0, 0, 0, 0, 0, 0, 0, 0,
348
+ 0, 0, 0, 0, 1, 0, 0, 0,
349
+ 0, 0, 0, 0, 0, 0, 0, 0,
350
+ 1, 0, 0, 0, 0, 0, 0, 0,
351
+ 0, 0, 0, 0, 0, 0, 0, 0,
352
+ 0, 0, 0, 0, 0, 0, 0, 0,
353
+ 0, 0, 0, 0, 0, 0, 0, 0,
354
+ 0, 0, 0, 0, 0, 0, 0, 0,
355
+ 0, 0, 0, 0, 0, 0, 0, 0,
356
+ 0, 0, 0, 0, 0, 0, 0, 0,
357
+ 0, 0, 0, 0, 0, 0, 0, 0,
358
+ 0, 0, 0, 0, 0, 0, 0, 0,
359
+ 0, 0, 1, 0, 0, 0, 0, 0,
360
+ 0, 0, 0, 0, 0, 0, 0, 0,
361
+ 0, 0, 0, 0, 0, 0, 0, 0,
362
+ 0, 0, 0, 0, 0, 0, 0, 0,
363
+ 0, 0, 0, 0, 0, 0, 0, 0,
364
+ 0, 0, 0, 0, 0, 0, 0, 0,
365
+ 0, 0, 0, 0, 0, 0, 0, 0,
366
+ 0, 0, 0, 0, 0, 0, 0, 0,
367
+ 0, 0, 0, 0, 0, 0, 0, 0,
368
+ 0, 0, 0, 0, 0, 0, 0, 0,
369
+ 0, 0, 0, 0, 0, 0, 0, 0,
370
+ 0, 0, 0, 0, 0, 0, 0, 0,
371
+ 0, 0, 0, 0, 0, 0, 0, 0,
372
+ 0, 0, 0, 0, 0, 0, 0, 0,
373
+ 0, 0, 0, 0, 0, 0, 0, 0,
374
+ 1, 0, 0, 0, 0, 0, 0, 0,
375
+ 0, 0, 0, 0, 0, 0, 0, 0,
376
+ 0, 0, 0, 0, 0, 0, 0, 0,
377
+ 0, 0, 0, 0, 0, 0, 0, 0,
378
+ 0, 0, 0, 0, 0, 0, 0, 0,
379
+ 0, 0, 0, 0, 0, 0, 0, 0,
380
+ 0, 0, 0, 0, 0, 0, 0, 0,
381
+ 0, 0, 0, 0, 0, 0, 0, 0,
382
+ 0, 0, 0, 0, 0, 0, 0, 0,
383
+ 0, 0, 0, 0, 0, 0, 0, 0,
384
+ 0, 0, 0, 0, 0, 0, 0, 0,
385
+ 0, 0, 0, 0, 0, 0, 0, 0,
386
+ 0, 0, 0, 1, 0, 0, 0, 0,
387
+ 0, 0, 0, 0, 0, 0, 0, 0,
388
+ 0, 0, 0, 0, 0, 0, 0, 0,
389
+ 0, 0, 0, 0, 0, 0, 0, 0,
390
+ 0, 0, 0, 0, 0, 0, 0, 0,
391
+ 0, 0, 0, 0, 0, 0, 0, 0,
392
+ 0, 0, 0, 0, 0, 0, 0, 0,
393
+ 0, 0, 0, 0, 0, 0, 0, 0,
394
+ 1, 1, 0, 0, 1, 1, 0, 0,
395
+ 0, 0, 0, 0, 0, 0, 0, 0,
396
+ 0, 0, 0, 0, 0, 0, 0, 0,
397
+ 0, 0, 0, 0, 0, 0, 0, 0,
398
+ 0, 0, 0, 0, 0, 0, 0, 0,
399
+ 0, 0, 0, 0, 0, 0, 0, 0,
400
+ 0, 0, 0, 0, 0, 0, 0, 0,
401
+ 0, 0, 0, 0, 0, 0
402
+ ]
403
+
404
+ class << self
405
+ attr_accessor :_lexer_index_offsets
406
+ private :_lexer_index_offsets, :_lexer_index_offsets=
407
+ end
408
+ self._lexer_index_offsets = [
409
+ 0, 0, 20, 22, 24, 43, 45, 47,
410
+ 50, 53, 58, 63, 68, 73, 77, 81,
411
+ 84, 86, 88, 90, 92, 94, 96, 98,
412
+ 100, 102, 104, 106, 108, 110, 112, 114,
413
+ 116, 119, 122, 127, 134, 139, 141, 143,
414
+ 145, 147, 149, 151, 153, 155, 157, 159,
415
+ 161, 163, 165, 167, 169, 171, 173, 175,
416
+ 188, 191, 194, 197, 200, 203, 206, 209,
417
+ 212, 215, 218, 221, 224, 227, 230, 233,
418
+ 236, 239, 242, 245, 248, 251, 254, 257,
419
+ 260, 263, 266, 269, 272, 291, 294, 296,
420
+ 299, 301, 304, 306, 308, 310, 312, 314,
421
+ 316, 333, 336, 339, 342, 345, 348, 351,
422
+ 354, 357, 360, 363, 366, 369, 372, 375,
423
+ 378, 381, 384, 387, 390, 393, 396, 399,
424
+ 402, 405, 408, 411, 414, 417, 420, 423,
425
+ 426, 429, 432, 436, 439, 442, 445, 449,
426
+ 452, 456, 459, 462, 465, 468, 471, 474,
427
+ 477, 480, 483, 486, 489, 492, 495, 498,
428
+ 501, 504, 507, 510, 513, 516, 520, 523,
429
+ 526, 530, 533, 536, 538, 540, 542, 544,
430
+ 546, 548, 550, 567, 570, 573, 576, 579,
431
+ 582, 585, 588, 591, 594, 597, 600, 603,
432
+ 606, 609, 612, 615, 618, 621, 624, 627,
433
+ 630, 633, 636, 639, 642, 645, 648, 651,
434
+ 654, 657, 660, 664, 667, 671, 674, 677,
435
+ 680, 683, 686, 689, 692, 696, 699, 703,
436
+ 706, 709, 712, 715, 718, 721, 724, 727,
437
+ 730, 733, 736, 739, 744, 747, 750, 753,
438
+ 756, 759, 762, 765, 768, 771, 774, 777,
439
+ 780, 783, 786, 789, 792, 795, 798, 801,
440
+ 804, 807, 810, 813, 816, 819, 823, 826,
441
+ 829, 833, 836, 839, 841, 843, 845, 848,
442
+ 850, 853, 855, 857, 860, 862, 864, 866,
443
+ 868, 870, 872, 874, 877, 879, 881, 883,
444
+ 885, 887, 889, 891, 893, 895, 898, 900,
445
+ 902, 919, 922, 925, 928, 931, 934, 937,
446
+ 940, 943, 946, 949, 952, 955, 958, 961,
447
+ 964, 967, 970, 973, 976, 979, 982, 985,
448
+ 988, 991, 994, 997, 1000, 1003, 1006, 1009,
449
+ 1012, 1016, 1019, 1023, 1026, 1030, 1033, 1036,
450
+ 1039, 1042, 1045, 1048, 1051, 1055, 1058, 1062,
451
+ 1065, 1068, 1072, 1075, 1078, 1081, 1084, 1087,
452
+ 1090, 1094, 1097, 1100, 1103, 1106, 1109, 1112,
453
+ 1115, 1120, 1123, 1126, 1129, 1132, 1135, 1138,
454
+ 1141, 1144, 1147, 1150, 1153, 1156, 1159, 1162,
455
+ 1165, 1168, 1171, 1174, 1177, 1180, 1183, 1186,
456
+ 1189, 1192, 1195, 1199, 1202, 1205, 1209, 1212,
457
+ 1215, 1217, 1219, 1221, 1230, 1233, 1236, 1239,
458
+ 1242, 1245, 1248, 1251, 1254, 1257, 1260, 1263,
459
+ 1266, 1269, 1272, 1275, 1278, 1281, 1285, 1288,
460
+ 1291, 1294, 1297, 1300, 1303, 1306, 1310, 1312,
461
+ 1314, 1316, 1318, 1320, 1323, 1325, 1327, 1329,
462
+ 1331, 1333, 1335, 1337, 1339, 1341, 1343, 1345,
463
+ 1347, 1349, 1351, 1353, 1355, 1357, 1359, 1361,
464
+ 1363, 1365, 1367, 1370, 1372, 1374, 1377, 1379,
465
+ 1381, 1385, 1391, 1395, 1398, 1404, 1423, 1426,
466
+ 1429, 1433, 1436, 1439, 1442, 1445, 1448, 1451,
467
+ 1454, 1458, 1461, 1464, 1468, 1471, 1474, 1477,
468
+ 1480, 1483, 1486, 1490, 1493, 1496, 1499, 1502,
469
+ 1505, 1508, 1511, 1515, 1520, 1523, 1526, 1529,
470
+ 1532, 1535, 1539, 1542, 1545, 1548, 1551, 1554,
471
+ 1557, 1560, 1563, 1566, 1569, 1572, 1575, 1578,
472
+ 1581, 1584, 1587, 1590, 1593, 1596
473
+ ]
474
+
475
+ class << self
476
+ attr_accessor :_lexer_indicies
477
+ private :_lexer_indicies, :_lexer_indicies=
478
+ end
479
+ self._lexer_indicies = [
480
+ 1, 3, 2, 4, 5, 6, 7, 8,
481
+ 9, 10, 7, 11, 12, 13, 14, 15,
482
+ 16, 17, 2, 0, 18, 0, 2, 0,
483
+ 3, 2, 4, 5, 6, 7, 8, 9,
484
+ 10, 7, 11, 12, 13, 14, 15, 16,
485
+ 17, 2, 0, 19, 0, 20, 0, 22,
486
+ 23, 21, 25, 26, 24, 29, 28, 30,
487
+ 28, 27, 33, 32, 34, 32, 31, 33,
488
+ 32, 35, 32, 31, 33, 32, 36, 32,
489
+ 31, 38, 37, 37, 0, 3, 39, 39,
490
+ 0, 41, 42, 40, 3, 0, 43, 0,
491
+ 44, 0, 45, 0, 46, 0, 47, 0,
492
+ 48, 0, 49, 0, 50, 0, 51, 0,
493
+ 52, 0, 53, 0, 54, 0, 55, 0,
494
+ 56, 0, 57, 0, 59, 60, 58, 62,
495
+ 63, 61, 0, 0, 0, 0, 64, 65,
496
+ 66, 65, 65, 68, 67, 64, 3, 69,
497
+ 8, 69, 0, 70, 0, 71, 0, 72,
498
+ 0, 73, 0, 74, 0, 75, 0, 76,
499
+ 0, 77, 0, 78, 0, 79, 0, 80,
500
+ 0, 81, 0, 82, 0, 83, 0, 84,
501
+ 0, 85, 0, 87, 86, 89, 88, 89,
502
+ 90, 91, 92, 91, 93, 94, 95, 96,
503
+ 97, 98, 90, 88, 89, 99, 88, 89,
504
+ 100, 88, 89, 101, 88, 89, 102, 88,
505
+ 89, 103, 88, 89, 104, 88, 89, 105,
506
+ 88, 89, 106, 88, 89, 107, 88, 89,
507
+ 108, 88, 89, 109, 88, 89, 110, 88,
508
+ 89, 111, 88, 89, 112, 88, 89, 113,
509
+ 88, 89, 114, 88, 89, 115, 88, 89,
510
+ 116, 88, 89, 117, 88, 89, 118, 88,
511
+ 89, 119, 88, 89, 120, 88, 89, 121,
512
+ 88, 89, 122, 88, 89, 123, 88, 89,
513
+ 124, 88, 89, 125, 88, 89, 126, 88,
514
+ 128, 127, 129, 130, 131, 132, 133, 134,
515
+ 135, 132, 136, 137, 138, 139, 140, 141,
516
+ 142, 127, 0, 143, 144, 0, 145, 0,
517
+ 57, 71, 0, 146, 0, 147, 148, 0,
518
+ 149, 0, 150, 0, 151, 0, 152, 0,
519
+ 154, 153, 156, 155, 156, 157, 158, 159,
520
+ 160, 158, 161, 162, 160, 163, 164, 165,
521
+ 166, 167, 168, 157, 155, 156, 169, 155,
522
+ 156, 170, 155, 156, 171, 155, 156, 172,
523
+ 155, 156, 173, 155, 156, 174, 155, 156,
524
+ 175, 155, 156, 176, 155, 156, 177, 155,
525
+ 156, 178, 155, 156, 179, 155, 156, 180,
526
+ 155, 156, 181, 155, 156, 182, 155, 156,
527
+ 183, 155, 156, 184, 155, 156, 185, 155,
528
+ 156, 186, 155, 156, 187, 155, 156, 188,
529
+ 155, 156, 189, 155, 156, 190, 155, 156,
530
+ 191, 155, 156, 192, 155, 156, 193, 155,
531
+ 156, 194, 155, 156, 195, 155, 156, 196,
532
+ 155, 156, 197, 155, 156, 198, 155, 156,
533
+ 183, 155, 156, 199, 155, 156, 200, 155,
534
+ 156, 183, 185, 155, 156, 201, 155, 156,
535
+ 202, 155, 156, 203, 155, 204, 156, 194,
536
+ 155, 194, 156, 155, 156, 205, 206, 155,
537
+ 156, 207, 155, 156, 185, 155, 156, 208,
538
+ 155, 156, 209, 155, 156, 210, 155, 156,
539
+ 211, 155, 156, 198, 155, 156, 212, 155,
540
+ 156, 213, 155, 156, 214, 155, 156, 215,
541
+ 155, 156, 198, 155, 156, 216, 155, 156,
542
+ 217, 155, 156, 218, 155, 156, 219, 155,
543
+ 156, 220, 155, 156, 221, 155, 156, 198,
544
+ 155, 156, 222, 155, 156, 223, 224, 155,
545
+ 156, 225, 155, 156, 226, 155, 156, 185,
546
+ 185, 155, 156, 227, 155, 156, 184, 155,
547
+ 228, 0, 229, 0, 230, 0, 231, 0,
548
+ 232, 0, 234, 233, 236, 235, 236, 237,
549
+ 238, 239, 240, 238, 241, 242, 240, 243,
550
+ 244, 245, 246, 247, 248, 237, 235, 236,
551
+ 249, 235, 236, 250, 235, 236, 251, 235,
552
+ 236, 252, 235, 236, 253, 235, 236, 254,
553
+ 235, 236, 255, 235, 236, 256, 235, 236,
554
+ 257, 235, 236, 258, 235, 236, 259, 235,
555
+ 236, 260, 235, 236, 261, 235, 236, 262,
556
+ 235, 236, 263, 235, 236, 264, 235, 236,
557
+ 265, 235, 236, 266, 235, 236, 267, 235,
558
+ 236, 268, 235, 236, 269, 235, 236, 270,
559
+ 235, 236, 271, 235, 236, 272, 235, 236,
560
+ 273, 235, 236, 274, 235, 236, 275, 235,
561
+ 236, 276, 235, 236, 277, 235, 236, 278,
562
+ 235, 236, 263, 235, 236, 279, 280, 235,
563
+ 236, 281, 235, 236, 263, 265, 235, 236,
564
+ 282, 235, 236, 283, 235, 236, 284, 235,
565
+ 236, 277, 235, 236, 285, 235, 236, 286,
566
+ 235, 236, 287, 235, 288, 236, 274, 235,
567
+ 274, 236, 235, 236, 289, 290, 235, 236,
568
+ 291, 235, 236, 265, 235, 236, 292, 235,
569
+ 236, 293, 235, 236, 294, 235, 236, 295,
570
+ 235, 236, 278, 235, 236, 296, 235, 236,
571
+ 297, 235, 236, 298, 235, 236, 299, 235,
572
+ 236, 278, 235, 236, 300, 301, 302, 235,
573
+ 236, 303, 235, 236, 304, 235, 236, 305,
574
+ 235, 236, 306, 235, 236, 307, 235, 236,
575
+ 278, 235, 236, 308, 235, 236, 295, 235,
576
+ 236, 309, 235, 236, 310, 235, 236, 311,
577
+ 235, 236, 312, 235, 236, 313, 235, 236,
578
+ 314, 235, 236, 315, 235, 236, 316, 235,
579
+ 236, 317, 235, 236, 318, 235, 236, 319,
580
+ 235, 236, 320, 235, 236, 321, 235, 236,
581
+ 322, 235, 236, 323, 235, 236, 295, 235,
582
+ 236, 324, 235, 236, 325, 326, 235, 236,
583
+ 327, 235, 236, 328, 235, 236, 265, 265,
584
+ 235, 236, 329, 235, 236, 264, 235, 330,
585
+ 0, 331, 0, 332, 0, 333, 80, 0,
586
+ 80, 0, 334, 335, 0, 336, 0, 71,
587
+ 0, 337, 338, 0, 339, 0, 340, 0,
588
+ 231, 0, 341, 0, 342, 0, 343, 0,
589
+ 84, 0, 344, 345, 0, 346, 0, 347,
590
+ 0, 348, 0, 349, 0, 340, 0, 350,
591
+ 0, 351, 0, 352, 0, 353, 0, 354,
592
+ 355, 0, 357, 356, 359, 358, 359, 360,
593
+ 361, 362, 363, 361, 364, 365, 363, 366,
594
+ 367, 368, 369, 370, 371, 360, 358, 359,
595
+ 372, 358, 359, 373, 358, 359, 374, 358,
596
+ 359, 375, 358, 359, 376, 358, 359, 377,
597
+ 358, 359, 378, 358, 359, 379, 358, 359,
598
+ 380, 358, 359, 381, 358, 359, 382, 358,
599
+ 359, 383, 358, 359, 384, 358, 359, 385,
600
+ 358, 359, 386, 358, 359, 387, 358, 359,
601
+ 388, 358, 359, 389, 358, 359, 390, 358,
602
+ 359, 391, 358, 359, 392, 358, 359, 393,
603
+ 358, 359, 394, 358, 359, 395, 358, 359,
604
+ 396, 358, 359, 397, 358, 359, 398, 358,
605
+ 359, 399, 358, 359, 400, 358, 359, 401,
606
+ 358, 359, 386, 358, 359, 402, 403, 358,
607
+ 359, 404, 358, 359, 386, 388, 358, 359,
608
+ 405, 358, 359, 406, 407, 358, 359, 408,
609
+ 358, 359, 400, 358, 359, 409, 358, 359,
610
+ 399, 358, 359, 410, 358, 359, 411, 358,
611
+ 359, 412, 358, 413, 359, 397, 358, 397,
612
+ 359, 358, 359, 414, 415, 358, 359, 416,
613
+ 358, 359, 388, 358, 359, 417, 418, 358,
614
+ 359, 419, 358, 359, 420, 358, 359, 401,
615
+ 358, 359, 421, 358, 359, 422, 358, 359,
616
+ 420, 358, 359, 423, 424, 358, 359, 425,
617
+ 358, 359, 426, 358, 359, 421, 358, 359,
618
+ 427, 358, 359, 428, 358, 359, 429, 358,
619
+ 359, 401, 358, 359, 430, 431, 432, 358,
620
+ 359, 433, 358, 359, 434, 358, 359, 435,
621
+ 358, 359, 436, 358, 359, 437, 358, 359,
622
+ 401, 358, 359, 438, 358, 359, 420, 358,
623
+ 359, 439, 358, 359, 440, 358, 359, 441,
624
+ 358, 359, 442, 358, 359, 443, 358, 359,
625
+ 444, 358, 359, 445, 358, 359, 446, 358,
626
+ 359, 447, 358, 359, 448, 358, 359, 449,
627
+ 358, 359, 450, 358, 359, 451, 358, 359,
628
+ 452, 358, 359, 453, 358, 359, 420, 358,
629
+ 359, 454, 358, 359, 455, 456, 358, 359,
630
+ 457, 358, 359, 458, 358, 359, 388, 388,
631
+ 358, 359, 459, 358, 359, 387, 358, 460,
632
+ 0, 462, 461, 464, 463, 464, 465, 466,
633
+ 467, 468, 469, 466, 465, 463, 464, 470,
634
+ 463, 464, 471, 463, 464, 472, 463, 464,
635
+ 473, 463, 464, 474, 463, 464, 475, 463,
636
+ 464, 476, 463, 464, 477, 463, 464, 478,
637
+ 463, 464, 479, 463, 464, 480, 463, 464,
638
+ 481, 463, 464, 482, 463, 464, 483, 463,
639
+ 464, 484, 463, 464, 485, 463, 464, 486,
640
+ 463, 487, 464, 478, 463, 478, 464, 463,
641
+ 464, 488, 463, 464, 489, 463, 464, 490,
642
+ 463, 464, 491, 463, 464, 492, 463, 464,
643
+ 482, 463, 493, 494, 495, 0, 496, 0,
644
+ 497, 0, 498, 0, 499, 0, 500, 0,
645
+ 501, 502, 0, 355, 0, 354, 0, 503,
646
+ 0, 504, 0, 151, 0, 505, 0, 506,
647
+ 0, 507, 0, 508, 0, 509, 0, 510,
648
+ 0, 511, 0, 512, 0, 513, 0, 514,
649
+ 0, 515, 0, 516, 0, 517, 0, 518,
650
+ 0, 519, 0, 504, 0, 520, 0, 521,
651
+ 522, 0, 523, 0, 524, 0, 71, 71,
652
+ 0, 525, 0, 70, 0, 526, 527, 526,
653
+ 0, 530, 529, 531, 532, 529, 528, 0,
654
+ 534, 535, 533, 0, 534, 533, 530, 536,
655
+ 534, 535, 536, 533, 530, 537, 538, 539,
656
+ 540, 541, 542, 543, 544, 541, 545, 546,
657
+ 547, 548, 549, 550, 551, 537, 0, 89,
658
+ 552, 88, 89, 553, 88, 89, 554, 555,
659
+ 88, 89, 556, 88, 89, 124, 88, 89,
660
+ 557, 88, 89, 123, 88, 89, 558, 88,
661
+ 89, 559, 88, 89, 560, 88, 561, 89,
662
+ 121, 88, 121, 89, 88, 89, 562, 88,
663
+ 89, 563, 564, 88, 89, 565, 88, 89,
664
+ 566, 88, 89, 125, 88, 89, 567, 88,
665
+ 89, 568, 88, 89, 566, 88, 89, 569,
666
+ 570, 88, 89, 571, 88, 89, 572, 88,
667
+ 89, 567, 88, 89, 573, 88, 89, 574,
668
+ 88, 89, 575, 88, 89, 576, 88, 89,
669
+ 126, 125, 88, 89, 577, 578, 579, 88,
670
+ 89, 580, 88, 89, 581, 88, 89, 582,
671
+ 88, 89, 583, 88, 89, 584, 88, 89,
672
+ 585, 125, 88, 89, 125, 88, 89, 586,
673
+ 88, 89, 566, 88, 89, 587, 88, 89,
674
+ 588, 88, 89, 589, 88, 89, 590, 88,
675
+ 89, 591, 88, 89, 592, 88, 89, 593,
676
+ 88, 89, 594, 88, 89, 595, 88, 89,
677
+ 596, 88, 89, 597, 88, 89, 598, 88,
678
+ 89, 599, 88, 89, 600, 88, 89, 601,
679
+ 88, 89, 566, 88, 602, 0
680
+ ]
681
+
682
+ class << self
683
+ attr_accessor :_lexer_trans_targs
684
+ private :_lexer_trans_targs, :_lexer_trans_targs=
685
+ end
686
+ self._lexer_trans_targs = [
687
+ 0, 2, 4, 4, 5, 15, 17, 31,
688
+ 34, 37, 39, 85, 259, 264, 275, 413,
689
+ 441, 448, 3, 6, 7, 8, 9, 8,
690
+ 8, 9, 8, 10, 10, 10, 11, 10,
691
+ 10, 10, 11, 12, 13, 14, 4, 14,
692
+ 15, 4, 16, 18, 19, 20, 21, 22,
693
+ 23, 24, 25, 26, 27, 28, 29, 30,
694
+ 509, 32, 33, 4, 16, 33, 4, 16,
695
+ 35, 36, 4, 35, 34, 36, 38, 31,
696
+ 40, 41, 42, 43, 44, 45, 46, 47,
697
+ 48, 49, 50, 51, 52, 53, 54, 55,
698
+ 54, 55, 55, 4, 56, 70, 454, 461,
699
+ 466, 474, 483, 57, 58, 59, 60, 61,
700
+ 62, 63, 64, 65, 66, 67, 68, 69,
701
+ 4, 71, 72, 73, 74, 75, 76, 77,
702
+ 78, 79, 80, 81, 82, 83, 84, 4,
703
+ 4, 5, 15, 17, 31, 34, 37, 39,
704
+ 85, 259, 264, 275, 413, 441, 448, 86,
705
+ 88, 87, 89, 90, 163, 91, 92, 93,
706
+ 94, 95, 96, 95, 96, 96, 4, 97,
707
+ 111, 112, 114, 128, 131, 136, 144, 149,
708
+ 156, 98, 99, 100, 101, 102, 103, 104,
709
+ 105, 106, 107, 108, 109, 110, 4, 84,
710
+ 113, 111, 115, 116, 117, 118, 119, 120,
711
+ 121, 122, 123, 124, 125, 126, 127, 129,
712
+ 130, 132, 133, 134, 135, 137, 139, 138,
713
+ 140, 141, 142, 143, 145, 146, 147, 148,
714
+ 150, 151, 152, 153, 154, 155, 157, 158,
715
+ 161, 159, 160, 162, 164, 165, 166, 167,
716
+ 168, 169, 170, 169, 170, 170, 4, 171,
717
+ 185, 186, 188, 202, 209, 214, 222, 227,
718
+ 252, 172, 173, 174, 175, 176, 177, 178,
719
+ 179, 180, 181, 182, 183, 184, 4, 84,
720
+ 187, 185, 189, 190, 191, 192, 193, 194,
721
+ 195, 196, 197, 198, 199, 200, 201, 203,
722
+ 205, 204, 206, 207, 208, 210, 211, 212,
723
+ 213, 215, 217, 216, 218, 219, 220, 221,
724
+ 223, 224, 225, 226, 228, 234, 236, 229,
725
+ 230, 231, 232, 233, 235, 237, 238, 239,
726
+ 240, 241, 242, 243, 244, 245, 246, 247,
727
+ 248, 249, 250, 251, 253, 254, 257, 255,
728
+ 256, 258, 260, 261, 262, 263, 265, 267,
729
+ 266, 268, 271, 269, 270, 272, 273, 274,
730
+ 276, 281, 277, 278, 279, 280, 282, 283,
731
+ 284, 285, 286, 384, 287, 288, 287, 288,
732
+ 288, 4, 289, 303, 304, 306, 320, 329,
733
+ 334, 344, 352, 377, 290, 291, 292, 293,
734
+ 294, 295, 296, 297, 298, 299, 300, 301,
735
+ 302, 4, 84, 305, 303, 307, 308, 309,
736
+ 310, 311, 312, 313, 314, 315, 316, 317,
737
+ 318, 319, 321, 323, 322, 324, 325, 327,
738
+ 326, 328, 330, 331, 332, 333, 335, 337,
739
+ 336, 338, 341, 339, 340, 342, 343, 345,
740
+ 348, 346, 347, 349, 350, 351, 353, 359,
741
+ 361, 354, 355, 356, 357, 358, 360, 362,
742
+ 363, 364, 365, 366, 367, 368, 369, 370,
743
+ 371, 372, 373, 374, 375, 376, 378, 379,
744
+ 382, 380, 381, 383, 385, 386, 387, 386,
745
+ 387, 387, 4, 388, 402, 407, 389, 390,
746
+ 391, 392, 393, 394, 395, 396, 397, 398,
747
+ 399, 400, 401, 84, 403, 404, 405, 406,
748
+ 408, 409, 410, 411, 412, 414, 422, 425,
749
+ 415, 416, 417, 418, 419, 420, 421, 423,
750
+ 424, 426, 427, 428, 429, 430, 431, 432,
751
+ 433, 434, 435, 436, 437, 438, 439, 440,
752
+ 442, 443, 446, 444, 445, 447, 448, 449,
753
+ 450, 452, 453, 451, 449, 450, 451, 449,
754
+ 452, 453, 5, 15, 17, 31, 34, 37,
755
+ 39, 85, 259, 264, 275, 413, 441, 448,
756
+ 455, 456, 457, 459, 458, 460, 462, 463,
757
+ 464, 465, 467, 468, 471, 469, 470, 472,
758
+ 473, 475, 478, 476, 477, 479, 480, 481,
759
+ 482, 484, 491, 493, 485, 486, 487, 488,
760
+ 489, 490, 492, 494, 495, 496, 497, 498,
761
+ 499, 500, 501, 502, 503, 504, 505, 506,
762
+ 507, 508, 0
763
+ ]
764
+
765
+ class << self
766
+ attr_accessor :_lexer_trans_actions
767
+ private :_lexer_trans_actions, :_lexer_trans_actions=
768
+ end
769
+ self._lexer_trans_actions = [
770
+ 43, 0, 0, 54, 3, 1, 0, 29,
771
+ 1, 29, 29, 29, 29, 29, 29, 29,
772
+ 29, 35, 0, 0, 0, 7, 139, 48,
773
+ 0, 102, 9, 5, 45, 134, 45, 0,
774
+ 33, 122, 33, 33, 0, 11, 106, 0,
775
+ 0, 114, 25, 0, 0, 0, 0, 0,
776
+ 0, 0, 0, 0, 0, 0, 0, 0,
777
+ 0, 0, 57, 149, 126, 0, 110, 23,
778
+ 0, 27, 118, 27, 51, 0, 0, 0,
779
+ 0, 0, 0, 0, 0, 0, 0, 0,
780
+ 0, 0, 0, 0, 0, 0, 57, 144,
781
+ 0, 54, 0, 69, 33, 84, 84, 84,
782
+ 84, 84, 84, 0, 0, 0, 0, 0,
783
+ 0, 0, 0, 0, 0, 0, 0, 0,
784
+ 13, 0, 0, 0, 0, 0, 0, 0,
785
+ 0, 0, 0, 0, 0, 0, 13, 31,
786
+ 130, 60, 57, 31, 63, 57, 63, 63,
787
+ 63, 63, 63, 63, 63, 63, 66, 0,
788
+ 0, 0, 0, 0, 0, 0, 0, 0,
789
+ 0, 57, 144, 0, 54, 0, 78, 33,
790
+ 84, 84, 84, 84, 84, 84, 84, 84,
791
+ 84, 0, 0, 0, 0, 0, 0, 0,
792
+ 0, 0, 0, 0, 0, 0, 19, 19,
793
+ 0, 0, 0, 0, 0, 0, 0, 0,
794
+ 0, 0, 0, 0, 0, 0, 0, 0,
795
+ 0, 0, 0, 0, 0, 0, 0, 0,
796
+ 0, 0, 0, 0, 0, 0, 0, 0,
797
+ 0, 0, 0, 0, 0, 0, 0, 0,
798
+ 0, 0, 0, 0, 0, 0, 0, 0,
799
+ 0, 57, 144, 0, 54, 0, 72, 33,
800
+ 84, 84, 84, 84, 84, 84, 84, 84,
801
+ 84, 0, 0, 0, 0, 0, 0, 0,
802
+ 0, 0, 0, 0, 0, 0, 15, 15,
803
+ 0, 0, 0, 0, 0, 0, 0, 0,
804
+ 0, 0, 0, 0, 0, 0, 0, 0,
805
+ 0, 0, 0, 0, 0, 0, 0, 0,
806
+ 0, 0, 0, 0, 0, 0, 0, 0,
807
+ 0, 0, 0, 0, 0, 0, 0, 0,
808
+ 0, 0, 0, 0, 0, 0, 0, 0,
809
+ 0, 0, 0, 0, 0, 0, 0, 0,
810
+ 0, 0, 0, 0, 0, 0, 0, 0,
811
+ 0, 0, 0, 0, 0, 0, 0, 0,
812
+ 0, 0, 0, 0, 0, 0, 0, 0,
813
+ 0, 0, 0, 0, 0, 0, 0, 0,
814
+ 0, 0, 0, 0, 57, 144, 0, 54,
815
+ 0, 75, 33, 84, 84, 84, 84, 84,
816
+ 84, 84, 84, 84, 0, 0, 0, 0,
817
+ 0, 0, 0, 0, 0, 0, 0, 0,
818
+ 0, 17, 17, 0, 0, 0, 0, 0,
819
+ 0, 0, 0, 0, 0, 0, 0, 0,
820
+ 0, 0, 0, 0, 0, 0, 0, 0,
821
+ 0, 0, 0, 0, 0, 0, 0, 0,
822
+ 0, 0, 0, 0, 0, 0, 0, 0,
823
+ 0, 0, 0, 0, 0, 0, 0, 0,
824
+ 0, 0, 0, 0, 0, 0, 0, 0,
825
+ 0, 0, 0, 0, 0, 0, 0, 0,
826
+ 0, 0, 0, 0, 0, 0, 0, 0,
827
+ 0, 0, 0, 0, 0, 57, 144, 0,
828
+ 54, 0, 81, 84, 84, 84, 0, 0,
829
+ 0, 0, 0, 0, 0, 0, 0, 0,
830
+ 0, 0, 0, 21, 0, 0, 0, 0,
831
+ 0, 0, 0, 0, 0, 0, 0, 0,
832
+ 0, 0, 0, 0, 0, 0, 0, 0,
833
+ 0, 0, 0, 0, 0, 0, 0, 0,
834
+ 0, 0, 0, 0, 0, 0, 0, 0,
835
+ 0, 0, 0, 0, 0, 0, 0, 0,
836
+ 37, 37, 54, 37, 87, 0, 0, 39,
837
+ 0, 0, 93, 90, 41, 96, 90, 96,
838
+ 96, 96, 96, 96, 96, 96, 96, 99,
839
+ 0, 0, 0, 0, 0, 0, 0, 0,
840
+ 0, 0, 0, 0, 0, 0, 0, 0,
841
+ 0, 0, 0, 0, 0, 0, 0, 0,
842
+ 0, 0, 0, 0, 0, 0, 0, 0,
843
+ 0, 0, 0, 0, 0, 0, 0, 0,
844
+ 0, 0, 0, 0, 0, 0, 0, 0,
845
+ 0, 0, 0
846
+ ]
847
+
848
+ class << self
849
+ attr_accessor :_lexer_eof_actions
850
+ private :_lexer_eof_actions, :_lexer_eof_actions=
851
+ end
852
+ self._lexer_eof_actions = [
853
+ 0, 43, 43, 43, 43, 43, 43, 43,
854
+ 43, 43, 43, 43, 43, 43, 43, 43,
855
+ 43, 43, 43, 43, 43, 43, 43, 43,
856
+ 43, 43, 43, 43, 43, 43, 43, 43,
857
+ 43, 43, 43, 43, 43, 43, 43, 43,
858
+ 43, 43, 43, 43, 43, 43, 43, 43,
859
+ 43, 43, 43, 43, 43, 43, 43, 43,
860
+ 43, 43, 43, 43, 43, 43, 43, 43,
861
+ 43, 43, 43, 43, 43, 43, 43, 43,
862
+ 43, 43, 43, 43, 43, 43, 43, 43,
863
+ 43, 43, 43, 43, 43, 43, 43, 43,
864
+ 43, 43, 43, 43, 43, 43, 43, 43,
865
+ 43, 43, 43, 43, 43, 43, 43, 43,
866
+ 43, 43, 43, 43, 43, 43, 43, 43,
867
+ 43, 43, 43, 43, 43, 43, 43, 43,
868
+ 43, 43, 43, 43, 43, 43, 43, 43,
869
+ 43, 43, 43, 43, 43, 43, 43, 43,
870
+ 43, 43, 43, 43, 43, 43, 43, 43,
871
+ 43, 43, 43, 43, 43, 43, 43, 43,
872
+ 43, 43, 43, 43, 43, 43, 43, 43,
873
+ 43, 43, 43, 43, 43, 43, 43, 43,
874
+ 43, 43, 43, 43, 43, 43, 43, 43,
875
+ 43, 43, 43, 43, 43, 43, 43, 43,
876
+ 43, 43, 43, 43, 43, 43, 43, 43,
877
+ 43, 43, 43, 43, 43, 43, 43, 43,
878
+ 43, 43, 43, 43, 43, 43, 43, 43,
879
+ 43, 43, 43, 43, 43, 43, 43, 43,
880
+ 43, 43, 43, 43, 43, 43, 43, 43,
881
+ 43, 43, 43, 43, 43, 43, 43, 43,
882
+ 43, 43, 43, 43, 43, 43, 43, 43,
883
+ 43, 43, 43, 43, 43, 43, 43, 43,
884
+ 43, 43, 43, 43, 43, 43, 43, 43,
885
+ 43, 43, 43, 43, 43, 43, 43, 43,
886
+ 43, 43, 43, 43, 43, 43, 43, 43,
887
+ 43, 43, 43, 43, 43, 43, 43, 43,
888
+ 43, 43, 43, 43, 43, 43, 43, 43,
889
+ 43, 43, 43, 43, 43, 43, 43, 43,
890
+ 43, 43, 43, 43, 43, 43, 43, 43,
891
+ 43, 43, 43, 43, 43, 43, 43, 43,
892
+ 43, 43, 43, 43, 43, 43, 43, 43,
893
+ 43, 43, 43, 43, 43, 43, 43, 43,
894
+ 43, 43, 43, 43, 43, 43, 43, 43,
895
+ 43, 43, 43, 43, 43, 43, 43, 43,
896
+ 43, 43, 43, 43, 43, 43, 43, 43,
897
+ 43, 43, 43, 43, 43, 43, 43, 43,
898
+ 43, 43, 43, 43, 43, 43, 43, 43,
899
+ 43, 43, 43, 43, 43, 43, 43, 43,
900
+ 43, 43, 43, 43, 43, 43, 43, 43,
901
+ 43, 43, 43, 43, 43, 43, 43, 43,
902
+ 43, 43, 43, 43, 43, 43, 43, 43,
903
+ 43, 43, 43, 43, 43, 43, 43, 43,
904
+ 43, 43, 43, 43, 43, 43, 43, 43,
905
+ 43, 43, 43, 43, 43, 43, 43, 43,
906
+ 43, 43, 43, 43, 43, 43, 43, 43,
907
+ 43, 43, 43, 43, 43, 43, 43, 43,
908
+ 43, 43, 43, 43, 43, 43, 43, 43,
909
+ 43, 43, 43, 43, 43, 43, 43, 43,
910
+ 43, 43, 43, 43, 43, 43, 43, 43,
911
+ 43, 43, 43, 43, 43, 43, 43, 43,
912
+ 43, 43, 43, 43, 43, 43, 43, 43,
913
+ 43, 43, 43, 43, 43, 43, 43, 43,
914
+ 43, 43, 43, 43, 43, 43, 43, 43,
915
+ 43, 43, 43, 43, 43, 43, 43, 43,
916
+ 43, 43, 43, 43, 43, 43
917
+ ]
918
+
919
+ class << self
920
+ attr_accessor :lexer_start
921
+ end
922
+ self.lexer_start = 1;
923
+ class << self
924
+ attr_accessor :lexer_first_final
925
+ end
926
+ self.lexer_first_final = 509;
927
+ class << self
928
+ attr_accessor :lexer_error
929
+ end
930
+ self.lexer_error = 0;
931
+
932
+ class << self
933
+ attr_accessor :lexer_en_main
934
+ end
935
+ self.lexer_en_main = 1;
936
+
937
+
938
+ # line 130 "ragel/i18n/sr_latn.rb.rl"
939
+ end
940
+
941
+ def scan(data)
942
+ data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
943
+ eof = pe = data.length
944
+
945
+ @line_number = 1
946
+ @last_newline = 0
947
+
948
+
949
+ # line 950 "lib/gherkin/lexer/sr_latn.rb"
950
+ begin
951
+ p ||= 0
952
+ pe ||= data.length
953
+ cs = lexer_start
954
+ end
955
+
956
+ # line 140 "ragel/i18n/sr_latn.rb.rl"
957
+
958
+ # line 959 "lib/gherkin/lexer/sr_latn.rb"
959
+ begin
960
+ _klen, _trans, _keys, _acts, _nacts = nil
961
+ _goto_level = 0
962
+ _resume = 10
963
+ _eof_trans = 15
964
+ _again = 20
965
+ _test_eof = 30
966
+ _out = 40
967
+ while true
968
+ _trigger_goto = false
969
+ if _goto_level <= 0
970
+ if p == pe
971
+ _goto_level = _test_eof
972
+ next
973
+ end
974
+ if cs == 0
975
+ _goto_level = _out
976
+ next
977
+ end
978
+ end
979
+ if _goto_level <= _resume
980
+ _keys = _lexer_key_offsets[cs]
981
+ _trans = _lexer_index_offsets[cs]
982
+ _klen = _lexer_single_lengths[cs]
983
+ _break_match = false
984
+
985
+ begin
986
+ if _klen > 0
987
+ _lower = _keys
988
+ _upper = _keys + _klen - 1
989
+
990
+ loop do
991
+ break if _upper < _lower
992
+ _mid = _lower + ( (_upper - _lower) >> 1 )
993
+
994
+ if data[p].ord < _lexer_trans_keys[_mid]
995
+ _upper = _mid - 1
996
+ elsif data[p].ord > _lexer_trans_keys[_mid]
997
+ _lower = _mid + 1
998
+ else
999
+ _trans += (_mid - _keys)
1000
+ _break_match = true
1001
+ break
1002
+ end
1003
+ end # loop
1004
+ break if _break_match
1005
+ _keys += _klen
1006
+ _trans += _klen
1007
+ end
1008
+ _klen = _lexer_range_lengths[cs]
1009
+ if _klen > 0
1010
+ _lower = _keys
1011
+ _upper = _keys + (_klen << 1) - 2
1012
+ loop do
1013
+ break if _upper < _lower
1014
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1)
1015
+ if data[p].ord < _lexer_trans_keys[_mid]
1016
+ _upper = _mid - 2
1017
+ elsif data[p].ord > _lexer_trans_keys[_mid+1]
1018
+ _lower = _mid + 2
1019
+ else
1020
+ _trans += ((_mid - _keys) >> 1)
1021
+ _break_match = true
1022
+ break
1023
+ end
1024
+ end # loop
1025
+ break if _break_match
1026
+ _trans += _klen
1027
+ end
1028
+ end while false
1029
+ _trans = _lexer_indicies[_trans]
1030
+ cs = _lexer_trans_targs[_trans]
1031
+ if _lexer_trans_actions[_trans] != 0
1032
+ _acts = _lexer_trans_actions[_trans]
1033
+ _nacts = _lexer_actions[_acts]
1034
+ _acts += 1
1035
+ while _nacts > 0
1036
+ _nacts -= 1
1037
+ _acts += 1
1038
+ case _lexer_actions[_acts - 1]
1039
+ when 0 then
1040
+ # line 11 "ragel/i18n/sr_latn.rb.rl"
1041
+ begin
1042
+
1043
+ @content_start = p
1044
+ @current_line = @line_number
1045
+ @start_col = p - @last_newline - "#{@keyword}:".length
1046
+ end
1047
+ when 1 then
1048
+ # line 17 "ragel/i18n/sr_latn.rb.rl"
1049
+ begin
1050
+
1051
+ @current_line = @line_number
1052
+ @start_col = p - @last_newline
1053
+ end
1054
+ when 2 then
1055
+ # line 22 "ragel/i18n/sr_latn.rb.rl"
1056
+ begin
1057
+
1058
+ @content_start = p
1059
+ end
1060
+ when 3 then
1061
+ # line 26 "ragel/i18n/sr_latn.rb.rl"
1062
+ begin
1063
+
1064
+ @docstring_content_type_start = p
1065
+ end
1066
+ when 4 then
1067
+ # line 29 "ragel/i18n/sr_latn.rb.rl"
1068
+ begin
1069
+
1070
+ @docstring_content_type_end = p
1071
+ end
1072
+ when 5 then
1073
+ # line 33 "ragel/i18n/sr_latn.rb.rl"
1074
+ begin
1075
+
1076
+ con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
1077
+ con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
1078
+ @listener.doc_string(con_type, con, @current_line)
1079
+ end
1080
+ when 6 then
1081
+ # line 38 "ragel/i18n/sr_latn.rb.rl"
1082
+ begin
1083
+
1084
+ p = store_keyword_content(:feature, data, p, eof)
1085
+ end
1086
+ when 7 then
1087
+ # line 42 "ragel/i18n/sr_latn.rb.rl"
1088
+ begin
1089
+
1090
+ p = store_keyword_content(:background, data, p, eof)
1091
+ end
1092
+ when 8 then
1093
+ # line 46 "ragel/i18n/sr_latn.rb.rl"
1094
+ begin
1095
+
1096
+ p = store_keyword_content(:scenario, data, p, eof)
1097
+ end
1098
+ when 9 then
1099
+ # line 50 "ragel/i18n/sr_latn.rb.rl"
1100
+ begin
1101
+
1102
+ p = store_keyword_content(:scenario_outline, data, p, eof)
1103
+ end
1104
+ when 10 then
1105
+ # line 54 "ragel/i18n/sr_latn.rb.rl"
1106
+ begin
1107
+
1108
+ p = store_keyword_content(:examples, data, p, eof)
1109
+ end
1110
+ when 11 then
1111
+ # line 58 "ragel/i18n/sr_latn.rb.rl"
1112
+ begin
1113
+
1114
+ con = utf8_pack(data[@content_start...p]).strip
1115
+ @listener.step(@keyword, con, @current_line)
1116
+ end
1117
+ when 12 then
1118
+ # line 63 "ragel/i18n/sr_latn.rb.rl"
1119
+ begin
1120
+
1121
+ con = utf8_pack(data[@content_start...p]).strip
1122
+ @listener.comment(con, @line_number)
1123
+ @keyword_start = nil
1124
+ end
1125
+ when 13 then
1126
+ # line 69 "ragel/i18n/sr_latn.rb.rl"
1127
+ begin
1128
+
1129
+ con = utf8_pack(data[@content_start...p]).strip
1130
+ @listener.tag(con, @current_line)
1131
+ @keyword_start = nil
1132
+ end
1133
+ when 14 then
1134
+ # line 75 "ragel/i18n/sr_latn.rb.rl"
1135
+ begin
1136
+
1137
+ @line_number += 1
1138
+ end
1139
+ when 15 then
1140
+ # line 79 "ragel/i18n/sr_latn.rb.rl"
1141
+ begin
1142
+
1143
+ @last_newline = p + 1
1144
+ end
1145
+ when 16 then
1146
+ # line 83 "ragel/i18n/sr_latn.rb.rl"
1147
+ begin
1148
+
1149
+ @keyword_start ||= p
1150
+ end
1151
+ when 17 then
1152
+ # line 87 "ragel/i18n/sr_latn.rb.rl"
1153
+ begin
1154
+
1155
+ @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
1156
+ @keyword_start = nil
1157
+ end
1158
+ when 18 then
1159
+ # line 92 "ragel/i18n/sr_latn.rb.rl"
1160
+ begin
1161
+
1162
+ @next_keyword_start = p
1163
+ end
1164
+ when 19 then
1165
+ # line 96 "ragel/i18n/sr_latn.rb.rl"
1166
+ begin
1167
+
1168
+ p = p - 1
1169
+ current_row = []
1170
+ @current_line = @line_number
1171
+ end
1172
+ when 20 then
1173
+ # line 102 "ragel/i18n/sr_latn.rb.rl"
1174
+ begin
1175
+
1176
+ @content_start = p
1177
+ end
1178
+ when 21 then
1179
+ # line 106 "ragel/i18n/sr_latn.rb.rl"
1180
+ begin
1181
+
1182
+ con = utf8_pack(data[@content_start...p]).strip
1183
+ current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1184
+ end
1185
+ when 22 then
1186
+ # line 111 "ragel/i18n/sr_latn.rb.rl"
1187
+ begin
1188
+
1189
+ @listener.row(current_row, @current_line)
1190
+ end
1191
+ when 23 then
1192
+ # line 115 "ragel/i18n/sr_latn.rb.rl"
1193
+ begin
1194
+
1195
+ if cs < lexer_first_final
1196
+ content = current_line_content(data, p)
1197
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
1198
+ else
1199
+ @listener.eof
1200
+ end
1201
+ end
1202
+ # line 1203 "lib/gherkin/lexer/sr_latn.rb"
1203
+ end # action switch
1204
+ end
1205
+ end
1206
+ if _trigger_goto
1207
+ next
1208
+ end
1209
+ end
1210
+ if _goto_level <= _again
1211
+ if cs == 0
1212
+ _goto_level = _out
1213
+ next
1214
+ end
1215
+ p += 1
1216
+ if p != pe
1217
+ _goto_level = _resume
1218
+ next
1219
+ end
1220
+ end
1221
+ if _goto_level <= _test_eof
1222
+ if p == eof
1223
+ __acts = _lexer_eof_actions[cs]
1224
+ __nacts = _lexer_actions[__acts]
1225
+ __acts += 1
1226
+ while __nacts > 0
1227
+ __nacts -= 1
1228
+ __acts += 1
1229
+ case _lexer_actions[__acts - 1]
1230
+ when 23 then
1231
+ # line 115 "ragel/i18n/sr_latn.rb.rl"
1232
+ begin
1233
+
1234
+ if cs < lexer_first_final
1235
+ content = current_line_content(data, p)
1236
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
1237
+ else
1238
+ @listener.eof
1239
+ end
1240
+ end
1241
+ # line 1242 "lib/gherkin/lexer/sr_latn.rb"
1242
+ end # eof action switch
1243
+ end
1244
+ if _trigger_goto
1245
+ next
1246
+ end
1247
+ end
1248
+ end
1249
+ if _goto_level <= _out
1250
+ break
1251
+ end
1252
+ end
1253
+ end
1254
+
1255
+ # line 141 "ragel/i18n/sr_latn.rb.rl"
1256
+ end
1257
+
1258
+ def unindent(startcol, text)
1259
+ text.gsub(/^[\t ]{0,#{startcol}}/, "")
1260
+ end
1261
+
1262
+ def store_keyword_content(event, data, p, eof)
1263
+ end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1264
+ content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1265
+ content_lines = content.split("\n")
1266
+ name = content_lines.shift || ""
1267
+ name.strip!
1268
+ description = content_lines.join("\n")
1269
+ @listener.__send__(event, @keyword, name, description, @current_line)
1270
+ @next_keyword_start ? @next_keyword_start - 1 : p
1271
+ ensure
1272
+ @next_keyword_start = nil
1273
+ end
1274
+
1275
+ def current_line_content(data, p)
1276
+ rest = data[@last_newline..-1]
1277
+ utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1278
+ end
1279
+
1280
+ if (RUBY_VERSION =~ /^1\.9|2\.0/)
1281
+ def utf8_pack(array)
1282
+ array.pack("c*").force_encoding("UTF-8")
1283
+ end
1284
+ else
1285
+ def utf8_pack(array)
1286
+ array.pack("c*")
1287
+ end
1288
+ end
1289
+ end
1290
+ end
1291
+ end