gherkin 2.11.1 → 2.11.2

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