gherkin 2.3.5-x86-mswin32 → 2.3.6-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +1 -1
  3. data/History.txt +9 -0
  4. data/README.rdoc +34 -2
  5. data/VERSION +1 -1
  6. data/features/step_definitions/pretty_formatter_steps.rb +1 -0
  7. data/gherkin.gemspec +4 -1
  8. data/js/.gitignore +1 -0
  9. data/js/.npmignore +1 -0
  10. data/js/lib/gherkin/lexer/.gitignore +1 -0
  11. data/lib/gherkin/i18n.rb +5 -0
  12. data/lib/gherkin/i18n.yml +3 -3
  13. data/lib/gherkin/js_lexer.rb +20 -0
  14. data/lib/gherkin/lexer/i18n_lexer.rb +1 -1
  15. data/lib/gherkin/rubify.rb +7 -0
  16. data/ragel/lexer.c.rl.erb +30 -32
  17. data/ragel/lexer.js.rl.erb +208 -0
  18. data/ragel/lexer.rb.rl.erb +1 -1
  19. data/spec/gherkin/c_lexer_spec.rb +1 -0
  20. data/spec/gherkin/js_lexer_spec.rb +23 -0
  21. data/spec/gherkin/rb_lexer_spec.rb +1 -0
  22. data/spec/gherkin/sexp_recorder.rb +14 -8
  23. data/spec/gherkin/shared/bom_group.rb +20 -0
  24. data/spec/gherkin/shared/lexer_group.rb +0 -10
  25. data/spec/spec_helper.rb +2 -0
  26. data/tasks/compile.rake +9 -0
  27. data/tasks/ikvm.rake +1 -0
  28. data/tasks/ragel_task.rb +8 -2
  29. data/tasks/release.rake +8 -1
  30. metadata +29 -52
  31. data/js/lib/gherkin/lexer/i18n/ar.js +0 -1094
  32. data/js/lib/gherkin/lexer/i18n/bg.js +0 -1308
  33. data/js/lib/gherkin/lexer/i18n/ca.js +0 -1236
  34. data/js/lib/gherkin/lexer/i18n/cs.js +0 -1090
  35. data/js/lib/gherkin/lexer/i18n/cy_gb.js +0 -958
  36. data/js/lib/gherkin/lexer/i18n/da.js +0 -974
  37. data/js/lib/gherkin/lexer/i18n/de.js +0 -1082
  38. data/js/lib/gherkin/lexer/i18n/en.js +0 -965
  39. data/js/lib/gherkin/lexer/i18n/en_au.js +0 -902
  40. data/js/lib/gherkin/lexer/i18n/en_lol.js +0 -859
  41. data/js/lib/gherkin/lexer/i18n/en_pirate.js +0 -1136
  42. data/js/lib/gherkin/lexer/i18n/en_scouse.js +0 -1289
  43. data/js/lib/gherkin/lexer/i18n/en_tx.js +0 -942
  44. data/js/lib/gherkin/lexer/i18n/eo.js +0 -916
  45. data/js/lib/gherkin/lexer/i18n/es.js +0 -1049
  46. data/js/lib/gherkin/lexer/i18n/et.js +0 -915
  47. data/js/lib/gherkin/lexer/i18n/fi.js +0 -894
  48. data/js/lib/gherkin/lexer/i18n/fr.js +0 -1116
  49. data/js/lib/gherkin/lexer/i18n/he.js +0 -1044
  50. data/js/lib/gherkin/lexer/i18n/hr.js +0 -994
  51. data/js/lib/gherkin/lexer/i18n/hu.js +0 -1043
  52. data/js/lib/gherkin/lexer/i18n/id.js +0 -884
  53. data/js/lib/gherkin/lexer/i18n/it.js +0 -1007
  54. data/js/lib/gherkin/lexer/i18n/ja.js +0 -1344
  55. data/js/lib/gherkin/lexer/i18n/ko.js +0 -1028
  56. data/js/lib/gherkin/lexer/i18n/lt.js +0 -972
  57. data/js/lib/gherkin/lexer/i18n/lu.js +0 -1057
  58. data/js/lib/gherkin/lexer/i18n/lv.js +0 -1092
  59. data/js/lib/gherkin/lexer/i18n/nl.js +0 -1036
  60. data/js/lib/gherkin/lexer/i18n/no.js +0 -986
  61. data/js/lib/gherkin/lexer/i18n/pl.js +0 -1140
  62. data/js/lib/gherkin/lexer/i18n/pt.js +0 -1000
  63. data/js/lib/gherkin/lexer/i18n/ro.js +0 -1089
  64. data/js/lib/gherkin/lexer/i18n/ru.js +0 -1560
  65. data/js/lib/gherkin/lexer/i18n/sk.js +0 -972
  66. data/js/lib/gherkin/lexer/i18n/sr_cyrl.js +0 -1728
  67. data/js/lib/gherkin/lexer/i18n/sr_latn.js +0 -1220
  68. data/js/lib/gherkin/lexer/i18n/sv.js +0 -997
  69. data/js/lib/gherkin/lexer/i18n/tr.js +0 -1014
  70. data/js/lib/gherkin/lexer/i18n/uk.js +0 -1572
  71. data/js/lib/gherkin/lexer/i18n/uz.js +0 -1302
  72. data/js/lib/gherkin/lexer/i18n/vi.js +0 -1124
  73. data/js/lib/gherkin/lexer/i18n/zh_cn.js +0 -902
  74. data/js/lib/gherkin/lexer/i18n/zh_tw.js +0 -940
