gherkin 2.3.4-x86-mswin32 → 2.3.5-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/VERSION +1 -1
- data/gherkin.gemspec +9 -9
- data/js/lib/gherkin/lexer/i18n/ar.js +1094 -0
- data/js/lib/gherkin/lexer/i18n/bg.js +1308 -0
- data/js/lib/gherkin/lexer/i18n/ca.js +1236 -0
- data/js/lib/gherkin/lexer/i18n/cs.js +1090 -0
- data/js/lib/gherkin/lexer/i18n/cy_gb.js +958 -0
- data/js/lib/gherkin/lexer/i18n/da.js +974 -0
- data/js/lib/gherkin/lexer/i18n/de.js +1082 -0
- data/js/lib/gherkin/lexer/i18n/en.js +965 -0
- data/js/lib/gherkin/lexer/i18n/en_au.js +902 -0
- data/js/lib/gherkin/lexer/i18n/en_lol.js +859 -0
- data/js/lib/gherkin/lexer/i18n/en_pirate.js +1136 -0
- data/js/lib/gherkin/lexer/i18n/en_scouse.js +1289 -0
- data/js/lib/gherkin/lexer/i18n/en_tx.js +942 -0
- data/js/lib/gherkin/lexer/i18n/eo.js +916 -0
- data/js/lib/gherkin/lexer/i18n/es.js +1049 -0
- data/js/lib/gherkin/lexer/i18n/et.js +915 -0
- data/js/lib/gherkin/lexer/i18n/fi.js +894 -0
- data/js/lib/gherkin/lexer/i18n/fr.js +1116 -0
- data/js/lib/gherkin/lexer/i18n/he.js +1044 -0
- data/js/lib/gherkin/lexer/i18n/hr.js +994 -0
- data/js/lib/gherkin/lexer/i18n/hu.js +1043 -0
- data/js/lib/gherkin/lexer/i18n/id.js +884 -0
- data/js/lib/gherkin/lexer/i18n/it.js +1007 -0
- data/js/lib/gherkin/lexer/i18n/ja.js +1344 -0
- data/js/lib/gherkin/lexer/i18n/ko.js +1028 -0
- data/js/lib/gherkin/lexer/i18n/lt.js +972 -0
- data/js/lib/gherkin/lexer/i18n/lu.js +1057 -0
- data/js/lib/gherkin/lexer/i18n/lv.js +1092 -0
- data/js/lib/gherkin/lexer/i18n/nl.js +1036 -0
- data/js/lib/gherkin/lexer/i18n/no.js +986 -0
- data/js/lib/gherkin/lexer/i18n/pl.js +1140 -0
- data/js/lib/gherkin/lexer/i18n/pt.js +1000 -0
- data/js/lib/gherkin/lexer/i18n/ro.js +1089 -0
- data/js/lib/gherkin/lexer/i18n/ru.js +1560 -0
- data/js/lib/gherkin/lexer/i18n/sk.js +972 -0
- data/js/lib/gherkin/lexer/i18n/sr_cyrl.js +1728 -0
- data/js/lib/gherkin/lexer/i18n/sr_latn.js +1220 -0
- data/js/lib/gherkin/lexer/i18n/sv.js +997 -0
- data/js/lib/gherkin/lexer/i18n/tr.js +1014 -0
- data/js/lib/gherkin/lexer/i18n/uk.js +1572 -0
- data/js/lib/gherkin/lexer/i18n/uz.js +1302 -0
- data/js/lib/gherkin/lexer/i18n/vi.js +1124 -0
- data/js/lib/gherkin/lexer/i18n/zh_cn.js +902 -0
- data/js/lib/gherkin/lexer/i18n/zh_tw.js +940 -0
- data/lib/1.8/gherkin_lexer_ar.so +0 -0
- data/lib/1.8/gherkin_lexer_bg.so +0 -0
- data/lib/1.8/gherkin_lexer_ca.so +0 -0
- data/lib/1.8/gherkin_lexer_cs.so +0 -0
- data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
- data/lib/1.8/gherkin_lexer_da.so +0 -0
- data/lib/1.8/gherkin_lexer_de.so +0 -0
- data/lib/1.8/gherkin_lexer_en.so +0 -0
- data/lib/1.8/gherkin_lexer_en_au.so +0 -0
- data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
- data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
- data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
- data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
- data/lib/1.8/gherkin_lexer_eo.so +0 -0
- data/lib/1.8/gherkin_lexer_es.so +0 -0
- data/lib/1.8/gherkin_lexer_et.so +0 -0
- data/lib/1.8/gherkin_lexer_fi.so +0 -0
- data/lib/1.8/gherkin_lexer_fr.so +0 -0
- data/lib/1.8/gherkin_lexer_he.so +0 -0
- data/lib/1.8/gherkin_lexer_hr.so +0 -0
- data/lib/1.8/gherkin_lexer_hu.so +0 -0
- data/lib/1.8/gherkin_lexer_id.so +0 -0
- data/lib/1.8/gherkin_lexer_it.so +0 -0
- data/lib/1.8/gherkin_lexer_ja.so +0 -0
- data/lib/1.8/gherkin_lexer_ko.so +0 -0
- data/lib/1.8/gherkin_lexer_lt.so +0 -0
- data/lib/1.8/gherkin_lexer_lu.so +0 -0
- data/lib/1.8/gherkin_lexer_lv.so +0 -0
- data/lib/1.8/gherkin_lexer_nl.so +0 -0
- data/lib/1.8/gherkin_lexer_no.so +0 -0
- data/lib/1.8/gherkin_lexer_pl.so +0 -0
- data/lib/1.8/gherkin_lexer_pt.so +0 -0
- data/lib/1.8/gherkin_lexer_ro.so +0 -0
- data/lib/1.8/gherkin_lexer_ru.so +0 -0
- data/lib/1.8/gherkin_lexer_sk.so +0 -0
- data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
- data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
- data/lib/1.8/gherkin_lexer_sv.so +0 -0
- data/lib/1.8/gherkin_lexer_tr.so +0 -0
- data/lib/1.8/gherkin_lexer_uk.so +0 -0
- data/lib/1.8/gherkin_lexer_uz.so +0 -0
- data/lib/1.8/gherkin_lexer_vi.so +0 -0
- data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
- data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
- data/lib/1.9/gherkin_lexer_ar.so +0 -0
- data/lib/1.9/gherkin_lexer_bg.so +0 -0
- data/lib/1.9/gherkin_lexer_ca.so +0 -0
- data/lib/1.9/gherkin_lexer_cs.so +0 -0
- data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
- data/lib/1.9/gherkin_lexer_da.so +0 -0
- data/lib/1.9/gherkin_lexer_de.so +0 -0
- data/lib/1.9/gherkin_lexer_en.so +0 -0
- data/lib/1.9/gherkin_lexer_en_au.so +0 -0
- data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
- data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
- data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
- data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
- data/lib/1.9/gherkin_lexer_eo.so +0 -0
- data/lib/1.9/gherkin_lexer_es.so +0 -0
- data/lib/1.9/gherkin_lexer_et.so +0 -0
- data/lib/1.9/gherkin_lexer_fi.so +0 -0
- data/lib/1.9/gherkin_lexer_fr.so +0 -0
- data/lib/1.9/gherkin_lexer_he.so +0 -0
- data/lib/1.9/gherkin_lexer_hr.so +0 -0
- data/lib/1.9/gherkin_lexer_hu.so +0 -0
- data/lib/1.9/gherkin_lexer_id.so +0 -0
- data/lib/1.9/gherkin_lexer_it.so +0 -0
- data/lib/1.9/gherkin_lexer_ja.so +0 -0
- data/lib/1.9/gherkin_lexer_ko.so +0 -0
- data/lib/1.9/gherkin_lexer_lt.so +0 -0
- data/lib/1.9/gherkin_lexer_lu.so +0 -0
- data/lib/1.9/gherkin_lexer_lv.so +0 -0
- data/lib/1.9/gherkin_lexer_nl.so +0 -0
- data/lib/1.9/gherkin_lexer_no.so +0 -0
- data/lib/1.9/gherkin_lexer_pl.so +0 -0
- data/lib/1.9/gherkin_lexer_pt.so +0 -0
- data/lib/1.9/gherkin_lexer_ro.so +0 -0
- data/lib/1.9/gherkin_lexer_ru.so +0 -0
- data/lib/1.9/gherkin_lexer_sk.so +0 -0
- data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
- data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
- data/lib/1.9/gherkin_lexer_sv.so +0 -0
- data/lib/1.9/gherkin_lexer_tr.so +0 -0
- data/lib/1.9/gherkin_lexer_uk.so +0 -0
- data/lib/1.9/gherkin_lexer_uz.so +0 -0
- data/lib/1.9/gherkin_lexer_vi.so +0 -0
- data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
- data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
- data/ragel/lexer.rb.rl.erb +9 -17
- metadata +65 -21
@@ -0,0 +1,884 @@
|
|
1
|
+
|
2
|
+
/* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
3
|
+
;(function() {
|
4
|
+
|
5
|
+
|
6
|
+
/* line 107 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
/* line 11 "js/lib/gherkin/lexer/i18n/id.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, 65, 69, 71, 72, 73,
|
34
|
+
74, 75, 76, 77, 78, 79, 80, 81,
|
35
|
+
82, 83, 84, 85, 86, 87, 88, 90,
|
36
|
+
95, 102, 107, 108, 109, 110, 111, 112,
|
37
|
+
113, 114, 115, 122, 124, 126, 128, 130,
|
38
|
+
132, 149, 151, 153, 154, 155, 156, 157,
|
39
|
+
158, 172, 174, 176, 178, 180, 182, 184,
|
40
|
+
186, 188, 190, 192, 194, 196, 198, 200,
|
41
|
+
202, 205, 207, 209, 211, 213, 215, 217,
|
42
|
+
219, 221, 223, 225, 227, 229, 231, 233,
|
43
|
+
235, 237, 239, 241, 243, 245, 247, 249,
|
44
|
+
252, 254, 256, 258, 260, 262, 264, 266,
|
45
|
+
268, 270, 271, 272, 273, 274, 275, 276,
|
46
|
+
277, 278, 279, 280, 281, 292, 294, 296,
|
47
|
+
298, 300, 302, 304, 306, 308, 310, 312,
|
48
|
+
314, 316, 318, 320, 322, 324, 326, 328,
|
49
|
+
330, 332, 334, 336, 338, 340, 342, 344,
|
50
|
+
346, 348, 350, 352, 354, 356, 358, 360,
|
51
|
+
363, 365, 367, 369, 371, 373, 375, 376,
|
52
|
+
377, 378, 379, 380, 381, 382, 383, 384,
|
53
|
+
385, 386, 387, 388, 390, 391, 392, 393,
|
54
|
+
394, 395, 396, 397, 398, 399, 413, 415,
|
55
|
+
417, 419, 421, 423, 425, 427, 429, 431,
|
56
|
+
433, 435, 437, 439, 441, 443, 446, 448,
|
57
|
+
450, 452, 454, 456, 458, 460, 462, 464,
|
58
|
+
466, 468, 470, 472, 474, 476, 478, 480,
|
59
|
+
482, 484, 486, 488, 490, 492, 494, 496,
|
60
|
+
497, 498, 512, 514, 516, 518, 520, 522,
|
61
|
+
524, 526, 528, 530, 532, 534, 536, 538,
|
62
|
+
540, 542, 545, 548, 550, 552, 554, 556,
|
63
|
+
558, 560, 562, 564, 566, 568, 570, 572,
|
64
|
+
574, 576, 578, 580, 582, 584, 586, 588,
|
65
|
+
590, 592, 594, 597, 599, 601, 603, 605,
|
66
|
+
607, 609, 611, 613, 615, 616, 617, 618,
|
67
|
+
622, 628, 631, 633, 639, 656, 657, 658
|
68
|
+
];
|
69
|
+
|
70
|
+
const _lexer_trans_keys = [
|
71
|
+
10, 32, 34, 35, 37, 42, 64, 67,
|
72
|
+
68, 70, 75, 77, 83, 84, 124, 239,
|
73
|
+
9, 13, 10, 32, 34, 35, 37, 42,
|
74
|
+
64, 67, 68, 70, 75, 77, 83, 84,
|
75
|
+
124, 9, 13, 34, 34, 10, 32, 9,
|
76
|
+
13, 10, 32, 34, 9, 13, 10, 32,
|
77
|
+
34, 9, 13, 10, 32, 34, 9, 13,
|
78
|
+
10, 32, 34, 9, 13, 10, 32, 9,
|
79
|
+
13, 10, 32, 9, 13, 10, 13, 10,
|
80
|
+
95, 70, 69, 65, 84, 85, 82, 69,
|
81
|
+
95, 69, 78, 68, 95, 37, 32, 10,
|
82
|
+
10, 13, 13, 32, 64, 9, 10, 9,
|
83
|
+
10, 13, 32, 64, 11, 12, 10, 32,
|
84
|
+
64, 9, 13, 111, 110, 116, 111, 104,
|
85
|
+
58, 10, 10, 10, 32, 35, 70, 124,
|
86
|
+
9, 13, 10, 105, 10, 116, 10, 117,
|
87
|
+
10, 114, 10, 58, 10, 32, 34, 35,
|
88
|
+
37, 42, 64, 67, 68, 70, 75, 77,
|
89
|
+
83, 84, 124, 9, 13, 97, 101, 110,
|
90
|
+
115, 97, 114, 58, 10, 10, 10, 32,
|
91
|
+
35, 37, 42, 64, 68, 70, 75, 77,
|
92
|
+
83, 84, 9, 13, 10, 95, 10, 70,
|
93
|
+
10, 69, 10, 65, 10, 84, 10, 85,
|
94
|
+
10, 82, 10, 69, 10, 95, 10, 69,
|
95
|
+
10, 78, 10, 68, 10, 95, 10, 37,
|
96
|
+
10, 32, 10, 97, 101, 10, 110, 10,
|
97
|
+
110, 10, 103, 10, 97, 10, 105, 10,
|
98
|
+
116, 10, 117, 10, 114, 10, 58, 10,
|
99
|
+
101, 10, 116, 10, 105, 10, 107, 10,
|
100
|
+
97, 10, 97, 10, 107, 10, 101, 10,
|
101
|
+
110, 10, 97, 10, 114, 10, 105, 10,
|
102
|
+
111, 10, 32, 58, 10, 107, 10, 111,
|
103
|
+
10, 110, 10, 115, 10, 101, 10, 112,
|
104
|
+
10, 97, 10, 112, 10, 105, 110, 103,
|
105
|
+
97, 110, 105, 116, 117, 114, 58, 10,
|
106
|
+
10, 10, 32, 35, 37, 64, 67, 68,
|
107
|
+
70, 83, 9, 13, 10, 95, 10, 70,
|
108
|
+
10, 69, 10, 65, 10, 84, 10, 85,
|
109
|
+
10, 82, 10, 69, 10, 95, 10, 69,
|
110
|
+
10, 78, 10, 68, 10, 95, 10, 37,
|
111
|
+
10, 111, 10, 110, 10, 116, 10, 111,
|
112
|
+
10, 104, 10, 58, 10, 97, 10, 115,
|
113
|
+
10, 97, 10, 114, 10, 105, 10, 116,
|
114
|
+
10, 117, 10, 107, 10, 101, 10, 110,
|
115
|
+
10, 97, 10, 114, 10, 105, 10, 111,
|
116
|
+
10, 32, 58, 10, 107, 10, 111, 10,
|
117
|
+
110, 10, 115, 10, 101, 10, 112, 101,
|
118
|
+
116, 105, 107, 97, 97, 107, 101, 110,
|
119
|
+
97, 114, 105, 111, 32, 58, 107, 111,
|
120
|
+
110, 115, 101, 112, 58, 10, 10, 10,
|
121
|
+
32, 35, 37, 42, 64, 68, 70, 75,
|
122
|
+
77, 83, 84, 9, 13, 10, 95, 10,
|
123
|
+
70, 10, 69, 10, 65, 10, 84, 10,
|
124
|
+
85, 10, 82, 10, 69, 10, 95, 10,
|
125
|
+
69, 10, 78, 10, 68, 10, 95, 10,
|
126
|
+
37, 10, 32, 10, 97, 101, 10, 110,
|
127
|
+
10, 110, 10, 103, 10, 97, 10, 105,
|
128
|
+
10, 116, 10, 117, 10, 114, 10, 58,
|
129
|
+
10, 101, 10, 116, 10, 105, 10, 107,
|
130
|
+
10, 97, 10, 97, 10, 107, 10, 101,
|
131
|
+
10, 110, 10, 97, 10, 114, 10, 105,
|
132
|
+
10, 111, 10, 97, 10, 112, 10, 105,
|
133
|
+
10, 10, 10, 32, 35, 37, 42, 64,
|
134
|
+
68, 70, 75, 77, 83, 84, 9, 13,
|
135
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
136
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
137
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
138
|
+
10, 95, 10, 37, 10, 32, 10, 97,
|
139
|
+
101, 10, 110, 115, 10, 97, 10, 114,
|
140
|
+
10, 58, 10, 110, 10, 103, 10, 97,
|
141
|
+
10, 110, 10, 105, 10, 116, 10, 117,
|
142
|
+
10, 101, 10, 116, 10, 105, 10, 107,
|
143
|
+
10, 97, 10, 97, 10, 107, 10, 101,
|
144
|
+
10, 110, 10, 97, 10, 114, 10, 105,
|
145
|
+
10, 111, 10, 32, 58, 10, 107, 10,
|
146
|
+
111, 10, 110, 10, 115, 10, 101, 10,
|
147
|
+
112, 10, 97, 10, 112, 10, 105, 97,
|
148
|
+
112, 105, 32, 124, 9, 13, 10, 32,
|
149
|
+
92, 124, 9, 13, 10, 92, 124, 10,
|
150
|
+
92, 10, 32, 92, 124, 9, 13, 10,
|
151
|
+
32, 34, 35, 37, 42, 64, 67, 68,
|
152
|
+
70, 75, 77, 83, 84, 124, 9, 13,
|
153
|
+
187, 191, 0
|
154
|
+
];
|
155
|
+
|
156
|
+
const _lexer_single_lengths = [
|
157
|
+
0, 16, 15, 1, 1, 2, 3, 3,
|
158
|
+
3, 3, 2, 2, 2, 1, 1, 1,
|
159
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
160
|
+
1, 1, 1, 1, 1, 1, 2, 3,
|
161
|
+
5, 3, 1, 1, 1, 1, 1, 1,
|
162
|
+
1, 1, 5, 2, 2, 2, 2, 2,
|
163
|
+
15, 2, 2, 1, 1, 1, 1, 1,
|
164
|
+
12, 2, 2, 2, 2, 2, 2, 2,
|
165
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
166
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
167
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
168
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
169
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
170
|
+
2, 1, 1, 1, 1, 1, 1, 1,
|
171
|
+
1, 1, 1, 1, 9, 2, 2, 2,
|
172
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
173
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
174
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
175
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
176
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
177
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
178
|
+
1, 1, 1, 2, 1, 1, 1, 1,
|
179
|
+
1, 1, 1, 1, 1, 12, 2, 2,
|
180
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
181
|
+
2, 2, 2, 2, 2, 3, 2, 2,
|
182
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
183
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
184
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
185
|
+
1, 12, 2, 2, 2, 2, 2, 2,
|
186
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
187
|
+
2, 3, 3, 2, 2, 2, 2, 2,
|
188
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
189
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
190
|
+
2, 2, 3, 2, 2, 2, 2, 2,
|
191
|
+
2, 2, 2, 2, 1, 1, 1, 2,
|
192
|
+
4, 3, 2, 4, 15, 1, 1, 0
|
193
|
+
];
|
194
|
+
|
195
|
+
const _lexer_range_lengths = [
|
196
|
+
0, 1, 1, 0, 0, 1, 1, 1,
|
197
|
+
1, 1, 1, 1, 0, 0, 0, 0,
|
198
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
199
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
200
|
+
1, 1, 0, 0, 0, 0, 0, 0,
|
201
|
+
0, 0, 1, 0, 0, 0, 0, 0,
|
202
|
+
1, 0, 0, 0, 0, 0, 0, 0,
|
203
|
+
1, 0, 0, 0, 0, 0, 0, 0,
|
204
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
205
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
206
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
207
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
208
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
209
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
210
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
211
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
212
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
213
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
214
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
215
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
216
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
217
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
218
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
219
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
220
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
221
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
222
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
223
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
224
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
225
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
226
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
227
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
228
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
229
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
230
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
231
|
+
1, 0, 0, 1, 1, 0, 0, 0
|
232
|
+
];
|
233
|
+
|
234
|
+
const _lexer_index_offsets = [
|
235
|
+
0, 0, 18, 35, 37, 39, 43, 48,
|
236
|
+
53, 58, 63, 67, 71, 74, 76, 78,
|
237
|
+
80, 82, 84, 86, 88, 90, 92, 94,
|
238
|
+
96, 98, 100, 102, 104, 106, 108, 111,
|
239
|
+
116, 123, 128, 130, 132, 134, 136, 138,
|
240
|
+
140, 142, 144, 151, 154, 157, 160, 163,
|
241
|
+
166, 183, 186, 189, 191, 193, 195, 197,
|
242
|
+
199, 213, 216, 219, 222, 225, 228, 231,
|
243
|
+
234, 237, 240, 243, 246, 249, 252, 255,
|
244
|
+
258, 262, 265, 268, 271, 274, 277, 280,
|
245
|
+
283, 286, 289, 292, 295, 298, 301, 304,
|
246
|
+
307, 310, 313, 316, 319, 322, 325, 328,
|
247
|
+
332, 335, 338, 341, 344, 347, 350, 353,
|
248
|
+
356, 359, 361, 363, 365, 367, 369, 371,
|
249
|
+
373, 375, 377, 379, 381, 392, 395, 398,
|
250
|
+
401, 404, 407, 410, 413, 416, 419, 422,
|
251
|
+
425, 428, 431, 434, 437, 440, 443, 446,
|
252
|
+
449, 452, 455, 458, 461, 464, 467, 470,
|
253
|
+
473, 476, 479, 482, 485, 488, 491, 494,
|
254
|
+
498, 501, 504, 507, 510, 513, 516, 518,
|
255
|
+
520, 522, 524, 526, 528, 530, 532, 534,
|
256
|
+
536, 538, 540, 542, 545, 547, 549, 551,
|
257
|
+
553, 555, 557, 559, 561, 563, 577, 580,
|
258
|
+
583, 586, 589, 592, 595, 598, 601, 604,
|
259
|
+
607, 610, 613, 616, 619, 622, 626, 629,
|
260
|
+
632, 635, 638, 641, 644, 647, 650, 653,
|
261
|
+
656, 659, 662, 665, 668, 671, 674, 677,
|
262
|
+
680, 683, 686, 689, 692, 695, 698, 701,
|
263
|
+
703, 705, 719, 722, 725, 728, 731, 734,
|
264
|
+
737, 740, 743, 746, 749, 752, 755, 758,
|
265
|
+
761, 764, 768, 772, 775, 778, 781, 784,
|
266
|
+
787, 790, 793, 796, 799, 802, 805, 808,
|
267
|
+
811, 814, 817, 820, 823, 826, 829, 832,
|
268
|
+
835, 838, 841, 845, 848, 851, 854, 857,
|
269
|
+
860, 863, 866, 869, 872, 874, 876, 878,
|
270
|
+
882, 888, 892, 895, 901, 918, 920, 922
|
271
|
+
];
|
272
|
+
|
273
|
+
const _lexer_indicies = [
|
274
|
+
2, 1, 3, 4, 5, 6, 7, 8,
|
275
|
+
9, 10, 11, 12, 13, 14, 15, 16,
|
276
|
+
1, 0, 2, 1, 3, 4, 5, 6,
|
277
|
+
7, 8, 9, 10, 11, 12, 13, 14,
|
278
|
+
15, 1, 0, 17, 0, 18, 0, 19,
|
279
|
+
18, 18, 0, 22, 21, 23, 21, 20,
|
280
|
+
26, 25, 27, 25, 24, 26, 25, 28,
|
281
|
+
25, 24, 26, 25, 29, 25, 24, 31,
|
282
|
+
30, 30, 0, 2, 32, 32, 0, 34,
|
283
|
+
35, 33, 2, 0, 36, 0, 37, 0,
|
284
|
+
38, 0, 39, 0, 40, 0, 41, 0,
|
285
|
+
42, 0, 43, 0, 44, 0, 45, 0,
|
286
|
+
46, 0, 47, 0, 48, 0, 49, 0,
|
287
|
+
50, 0, 0, 51, 53, 54, 52, 0,
|
288
|
+
0, 0, 0, 55, 56, 57, 56, 56,
|
289
|
+
59, 58, 55, 2, 60, 7, 60, 0,
|
290
|
+
61, 0, 62, 0, 63, 0, 64, 0,
|
291
|
+
65, 0, 66, 0, 68, 67, 70, 69,
|
292
|
+
70, 71, 72, 73, 72, 71, 69, 70,
|
293
|
+
74, 69, 70, 75, 69, 70, 76, 69,
|
294
|
+
70, 77, 69, 70, 78, 69, 80, 79,
|
295
|
+
81, 82, 83, 84, 85, 86, 87, 88,
|
296
|
+
89, 90, 91, 92, 93, 79, 0, 94,
|
297
|
+
95, 0, 96, 97, 0, 98, 0, 99,
|
298
|
+
0, 100, 0, 102, 101, 104, 103, 104,
|
299
|
+
105, 106, 107, 108, 106, 109, 110, 111,
|
300
|
+
112, 113, 114, 105, 103, 104, 115, 103,
|
301
|
+
104, 116, 103, 104, 117, 103, 104, 118,
|
302
|
+
103, 104, 119, 103, 104, 120, 103, 104,
|
303
|
+
121, 103, 104, 122, 103, 104, 123, 103,
|
304
|
+
104, 124, 103, 104, 125, 103, 104, 126,
|
305
|
+
103, 104, 127, 103, 104, 128, 103, 104,
|
306
|
+
129, 103, 104, 130, 131, 103, 104, 132,
|
307
|
+
103, 104, 133, 103, 104, 134, 103, 104,
|
308
|
+
130, 103, 104, 135, 103, 104, 136, 103,
|
309
|
+
104, 137, 103, 104, 138, 103, 104, 129,
|
310
|
+
103, 104, 139, 103, 104, 140, 103, 104,
|
311
|
+
141, 103, 104, 142, 103, 104, 132, 103,
|
312
|
+
104, 141, 103, 104, 143, 103, 104, 144,
|
313
|
+
103, 104, 145, 103, 104, 146, 103, 104,
|
314
|
+
147, 103, 104, 148, 103, 104, 149, 103,
|
315
|
+
104, 150, 129, 103, 104, 151, 103, 104,
|
316
|
+
152, 103, 104, 153, 103, 104, 154, 103,
|
317
|
+
104, 155, 103, 104, 138, 103, 104, 156,
|
318
|
+
103, 104, 157, 103, 104, 132, 103, 158,
|
319
|
+
0, 159, 0, 160, 0, 96, 0, 161,
|
320
|
+
0, 162, 0, 163, 0, 164, 0, 165,
|
321
|
+
0, 167, 166, 169, 168, 169, 170, 171,
|
322
|
+
172, 171, 173, 174, 175, 176, 170, 168,
|
323
|
+
169, 177, 168, 169, 178, 168, 169, 179,
|
324
|
+
168, 169, 180, 168, 169, 181, 168, 169,
|
325
|
+
182, 168, 169, 183, 168, 169, 184, 168,
|
326
|
+
169, 185, 168, 169, 186, 168, 169, 187,
|
327
|
+
168, 169, 188, 168, 169, 189, 168, 169,
|
328
|
+
190, 168, 169, 191, 168, 169, 192, 168,
|
329
|
+
169, 193, 168, 169, 194, 168, 169, 195,
|
330
|
+
168, 169, 196, 168, 169, 197, 168, 169,
|
331
|
+
198, 168, 169, 199, 168, 169, 195, 168,
|
332
|
+
169, 200, 168, 169, 201, 168, 169, 199,
|
333
|
+
168, 169, 202, 168, 169, 203, 168, 169,
|
334
|
+
204, 168, 169, 205, 168, 169, 206, 168,
|
335
|
+
169, 207, 168, 169, 208, 168, 169, 209,
|
336
|
+
196, 168, 169, 210, 168, 169, 211, 168,
|
337
|
+
169, 212, 168, 169, 213, 168, 169, 214,
|
338
|
+
168, 169, 195, 168, 215, 0, 216, 0,
|
339
|
+
217, 0, 218, 0, 96, 0, 217, 0,
|
340
|
+
219, 0, 220, 0, 221, 0, 222, 0,
|
341
|
+
223, 0, 224, 0, 225, 0, 226, 227,
|
342
|
+
0, 228, 0, 229, 0, 230, 0, 231,
|
343
|
+
0, 232, 0, 233, 0, 234, 0, 236,
|
344
|
+
235, 238, 237, 238, 239, 240, 241, 242,
|
345
|
+
240, 243, 244, 245, 246, 247, 248, 239,
|
346
|
+
237, 238, 249, 237, 238, 250, 237, 238,
|
347
|
+
251, 237, 238, 252, 237, 238, 253, 237,
|
348
|
+
238, 254, 237, 238, 255, 237, 238, 256,
|
349
|
+
237, 238, 257, 237, 238, 258, 237, 238,
|
350
|
+
259, 237, 238, 260, 237, 238, 261, 237,
|
351
|
+
238, 262, 237, 238, 263, 237, 238, 264,
|
352
|
+
265, 237, 238, 266, 237, 238, 267, 237,
|
353
|
+
238, 268, 237, 238, 264, 237, 238, 269,
|
354
|
+
237, 238, 270, 237, 238, 271, 237, 238,
|
355
|
+
272, 237, 238, 263, 237, 238, 273, 237,
|
356
|
+
238, 274, 237, 238, 275, 237, 238, 276,
|
357
|
+
237, 238, 266, 237, 238, 275, 237, 238,
|
358
|
+
277, 237, 238, 278, 237, 238, 279, 237,
|
359
|
+
238, 280, 237, 238, 281, 237, 238, 282,
|
360
|
+
237, 238, 272, 237, 238, 283, 237, 238,
|
361
|
+
284, 237, 238, 266, 237, 286, 285, 288,
|
362
|
+
287, 288, 289, 290, 291, 292, 290, 293,
|
363
|
+
294, 295, 296, 297, 298, 289, 287, 288,
|
364
|
+
299, 287, 288, 300, 287, 288, 301, 287,
|
365
|
+
288, 302, 287, 288, 303, 287, 288, 304,
|
366
|
+
287, 288, 305, 287, 288, 306, 287, 288,
|
367
|
+
307, 287, 288, 308, 287, 288, 309, 287,
|
368
|
+
288, 310, 287, 288, 311, 287, 288, 312,
|
369
|
+
287, 288, 313, 287, 288, 314, 315, 287,
|
370
|
+
288, 316, 317, 287, 288, 318, 287, 288,
|
371
|
+
319, 287, 288, 313, 287, 288, 320, 287,
|
372
|
+
288, 321, 287, 288, 322, 287, 288, 316,
|
373
|
+
287, 288, 323, 287, 288, 324, 287, 288,
|
374
|
+
318, 287, 288, 325, 287, 288, 326, 287,
|
375
|
+
288, 327, 287, 288, 328, 287, 288, 316,
|
376
|
+
287, 288, 327, 287, 288, 329, 287, 288,
|
377
|
+
330, 287, 288, 331, 287, 288, 332, 287,
|
378
|
+
288, 333, 287, 288, 334, 287, 288, 335,
|
379
|
+
287, 288, 336, 313, 287, 288, 337, 287,
|
380
|
+
288, 338, 287, 288, 339, 287, 288, 340,
|
381
|
+
287, 288, 341, 287, 288, 319, 287, 288,
|
382
|
+
342, 287, 288, 343, 287, 288, 316, 287,
|
383
|
+
344, 0, 345, 0, 96, 0, 346, 347,
|
384
|
+
346, 0, 350, 349, 351, 352, 349, 348,
|
385
|
+
0, 354, 355, 353, 0, 354, 353, 350,
|
386
|
+
356, 354, 355, 356, 353, 350, 357, 358,
|
387
|
+
359, 360, 361, 362, 363, 364, 365, 366,
|
388
|
+
367, 368, 369, 370, 357, 0, 371, 0,
|
389
|
+
1, 0, 372, 0
|
390
|
+
];
|
391
|
+
|
392
|
+
const _lexer_trans_targs = [
|
393
|
+
0, 2, 2, 3, 12, 14, 28, 31,
|
394
|
+
34, 49, 109, 158, 163, 164, 276, 279,
|
395
|
+
285, 4, 5, 6, 7, 7, 7, 8,
|
396
|
+
7, 7, 7, 8, 9, 10, 11, 2,
|
397
|
+
11, 12, 2, 13, 15, 16, 17, 18,
|
398
|
+
19, 20, 21, 22, 23, 24, 25, 26,
|
399
|
+
27, 287, 29, 30, 30, 2, 13, 32,
|
400
|
+
33, 2, 32, 31, 33, 35, 36, 37,
|
401
|
+
38, 39, 40, 41, 42, 41, 42, 42,
|
402
|
+
2, 43, 44, 45, 46, 47, 48, 2,
|
403
|
+
2, 3, 12, 14, 28, 31, 34, 49,
|
404
|
+
109, 158, 163, 164, 276, 279, 50, 105,
|
405
|
+
28, 51, 52, 53, 54, 55, 56, 55,
|
406
|
+
56, 56, 2, 57, 71, 72, 77, 82,
|
407
|
+
87, 88, 102, 58, 59, 60, 61, 62,
|
408
|
+
63, 64, 65, 66, 67, 68, 69, 70,
|
409
|
+
2, 48, 73, 74, 71, 75, 76, 78,
|
410
|
+
79, 80, 81, 83, 84, 85, 86, 89,
|
411
|
+
90, 91, 92, 93, 94, 95, 96, 97,
|
412
|
+
98, 99, 100, 101, 103, 104, 106, 107,
|
413
|
+
108, 110, 111, 112, 113, 114, 115, 116,
|
414
|
+
115, 116, 116, 2, 117, 131, 137, 141,
|
415
|
+
144, 118, 119, 120, 121, 122, 123, 124,
|
416
|
+
125, 126, 127, 128, 129, 130, 2, 132,
|
417
|
+
133, 134, 135, 136, 48, 138, 139, 140,
|
418
|
+
142, 143, 145, 146, 147, 148, 149, 150,
|
419
|
+
151, 152, 153, 154, 155, 156, 157, 159,
|
420
|
+
160, 161, 162, 165, 166, 167, 168, 169,
|
421
|
+
170, 171, 172, 223, 173, 174, 175, 176,
|
422
|
+
177, 178, 179, 180, 181, 180, 181, 181,
|
423
|
+
2, 182, 196, 197, 202, 207, 212, 213,
|
424
|
+
220, 183, 184, 185, 186, 187, 188, 189,
|
425
|
+
190, 191, 192, 193, 194, 195, 2, 48,
|
426
|
+
198, 199, 196, 200, 201, 203, 204, 205,
|
427
|
+
206, 208, 209, 210, 211, 214, 215, 216,
|
428
|
+
217, 218, 219, 221, 222, 224, 225, 224,
|
429
|
+
225, 225, 2, 226, 240, 241, 250, 253,
|
430
|
+
258, 259, 273, 227, 228, 229, 230, 231,
|
431
|
+
232, 233, 234, 235, 236, 237, 238, 239,
|
432
|
+
2, 48, 242, 246, 240, 243, 244, 245,
|
433
|
+
247, 248, 249, 251, 252, 254, 255, 256,
|
434
|
+
257, 260, 261, 262, 263, 264, 265, 266,
|
435
|
+
267, 268, 269, 270, 271, 272, 274, 275,
|
436
|
+
277, 278, 279, 280, 281, 283, 284, 282,
|
437
|
+
280, 281, 282, 280, 283, 284, 3, 12,
|
438
|
+
14, 28, 31, 34, 49, 109, 158, 163,
|
439
|
+
164, 276, 279, 286, 0
|
440
|
+
];
|
441
|
+
|
442
|
+
const _lexer_trans_actions = [
|
443
|
+
39, 0, 47, 3, 1, 0, 25, 1,
|
444
|
+
25, 25, 25, 25, 25, 25, 25, 31,
|
445
|
+
0, 0, 0, 47, 5, 41, 119, 41,
|
446
|
+
0, 29, 111, 29, 29, 0, 7, 95,
|
447
|
+
0, 0, 103, 21, 0, 0, 0, 0,
|
448
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
449
|
+
0, 0, 0, 50, 0, 99, 19, 0,
|
450
|
+
23, 107, 23, 44, 0, 0, 0, 0,
|
451
|
+
0, 0, 0, 50, 124, 0, 47, 0,
|
452
|
+
74, 77, 0, 0, 0, 0, 17, 27,
|
453
|
+
115, 53, 50, 27, 56, 50, 56, 56,
|
454
|
+
56, 56, 56, 56, 56, 59, 0, 0,
|
455
|
+
0, 0, 0, 0, 0, 50, 124, 0,
|
456
|
+
47, 0, 65, 29, 77, 77, 77, 77,
|
457
|
+
77, 77, 77, 0, 0, 0, 0, 0,
|
458
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
459
|
+
11, 11, 0, 0, 0, 0, 0, 0,
|
460
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
461
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
462
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
463
|
+
0, 0, 0, 0, 0, 0, 50, 124,
|
464
|
+
0, 47, 0, 62, 29, 77, 77, 77,
|
465
|
+
77, 0, 0, 0, 0, 0, 0, 0,
|
466
|
+
0, 0, 0, 0, 0, 0, 9, 0,
|
467
|
+
0, 0, 0, 0, 9, 0, 0, 0,
|
468
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
469
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
470
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
471
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
472
|
+
0, 0, 0, 50, 124, 0, 47, 0,
|
473
|
+
71, 29, 77, 77, 77, 77, 77, 77,
|
474
|
+
77, 0, 0, 0, 0, 0, 0, 0,
|
475
|
+
0, 0, 0, 0, 0, 0, 15, 15,
|
476
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
477
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
478
|
+
0, 0, 0, 0, 0, 50, 124, 0,
|
479
|
+
47, 0, 68, 29, 77, 77, 77, 77,
|
480
|
+
77, 77, 77, 0, 0, 0, 0, 0,
|
481
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
482
|
+
13, 13, 0, 0, 0, 0, 0, 0,
|
483
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
484
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
485
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
486
|
+
0, 0, 0, 0, 33, 33, 47, 33,
|
487
|
+
80, 0, 0, 35, 0, 0, 86, 83,
|
488
|
+
37, 89, 83, 89, 89, 89, 89, 89,
|
489
|
+
89, 89, 92, 0, 0
|
490
|
+
];
|
491
|
+
|
492
|
+
const _lexer_eof_actions = [
|
493
|
+
0, 39, 39, 39, 39, 39, 39, 39,
|
494
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
495
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
496
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
497
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
498
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
499
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
500
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
501
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
502
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
503
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
504
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
505
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
506
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
507
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
508
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
509
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
510
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
511
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
512
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
513
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
514
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
515
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
516
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
517
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
518
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
519
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
520
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
521
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
522
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
523
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
524
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
525
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
526
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
527
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
528
|
+
39, 39, 39, 39, 39, 39, 39, 39
|
529
|
+
];
|
530
|
+
|
531
|
+
const lexer_start = 1;
|
532
|
+
const lexer_first_final = 287;
|
533
|
+
const lexer_error = 0;
|
534
|
+
|
535
|
+
const lexer_en_main = 1;
|
536
|
+
|
537
|
+
|
538
|
+
/* line 110 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
539
|
+
|
540
|
+
/* line 111 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
541
|
+
|
542
|
+
/* line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
543
|
+
|
544
|
+
var Lexer = function(listeners) {
|
545
|
+
// check that we have an 'on' method (for registering event listeners - Node has that)
|
546
|
+
// If not, make a trivial implementation that can register one listener. -Enough for testing.
|
547
|
+
|
548
|
+
if(!this.on) {
|
549
|
+
this._listeners = {};
|
550
|
+
|
551
|
+
this.on = function(event, cb) {
|
552
|
+
this._listeners[event] = cb;
|
553
|
+
};
|
554
|
+
|
555
|
+
this.emit = function() {
|
556
|
+
var event = arguments[0];
|
557
|
+
var args = [];
|
558
|
+
for(var i = 1; i < arguments.length; i++) {
|
559
|
+
args.push(arguments[i]);
|
560
|
+
}
|
561
|
+
var cb = this._listeners[event];
|
562
|
+
cb.apply(listeners, args);
|
563
|
+
};
|
564
|
+
}
|
565
|
+
|
566
|
+
var events = ['feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'py_string', 'row', 'end'];
|
567
|
+
for(e in events) {
|
568
|
+
var event = events[e];
|
569
|
+
var listener = listeners[event];
|
570
|
+
// if(!listener) {
|
571
|
+
// throw "No listener for " + event;
|
572
|
+
// }
|
573
|
+
this.on(event, listener);
|
574
|
+
}
|
575
|
+
|
576
|
+
|
577
|
+
/* line 578 "js/lib/gherkin/lexer/i18n/id.js" */
|
578
|
+
{
|
579
|
+
this.cs = lexer_start;
|
580
|
+
} /* JSCodeGen::writeInit */
|
581
|
+
|
582
|
+
/* line 146 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
583
|
+
};
|
584
|
+
|
585
|
+
if(typeof require == 'function') {
|
586
|
+
require('sys').inherits(Lexer, require('events').EventEmitter);
|
587
|
+
}
|
588
|
+
|
589
|
+
Lexer.prototype.scan = function(data) {
|
590
|
+
var p = 0;
|
591
|
+
var pe = data.length;
|
592
|
+
var eof = 0;
|
593
|
+
|
594
|
+
|
595
|
+
/* line 596 "js/lib/gherkin/lexer/i18n/id.js" */
|
596
|
+
{
|
597
|
+
var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
|
598
|
+
var _goto_level, _resume, _eof_trans, _again, _test_eof;
|
599
|
+
var _out;
|
600
|
+
_klen = _trans = _keys = _acts = _nacts = null;
|
601
|
+
_goto_level = 0;
|
602
|
+
_resume = 10;
|
603
|
+
_eof_trans = 15;
|
604
|
+
_again = 20;
|
605
|
+
_test_eof = 30;
|
606
|
+
_out = 40;
|
607
|
+
while (true) {
|
608
|
+
_trigger_goto = false;
|
609
|
+
if (_goto_level <= 0) {
|
610
|
+
if (p == pe) {
|
611
|
+
_goto_level = _test_eof;
|
612
|
+
continue;
|
613
|
+
}
|
614
|
+
if ( this.cs == 0) {
|
615
|
+
_goto_level = _out;
|
616
|
+
continue;
|
617
|
+
}
|
618
|
+
}
|
619
|
+
if (_goto_level <= _resume) {
|
620
|
+
_keys = _lexer_key_offsets[ this.cs];
|
621
|
+
_trans = _lexer_index_offsets[ this.cs];
|
622
|
+
_klen = _lexer_single_lengths[ this.cs];
|
623
|
+
_break_match = false;
|
624
|
+
|
625
|
+
do {
|
626
|
+
if (_klen > 0) {
|
627
|
+
_lower = _keys;
|
628
|
+
_upper = _keys + _klen - 1;
|
629
|
+
|
630
|
+
while (true) {
|
631
|
+
if (_upper < _lower) { break; }
|
632
|
+
_mid = _lower + ( (_upper - _lower) >> 1 );
|
633
|
+
|
634
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
635
|
+
_upper = _mid - 1;
|
636
|
+
} else if ( data[p] > _lexer_trans_keys[_mid]) {
|
637
|
+
_lower = _mid + 1;
|
638
|
+
} else {
|
639
|
+
_trans += (_mid - _keys);
|
640
|
+
_break_match = true;
|
641
|
+
break;
|
642
|
+
};
|
643
|
+
} /* while */
|
644
|
+
if (_break_match) { break; }
|
645
|
+
_keys += _klen;
|
646
|
+
_trans += _klen;
|
647
|
+
}
|
648
|
+
_klen = _lexer_range_lengths[ this.cs];
|
649
|
+
if (_klen > 0) {
|
650
|
+
_lower = _keys;
|
651
|
+
_upper = _keys + (_klen << 1) - 2;
|
652
|
+
while (true) {
|
653
|
+
if (_upper < _lower) { break; }
|
654
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
|
655
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
656
|
+
_upper = _mid - 2;
|
657
|
+
} else if ( data[p] > _lexer_trans_keys[_mid+1]) {
|
658
|
+
_lower = _mid + 2;
|
659
|
+
} else {
|
660
|
+
_trans += ((_mid - _keys) >> 1);
|
661
|
+
_break_match = true;
|
662
|
+
break;
|
663
|
+
}
|
664
|
+
} /* while */
|
665
|
+
if (_break_match) { break; }
|
666
|
+
_trans += _klen
|
667
|
+
}
|
668
|
+
} while (false);
|
669
|
+
_trans = _lexer_indicies[_trans];
|
670
|
+
this.cs = _lexer_trans_targs[_trans];
|
671
|
+
if (_lexer_trans_actions[_trans] != 0) {
|
672
|
+
_acts = _lexer_trans_actions[_trans];
|
673
|
+
_nacts = _lexer_actions[_acts];
|
674
|
+
_acts += 1;
|
675
|
+
while (_nacts > 0) {
|
676
|
+
_nacts -= 1;
|
677
|
+
_acts += 1;
|
678
|
+
switch (_lexer_actions[_acts - 1]) {
|
679
|
+
case 0:
|
680
|
+
/* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
681
|
+
|
682
|
+
this.content_start = p;
|
683
|
+
this.current_line = this.line_number;
|
684
|
+
this.start_col = p - this.last_newline - (this.keyword+':').length;
|
685
|
+
break;
|
686
|
+
case 1:
|
687
|
+
/* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
688
|
+
|
689
|
+
this.current_line = this.line_number;
|
690
|
+
this.start_col = p - this.last_newline;
|
691
|
+
break;
|
692
|
+
case 2:
|
693
|
+
/* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
694
|
+
|
695
|
+
this.content_start = p;
|
696
|
+
break;
|
697
|
+
case 3:
|
698
|
+
/* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
699
|
+
|
700
|
+
var con = this.unindent(
|
701
|
+
this.start_col,
|
702
|
+
this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*\Z/, '') // TODO .replace(/\"\"\"/mg, '"""')
|
703
|
+
);
|
704
|
+
this.emit('py_string', con, this.current_line);
|
705
|
+
break;
|
706
|
+
case 4:
|
707
|
+
/* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
708
|
+
|
709
|
+
p = this.store_keyword_content('feature', data, p, eof);
|
710
|
+
break;
|
711
|
+
case 5:
|
712
|
+
/* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
713
|
+
|
714
|
+
p = this.store_keyword_content('background', data, p, eof);
|
715
|
+
break;
|
716
|
+
case 6:
|
717
|
+
/* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
718
|
+
|
719
|
+
p = this.store_keyword_content('scenario', data, p, eof);
|
720
|
+
break;
|
721
|
+
case 7:
|
722
|
+
/* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
723
|
+
|
724
|
+
p = this.store_keyword_content('scenario_outline', data, p, eof);
|
725
|
+
break;
|
726
|
+
case 8:
|
727
|
+
/* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
728
|
+
|
729
|
+
p = this.store_keyword_content('examples', data, p, eof);
|
730
|
+
break;
|
731
|
+
case 9:
|
732
|
+
/* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
733
|
+
|
734
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
735
|
+
this.emit('step', this.keyword, con, this.current_line);
|
736
|
+
break;
|
737
|
+
case 10:
|
738
|
+
/* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
739
|
+
|
740
|
+
console.log('TODO: store_comment_content');
|
741
|
+
break;
|
742
|
+
case 11:
|
743
|
+
/* line 58 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
744
|
+
|
745
|
+
console.log('TODO: store_tag_content');
|
746
|
+
break;
|
747
|
+
case 12:
|
748
|
+
/* line 62 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
749
|
+
|
750
|
+
this.line_number++;
|
751
|
+
break;
|
752
|
+
case 13:
|
753
|
+
/* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
754
|
+
|
755
|
+
this.last_newline = p + 1;
|
756
|
+
break;
|
757
|
+
case 14:
|
758
|
+
/* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
759
|
+
|
760
|
+
this.keyword_start = this.keyword_start || p;
|
761
|
+
break;
|
762
|
+
case 15:
|
763
|
+
/* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
764
|
+
|
765
|
+
this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
|
766
|
+
this.keyword_start = null;
|
767
|
+
break;
|
768
|
+
case 16:
|
769
|
+
/* line 79 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
770
|
+
|
771
|
+
this.next_keyword_start = p;
|
772
|
+
break;
|
773
|
+
case 17:
|
774
|
+
/* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
775
|
+
|
776
|
+
p = p - 1;
|
777
|
+
current_row = [];
|
778
|
+
this.current_line = this.line_number;
|
779
|
+
break;
|
780
|
+
case 18:
|
781
|
+
/* line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
782
|
+
|
783
|
+
this.content_start = p;
|
784
|
+
break;
|
785
|
+
case 19:
|
786
|
+
/* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
787
|
+
|
788
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
789
|
+
current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
|
790
|
+
break;
|
791
|
+
case 20:
|
792
|
+
/* line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
793
|
+
|
794
|
+
this.emit('row', current_row, this.current_line);
|
795
|
+
break;
|
796
|
+
case 21:
|
797
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
798
|
+
|
799
|
+
console.log('TODO: end_feature');
|
800
|
+
break;
|
801
|
+
/* line 802 "js/lib/gherkin/lexer/i18n/id.js" */
|
802
|
+
} /* action switch */
|
803
|
+
}
|
804
|
+
}
|
805
|
+
if (_trigger_goto) {
|
806
|
+
continue;
|
807
|
+
}
|
808
|
+
}
|
809
|
+
if (_goto_level <= _again) {
|
810
|
+
if ( this.cs == 0) {
|
811
|
+
_goto_level = _out;
|
812
|
+
continue;
|
813
|
+
}
|
814
|
+
p += 1;
|
815
|
+
if (p != pe) {
|
816
|
+
_goto_level = _resume;
|
817
|
+
continue;
|
818
|
+
}
|
819
|
+
}
|
820
|
+
if (_goto_level <= _test_eof) {
|
821
|
+
if (p == eof) {
|
822
|
+
__acts = _lexer_eof_actions[ this.cs];
|
823
|
+
__nacts = _lexer_actions[__acts];
|
824
|
+
__acts += 1;
|
825
|
+
while (__nacts > 0) {
|
826
|
+
__nacts -= 1;
|
827
|
+
__acts += 1;
|
828
|
+
switch (_lexer_actions[__acts - 1]) {
|
829
|
+
case 21:
|
830
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
831
|
+
|
832
|
+
console.log('TODO: end_feature');
|
833
|
+
break;
|
834
|
+
/* line 835 "js/lib/gherkin/lexer/i18n/id.js" */
|
835
|
+
} /* eof action switch */
|
836
|
+
}
|
837
|
+
if (_trigger_goto) {
|
838
|
+
continue;
|
839
|
+
}
|
840
|
+
}
|
841
|
+
}
|
842
|
+
if (_goto_level <= _out) {
|
843
|
+
break;
|
844
|
+
}
|
845
|
+
}
|
846
|
+
}
|
847
|
+
|
848
|
+
/* line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/id.js.rl" */
|
849
|
+
};
|
850
|
+
|
851
|
+
Lexer.prototype.bytesToString = function(bytes) {
|
852
|
+
if(typeof bytes.write == 'function') {
|
853
|
+
// Node.js
|
854
|
+
return bytes.toString('utf-8');
|
855
|
+
} else {
|
856
|
+
var result = "";
|
857
|
+
for(var b in bytes) {
|
858
|
+
result += String.fromCharCode(bytes[b]);
|
859
|
+
}
|
860
|
+
return result;
|
861
|
+
}
|
862
|
+
}
|
863
|
+
|
864
|
+
Lexer.prototype.unindent = function(startcol, text) {
|
865
|
+
startcol = startcol || 0;
|
866
|
+
return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
|
867
|
+
};
|
868
|
+
|
869
|
+
Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
|
870
|
+
var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
|
871
|
+
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).trimRight();
|
872
|
+
var content_lines = content.split("\n")
|
873
|
+
var name = content_lines.shift() || "";
|
874
|
+
name = name.trim();
|
875
|
+
var description = content_lines.join("\n");
|
876
|
+
this.emit(event, this.keyword, name, description, this.current_line);
|
877
|
+
var nks = this.next_keyword_start;
|
878
|
+
this.next_keyword_start = null;
|
879
|
+
return nks ? nks - 1 : p;
|
880
|
+
};
|
881
|
+
|
882
|
+
exports.Lexer = Lexer;
|
883
|
+
|
884
|
+
})();
|