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