@@ -1,1124 +0,0 @@
1
-
2
- /* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
3
- ;(function() {
4
-
5
-
6
- /* line 107 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
7
-
8
-
9
-
10
- /* line 11 "js/lib/gherkin/lexer/i18n/vi.js" */
11
- const _lexer_actions = [
12
- 0, 1, 0, 1, 1, 1, 2, 1,
13
- 3, 1, 4, 1, 5, 1, 6, 1,
14
- 7, 1, 8, 1, 9, 1, 10, 1,
15
- 11, 1, 14, 1, 15, 1, 16, 1,
16
- 17, 1, 18, 1, 19, 1, 20, 1,
17
- 21, 2, 2, 16, 2, 11, 0, 2,
18
- 12, 13, 2, 15, 0, 2, 15, 1,
19
- 2, 15, 14, 2, 15, 17, 2, 16,
20
- 4, 2, 16, 5, 2, 16, 6, 2,
21
- 16, 7, 2, 16, 8, 2, 16, 14,
22
- 2, 18, 19, 2, 20, 0, 2, 20,
23
- 1, 2, 20, 14, 2, 20, 17, 3,
24
- 3, 12, 13, 3, 9, 12, 13, 3,
25
- 10, 12, 13, 3, 11, 12, 13, 3,
26
- 12, 13, 16, 3, 15, 12, 13, 4,
27
- 2, 12, 13, 16, 4, 15, 0, 12,
28
- 13
29
- ];
30
-
31
- const _lexer_key_offsets = [
32
- 0, 0, 18, 35, 36, 37, 41, 46,
33
- 51, 56, 61, 66, 70, 74, 76, 77,
34
- 78, 79, 80, 81, 82, 83, 84, 85,
35
- 86, 87, 88, 89, 90, 91, 92, 93,
36
- 95, 100, 107, 112, 114, 115, 116, 117,
37
- 118, 119, 120, 121, 122, 123, 124, 125,
38
- 126, 127, 141, 143, 145, 147, 149, 151,
39
- 153, 155, 157, 159, 161, 163, 165, 167,
40
- 169, 171, 188, 189, 190, 191, 192, 193,
41
- 194, 195, 196, 197, 198, 199, 200, 201,
42
- 202, 203, 210, 212, 214, 216, 218, 220,
43
- 222, 224, 226, 228, 230, 232, 234, 235,
44
- 236, 237, 238, 239, 240, 241, 242, 243,
45
- 244, 245, 246, 247, 261, 263, 265, 267,
46
- 269, 271, 273, 275, 277, 279, 281, 283,
47
- 285, 287, 289, 291, 294, 296, 298, 300,
48
- 302, 304, 306, 308, 310, 312, 314, 316,
49
- 318, 320, 322, 324, 326, 328, 331, 333,
50
- 335, 337, 339, 341, 343, 345, 347, 349,
51
- 351, 354, 356, 358, 360, 363, 365, 367,
52
- 369, 371, 373, 375, 377, 379, 381, 383,
53
- 385, 387, 389, 391, 393, 395, 397, 399,
54
- 402, 405, 407, 409, 411, 413, 415, 417,
55
- 419, 421, 423, 425, 427, 428, 429, 430,
56
- 432, 433, 434, 435, 436, 437, 438, 439,
57
- 440, 441, 442, 443, 444, 445, 446, 460,
58
- 462, 464, 466, 468, 470, 472, 474, 476,
59
- 478, 480, 482, 484, 486, 488, 490, 492,
60
- 494, 496, 498, 500, 502, 504, 507, 509,
61
- 511, 513, 515, 517, 519, 521, 523, 525,
62
- 527, 529, 531, 533, 535, 537, 539, 541,
63
- 544, 547, 549, 551, 553, 555, 557, 559,
64
- 561, 563, 565, 567, 569, 571, 573, 575,
65
- 577, 579, 581, 583, 585, 587, 588, 589,
66
- 590, 591, 592, 593, 594, 595, 596, 597,
67
- 598, 599, 600, 601, 602, 603, 604, 606,
68
- 608, 609, 610, 611, 612, 613, 614, 615,
69
- 616, 617, 618, 619, 620, 621, 622, 623,
70
- 624, 625, 626, 627, 628, 629, 640, 642,
71
- 644, 646, 648, 650, 652, 654, 656, 658,
72
- 660, 662, 664, 666, 668, 670, 672, 674,
73
- 676, 678, 680, 682, 684, 686, 688, 690,
74
- 692, 694, 696, 698, 700, 702, 704, 706,
75
- 708, 710, 712, 715, 717, 719, 721, 723,
76
- 725, 727, 729, 731, 733, 735, 737, 739,
77
- 741, 743, 746, 748, 750, 752, 754, 756,
78
- 758, 760, 762, 764, 766, 768, 770, 772,
79
- 774, 777, 779, 781, 783, 785, 787, 789,
80
- 790, 791, 792, 793, 797, 803, 806, 808,
81
- 814, 831, 833, 835, 837, 839, 841, 843,
82
- 845, 848, 850, 852, 854, 856, 858, 860,
83
- 862, 864, 866, 868, 870, 873, 875, 877,
84
- 879, 882, 884, 886, 888, 890, 892, 894,
85
- 896, 898, 900, 902, 904, 906, 908, 910,
86
- 912, 914, 916, 918, 921, 924, 926, 928,
87
- 930, 932, 934, 936, 938, 940, 942, 944,
88
- 945, 946, 947, 948, 949, 950
89
- ];
90
-
91
- const _lexer_trans_keys = [
92
- 10, 32, 34, 35, 37, 42, 64, 66,
93
- 67, 68, 75, 78, 84, 86, 124, 239,
94
- 9, 13, 10, 32, 34, 35, 37, 42,
95
- 64, 66, 67, 68, 75, 78, 84, 86,
96
- 124, 9, 13, 34, 34, 10, 32, 9,
97
- 13, 10, 32, 34, 9, 13, 10, 32,
98
- 34, 9, 13, 10, 32, 34, 9, 13,
99
- 10, 32, 34, 9, 13, 10, 32, 34,
100
- 9, 13, 10, 32, 9, 13, 10, 32,
101
- 9, 13, 10, 13, 10, 95, 70, 69,
102
- 65, 84, 85, 82, 69, 95, 69, 78,
103
- 68, 95, 37, 32, 10, 10, 13, 13,
104
- 32, 64, 9, 10, 9, 10, 13, 32,
105
- 64, 11, 12, 10, 32, 64, 9, 13,
106
- -31, 105, -69, -111, 105, 32, 99, -31,
107
- -70, -93, 110, 104, 58, 10, 10, 10,
108
- 32, 35, 37, 42, 64, 66, 67, 75,
109
- 78, 84, 86, 9, 13, 10, 95, 10,
110
- 70, 10, 69, 10, 65, 10, 84, 10,
111
- 85, 10, 82, 10, 69, 10, 95, 10,
112
- 69, 10, 78, 10, 68, 10, 95, 10,
113
- 37, 10, 32, 10, 32, 34, 35, 37,
114
- 42, 64, 66, 67, 68, 75, 78, 84,
115
- 86, 124, 9, 13, 104, 111, -31, -69,
116
- -81, 32, 108, 105, -31, -69, -121, 117,
117
- 58, 10, 10, 10, 32, 35, 84, 124,
118
- 9, 13, -61, 10, -83, 10, 10, 110,
119
- 10, 104, 10, 32, 10, 110, -60, 10,
120
- -125, 10, 10, 110, 10, 103, 10, 58,
121
- -31, 104, -69, -117, 99, 104, 32, 98,
122
- -31, -70, -93, 110, 58, 10, 10, 10,
123
- 32, 35, 37, 42, 64, 66, 67, 75,
124
- 78, 84, 86, 9, 13, 10, 95, 10,
125
- 70, 10, 69, 10, 65, 10, 84, 10,
126
- 85, 10, 82, 10, 69, 10, 95, 10,
127
- 69, 10, 78, 10, 68, 10, 95, 10,
128
- 37, 10, 32, -31, 10, 105, -69, 10,
129
- -111, 10, 10, 105, 10, 32, 10, 99,
130
- -31, 10, -70, 10, -93, 10, 10, 110,
131
- 10, 104, 10, 58, -31, 10, -70, 10,
132
- -65, 10, 10, 116, 10, 104, 10, 111,
133
- -31, 10, 104, -69, 10, -117, 10, 10,
134
- 99, 10, 104, 10, 32, 10, 98, -31,
135
- 10, -70, 10, -93, 10, 10, 110, 10,
136
- 105, 117, 10, 110, 10, 103, 10, 32,
137
- 10, 107, 116, -31, 10, -61, 10, -84,
138
- 10, 10, 110, 10, 104, 10, 32, 10,
139
- 104, 10, 117, -31, 10, -69, 10, -111,
140
- 10, 10, 110, 10, 103, 10, 104, -58,
141
- 10, -80, 10, 10, 110, 10, 103, -61,
142
- 10, 104, -84, -83, 10, 10, 110, 10,
143
- 104, 10, 32, 10, 110, -60, 10, -125,
144
- 10, -61, 10, -84, 10, -61, 10, -96,
145
- 10, 105, 117, 110, 103, 32, 107, 116,
146
- -31, -69, -117, 99, 104, 32, 98, -31,
147
- -70, -93, 110, 58, 10, 10, 10, 32,
148
- 35, 37, 42, 64, 66, 67, 75, 78,
149
- 84, 86, 9, 13, 10, 95, 10, 70,
150
- 10, 69, 10, 65, 10, 84, 10, 85,
151
- 10, 82, 10, 69, 10, 95, 10, 69,
152
- 10, 78, 10, 68, 10, 95, 10, 37,
153
- 10, 32, 10, 105, -31, 10, -70, 10,
154
- -65, 10, 10, 116, 10, 104, 10, 111,
155
- -31, 10, 104, -69, 10, -117, 10, 10,
156
- 99, 10, 104, 10, 32, 10, 98, -31,
157
- 10, -70, 10, -93, 10, 10, 110, 10,
158
- 58, 10, 105, 10, 104, -58, 10, -80,
159
- 10, 10, 110, 10, 103, -61, 10, 104,
160
- -84, -83, 10, 10, 110, 10, 104, 10,
161
- 32, 10, 104, 10, 117, -31, 10, -69,
162
- 10, -111, 10, 10, 110, 10, 103, 10,
163
- 110, 10, 104, 10, 32, 10, 110, -60,
164
- 10, -125, 10, -61, 10, -84, 10, -61,
165
- 10, -96, 10, -61, -84, 110, 104, 32,
166
- 104, 117, -31, -69, -111, 110, 103, 104,
167
- -58, -80, 110, 103, -61, 104, -84, -83,
168
- 110, 104, 32, 104, 117, -31, -69, -111,
169
- 110, 103, 110, 104, 32, 110, -60, -125,
170
- 110, 103, 58, 10, 10, 10, 32, 35,
171
- 37, 64, 66, 68, 75, 84, 9, 13,
172
- 10, 95, 10, 70, 10, 69, 10, 65,
173
- 10, 84, 10, 85, 10, 82, 10, 69,
174
- 10, 95, 10, 69, 10, 78, 10, 68,
175
- 10, 95, 10, 37, -31, 10, -69, 10,
176
- -111, 10, 10, 105, 10, 32, 10, 99,
177
- -31, 10, -70, 10, -93, 10, 10, 110,
178
- 10, 104, 10, 58, -31, 10, -69, 10,
179
- -81, 10, 10, 32, 10, 108, 10, 105,
180
- -31, 10, -69, 10, -121, 10, 10, 117,
181
- -31, 10, 104, -69, 10, -117, 10, 10,
182
- 99, 10, 104, 10, 32, 10, 98, -31,
183
- 10, -70, 10, -93, 10, 10, 110, 10,
184
- 117, 10, 110, 10, 103, 10, 32, 10,
185
- 107, 116, -31, 10, -61, 10, -84, 10,
186
- 10, 110, 10, 104, 10, 32, 10, 104,
187
- 10, 117, -31, 10, -69, 10, -111, 10,
188
- 10, 110, 10, 103, -61, 10, -84, -83,
189
- 10, 10, 110, 10, 104, 10, 32, 10,
190
- 110, -60, 10, -125, 10, -61, -84, -61,
191
- -96, 32, 124, 9, 13, 10, 32, 92,
192
- 124, 9, 13, 10, 92, 124, 10, 92,
193
- 10, 32, 92, 124, 9, 13, 10, 32,
194
- 34, 35, 37, 42, 64, 66, 67, 68,
195
- 75, 78, 84, 86, 124, 9, 13, 10,
196
- 105, -31, 10, -70, 10, -65, 10, 10,
197
- 116, 10, 104, 10, 111, -31, 10, 104,
198
- -69, 10, -117, 10, 10, 99, 10, 104,
199
- 10, 32, 10, 98, -31, 10, -70, 10,
200
- -93, 10, 10, 110, 10, 58, 10, 105,
201
- 117, 10, 110, 10, 103, 10, 32, 10,
202
- 107, 116, -31, 10, -61, 10, -84, 10,
203
- 10, 110, 10, 104, 10, 32, 10, 104,
204
- 10, 117, -31, 10, -69, 10, -111, 10,
205
- 10, 110, 10, 103, 10, 104, -58, 10,
206
- -80, 10, 10, 110, 10, 103, -61, 10,
207
- 104, -84, -83, 10, 10, 110, 10, 104,
208
- 10, 32, 10, 110, -60, 10, -125, 10,
209
- -61, 10, -84, 10, -61, 10, -96, 10,
210
- -31, -70, -65, 116, 187, 191, 0
211
- ];
212
-
213
- const _lexer_single_lengths = [
214
- 0, 16, 15, 1, 1, 2, 3, 3,
215
- 3, 3, 3, 2, 2, 2, 1, 1,
216
- 1, 1, 1, 1, 1, 1, 1, 1,
217
- 1, 1, 1, 1, 1, 1, 1, 2,
218
- 3, 5, 3, 2, 1, 1, 1, 1,
219
- 1, 1, 1, 1, 1, 1, 1, 1,
220
- 1, 12, 2, 2, 2, 2, 2, 2,
221
- 2, 2, 2, 2, 2, 2, 2, 2,
222
- 2, 15, 1, 1, 1, 1, 1, 1,
223
- 1, 1, 1, 1, 1, 1, 1, 1,
224
- 1, 5, 2, 2, 2, 2, 2, 2,
225
- 2, 2, 2, 2, 2, 2, 1, 1,
226
- 1, 1, 1, 1, 1, 1, 1, 1,
227
- 1, 1, 1, 12, 2, 2, 2, 2,
228
- 2, 2, 2, 2, 2, 2, 2, 2,
229
- 2, 2, 2, 3, 2, 2, 2, 2,
230
- 2, 2, 2, 2, 2, 2, 2, 2,
231
- 2, 2, 2, 2, 2, 3, 2, 2,
232
- 2, 2, 2, 2, 2, 2, 2, 2,
233
- 3, 2, 2, 2, 3, 2, 2, 2,
234
- 2, 2, 2, 2, 2, 2, 2, 2,
235
- 2, 2, 2, 2, 2, 2, 2, 3,
236
- 3, 2, 2, 2, 2, 2, 2, 2,
237
- 2, 2, 2, 2, 1, 1, 1, 2,
238
- 1, 1, 1, 1, 1, 1, 1, 1,
239
- 1, 1, 1, 1, 1, 1, 12, 2,
240
- 2, 2, 2, 2, 2, 2, 2, 2,
241
- 2, 2, 2, 2, 2, 2, 2, 2,
242
- 2, 2, 2, 2, 2, 3, 2, 2,
243
- 2, 2, 2, 2, 2, 2, 2, 2,
244
- 2, 2, 2, 2, 2, 2, 2, 3,
245
- 3, 2, 2, 2, 2, 2, 2, 2,
246
- 2, 2, 2, 2, 2, 2, 2, 2,
247
- 2, 2, 2, 2, 2, 1, 1, 1,
248
- 1, 1, 1, 1, 1, 1, 1, 1,
249
- 1, 1, 1, 1, 1, 1, 2, 2,
250
- 1, 1, 1, 1, 1, 1, 1, 1,
251
- 1, 1, 1, 1, 1, 1, 1, 1,
252
- 1, 1, 1, 1, 1, 9, 2, 2,
253
- 2, 2, 2, 2, 2, 2, 2, 2,
254
- 2, 2, 2, 2, 2, 2, 2, 2,
255
- 2, 2, 2, 2, 2, 2, 2, 2,
256
- 2, 2, 2, 2, 2, 2, 2, 2,
257
- 2, 2, 3, 2, 2, 2, 2, 2,
258
- 2, 2, 2, 2, 2, 2, 2, 2,
259
- 2, 3, 2, 2, 2, 2, 2, 2,
260
- 2, 2, 2, 2, 2, 2, 2, 2,
261
- 3, 2, 2, 2, 2, 2, 2, 1,
262
- 1, 1, 1, 2, 4, 3, 2, 4,
263
- 15, 2, 2, 2, 2, 2, 2, 2,
264
- 3, 2, 2, 2, 2, 2, 2, 2,
265
- 2, 2, 2, 2, 3, 2, 2, 2,
266
- 3, 2, 2, 2, 2, 2, 2, 2,
267
- 2, 2, 2, 2, 2, 2, 2, 2,
268
- 2, 2, 2, 3, 3, 2, 2, 2,
269
- 2, 2, 2, 2, 2, 2, 2, 1,
270
- 1, 1, 1, 1, 1, 0
271
- ];
272
-
273
- const _lexer_range_lengths = [
274
- 0, 1, 1, 0, 0, 1, 1, 1,
275
- 1, 1, 1, 1, 1, 0, 0, 0,
276
- 0, 0, 0, 0, 0, 0, 0, 0,
277
- 0, 0, 0, 0, 0, 0, 0, 0,
278
- 1, 1, 1, 0, 0, 0, 0, 0,
279
- 0, 0, 0, 0, 0, 0, 0, 0,
280
- 0, 1, 0, 0, 0, 0, 0, 0,
281
- 0, 0, 0, 0, 0, 0, 0, 0,
282
- 0, 1, 0, 0, 0, 0, 0, 0,
283
- 0, 0, 0, 0, 0, 0, 0, 0,
284
- 0, 1, 0, 0, 0, 0, 0, 0,
285
- 0, 0, 0, 0, 0, 0, 0, 0,
286
- 0, 0, 0, 0, 0, 0, 0, 0,
287
- 0, 0, 0, 1, 0, 0, 0, 0,
288
- 0, 0, 0, 0, 0, 0, 0, 0,
289
- 0, 0, 0, 0, 0, 0, 0, 0,
290
- 0, 0, 0, 0, 0, 0, 0, 0,
291
- 0, 0, 0, 0, 0, 0, 0, 0,
292
- 0, 0, 0, 0, 0, 0, 0, 0,
293
- 0, 0, 0, 0, 0, 0, 0, 0,
294
- 0, 0, 0, 0, 0, 0, 0, 0,
295
- 0, 0, 0, 0, 0, 0, 0, 0,
296
- 0, 0, 0, 0, 0, 0, 0, 0,
297
- 0, 0, 0, 0, 0, 0, 0, 0,
298
- 0, 0, 0, 0, 0, 0, 0, 0,
299
- 0, 0, 0, 0, 0, 0, 1, 0,
300
- 0, 0, 0, 0, 0, 0, 0, 0,
301
- 0, 0, 0, 0, 0, 0, 0, 0,
302
- 0, 0, 0, 0, 0, 0, 0, 0,
303
- 0, 0, 0, 0, 0, 0, 0, 0,
304
- 0, 0, 0, 0, 0, 0, 0, 0,
305
- 0, 0, 0, 0, 0, 0, 0, 0,
306
- 0, 0, 0, 0, 0, 0, 0, 0,
307
- 0, 0, 0, 0, 0, 0, 0, 0,
308
- 0, 0, 0, 0, 0, 0, 0, 0,
309
- 0, 0, 0, 0, 0, 0, 0, 0,
310
- 0, 0, 0, 0, 0, 0, 0, 0,
311
- 0, 0, 0, 0, 0, 0, 0, 0,
312
- 0, 0, 0, 0, 0, 1, 0, 0,
313
- 0, 0, 0, 0, 0, 0, 0, 0,
314
- 0, 0, 0, 0, 0, 0, 0, 0,
315
- 0, 0, 0, 0, 0, 0, 0, 0,
316
- 0, 0, 0, 0, 0, 0, 0, 0,
317
- 0, 0, 0, 0, 0, 0, 0, 0,
318
- 0, 0, 0, 0, 0, 0, 0, 0,
319
- 0, 0, 0, 0, 0, 0, 0, 0,
320
- 0, 0, 0, 0, 0, 0, 0, 0,
321
- 0, 0, 0, 0, 0, 0, 0, 0,
322
- 0, 0, 0, 1, 1, 0, 0, 1,
323
- 1, 0, 0, 0, 0, 0, 0, 0,
324
- 0, 0, 0, 0, 0, 0, 0, 0,
325
- 0, 0, 0, 0, 0, 0, 0, 0,
326
- 0, 0, 0, 0, 0, 0, 0, 0,
327
- 0, 0, 0, 0, 0, 0, 0, 0,
328
- 0, 0, 0, 0, 0, 0, 0, 0,
329
- 0, 0, 0, 0, 0, 0, 0, 0,
330
- 0, 0, 0, 0, 0, 0
331
- ];
332
-
333
- const _lexer_index_offsets = [
334
- 0, 0, 18, 35, 37, 39, 43, 48,
335
- 53, 58, 63, 68, 72, 76, 79, 81,
336
- 83, 85, 87, 89, 91, 93, 95, 97,
337
- 99, 101, 103, 105, 107, 109, 111, 113,
338
- 116, 121, 128, 133, 136, 138, 140, 142,
339
- 144, 146, 148, 150, 152, 154, 156, 158,
340
- 160, 162, 176, 179, 182, 185, 188, 191,
341
- 194, 197, 200, 203, 206, 209, 212, 215,
342
- 218, 221, 238, 240, 242, 244, 246, 248,
343
- 250, 252, 254, 256, 258, 260, 262, 264,
344
- 266, 268, 275, 278, 281, 284, 287, 290,
345
- 293, 296, 299, 302, 305, 308, 311, 313,
346
- 315, 317, 319, 321, 323, 325, 327, 329,
347
- 331, 333, 335, 337, 351, 354, 357, 360,
348
- 363, 366, 369, 372, 375, 378, 381, 384,
349
- 387, 390, 393, 396, 400, 403, 406, 409,
350
- 412, 415, 418, 421, 424, 427, 430, 433,
351
- 436, 439, 442, 445, 448, 451, 455, 458,
352
- 461, 464, 467, 470, 473, 476, 479, 482,
353
- 485, 489, 492, 495, 498, 502, 505, 508,
354
- 511, 514, 517, 520, 523, 526, 529, 532,
355
- 535, 538, 541, 544, 547, 550, 553, 556,
356
- 560, 564, 567, 570, 573, 576, 579, 582,
357
- 585, 588, 591, 594, 597, 599, 601, 603,
358
- 606, 608, 610, 612, 614, 616, 618, 620,
359
- 622, 624, 626, 628, 630, 632, 634, 648,
360
- 651, 654, 657, 660, 663, 666, 669, 672,
361
- 675, 678, 681, 684, 687, 690, 693, 696,
362
- 699, 702, 705, 708, 711, 714, 718, 721,
363
- 724, 727, 730, 733, 736, 739, 742, 745,
364
- 748, 751, 754, 757, 760, 763, 766, 769,
365
- 773, 777, 780, 783, 786, 789, 792, 795,
366
- 798, 801, 804, 807, 810, 813, 816, 819,
367
- 822, 825, 828, 831, 834, 837, 839, 841,
368
- 843, 845, 847, 849, 851, 853, 855, 857,
369
- 859, 861, 863, 865, 867, 869, 871, 874,
370
- 877, 879, 881, 883, 885, 887, 889, 891,
371
- 893, 895, 897, 899, 901, 903, 905, 907,
372
- 909, 911, 913, 915, 917, 919, 930, 933,
373
- 936, 939, 942, 945, 948, 951, 954, 957,
374
- 960, 963, 966, 969, 972, 975, 978, 981,
375
- 984, 987, 990, 993, 996, 999, 1002, 1005,
376
- 1008, 1011, 1014, 1017, 1020, 1023, 1026, 1029,
377
- 1032, 1035, 1038, 1042, 1045, 1048, 1051, 1054,
378
- 1057, 1060, 1063, 1066, 1069, 1072, 1075, 1078,
379
- 1081, 1084, 1088, 1091, 1094, 1097, 1100, 1103,
380
- 1106, 1109, 1112, 1115, 1118, 1121, 1124, 1127,
381
- 1130, 1134, 1137, 1140, 1143, 1146, 1149, 1152,
382
- 1154, 1156, 1158, 1160, 1164, 1170, 1174, 1177,
383
- 1183, 1200, 1203, 1206, 1209, 1212, 1215, 1218,
384
- 1221, 1225, 1228, 1231, 1234, 1237, 1240, 1243,
385
- 1246, 1249, 1252, 1255, 1258, 1262, 1265, 1268,
386
- 1271, 1275, 1278, 1281, 1284, 1287, 1290, 1293,
387
- 1296, 1299, 1302, 1305, 1308, 1311, 1314, 1317,
388
- 1320, 1323, 1326, 1329, 1333, 1337, 1340, 1343,
389
- 1346, 1349, 1352, 1355, 1358, 1361, 1364, 1367,
390
- 1369, 1371, 1373, 1375, 1377, 1379
391
- ];
392
-
393
- const _lexer_indicies = [
394
- 2, 1, 3, 4, 5, 6, 7, 8,
395
- 9, 10, 11, 12, 13, 14, 15, 16,
396
- 1, 0, 2, 1, 3, 4, 5, 6,
397
- 7, 8, 9, 10, 11, 12, 13, 14,
398
- 15, 1, 0, 17, 0, 18, 0, 19,
399
- 18, 18, 0, 22, 21, 23, 21, 20,
400
- 26, 25, 27, 25, 24, 26, 25, 28,
401
- 25, 24, 26, 25, 29, 25, 24, 31,
402
- 30, 32, 30, 0, 2, 33, 33, 0,
403
- 31, 30, 30, 0, 35, 36, 34, 2,
404
- 0, 37, 0, 38, 0, 39, 0, 40,
405
- 0, 41, 0, 42, 0, 43, 0, 44,
406
- 0, 45, 0, 46, 0, 47, 0, 48,
407
- 0, 49, 0, 50, 0, 51, 0, 0,
408
- 52, 54, 55, 53, 0, 0, 0, 0,
409
- 56, 57, 58, 57, 57, 60, 59, 56,
410
- 2, 61, 7, 61, 0, 62, 63, 0,
411
- 64, 0, 65, 0, 66, 0, 67, 0,
412
- 68, 0, 69, 0, 70, 0, 71, 0,
413
- 72, 0, 73, 0, 74, 0, 76, 75,
414
- 78, 77, 78, 79, 80, 81, 82, 80,
415
- 83, 84, 85, 86, 87, 88, 79, 77,
416
- 78, 89, 77, 78, 90, 77, 78, 91,
417
- 77, 78, 92, 77, 78, 93, 77, 78,
418
- 94, 77, 78, 95, 77, 78, 96, 77,
419
- 78, 97, 77, 78, 98, 77, 78, 99,
420
- 77, 78, 100, 77, 78, 101, 77, 78,
421
- 102, 77, 78, 103, 77, 105, 104, 106,
422
- 107, 108, 109, 110, 111, 112, 113, 114,
423
- 115, 116, 117, 118, 104, 0, 119, 0,
424
- 120, 0, 121, 0, 122, 0, 123, 0,
425
- 124, 0, 125, 0, 126, 0, 127, 0,
426
- 128, 0, 129, 0, 130, 0, 131, 0,
427
- 133, 132, 135, 134, 135, 136, 137, 138,
428
- 137, 136, 134, 139, 135, 134, 140, 135,
429
- 134, 135, 141, 134, 135, 142, 134, 135,
430
- 143, 134, 135, 144, 134, 145, 135, 134,
431
- 146, 135, 134, 135, 147, 134, 135, 148,
432
- 134, 135, 149, 134, 150, 151, 0, 152,
433
- 0, 153, 0, 154, 0, 155, 0, 156,
434
- 0, 157, 0, 158, 0, 159, 0, 160,
435
- 0, 161, 0, 162, 0, 164, 163, 166,
436
- 165, 166, 167, 168, 169, 170, 168, 171,
437
- 172, 173, 174, 175, 176, 167, 165, 166,
438
- 177, 165, 166, 178, 165, 166, 179, 165,
439
- 166, 180, 165, 166, 181, 165, 166, 182,
440
- 165, 166, 183, 165, 166, 184, 165, 166,
441
- 185, 165, 166, 186, 165, 166, 187, 165,
442
- 166, 188, 165, 166, 189, 165, 166, 190,
443
- 165, 166, 191, 165, 192, 166, 193, 165,
444
- 194, 166, 165, 195, 166, 165, 166, 196,
445
- 165, 166, 197, 165, 166, 198, 165, 199,
446
- 166, 165, 200, 166, 165, 201, 166, 165,
447
- 166, 202, 165, 166, 203, 165, 166, 191,
448
- 165, 204, 166, 165, 205, 166, 165, 206,
449
- 166, 165, 166, 207, 165, 166, 208, 165,
450
- 166, 207, 165, 209, 166, 210, 165, 211,
451
- 166, 165, 212, 166, 165, 166, 213, 165,
452
- 166, 214, 165, 166, 215, 165, 166, 216,
453
- 165, 217, 166, 165, 218, 166, 165, 219,
454
- 166, 165, 166, 203, 165, 166, 207, 220,
455
- 165, 166, 221, 165, 166, 222, 165, 166,
456
- 223, 165, 166, 224, 225, 165, 209, 166,
457
- 165, 226, 166, 165, 227, 166, 165, 166,
458
- 228, 165, 166, 229, 165, 166, 230, 165,
459
- 166, 231, 165, 166, 232, 165, 233, 166,
460
- 165, 234, 166, 165, 235, 166, 165, 166,
461
- 236, 165, 166, 203, 165, 166, 237, 165,
462
- 238, 166, 165, 239, 166, 165, 166, 240,
463
- 165, 166, 207, 165, 241, 166, 242, 165,
464
- 227, 243, 166, 165, 166, 244, 165, 166,
465
- 245, 165, 166, 246, 165, 166, 247, 165,
466
- 248, 166, 165, 235, 166, 165, 249, 166,
467
- 165, 207, 166, 165, 250, 166, 165, 207,
468
- 166, 165, 120, 251, 0, 252, 0, 253,
469
- 0, 254, 0, 255, 256, 0, 257, 0,
470
- 258, 0, 259, 0, 260, 0, 261, 0,
471
- 262, 0, 263, 0, 264, 0, 265, 0,
472
- 266, 0, 267, 0, 268, 0, 270, 269,
473
- 272, 271, 272, 273, 274, 275, 276, 274,
474
- 277, 278, 279, 280, 281, 282, 273, 271,
475
- 272, 283, 271, 272, 284, 271, 272, 285,
476
- 271, 272, 286, 271, 272, 287, 271, 272,
477
- 288, 271, 272, 289, 271, 272, 290, 271,
478
- 272, 291, 271, 272, 292, 271, 272, 293,
479
- 271, 272, 294, 271, 272, 295, 271, 272,
480
- 296, 271, 272, 297, 271, 272, 298, 271,
481
- 299, 272, 271, 300, 272, 271, 301, 272,
482
- 271, 272, 302, 271, 272, 303, 271, 272,
483
- 302, 271, 304, 272, 305, 271, 306, 272,
484
- 271, 307, 272, 271, 272, 308, 271, 272,
485
- 309, 271, 272, 310, 271, 272, 311, 271,
486
- 312, 272, 271, 313, 272, 271, 314, 272,
487
- 271, 272, 315, 271, 272, 297, 271, 272,
488
- 302, 271, 272, 316, 271, 317, 272, 271,
489
- 318, 272, 271, 272, 319, 271, 272, 302,
490
- 271, 320, 272, 321, 271, 322, 323, 272,
491
- 271, 272, 324, 271, 272, 325, 271, 272,
492
- 326, 271, 272, 327, 271, 272, 328, 271,
493
- 329, 272, 271, 330, 272, 271, 331, 272,
494
- 271, 272, 332, 271, 272, 315, 271, 272,
495
- 333, 271, 272, 334, 271, 272, 335, 271,
496
- 272, 336, 271, 337, 272, 271, 331, 272,
497
- 271, 338, 272, 271, 302, 272, 271, 339,
498
- 272, 271, 302, 272, 271, 340, 0, 341,
499
- 0, 342, 0, 343, 0, 344, 0, 345,
500
- 0, 346, 0, 347, 0, 348, 0, 349,
501
- 0, 350, 0, 267, 0, 351, 0, 352,
502
- 0, 353, 0, 354, 0, 120, 0, 355,
503
- 356, 0, 357, 358, 0, 359, 0, 360,
504
- 0, 361, 0, 362, 0, 363, 0, 364,
505
- 0, 365, 0, 366, 0, 367, 0, 161,
506
- 0, 368, 0, 369, 0, 370, 0, 371,
507
- 0, 372, 0, 373, 0, 374, 0, 375,
508
- 0, 376, 0, 378, 377, 380, 379, 380,
509
- 381, 382, 383, 382, 384, 385, 386, 387,
510
- 381, 379, 380, 388, 379, 380, 389, 379,
511
- 380, 390, 379, 380, 391, 379, 380, 392,
512
- 379, 380, 393, 379, 380, 394, 379, 380,
513
- 395, 379, 380, 396, 379, 380, 397, 379,
514
- 380, 398, 379, 380, 399, 379, 380, 400,
515
- 379, 380, 401, 379, 402, 380, 379, 403,
516
- 380, 379, 404, 380, 379, 380, 405, 379,
517
- 380, 406, 379, 380, 407, 379, 408, 380,
518
- 379, 409, 380, 379, 410, 380, 379, 380,
519
- 411, 379, 380, 412, 379, 380, 413, 379,
520
- 414, 380, 379, 415, 380, 379, 416, 380,
521
- 379, 380, 417, 379, 380, 418, 379, 380,
522
- 419, 379, 420, 380, 379, 421, 380, 379,
523
- 422, 380, 379, 380, 412, 379, 423, 380,
524
- 424, 379, 425, 380, 379, 426, 380, 379,
525
- 380, 427, 379, 380, 428, 379, 380, 429,
526
- 379, 380, 430, 379, 431, 380, 379, 432,
527
- 380, 379, 433, 380, 379, 380, 412, 379,
528
- 380, 434, 379, 380, 435, 379, 380, 436,
529
- 379, 380, 437, 379, 380, 438, 439, 379,
530
- 423, 380, 379, 440, 380, 379, 441, 380,
531
- 379, 380, 442, 379, 380, 443, 379, 380,
532
- 444, 379, 380, 445, 379, 380, 446, 379,
533
- 447, 380, 379, 448, 380, 379, 449, 380,
534
- 379, 380, 450, 379, 380, 412, 379, 451,
535
- 380, 379, 441, 452, 380, 379, 380, 453,
536
- 379, 380, 454, 379, 380, 455, 379, 380,
537
- 456, 379, 457, 380, 379, 449, 380, 379,
538
- 458, 0, 120, 0, 459, 0, 120, 0,
539
- 460, 461, 460, 0, 464, 463, 465, 466,
540
- 463, 462, 0, 468, 469, 467, 0, 468,
541
- 467, 464, 470, 468, 469, 470, 467, 464,
542
- 471, 472, 473, 474, 475, 476, 477, 478,
543
- 479, 480, 481, 482, 483, 484, 471, 0,
544
- 78, 485, 77, 486, 78, 77, 487, 78,
545
- 77, 488, 78, 77, 78, 489, 77, 78,
546
- 490, 77, 78, 489, 77, 491, 78, 492,
547
- 77, 493, 78, 77, 494, 78, 77, 78,
548
- 495, 77, 78, 496, 77, 78, 497, 77,
549
- 78, 498, 77, 499, 78, 77, 500, 78,
550
- 77, 501, 78, 77, 78, 502, 77, 78,
551
- 103, 77, 78, 489, 503, 77, 78, 504,
552
- 77, 78, 505, 77, 78, 506, 77, 78,
553
- 507, 508, 77, 491, 78, 77, 509, 78,
554
- 77, 510, 78, 77, 78, 511, 77, 78,
555
- 512, 77, 78, 513, 77, 78, 514, 77,
556
- 78, 515, 77, 516, 78, 77, 517, 78,
557
- 77, 518, 78, 77, 78, 519, 77, 78,
558
- 502, 77, 78, 520, 77, 521, 78, 77,
559
- 522, 78, 77, 78, 523, 77, 78, 489,
560
- 77, 524, 78, 525, 77, 510, 526, 78,
561
- 77, 78, 527, 77, 78, 528, 77, 78,
562
- 529, 77, 78, 530, 77, 531, 78, 77,
563
- 518, 78, 77, 532, 78, 77, 489, 78,
564
- 77, 533, 78, 77, 489, 78, 77, 534,
565
- 0, 535, 0, 536, 0, 120, 0, 537,
566
- 0, 1, 0, 538, 0
567
- ];
568
-
569
- const _lexer_trans_targs = [
570
- 0, 2, 2, 3, 13, 15, 29, 32,
571
- 35, 66, 68, 93, 281, 286, 385, 387,
572
- 451, 4, 5, 6, 7, 7, 7, 8,
573
- 7, 7, 7, 8, 9, 10, 11, 2,
574
- 12, 11, 13, 2, 14, 16, 17, 18,
575
- 19, 20, 21, 22, 23, 24, 25, 26,
576
- 27, 28, 453, 30, 31, 31, 2, 14,
577
- 33, 34, 2, 33, 32, 34, 36, 447,
578
- 37, 38, 39, 40, 41, 42, 43, 44,
579
- 45, 46, 47, 48, 49, 48, 49, 49,
580
- 2, 50, 64, 393, 398, 400, 430, 435,
581
- 445, 51, 52, 53, 54, 55, 56, 57,
582
- 58, 59, 60, 61, 62, 63, 2, 65,
583
- 2, 2, 3, 13, 15, 29, 32, 35,
584
- 66, 68, 93, 281, 286, 385, 387, 67,
585
- 29, 69, 70, 71, 72, 73, 74, 75,
586
- 76, 77, 78, 79, 80, 81, 80, 81,
587
- 81, 2, 82, 83, 84, 85, 86, 87,
588
- 88, 89, 90, 91, 92, 65, 94, 187,
589
- 95, 96, 97, 98, 99, 100, 101, 102,
590
- 103, 104, 105, 106, 107, 106, 107, 107,
591
- 2, 108, 122, 123, 139, 141, 170, 175,
592
- 185, 109, 110, 111, 112, 113, 114, 115,
593
- 116, 117, 118, 119, 120, 121, 2, 65,
594
- 124, 135, 125, 126, 127, 128, 129, 130,
595
- 131, 132, 133, 134, 136, 137, 138, 122,
596
- 140, 142, 152, 143, 144, 145, 146, 147,
597
- 148, 149, 150, 151, 153, 154, 155, 156,
598
- 157, 158, 159, 160, 161, 162, 163, 164,
599
- 165, 166, 167, 168, 169, 171, 172, 173,
600
- 174, 176, 183, 177, 178, 179, 180, 181,
601
- 182, 184, 186, 188, 189, 190, 191, 192,
602
- 269, 193, 194, 195, 196, 197, 198, 199,
603
- 200, 201, 202, 203, 204, 205, 206, 205,
604
- 206, 206, 2, 207, 221, 222, 227, 229,
605
- 242, 247, 267, 208, 209, 210, 211, 212,
606
- 213, 214, 215, 216, 217, 218, 219, 220,
607
- 2, 65, 223, 224, 225, 226, 221, 228,
608
- 230, 241, 231, 232, 233, 234, 235, 236,
609
- 237, 238, 239, 240, 243, 244, 245, 246,
610
- 248, 265, 249, 259, 250, 251, 252, 253,
611
- 254, 255, 256, 257, 258, 260, 261, 262,
612
- 263, 264, 266, 268, 270, 271, 272, 273,
613
- 274, 275, 276, 277, 278, 279, 280, 282,
614
- 283, 284, 285, 287, 383, 288, 298, 289,
615
- 290, 291, 292, 293, 294, 295, 296, 297,
616
- 299, 300, 301, 302, 303, 304, 305, 306,
617
- 307, 308, 309, 308, 309, 309, 2, 310,
618
- 324, 336, 346, 375, 311, 312, 313, 314,
619
- 315, 316, 317, 318, 319, 320, 321, 322,
620
- 323, 2, 325, 326, 327, 328, 329, 330,
621
- 331, 332, 333, 334, 335, 65, 337, 338,
622
- 339, 340, 341, 342, 343, 344, 345, 347,
623
- 357, 348, 349, 350, 351, 352, 353, 354,
624
- 355, 356, 358, 359, 360, 361, 362, 363,
625
- 364, 365, 366, 367, 368, 369, 370, 371,
626
- 372, 373, 374, 376, 377, 378, 379, 380,
627
- 381, 382, 384, 386, 387, 388, 389, 391,
628
- 392, 390, 388, 389, 390, 388, 391, 392,
629
- 3, 13, 15, 29, 32, 35, 66, 68,
630
- 93, 281, 286, 385, 387, 394, 395, 396,
631
- 397, 64, 399, 401, 412, 402, 403, 404,
632
- 405, 406, 407, 408, 409, 410, 411, 413,
633
- 414, 415, 416, 417, 418, 419, 420, 421,
634
- 422, 423, 424, 425, 426, 427, 428, 429,
635
- 431, 432, 433, 434, 436, 443, 437, 438,
636
- 439, 440, 441, 442, 444, 446, 448, 449,
637
- 450, 452, 0
638
- ];
639
-
640
- const _lexer_trans_actions = [
641
- 39, 0, 47, 3, 1, 0, 25, 1,
642
- 25, 25, 25, 25, 25, 25, 25, 31,
643
- 0, 0, 0, 47, 5, 41, 119, 41,
644
- 0, 29, 111, 29, 29, 0, 7, 95,
645
- 0, 0, 0, 103, 21, 0, 0, 0,
646
- 0, 0, 0, 0, 0, 0, 0, 0,
647
- 0, 0, 0, 0, 50, 0, 99, 19,
648
- 0, 23, 107, 23, 44, 0, 0, 0,
649
- 0, 0, 0, 0, 0, 0, 0, 0,
650
- 0, 0, 0, 50, 124, 0, 47, 0,
651
- 65, 29, 77, 77, 77, 77, 77, 77,
652
- 77, 0, 0, 0, 0, 0, 0, 0,
653
- 0, 0, 0, 0, 0, 0, 11, 11,
654
- 27, 115, 53, 50, 27, 56, 50, 56,
655
- 56, 56, 56, 56, 56, 56, 59, 0,
656
- 0, 0, 0, 0, 0, 0, 0, 0,
657
- 0, 0, 0, 0, 50, 124, 0, 47,
658
- 0, 74, 77, 0, 0, 0, 0, 0,
659
- 0, 0, 0, 0, 0, 17, 0, 0,
660
- 0, 0, 0, 0, 0, 0, 0, 0,
661
- 0, 0, 0, 50, 124, 0, 47, 0,
662
- 68, 29, 77, 77, 77, 77, 77, 77,
663
- 77, 0, 0, 0, 0, 0, 0, 0,
664
- 0, 0, 0, 0, 0, 0, 13, 13,
665
- 0, 0, 0, 0, 0, 0, 0, 0,
666
- 0, 0, 0, 0, 0, 0, 0, 0,
667
- 0, 0, 0, 0, 0, 0, 0, 0,
668
- 0, 0, 0, 0, 0, 0, 0, 0,
669
- 0, 0, 0, 0, 0, 0, 0, 0,
670
- 0, 0, 0, 0, 0, 0, 0, 0,
671
- 0, 0, 0, 0, 0, 0, 0, 0,
672
- 0, 0, 0, 0, 0, 0, 0, 0,
673
- 0, 0, 0, 0, 0, 0, 0, 0,
674
- 0, 0, 0, 0, 0, 50, 124, 0,
675
- 47, 0, 71, 29, 77, 77, 77, 77,
676
- 77, 77, 77, 0, 0, 0, 0, 0,
677
- 0, 0, 0, 0, 0, 0, 0, 0,
678
- 15, 15, 0, 0, 0, 0, 0, 0,
679
- 0, 0, 0, 0, 0, 0, 0, 0,
680
- 0, 0, 0, 0, 0, 0, 0, 0,
681
- 0, 0, 0, 0, 0, 0, 0, 0,
682
- 0, 0, 0, 0, 0, 0, 0, 0,
683
- 0, 0, 0, 0, 0, 0, 0, 0,
684
- 0, 0, 0, 0, 0, 0, 0, 0,
685
- 0, 0, 0, 0, 0, 0, 0, 0,
686
- 0, 0, 0, 0, 0, 0, 0, 0,
687
- 0, 0, 0, 0, 0, 0, 0, 0,
688
- 0, 50, 124, 0, 47, 0, 62, 29,
689
- 77, 77, 77, 77, 0, 0, 0, 0,
690
- 0, 0, 0, 0, 0, 0, 0, 0,
691
- 0, 9, 0, 0, 0, 0, 0, 0,
692
- 0, 0, 0, 0, 0, 9, 0, 0,
693
- 0, 0, 0, 0, 0, 0, 0, 0,
694
- 0, 0, 0, 0, 0, 0, 0, 0,
695
- 0, 0, 0, 0, 0, 0, 0, 0,
696
- 0, 0, 0, 0, 0, 0, 0, 0,
697
- 0, 0, 0, 0, 0, 0, 0, 0,
698
- 0, 0, 0, 0, 0, 0, 33, 33,
699
- 47, 33, 80, 0, 0, 35, 0, 0,
700
- 86, 83, 37, 89, 83, 89, 89, 89,
701
- 89, 89, 89, 89, 92, 0, 0, 0,
702
- 0, 0, 0, 0, 0, 0, 0, 0,
703
- 0, 0, 0, 0, 0, 0, 0, 0,
704
- 0, 0, 0, 0, 0, 0, 0, 0,
705
- 0, 0, 0, 0, 0, 0, 0, 0,
706
- 0, 0, 0, 0, 0, 0, 0, 0,
707
- 0, 0, 0, 0, 0, 0, 0, 0,
708
- 0, 0, 0
709
- ];
710
-
711
- const _lexer_eof_actions = [
712
- 0, 39, 39, 39, 39, 39, 39, 39,
713
- 39, 39, 39, 39, 39, 39, 39, 39,
714
- 39, 39, 39, 39, 39, 39, 39, 39,
715
- 39, 39, 39, 39, 39, 39, 39, 39,
716
- 39, 39, 39, 39, 39, 39, 39, 39,
717
- 39, 39, 39, 39, 39, 39, 39, 39,
718
- 39, 39, 39, 39, 39, 39, 39, 39,
719
- 39, 39, 39, 39, 39, 39, 39, 39,
720
- 39, 39, 39, 39, 39, 39, 39, 39,
721
- 39, 39, 39, 39, 39, 39, 39, 39,
722
- 39, 39, 39, 39, 39, 39, 39, 39,
723
- 39, 39, 39, 39, 39, 39, 39, 39,
724
- 39, 39, 39, 39, 39, 39, 39, 39,
725
- 39, 39, 39, 39, 39, 39, 39, 39,
726
- 39, 39, 39, 39, 39, 39, 39, 39,
727
- 39, 39, 39, 39, 39, 39, 39, 39,
728
- 39, 39, 39, 39, 39, 39, 39, 39,
729
- 39, 39, 39, 39, 39, 39, 39, 39,
730
- 39, 39, 39, 39, 39, 39, 39, 39,
731
- 39, 39, 39, 39, 39, 39, 39, 39,
732
- 39, 39, 39, 39, 39, 39, 39, 39,
733
- 39, 39, 39, 39, 39, 39, 39, 39,
734
- 39, 39, 39, 39, 39, 39, 39, 39,
735
- 39, 39, 39, 39, 39, 39, 39, 39,
736
- 39, 39, 39, 39, 39, 39, 39, 39,
737
- 39, 39, 39, 39, 39, 39, 39, 39,
738
- 39, 39, 39, 39, 39, 39, 39, 39,
739
- 39, 39, 39, 39, 39, 39, 39, 39,
740
- 39, 39, 39, 39, 39, 39, 39, 39,
741
- 39, 39, 39, 39, 39, 39, 39, 39,
742
- 39, 39, 39, 39, 39, 39, 39, 39,
743
- 39, 39, 39, 39, 39, 39, 39, 39,
744
- 39, 39, 39, 39, 39, 39, 39, 39,
745
- 39, 39, 39, 39, 39, 39, 39, 39,
746
- 39, 39, 39, 39, 39, 39, 39, 39,
747
- 39, 39, 39, 39, 39, 39, 39, 39,
748
- 39, 39, 39, 39, 39, 39, 39, 39,
749
- 39, 39, 39, 39, 39, 39, 39, 39,
750
- 39, 39, 39, 39, 39, 39, 39, 39,
751
- 39, 39, 39, 39, 39, 39, 39, 39,
752
- 39, 39, 39, 39, 39, 39, 39, 39,
753
- 39, 39, 39, 39, 39, 39, 39, 39,
754
- 39, 39, 39, 39, 39, 39, 39, 39,
755
- 39, 39, 39, 39, 39, 39, 39, 39,
756
- 39, 39, 39, 39, 39, 39, 39, 39,
757
- 39, 39, 39, 39, 39, 39, 39, 39,
758
- 39, 39, 39, 39, 39, 39, 39, 39,
759
- 39, 39, 39, 39, 39, 39, 39, 39,
760
- 39, 39, 39, 39, 39, 39, 39, 39,
761
- 39, 39, 39, 39, 39, 39, 39, 39,
762
- 39, 39, 39, 39, 39, 39, 39, 39,
763
- 39, 39, 39, 39, 39, 39, 39, 39,
764
- 39, 39, 39, 39, 39, 39, 39, 39,
765
- 39, 39, 39, 39, 39, 39, 39, 39,
766
- 39, 39, 39, 39, 39, 39, 39, 39,
767
- 39, 39, 39, 39, 39, 39, 39, 39,
768
- 39, 39, 39, 39, 39, 39
769
- ];
770
-
771
- const lexer_start = 1;
772
- const lexer_first_final = 453;
773
- const lexer_error = 0;
774
-
775
- const lexer_en_main = 1;
776
-
777
-
778
- /* line 110 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
779
-
780
- /* line 111 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
781
-
782
- /* line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
783
-
784
- var Lexer = function(listeners) {
785
- // check that we have an 'on' method (for registering event listeners - Node has that)
786
- // If not, make a trivial implementation that can register one listener. -Enough for testing.
787
-
788
- if(!this.on) {
789
- this._listeners = {};
790
-
791
- this.on = function(event, cb) {
792
- this._listeners[event] = cb;
793
- };
794
-
795
- this.emit = function() {
796
- var event = arguments[0];
797
- var args = [];
798
- for(var i = 1; i < arguments.length; i++) {
799
- args.push(arguments[i]);
800
- }
801
- var cb = this._listeners[event];
802
- cb.apply(listeners, args);
803
- };
804
- }
805
-
806
- var events = ['feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'py_string', 'row', 'end'];
807
- for(e in events) {
808
- var event = events[e];
809
- var listener = listeners[event];
810
- // if(!listener) {
811
- // throw "No listener for " + event;
812
- // }
813
- this.on(event, listener);
814
- }
815
-
816
-
817
- /* line 818 "js/lib/gherkin/lexer/i18n/vi.js" */
818
- {
819
- this.cs = lexer_start;
820
- } /* JSCodeGen::writeInit */
821
-
822
- /* line 146 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
823
- };
824
-
825
- if(typeof require == 'function') {
826
- require('sys').inherits(Lexer, require('events').EventEmitter);
827
- }
828
-
829
- Lexer.prototype.scan = function(data) {
830
- var p = 0;
831
- var pe = data.length;
832
- var eof = 0;
833
-
834
-
835
- /* line 836 "js/lib/gherkin/lexer/i18n/vi.js" */
836
- {
837
- var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
838
- var _goto_level, _resume, _eof_trans, _again, _test_eof;
839
- var _out;
840
- _klen = _trans = _keys = _acts = _nacts = null;
841
- _goto_level = 0;
842
- _resume = 10;
843
- _eof_trans = 15;
844
- _again = 20;
845
- _test_eof = 30;
846
- _out = 40;
847
- while (true) {
848
- _trigger_goto = false;
849
- if (_goto_level <= 0) {
850
- if (p == pe) {
851
- _goto_level = _test_eof;
852
- continue;
853
- }
854
- if ( this.cs == 0) {
855
- _goto_level = _out;
856
- continue;
857
- }
858
- }
859
- if (_goto_level <= _resume) {
860
- _keys = _lexer_key_offsets[ this.cs];
861
- _trans = _lexer_index_offsets[ this.cs];
862
- _klen = _lexer_single_lengths[ this.cs];
863
- _break_match = false;
864
-
865
- do {
866
- if (_klen > 0) {
867
- _lower = _keys;
868
- _upper = _keys + _klen - 1;
869
-
870
- while (true) {
871
- if (_upper < _lower) { break; }
872
- _mid = _lower + ( (_upper - _lower) >> 1 );
873
-
874
- if ( data[p] < _lexer_trans_keys[_mid]) {
875
- _upper = _mid - 1;
876
- } else if ( data[p] > _lexer_trans_keys[_mid]) {
877
- _lower = _mid + 1;
878
- } else {
879
- _trans += (_mid - _keys);
880
- _break_match = true;
881
- break;
882
- };
883
- } /* while */
884
- if (_break_match) { break; }
885
- _keys += _klen;
886
- _trans += _klen;
887
- }
888
- _klen = _lexer_range_lengths[ this.cs];
889
- if (_klen > 0) {
890
- _lower = _keys;
891
- _upper = _keys + (_klen << 1) - 2;
892
- while (true) {
893
- if (_upper < _lower) { break; }
894
- _mid = _lower + (((_upper-_lower) >> 1) & ~1);
895
- if ( data[p] < _lexer_trans_keys[_mid]) {
896
- _upper = _mid - 2;
897
- } else if ( data[p] > _lexer_trans_keys[_mid+1]) {
898
- _lower = _mid + 2;
899
- } else {
900
- _trans += ((_mid - _keys) >> 1);
901
- _break_match = true;
902
- break;
903
- }
904
- } /* while */
905
- if (_break_match) { break; }
906
- _trans += _klen
907
- }
908
- } while (false);
909
- _trans = _lexer_indicies[_trans];
910
- this.cs = _lexer_trans_targs[_trans];
911
- if (_lexer_trans_actions[_trans] != 0) {
912
- _acts = _lexer_trans_actions[_trans];
913
- _nacts = _lexer_actions[_acts];
914
- _acts += 1;
915
- while (_nacts > 0) {
916
- _nacts -= 1;
917
- _acts += 1;
918
- switch (_lexer_actions[_acts - 1]) {
919
- case 0:
920
- /* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
921
-
922
- this.content_start = p;
923
- this.current_line = this.line_number;
924
- this.start_col = p - this.last_newline - (this.keyword+':').length;
925
- break;
926
- case 1:
927
- /* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
928
-
929
- this.current_line = this.line_number;
930
- this.start_col = p - this.last_newline;
931
- break;
932
- case 2:
933
- /* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
934
-
935
- this.content_start = p;
936
- break;
937
- case 3:
938
- /* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
939
-
940
- var con = this.unindent(
941
- this.start_col,
942
- this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*\Z/, '') // TODO .replace(/\"\"\"/mg, '"""')
943
- );
944
- this.emit('py_string', con, this.current_line);
945
- break;
946
- case 4:
947
- /* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
948
-
949
- p = this.store_keyword_content('feature', data, p, eof);
950
- break;
951
- case 5:
952
- /* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
953
-
954
- p = this.store_keyword_content('background', data, p, eof);
955
- break;
956
- case 6:
957
- /* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
958
-
959
- p = this.store_keyword_content('scenario', data, p, eof);
960
- break;
961
- case 7:
962
- /* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
963
-
964
- p = this.store_keyword_content('scenario_outline', data, p, eof);
965
- break;
966
- case 8:
967
- /* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
968
-
969
- p = this.store_keyword_content('examples', data, p, eof);
970
- break;
971
- case 9:
972
- /* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
973
-
974
- var con = this.bytesToString(data.slice(this.content_start, p)).trim();
975
- this.emit('step', this.keyword, con, this.current_line);
976
- break;
977
- case 10:
978
- /* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
979
-
980
- console.log('TODO: store_comment_content');
981
- break;
982
- case 11:
983
- /* line 58 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
984
-
985
- console.log('TODO: store_tag_content');
986
- break;
987
- case 12:
988
- /* line 62 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
989
-
990
- this.line_number++;
991
- break;
992
- case 13:
993
- /* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
994
-
995
- this.last_newline = p + 1;
996
- break;
997
- case 14:
998
- /* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
999
-
1000
- this.keyword_start = this.keyword_start || p;
1001
- break;
1002
- case 15:
1003
- /* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1004
-
1005
- this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
1006
- this.keyword_start = null;
1007
- break;
1008
- case 16:
1009
- /* line 79 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1010
-
1011
- this.next_keyword_start = p;
1012
- break;
1013
- case 17:
1014
- /* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1015
-
1016
- p = p - 1;
1017
- current_row = [];
1018
- this.current_line = this.line_number;
1019
- break;
1020
- case 18:
1021
- /* line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1022
-
1023
- this.content_start = p;
1024
- break;
1025
- case 19:
1026
- /* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1027
-
1028
- var con = this.bytesToString(data.slice(this.content_start, p)).trim();
1029
- current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
1030
- break;
1031
- case 20:
1032
- /* line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1033
-
1034
- this.emit('row', current_row, this.current_line);
1035
- break;
1036
- case 21:
1037
- /* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1038
-
1039
- console.log('TODO: end_feature');
1040
- break;
1041
- /* line 1042 "js/lib/gherkin/lexer/i18n/vi.js" */
1042
- } /* action switch */
1043
- }
1044
- }
1045
- if (_trigger_goto) {
1046
- continue;
1047
- }
1048
- }
1049
- if (_goto_level <= _again) {
1050
- if ( this.cs == 0) {
1051
- _goto_level = _out;
1052
- continue;
1053
- }
1054
- p += 1;
1055
- if (p != pe) {
1056
- _goto_level = _resume;
1057
- continue;
1058
- }
1059
- }
1060
- if (_goto_level <= _test_eof) {
1061
- if (p == eof) {
1062
- __acts = _lexer_eof_actions[ this.cs];
1063
- __nacts = _lexer_actions[__acts];
1064
- __acts += 1;
1065
- while (__nacts > 0) {
1066
- __nacts -= 1;
1067
- __acts += 1;
1068
- switch (_lexer_actions[__acts - 1]) {
1069
- case 21:
1070
- /* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1071
-
1072
- console.log('TODO: end_feature');
1073
- break;
1074
- /* line 1075 "js/lib/gherkin/lexer/i18n/vi.js" */
1075
- } /* eof action switch */
1076
- }
1077
- if (_trigger_goto) {
1078
- continue;
1079
- }
1080
- }
1081
- }
1082
- if (_goto_level <= _out) {
1083
- break;
1084
- }
1085
- }
1086
- }
1087
-
1088
- /* line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/vi.js.rl" */
1089
- };
1090
-
1091
- Lexer.prototype.bytesToString = function(bytes) {
1092
- if(typeof bytes.write == 'function') {
1093
- // Node.js
1094
- return bytes.toString('utf-8');
1095
- } else {
1096
- var result = "";
1097
- for(var b in bytes) {
1098
- result += String.fromCharCode(bytes[b]);
1099
- }
1100
- return result;
1101
- }
1102
- }
1103
-
1104
- Lexer.prototype.unindent = function(startcol, text) {
1105
- startcol = startcol || 0;
1106
- return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
1107
- };
1108
-
1109
- Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
1110
- var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
1111
- var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).trimRight();
1112
- var content_lines = content.split("\n")
1113
- var name = content_lines.shift() || "";
1114
- name = name.trim();
1115
- var description = content_lines.join("\n");
1116
- this.emit(event, this.keyword, name, description, this.current_line);
1117
- var nks = this.next_keyword_start;
1118
- this.next_keyword_start = null;
1119
- return nks ? nks - 1 : p;
1120
- };
1121
-
1122
- exports.Lexer = Lexer;
1123
-
1124
- })();