gherkin 2.3.5-x86-mingw32 → 2.3.6-x86-mingw32

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