gherkin 2.4.18 → 2.4.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +6 -7
- data/History.md +9 -0
- data/README.md +2 -2
- data/ext/gherkin_lexer_ar/extconf.rb +6 -0
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +1428 -0
- data/ext/gherkin_lexer_bg/extconf.rb +6 -0
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +1654 -0
- data/ext/gherkin_lexer_ca/extconf.rb +6 -0
- data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +1580 -0
- data/ext/gherkin_lexer_cs/extconf.rb +6 -0
- data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +1426 -0
- data/ext/gherkin_lexer_cy_gb/extconf.rb +6 -0
- data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +1281 -0
- data/ext/gherkin_lexer_da/extconf.rb +6 -0
- data/ext/gherkin_lexer_da/gherkin_lexer_da.c +1297 -0
- data/ext/gherkin_lexer_de/extconf.rb +6 -0
- data/ext/gherkin_lexer_de/gherkin_lexer_de.c +1414 -0
- data/ext/gherkin_lexer_en/extconf.rb +6 -0
- data/ext/gherkin_lexer_en/gherkin_lexer_en.c +1264 -0
- data/ext/gherkin_lexer_en_au/extconf.rb +6 -0
- data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +1225 -0
- data/ext/gherkin_lexer_en_lol/extconf.rb +6 -0
- data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +1174 -0
- data/ext/gherkin_lexer_en_pirate/extconf.rb +6 -0
- data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +1470 -0
- data/ext/gherkin_lexer_en_scouse/extconf.rb +6 -0
- data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +1631 -0
- data/ext/gherkin_lexer_en_tx/extconf.rb +6 -0
- data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +1264 -0
- data/ext/gherkin_lexer_eo/extconf.rb +6 -0
- data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +1240 -0
- data/ext/gherkin_lexer_es/extconf.rb +6 -0
- data/ext/gherkin_lexer_es/gherkin_lexer_es.c +1379 -0
- data/ext/gherkin_lexer_et/extconf.rb +6 -0
- data/ext/gherkin_lexer_et/gherkin_lexer_et.c +1235 -0
- data/ext/gherkin_lexer_fi/extconf.rb +6 -0
- data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +1214 -0
- data/ext/gherkin_lexer_fr/extconf.rb +6 -0
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +1450 -0
- data/ext/gherkin_lexer_he/extconf.rb +6 -0
- data/ext/gherkin_lexer_he/gherkin_lexer_he.c +1373 -0
- data/ext/gherkin_lexer_hr/extconf.rb +6 -0
- data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +1322 -0
- data/ext/gherkin_lexer_hu/extconf.rb +6 -0
- data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +1373 -0
- data/ext/gherkin_lexer_id/extconf.rb +6 -0
- data/ext/gherkin_lexer_id/gherkin_lexer_id.c +1207 -0
- data/ext/gherkin_lexer_is/extconf.rb +6 -0
- data/ext/gherkin_lexer_is/gherkin_lexer_is.c +1375 -0
- data/ext/gherkin_lexer_it/extconf.rb +6 -0
- data/ext/gherkin_lexer_it/gherkin_lexer_it.c +1331 -0
- data/ext/gherkin_lexer_ja/extconf.rb +6 -0
- data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +1698 -0
- data/ext/gherkin_lexer_ko/extconf.rb +6 -0
- data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +1359 -0
- data/ext/gherkin_lexer_lt/extconf.rb +6 -0
- data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +1294 -0
- data/ext/gherkin_lexer_lu/extconf.rb +6 -0
- data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +1388 -0
- data/ext/gherkin_lexer_lv/extconf.rb +6 -0
- data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +1424 -0
- data/ext/gherkin_lexer_nl/extconf.rb +6 -0
- data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +1367 -0
- data/ext/gherkin_lexer_no/extconf.rb +6 -0
- data/ext/gherkin_lexer_no/gherkin_lexer_no.c +1310 -0
- data/ext/gherkin_lexer_pl/extconf.rb +6 -0
- data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +1476 -0
- data/ext/gherkin_lexer_pt/extconf.rb +6 -0
- data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +1326 -0
- data/ext/gherkin_lexer_ro/extconf.rb +6 -0
- data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +1424 -0
- data/ext/gherkin_lexer_ru/extconf.rb +6 -0
- data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2056 -0
- data/ext/gherkin_lexer_sk/extconf.rb +6 -0
- data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +1297 -0
- data/ext/gherkin_lexer_sr_cyrl/extconf.rb +6 -0
- data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2111 -0
- data/ext/gherkin_lexer_sr_latn/extconf.rb +6 -0
- data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +1566 -0
- data/ext/gherkin_lexer_sv/extconf.rb +6 -0
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +1323 -0
- data/ext/gherkin_lexer_tr/extconf.rb +6 -0
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +1346 -0
- data/ext/gherkin_lexer_uk/extconf.rb +6 -0
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +1940 -0
- data/ext/gherkin_lexer_uz/extconf.rb +6 -0
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +1650 -0
- data/ext/gherkin_lexer_vi/extconf.rb +6 -0
- data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +1457 -0
- data/ext/gherkin_lexer_zh_cn/extconf.rb +6 -0
- data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +1222 -0
- data/ext/gherkin_lexer_zh_tw/extconf.rb +6 -0
- data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +1264 -0
- data/gherkin.gemspec +9 -3
- data/lib/gherkin/formatter/filter_formatter.rb +6 -1
- data/lib/gherkin/rb_lexer/ar.rb +1162 -0
- data/lib/gherkin/rb_lexer/bg.rb +1374 -0
- data/lib/gherkin/rb_lexer/ca.rb +1304 -0
- data/lib/gherkin/rb_lexer/cs.rb +1156 -0
- data/lib/gherkin/rb_lexer/cy_gb.rb +1026 -0
- data/lib/gherkin/rb_lexer/da.rb +1040 -0
- data/lib/gherkin/rb_lexer/de.rb +1150 -0
- data/lib/gherkin/rb_lexer/en.rb +1008 -0
- data/lib/gherkin/rb_lexer/en_au.rb +972 -0
- data/lib/gherkin/rb_lexer/en_lol.rb +927 -0
- data/lib/gherkin/rb_lexer/en_pirate.rb +1204 -0
- data/lib/gherkin/rb_lexer/en_scouse.rb +1355 -0
- data/lib/gherkin/rb_lexer/en_tx.rb +1010 -0
- data/lib/gherkin/rb_lexer/eo.rb +989 -0
- data/lib/gherkin/rb_lexer/es.rb +1116 -0
- data/lib/gherkin/rb_lexer/et.rb +982 -0
- data/lib/gherkin/rb_lexer/fi.rb +963 -0
- data/lib/gherkin/rb_lexer/fr.rb +1184 -0
- data/lib/gherkin/rb_lexer/he.rb +1110 -0
- data/lib/gherkin/rb_lexer/hr.rb +1060 -0
- data/lib/gherkin/rb_lexer/hu.rb +1111 -0
- data/lib/gherkin/rb_lexer/id.rb +957 -0
- data/lib/gherkin/rb_lexer/is.rb +1114 -0
- data/lib/gherkin/rb_lexer/it.rb +1075 -0
- data/lib/gherkin/rb_lexer/ja.rb +1412 -0
- data/lib/gherkin/rb_lexer/ko.rb +1096 -0
- data/lib/gherkin/rb_lexer/lt.rb +1038 -0
- data/lib/gherkin/rb_lexer/lu.rb +1126 -0
- data/lib/gherkin/rb_lexer/lv.rb +1158 -0
- data/lib/gherkin/rb_lexer/nl.rb +1109 -0
- data/lib/gherkin/rb_lexer/no.rb +1052 -0
- data/lib/gherkin/rb_lexer/pl.rb +1208 -0
- data/lib/gherkin/rb_lexer/pt.rb +1066 -0
- data/lib/gherkin/rb_lexer/ro.rb +1155 -0
- data/lib/gherkin/rb_lexer/ru.rb +1747 -0
- data/lib/gherkin/rb_lexer/sk.rb +1040 -0
- data/lib/gherkin/rb_lexer/sr_cyrl.rb +1797 -0
- data/lib/gherkin/rb_lexer/sr_latn.rb +1288 -0
- data/lib/gherkin/rb_lexer/sv.rb +1064 -0
- data/lib/gherkin/rb_lexer/tr.rb +1086 -0
- data/lib/gherkin/rb_lexer/uk.rb +1640 -0
- data/lib/gherkin/rb_lexer/uz.rb +1370 -0
- data/lib/gherkin/rb_lexer/vi.rb +1190 -0
- data/lib/gherkin/rb_lexer/zh_cn.rb +968 -0
- data/lib/gherkin/rb_lexer/zh_tw.rb +1006 -0
- data/spec/gherkin/fixtures/examples_with_only_header.feature +14 -0
- data/spec/gherkin/formatter/filter_formatter_spec.rb +21 -0
- data/tasks/gems.rake +9 -1
- metadata +30 -39
- data/.gitignore +0 -13
- data/ikvm/.gitignore +0 -3
- data/java/.gitignore +0 -5
- data/java/src/main/java/gherkin/lexer/i18n/.gitignore +0 -1
- data/java/src/main/resources/gherkin/.gitignore +0 -1
- data/js/.gitignore +0 -1
- data/js/lib/gherkin/lexer/.gitignore +0 -1
- data/lib/.gitignore +0 -4
- data/lib/gherkin/rb_lexer/.gitignore +0 -1
- data/ragel/i18n/.gitignore +0 -1
- data/tasks/bench/generated/.gitignore +0 -1
@@ -0,0 +1,1650 @@
|
|
1
|
+
|
2
|
+
#line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
3
|
+
#include <assert.h>
|
4
|
+
#include <ruby.h>
|
5
|
+
|
6
|
+
#if defined(_WIN32)
|
7
|
+
#include <stddef.h>
|
8
|
+
#endif
|
9
|
+
|
10
|
+
#ifdef HAVE_RUBY_RE_H
|
11
|
+
#include <ruby/re.h>
|
12
|
+
#else
|
13
|
+
#include <re.h>
|
14
|
+
#endif
|
15
|
+
|
16
|
+
#ifdef HAVE_RUBY_ENCODING_H
|
17
|
+
#include <ruby/encoding.h>
|
18
|
+
#define ENCODED_STR_NEW(ptr, len) \
|
19
|
+
rb_enc_str_new(ptr, len, rb_utf8_encoding())
|
20
|
+
#else
|
21
|
+
#define ENCODED_STR_NEW(ptr, len) \
|
22
|
+
rb_str_new(ptr, len)
|
23
|
+
#endif
|
24
|
+
|
25
|
+
#ifndef RSTRING_PTR
|
26
|
+
#define RSTRING_PTR(s) (RSTRING(s)->ptr)
|
27
|
+
#endif
|
28
|
+
|
29
|
+
#ifndef RSTRING_LEN
|
30
|
+
#define RSTRING_LEN(s) (RSTRING(s)->len)
|
31
|
+
#endif
|
32
|
+
|
33
|
+
#define DATA_GET(FROM, TYPE, NAME) \
|
34
|
+
Data_Get_Struct(FROM, TYPE, NAME); \
|
35
|
+
if (NAME == NULL) { \
|
36
|
+
rb_raise(rb_eArgError, "NULL found for " # NAME " when it shouldn't be."); \
|
37
|
+
}
|
38
|
+
|
39
|
+
typedef struct lexer_state {
|
40
|
+
int content_len;
|
41
|
+
int line_number;
|
42
|
+
int current_line;
|
43
|
+
int start_col;
|
44
|
+
size_t mark;
|
45
|
+
size_t keyword_start;
|
46
|
+
size_t keyword_end;
|
47
|
+
size_t next_keyword_start;
|
48
|
+
size_t content_start;
|
49
|
+
size_t content_end;
|
50
|
+
size_t docstring_content_type_start;
|
51
|
+
size_t docstring_content_type_end;
|
52
|
+
size_t query_start;
|
53
|
+
size_t last_newline;
|
54
|
+
size_t final_newline;
|
55
|
+
} lexer_state;
|
56
|
+
|
57
|
+
static VALUE mGherkin;
|
58
|
+
static VALUE mGherkinLexer;
|
59
|
+
static VALUE mCLexer;
|
60
|
+
static VALUE cI18nLexer;
|
61
|
+
static VALUE rb_eGherkinLexingError;
|
62
|
+
|
63
|
+
#define LEN(AT, P) (P - data - lexer->AT)
|
64
|
+
#define MARK(M, P) (lexer->M = (P) - data)
|
65
|
+
#define PTR_TO(P) (data + lexer->P)
|
66
|
+
|
67
|
+
#define STORE_KW_END_CON(EVENT) \
|
68
|
+
store_multiline_kw_con(listener, # EVENT, \
|
69
|
+
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end - 1)), \
|
70
|
+
PTR_TO(content_start), LEN(content_start, PTR_TO(content_end)), \
|
71
|
+
lexer->current_line, lexer->start_col); \
|
72
|
+
if (lexer->content_end != 0) { \
|
73
|
+
p = PTR_TO(content_end - 1); \
|
74
|
+
} \
|
75
|
+
lexer->content_end = 0
|
76
|
+
|
77
|
+
#define STORE_ATTR(ATTR) \
|
78
|
+
store_attr(listener, # ATTR, \
|
79
|
+
PTR_TO(content_start), LEN(content_start, p), \
|
80
|
+
lexer->line_number)
|
81
|
+
|
82
|
+
|
83
|
+
#line 254 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
84
|
+
|
85
|
+
|
86
|
+
/** Data **/
|
87
|
+
|
88
|
+
#line 89 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
89
|
+
static const char _lexer_actions[] = {
|
90
|
+
0, 1, 0, 1, 1, 1, 2, 1,
|
91
|
+
3, 1, 4, 1, 5, 1, 6, 1,
|
92
|
+
7, 1, 8, 1, 9, 1, 10, 1,
|
93
|
+
11, 1, 12, 1, 13, 1, 16, 1,
|
94
|
+
17, 1, 18, 1, 19, 1, 20, 1,
|
95
|
+
21, 1, 22, 1, 23, 2, 1, 18,
|
96
|
+
2, 4, 5, 2, 13, 0, 2, 14,
|
97
|
+
15, 2, 17, 0, 2, 17, 2, 2,
|
98
|
+
17, 16, 2, 17, 19, 2, 18, 6,
|
99
|
+
2, 18, 7, 2, 18, 8, 2, 18,
|
100
|
+
9, 2, 18, 10, 2, 18, 16, 2,
|
101
|
+
20, 21, 2, 22, 0, 2, 22, 2,
|
102
|
+
2, 22, 16, 2, 22, 19, 3, 3,
|
103
|
+
14, 15, 3, 5, 14, 15, 3, 11,
|
104
|
+
14, 15, 3, 12, 14, 15, 3, 13,
|
105
|
+
14, 15, 3, 14, 15, 18, 3, 17,
|
106
|
+
14, 15, 4, 1, 14, 15, 18, 4,
|
107
|
+
4, 5, 14, 15, 4, 17, 0, 14,
|
108
|
+
15
|
109
|
+
};
|
110
|
+
|
111
|
+
static const short _lexer_key_offsets[] = {
|
112
|
+
0, 0, 12, 21, 22, 24, 25, 26,
|
113
|
+
27, 28, 29, 30, 32, 43, 44, 45,
|
114
|
+
47, 49, 54, 59, 64, 69, 73, 77,
|
115
|
+
79, 80, 81, 82, 83, 84, 85, 86,
|
116
|
+
87, 88, 89, 90, 91, 92, 93, 94,
|
117
|
+
99, 106, 111, 115, 121, 124, 126, 132,
|
118
|
+
143, 144, 145, 146, 147, 148, 149, 150,
|
119
|
+
151, 152, 153, 154, 155, 156, 157, 158,
|
120
|
+
159, 160, 161, 162, 163, 164, 165, 166,
|
121
|
+
167, 168, 169, 170, 171, 172, 173, 174,
|
122
|
+
175, 176, 177, 178, 179, 180, 181, 182,
|
123
|
+
189, 191, 193, 195, 197, 199, 201, 203,
|
124
|
+
205, 207, 209, 211, 213, 215, 217, 219,
|
125
|
+
221, 223, 225, 227, 229, 240, 241, 242,
|
126
|
+
243, 244, 245, 246, 247, 248, 249, 250,
|
127
|
+
251, 252, 253, 254, 256, 257, 258, 259,
|
128
|
+
260, 261, 262, 263, 264, 265, 266, 267,
|
129
|
+
268, 269, 270, 271, 272, 273, 274, 275,
|
130
|
+
276, 277, 278, 279, 280, 281, 290, 298,
|
131
|
+
300, 303, 305, 307, 309, 311, 313, 315,
|
132
|
+
317, 319, 321, 323, 325, 327, 329, 331,
|
133
|
+
333, 335, 337, 339, 341, 343, 345, 347,
|
134
|
+
349, 351, 353, 355, 357, 359, 361, 363,
|
135
|
+
365, 367, 369, 371, 373, 375, 377, 379,
|
136
|
+
381, 383, 385, 387, 389, 391, 393, 395,
|
137
|
+
397, 399, 401, 403, 405, 407, 409, 411,
|
138
|
+
413, 415, 417, 419, 421, 423, 425, 427,
|
139
|
+
429, 431, 433, 435, 437, 439, 441, 443,
|
140
|
+
445, 447, 449, 451, 453, 455, 457, 459,
|
141
|
+
460, 461, 470, 479, 481, 484, 486, 488,
|
142
|
+
490, 492, 494, 496, 498, 500, 502, 504,
|
143
|
+
506, 508, 510, 512, 514, 516, 518, 520,
|
144
|
+
522, 524, 526, 528, 530, 532, 534, 536,
|
145
|
+
538, 540, 542, 544, 546, 548, 550, 552,
|
146
|
+
554, 556, 558, 560, 562, 564, 566, 569,
|
147
|
+
571, 573, 575, 577, 579, 581, 583, 585,
|
148
|
+
587, 589, 591, 593, 595, 597, 599, 601,
|
149
|
+
603, 605, 607, 609, 611, 613, 615, 617,
|
150
|
+
619, 621, 623, 625, 627, 629, 631, 633,
|
151
|
+
635, 637, 639, 641, 643, 645, 647, 649,
|
152
|
+
651, 653, 655, 657, 659, 661, 663, 665,
|
153
|
+
667, 669, 671, 673, 675, 677, 679, 681,
|
154
|
+
683, 685, 687, 689, 691, 693, 695, 697,
|
155
|
+
699, 701, 703, 704, 705, 706, 707, 708,
|
156
|
+
709, 710, 711, 712, 713, 714, 723, 731,
|
157
|
+
733, 736, 738, 740, 742, 744, 746, 748,
|
158
|
+
750, 752, 754, 756, 758, 760, 762, 764,
|
159
|
+
766, 768, 770, 772, 774, 776, 778, 780,
|
160
|
+
782, 784, 786, 788, 790, 792, 794, 796,
|
161
|
+
798, 800, 802, 804, 806, 808, 810, 812,
|
162
|
+
814, 816, 818, 821, 823, 825, 827, 829,
|
163
|
+
831, 833, 835, 837, 839, 841, 843, 845,
|
164
|
+
847, 849, 851, 853, 855, 857, 859, 861,
|
165
|
+
863, 865, 867, 869, 871, 873, 875, 877,
|
166
|
+
879, 881, 883, 885, 887, 889, 891, 893,
|
167
|
+
895, 897, 899, 901, 903, 905, 907, 909,
|
168
|
+
911, 913, 915, 917, 919, 921, 923, 925,
|
169
|
+
927, 929, 931, 933, 935, 937, 939, 940,
|
170
|
+
941, 942, 943, 944, 945, 946, 947, 948,
|
171
|
+
949, 950, 951, 952, 953, 954, 955, 956,
|
172
|
+
957, 958, 959, 960, 961, 962, 963, 964,
|
173
|
+
972, 977, 979, 981, 983, 985, 987, 989,
|
174
|
+
991, 993, 995, 997, 999, 1001, 1003, 1005,
|
175
|
+
1007, 1009, 1011, 1013, 1015, 1017, 1019, 1021,
|
176
|
+
1023, 1025, 1027, 1029, 1031, 1033, 1035, 1038,
|
177
|
+
1040, 1042, 1044, 1046, 1048, 1050, 1052, 1054,
|
178
|
+
1056, 1058, 1060, 1062, 1064, 1066, 1068, 1070,
|
179
|
+
1072, 1074, 1076, 1078, 1080, 1082, 1084, 1086,
|
180
|
+
1088, 1090, 1092, 1094, 1096, 1098, 1100, 1102,
|
181
|
+
1104, 1106, 1108, 1110, 1112, 1114, 1116, 1118,
|
182
|
+
1120, 1122, 1124, 1126, 1128, 1130, 1132, 1134,
|
183
|
+
1136, 1138, 1140, 1142, 1144, 1146, 1148, 1150,
|
184
|
+
1152, 1154, 1156, 1158, 1160, 1162, 1163, 1164
|
185
|
+
};
|
186
|
+
|
187
|
+
static const char _lexer_trans_keys[] = {
|
188
|
+
-48, -17, 10, 32, 34, 35, 37, 42,
|
189
|
+
64, 124, 9, 13, -112, -111, -110, -101,
|
190
|
+
-100, -95, -94, -93, -92, -48, -77, -68,
|
191
|
+
-48, -80, -47, -128, 32, 10, 10, 13,
|
192
|
+
-48, 10, 32, 34, 35, 37, 42, 64,
|
193
|
+
124, 9, 13, 34, 34, 10, 13, 10,
|
194
|
+
13, 10, 32, 34, 9, 13, 10, 32,
|
195
|
+
34, 9, 13, 10, 32, 34, 9, 13,
|
196
|
+
10, 32, 34, 9, 13, 10, 32, 9,
|
197
|
+
13, 10, 32, 9, 13, 10, 13, 10,
|
198
|
+
95, 70, 69, 65, 84, 85, 82, 69,
|
199
|
+
95, 69, 78, 68, 95, 37, 13, 32,
|
200
|
+
64, 9, 10, 9, 10, 13, 32, 64,
|
201
|
+
11, 12, 10, 32, 64, 9, 13, 32,
|
202
|
+
124, 9, 13, 10, 32, 92, 124, 9,
|
203
|
+
13, 10, 92, 124, 10, 92, 10, 32,
|
204
|
+
92, 124, 9, 13, -48, 10, 32, 34,
|
205
|
+
35, 37, 42, 64, 124, 9, 13, -48,
|
206
|
+
-68, -48, -66, -48, -72, -47, -128, -48,
|
207
|
+
-66, -48, -70, -48, -80, -48, -75, -48,
|
208
|
+
-70, -48, -72, -48, -67, -48, -72, -47,
|
209
|
+
-127, -48, -66, -48, -69, -48, -69, -48,
|
210
|
+
-80, -47, -128, 58, 10, 10, -48, 10,
|
211
|
+
32, 35, 124, 9, 13, -92, 10, -47,
|
212
|
+
10, -125, 10, -48, 10, -67, 10, -48,
|
213
|
+
10, -70, 10, -47, 10, -122, 10, -48,
|
214
|
+
10, -72, 10, -48, 10, -66, 10, -48,
|
215
|
+
10, -67, 10, -48, 10, -80, 10, -48,
|
216
|
+
10, -69, 10, 10, 58, -48, 10, 32,
|
217
|
+
34, 35, 37, 42, 64, 124, 9, 13,
|
218
|
+
-47, -122, -48, -75, -48, -67, -48, -80,
|
219
|
+
-47, -128, -48, -72, -48, -71, 32, 58,
|
220
|
+
-47, -127, -47, -126, -47, -128, -47, -125,
|
221
|
+
-48, -70, -47, -126, -47, -125, -47, -128,
|
222
|
+
-48, -80, -47, -127, -48, -72, 58, 10,
|
223
|
+
10, -48, 10, 32, 35, 37, 42, 64,
|
224
|
+
9, 13, -112, -111, -110, -101, -95, -93,
|
225
|
+
-92, 10, -48, 10, -77, -68, 10, -48,
|
226
|
+
10, -80, 10, -47, 10, -128, 10, 10,
|
227
|
+
32, -48, 10, -68, 10, -48, 10, -66,
|
228
|
+
10, -48, 10, -72, 10, -47, 10, -128,
|
229
|
+
10, -48, 10, -66, 10, -48, 10, -70,
|
230
|
+
10, -48, 10, -80, 10, -48, 10, -75,
|
231
|
+
10, -48, 10, -70, 10, -48, 10, -72,
|
232
|
+
10, -48, 10, -67, 10, -47, 10, -122,
|
233
|
+
10, -48, 10, -75, 10, -48, 10, -67,
|
234
|
+
10, -48, 10, -80, 10, -47, 10, -128,
|
235
|
+
10, -48, 10, -72, 10, -48, 10, -71,
|
236
|
+
10, 10, 58, -48, 10, -67, 10, -48,
|
237
|
+
10, -76, 10, -47, 10, -125, 10, -48,
|
238
|
+
10, -67, 10, -48, 10, -70, 10, -47,
|
239
|
+
10, -122, 10, -48, 10, -72, 10, -48,
|
240
|
+
10, -66, 10, -48, 10, -67, 10, -48,
|
241
|
+
10, -80, 10, -48, 10, -69, 10, 10,
|
242
|
+
95, 10, 70, 10, 69, 10, 65, 10,
|
243
|
+
84, 10, 85, 10, 82, 10, 69, 10,
|
244
|
+
95, 10, 69, 10, 78, 10, 68, 10,
|
245
|
+
95, 10, 37, 10, 10, -48, 10, 32,
|
246
|
+
35, 37, 42, 64, 9, 13, -112, -111,
|
247
|
+
-110, -101, -95, -94, -93, -92, 10, -48,
|
248
|
+
10, -77, -68, 10, -48, 10, -80, 10,
|
249
|
+
-47, 10, -128, 10, 10, 32, -48, 10,
|
250
|
+
-68, 10, -48, 10, -66, 10, -48, 10,
|
251
|
+
-72, 10, -47, 10, -128, 10, -48, 10,
|
252
|
+
-66, 10, -48, 10, -70, 10, -48, 10,
|
253
|
+
-80, 10, -48, 10, -75, 10, -48, 10,
|
254
|
+
-70, 10, -48, 10, -72, 10, -48, 10,
|
255
|
+
-67, 10, -47, 10, -122, 10, -48, 10,
|
256
|
+
-75, 10, -48, 10, -67, 10, -48, 10,
|
257
|
+
-80, 10, -47, 10, -128, 10, -48, 10,
|
258
|
+
-72, 10, -48, 10, -71, 10, 10, 32,
|
259
|
+
58, -47, 10, -127, 10, -47, 10, -126,
|
260
|
+
10, -47, 10, -128, 10, -47, 10, -125,
|
261
|
+
10, -48, 10, -70, 10, -47, 10, -126,
|
262
|
+
10, -47, 10, -125, 10, -47, 10, -128,
|
263
|
+
10, -48, 10, -80, 10, -47, 10, -127,
|
264
|
+
10, -48, 10, -72, 10, 10, 58, -48,
|
265
|
+
10, -80, 10, -47, 10, -128, 10, -48,
|
266
|
+
10, -72, 10, -47, 10, -123, 10, -48,
|
267
|
+
10, -67, 10, -48, 10, -76, 10, -47,
|
268
|
+
10, -125, 10, -48, 10, -67, 10, -48,
|
269
|
+
10, -70, 10, -47, 10, -122, 10, -48,
|
270
|
+
10, -72, 10, -48, 10, -66, 10, -48,
|
271
|
+
10, -67, 10, -48, 10, -80, 10, -48,
|
272
|
+
10, -69, 10, 10, 95, 10, 70, 10,
|
273
|
+
69, 10, 65, 10, 84, 10, 85, 10,
|
274
|
+
82, 10, 69, 10, 95, 10, 69, 10,
|
275
|
+
78, 10, 68, 10, 95, 10, 37, -48,
|
276
|
+
-80, -47, -128, -48, -72, -47, -123, 58,
|
277
|
+
10, 10, -48, 10, 32, 35, 37, 42,
|
278
|
+
64, 9, 13, -112, -111, -110, -101, -95,
|
279
|
+
-93, -92, 10, -48, 10, -77, -68, 10,
|
280
|
+
-48, 10, -80, 10, -47, 10, -128, 10,
|
281
|
+
10, 32, -48, 10, -68, 10, -48, 10,
|
282
|
+
-66, 10, -48, 10, -72, 10, -47, 10,
|
283
|
+
-128, 10, -48, 10, -66, 10, -48, 10,
|
284
|
+
-70, 10, -48, 10, -80, 10, -48, 10,
|
285
|
+
-75, 10, -48, 10, -70, 10, -48, 10,
|
286
|
+
-72, 10, -48, 10, -67, 10, -47, 10,
|
287
|
+
-122, 10, -48, 10, -75, 10, -48, 10,
|
288
|
+
-67, 10, -48, 10, -80, 10, -47, 10,
|
289
|
+
-128, 10, -48, 10, -72, 10, -48, 10,
|
290
|
+
-71, 10, 10, 32, 58, -47, 10, -127,
|
291
|
+
10, -47, 10, -126, 10, -47, 10, -128,
|
292
|
+
10, -47, 10, -125, 10, -48, 10, -70,
|
293
|
+
10, -47, 10, -126, 10, -47, 10, -125,
|
294
|
+
10, -47, 10, -128, 10, -48, 10, -80,
|
295
|
+
10, -47, 10, -127, 10, -48, 10, -72,
|
296
|
+
10, 10, 58, -48, 10, -67, 10, -48,
|
297
|
+
10, -76, 10, -47, 10, -125, 10, -48,
|
298
|
+
10, -67, 10, -48, 10, -70, 10, -47,
|
299
|
+
10, -122, 10, -48, 10, -72, 10, -48,
|
300
|
+
10, -66, 10, -48, 10, -67, 10, -48,
|
301
|
+
10, -80, 10, -48, 10, -69, 10, 10,
|
302
|
+
95, 10, 70, 10, 69, 10, 65, 10,
|
303
|
+
84, 10, 85, 10, 82, 10, 69, 10,
|
304
|
+
95, 10, 69, 10, 78, 10, 68, 10,
|
305
|
+
95, 10, 37, -48, -67, -48, -76, -47,
|
306
|
+
-125, -48, -67, -48, -70, -47, -122, -48,
|
307
|
+
-72, -48, -66, -48, -67, -48, -80, -48,
|
308
|
+
-69, 58, 10, 10, -48, 10, 32, 35,
|
309
|
+
37, 64, 9, 13, -100, -95, -94, -92,
|
310
|
+
10, -48, 10, -72, 10, -47, 10, -127,
|
311
|
+
10, -48, 10, -66, 10, -48, 10, -69,
|
312
|
+
10, -48, 10, -69, 10, -48, 10, -80,
|
313
|
+
10, -47, 10, -128, 10, 10, 58, -47,
|
314
|
+
10, -122, 10, -48, 10, -75, 10, -48,
|
315
|
+
10, -67, 10, -48, 10, -80, 10, -47,
|
316
|
+
10, -128, 10, -48, 10, -72, 10, -48,
|
317
|
+
10, -71, 10, 10, 32, 58, -47, 10,
|
318
|
+
-127, 10, -47, 10, -126, 10, -47, 10,
|
319
|
+
-128, 10, -47, 10, -125, 10, -48, 10,
|
320
|
+
-70, 10, -47, 10, -126, 10, -47, 10,
|
321
|
+
-125, 10, -47, 10, -128, 10, -48, 10,
|
322
|
+
-80, 10, -47, 10, -127, 10, -48, 10,
|
323
|
+
-72, 10, -48, 10, -80, 10, -47, 10,
|
324
|
+
-128, 10, -48, 10, -72, 10, -47, 10,
|
325
|
+
-123, 10, -47, 10, -125, 10, -48, 10,
|
326
|
+
-67, 10, -48, 10, -70, 10, -47, 10,
|
327
|
+
-122, 10, -48, 10, -72, 10, -48, 10,
|
328
|
+
-66, 10, -48, 10, -67, 10, -48, 10,
|
329
|
+
-80, 10, -48, 10, -69, 10, 10, 95,
|
330
|
+
10, 70, 10, 69, 10, 65, 10, 84,
|
331
|
+
10, 85, 10, 82, 10, 69, 10, 95,
|
332
|
+
10, 69, 10, 78, 10, 68, 10, 95,
|
333
|
+
10, 37, -69, -65, 0
|
334
|
+
};
|
335
|
+
|
336
|
+
static const char _lexer_single_lengths[] = {
|
337
|
+
0, 10, 9, 1, 2, 1, 1, 1,
|
338
|
+
1, 1, 1, 2, 9, 1, 1, 2,
|
339
|
+
2, 3, 3, 3, 3, 2, 2, 2,
|
340
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
341
|
+
1, 1, 1, 1, 1, 1, 1, 3,
|
342
|
+
5, 3, 2, 4, 3, 2, 4, 9,
|
343
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
344
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
345
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
346
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
347
|
+
1, 1, 1, 1, 1, 1, 1, 5,
|
348
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
349
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
350
|
+
2, 2, 2, 2, 9, 1, 1, 1,
|
351
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
352
|
+
1, 1, 1, 2, 1, 1, 1, 1,
|
353
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
354
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
355
|
+
1, 1, 1, 1, 1, 7, 8, 2,
|
356
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
357
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
358
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
359
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
360
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
361
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
362
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
363
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
364
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
365
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
366
|
+
1, 7, 9, 2, 3, 2, 2, 2,
|
367
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
368
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
369
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
370
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
371
|
+
2, 2, 2, 2, 2, 2, 3, 2,
|
372
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
373
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
374
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
375
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
376
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
377
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
378
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
379
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
380
|
+
2, 2, 1, 1, 1, 1, 1, 1,
|
381
|
+
1, 1, 1, 1, 1, 7, 8, 2,
|
382
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
383
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
384
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
385
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
386
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
387
|
+
2, 2, 3, 2, 2, 2, 2, 2,
|
388
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
389
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
390
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
391
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
392
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
393
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
394
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
395
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
396
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
397
|
+
1, 1, 1, 1, 1, 1, 1, 6,
|
398
|
+
5, 2, 2, 2, 2, 2, 2, 2,
|
399
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
400
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
401
|
+
2, 2, 2, 2, 2, 2, 3, 2,
|
402
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
403
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
404
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
405
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
406
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
407
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
408
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
409
|
+
2, 2, 2, 2, 2, 1, 1, 0
|
410
|
+
};
|
411
|
+
|
412
|
+
static const char _lexer_range_lengths[] = {
|
413
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
414
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
415
|
+
0, 1, 1, 1, 1, 1, 1, 0,
|
416
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
417
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
418
|
+
1, 1, 1, 1, 0, 0, 1, 1,
|
419
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
420
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
421
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
422
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
423
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
424
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
425
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
426
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
427
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
428
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
429
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
430
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
431
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
432
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
433
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
434
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
435
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
436
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
437
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
438
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
439
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
440
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
441
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
442
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
443
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
444
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
445
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
446
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
447
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
448
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
449
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
450
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
451
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
452
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
453
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
454
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
455
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
456
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
457
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
458
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
459
|
+
0, 0, 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, 0, 0,
|
464
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
465
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
466
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
467
|
+
0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0,
|
473
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
474
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
475
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
476
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
477
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
478
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
479
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
480
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
481
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
482
|
+
0, 0, 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
|
+
};
|
487
|
+
|
488
|
+
static const short _lexer_index_offsets[] = {
|
489
|
+
0, 0, 12, 22, 24, 27, 29, 31,
|
490
|
+
33, 35, 37, 39, 42, 53, 55, 57,
|
491
|
+
60, 63, 68, 73, 78, 83, 87, 91,
|
492
|
+
94, 96, 98, 100, 102, 104, 106, 108,
|
493
|
+
110, 112, 114, 116, 118, 120, 122, 124,
|
494
|
+
129, 136, 141, 145, 151, 155, 158, 164,
|
495
|
+
175, 177, 179, 181, 183, 185, 187, 189,
|
496
|
+
191, 193, 195, 197, 199, 201, 203, 205,
|
497
|
+
207, 209, 211, 213, 215, 217, 219, 221,
|
498
|
+
223, 225, 227, 229, 231, 233, 235, 237,
|
499
|
+
239, 241, 243, 245, 247, 249, 251, 253,
|
500
|
+
260, 263, 266, 269, 272, 275, 278, 281,
|
501
|
+
284, 287, 290, 293, 296, 299, 302, 305,
|
502
|
+
308, 311, 314, 317, 320, 331, 333, 335,
|
503
|
+
337, 339, 341, 343, 345, 347, 349, 351,
|
504
|
+
353, 355, 357, 359, 362, 364, 366, 368,
|
505
|
+
370, 372, 374, 376, 378, 380, 382, 384,
|
506
|
+
386, 388, 390, 392, 394, 396, 398, 400,
|
507
|
+
402, 404, 406, 408, 410, 412, 421, 430,
|
508
|
+
433, 437, 440, 443, 446, 449, 452, 455,
|
509
|
+
458, 461, 464, 467, 470, 473, 476, 479,
|
510
|
+
482, 485, 488, 491, 494, 497, 500, 503,
|
511
|
+
506, 509, 512, 515, 518, 521, 524, 527,
|
512
|
+
530, 533, 536, 539, 542, 545, 548, 551,
|
513
|
+
554, 557, 560, 563, 566, 569, 572, 575,
|
514
|
+
578, 581, 584, 587, 590, 593, 596, 599,
|
515
|
+
602, 605, 608, 611, 614, 617, 620, 623,
|
516
|
+
626, 629, 632, 635, 638, 641, 644, 647,
|
517
|
+
650, 653, 656, 659, 662, 665, 668, 671,
|
518
|
+
673, 675, 684, 694, 697, 701, 704, 707,
|
519
|
+
710, 713, 716, 719, 722, 725, 728, 731,
|
520
|
+
734, 737, 740, 743, 746, 749, 752, 755,
|
521
|
+
758, 761, 764, 767, 770, 773, 776, 779,
|
522
|
+
782, 785, 788, 791, 794, 797, 800, 803,
|
523
|
+
806, 809, 812, 815, 818, 821, 824, 828,
|
524
|
+
831, 834, 837, 840, 843, 846, 849, 852,
|
525
|
+
855, 858, 861, 864, 867, 870, 873, 876,
|
526
|
+
879, 882, 885, 888, 891, 894, 897, 900,
|
527
|
+
903, 906, 909, 912, 915, 918, 921, 924,
|
528
|
+
927, 930, 933, 936, 939, 942, 945, 948,
|
529
|
+
951, 954, 957, 960, 963, 966, 969, 972,
|
530
|
+
975, 978, 981, 984, 987, 990, 993, 996,
|
531
|
+
999, 1002, 1005, 1008, 1011, 1014, 1017, 1020,
|
532
|
+
1023, 1026, 1029, 1031, 1033, 1035, 1037, 1039,
|
533
|
+
1041, 1043, 1045, 1047, 1049, 1051, 1060, 1069,
|
534
|
+
1072, 1076, 1079, 1082, 1085, 1088, 1091, 1094,
|
535
|
+
1097, 1100, 1103, 1106, 1109, 1112, 1115, 1118,
|
536
|
+
1121, 1124, 1127, 1130, 1133, 1136, 1139, 1142,
|
537
|
+
1145, 1148, 1151, 1154, 1157, 1160, 1163, 1166,
|
538
|
+
1169, 1172, 1175, 1178, 1181, 1184, 1187, 1190,
|
539
|
+
1193, 1196, 1199, 1203, 1206, 1209, 1212, 1215,
|
540
|
+
1218, 1221, 1224, 1227, 1230, 1233, 1236, 1239,
|
541
|
+
1242, 1245, 1248, 1251, 1254, 1257, 1260, 1263,
|
542
|
+
1266, 1269, 1272, 1275, 1278, 1281, 1284, 1287,
|
543
|
+
1290, 1293, 1296, 1299, 1302, 1305, 1308, 1311,
|
544
|
+
1314, 1317, 1320, 1323, 1326, 1329, 1332, 1335,
|
545
|
+
1338, 1341, 1344, 1347, 1350, 1353, 1356, 1359,
|
546
|
+
1362, 1365, 1368, 1371, 1374, 1377, 1380, 1382,
|
547
|
+
1384, 1386, 1388, 1390, 1392, 1394, 1396, 1398,
|
548
|
+
1400, 1402, 1404, 1406, 1408, 1410, 1412, 1414,
|
549
|
+
1416, 1418, 1420, 1422, 1424, 1426, 1428, 1430,
|
550
|
+
1438, 1444, 1447, 1450, 1453, 1456, 1459, 1462,
|
551
|
+
1465, 1468, 1471, 1474, 1477, 1480, 1483, 1486,
|
552
|
+
1489, 1492, 1495, 1498, 1501, 1504, 1507, 1510,
|
553
|
+
1513, 1516, 1519, 1522, 1525, 1528, 1531, 1535,
|
554
|
+
1538, 1541, 1544, 1547, 1550, 1553, 1556, 1559,
|
555
|
+
1562, 1565, 1568, 1571, 1574, 1577, 1580, 1583,
|
556
|
+
1586, 1589, 1592, 1595, 1598, 1601, 1604, 1607,
|
557
|
+
1610, 1613, 1616, 1619, 1622, 1625, 1628, 1631,
|
558
|
+
1634, 1637, 1640, 1643, 1646, 1649, 1652, 1655,
|
559
|
+
1658, 1661, 1664, 1667, 1670, 1673, 1676, 1679,
|
560
|
+
1682, 1685, 1688, 1691, 1694, 1697, 1700, 1703,
|
561
|
+
1706, 1709, 1712, 1715, 1718, 1721, 1723, 1725
|
562
|
+
};
|
563
|
+
|
564
|
+
static const short _lexer_trans_targs[] = {
|
565
|
+
2, 581, 12, 12, 13, 23, 25, 9,
|
566
|
+
39, 42, 12, 0, 3, 52, 60, 62,
|
567
|
+
70, 109, 346, 462, 466, 0, 4, 0,
|
568
|
+
5, 48, 0, 6, 0, 7, 0, 8,
|
569
|
+
0, 9, 0, 10, 0, 0, 11, 12,
|
570
|
+
24, 11, 2, 12, 12, 13, 23, 25,
|
571
|
+
9, 39, 42, 12, 0, 14, 0, 15,
|
572
|
+
0, 17, 16, 16, 17, 16, 16, 18,
|
573
|
+
18, 19, 18, 18, 18, 18, 19, 18,
|
574
|
+
18, 18, 18, 20, 18, 18, 18, 18,
|
575
|
+
21, 18, 18, 12, 22, 22, 0, 12,
|
576
|
+
22, 22, 0, 12, 24, 23, 12, 0,
|
577
|
+
26, 0, 27, 0, 28, 0, 29, 0,
|
578
|
+
30, 0, 31, 0, 32, 0, 33, 0,
|
579
|
+
34, 0, 35, 0, 36, 0, 37, 0,
|
580
|
+
38, 0, 583, 0, 0, 0, 0, 0,
|
581
|
+
40, 41, 12, 41, 41, 39, 40, 40,
|
582
|
+
12, 41, 39, 41, 0, 42, 43, 42,
|
583
|
+
0, 47, 46, 45, 43, 46, 44, 0,
|
584
|
+
45, 43, 44, 0, 45, 44, 47, 46,
|
585
|
+
45, 43, 46, 44, 2, 47, 47, 13,
|
586
|
+
23, 25, 9, 39, 42, 47, 0, 49,
|
587
|
+
0, 50, 0, 51, 0, 9, 0, 53,
|
588
|
+
0, 54, 0, 55, 0, 56, 0, 57,
|
589
|
+
0, 58, 0, 59, 0, 9, 0, 61,
|
590
|
+
0, 9, 0, 63, 0, 64, 0, 65,
|
591
|
+
0, 66, 0, 67, 0, 68, 0, 69,
|
592
|
+
0, 9, 0, 71, 0, 72, 0, 73,
|
593
|
+
0, 74, 0, 75, 0, 76, 0, 77,
|
594
|
+
0, 78, 0, 79, 0, 80, 0, 81,
|
595
|
+
0, 82, 0, 83, 0, 84, 0, 85,
|
596
|
+
0, 87, 86, 87, 86, 88, 87, 87,
|
597
|
+
12, 12, 87, 86, 89, 87, 86, 90,
|
598
|
+
87, 86, 91, 87, 86, 92, 87, 86,
|
599
|
+
93, 87, 86, 94, 87, 86, 95, 87,
|
600
|
+
86, 96, 87, 86, 97, 87, 86, 98,
|
601
|
+
87, 86, 99, 87, 86, 100, 87, 86,
|
602
|
+
101, 87, 86, 102, 87, 86, 103, 87,
|
603
|
+
86, 104, 87, 86, 105, 87, 86, 106,
|
604
|
+
87, 86, 107, 87, 86, 87, 108, 86,
|
605
|
+
2, 12, 12, 13, 23, 25, 9, 39,
|
606
|
+
42, 12, 0, 110, 0, 111, 0, 112,
|
607
|
+
0, 113, 0, 114, 0, 115, 0, 116,
|
608
|
+
0, 117, 0, 118, 0, 119, 0, 120,
|
609
|
+
0, 121, 0, 122, 0, 123, 0, 124,
|
610
|
+
231, 0, 125, 0, 126, 0, 127, 0,
|
611
|
+
128, 0, 129, 0, 130, 0, 131, 0,
|
612
|
+
132, 0, 133, 0, 134, 0, 135, 0,
|
613
|
+
136, 0, 137, 0, 138, 0, 139, 0,
|
614
|
+
140, 0, 141, 0, 142, 0, 143, 0,
|
615
|
+
144, 0, 145, 0, 146, 0, 147, 0,
|
616
|
+
149, 148, 149, 148, 150, 149, 149, 12,
|
617
|
+
217, 157, 12, 149, 148, 151, 162, 170,
|
618
|
+
172, 180, 195, 199, 149, 148, 152, 149,
|
619
|
+
148, 153, 158, 149, 148, 154, 149, 148,
|
620
|
+
155, 149, 148, 156, 149, 148, 157, 149,
|
621
|
+
148, 149, 108, 148, 159, 149, 148, 160,
|
622
|
+
149, 148, 161, 149, 148, 157, 149, 148,
|
623
|
+
163, 149, 148, 164, 149, 148, 165, 149,
|
624
|
+
148, 166, 149, 148, 167, 149, 148, 168,
|
625
|
+
149, 148, 169, 149, 148, 157, 149, 148,
|
626
|
+
171, 149, 148, 157, 149, 148, 173, 149,
|
627
|
+
148, 174, 149, 148, 175, 149, 148, 176,
|
628
|
+
149, 148, 177, 149, 148, 178, 149, 148,
|
629
|
+
179, 149, 148, 157, 149, 148, 181, 149,
|
630
|
+
148, 182, 149, 148, 183, 149, 148, 184,
|
631
|
+
149, 148, 185, 149, 148, 186, 149, 148,
|
632
|
+
187, 149, 148, 188, 149, 148, 189, 149,
|
633
|
+
148, 190, 149, 148, 191, 149, 148, 192,
|
634
|
+
149, 148, 193, 149, 148, 194, 149, 148,
|
635
|
+
149, 108, 148, 196, 149, 148, 197, 149,
|
636
|
+
148, 198, 149, 148, 170, 149, 148, 200,
|
637
|
+
149, 148, 201, 149, 148, 202, 149, 148,
|
638
|
+
203, 149, 148, 204, 149, 148, 205, 149,
|
639
|
+
148, 206, 149, 148, 207, 149, 148, 208,
|
640
|
+
149, 148, 209, 149, 148, 210, 149, 148,
|
641
|
+
211, 149, 148, 212, 149, 148, 213, 149,
|
642
|
+
148, 214, 149, 148, 215, 149, 148, 216,
|
643
|
+
149, 148, 194, 149, 148, 149, 218, 148,
|
644
|
+
149, 219, 148, 149, 220, 148, 149, 221,
|
645
|
+
148, 149, 222, 148, 149, 223, 148, 149,
|
646
|
+
224, 148, 149, 225, 148, 149, 226, 148,
|
647
|
+
149, 227, 148, 149, 228, 148, 149, 229,
|
648
|
+
148, 149, 230, 148, 149, 12, 148, 233,
|
649
|
+
232, 233, 232, 234, 233, 233, 12, 332,
|
650
|
+
241, 12, 233, 232, 235, 246, 254, 256,
|
651
|
+
264, 302, 310, 314, 233, 232, 236, 233,
|
652
|
+
232, 237, 242, 233, 232, 238, 233, 232,
|
653
|
+
239, 233, 232, 240, 233, 232, 241, 233,
|
654
|
+
232, 233, 108, 232, 243, 233, 232, 244,
|
655
|
+
233, 232, 245, 233, 232, 241, 233, 232,
|
656
|
+
247, 233, 232, 248, 233, 232, 249, 233,
|
657
|
+
232, 250, 233, 232, 251, 233, 232, 252,
|
658
|
+
233, 232, 253, 233, 232, 241, 233, 232,
|
659
|
+
255, 233, 232, 241, 233, 232, 257, 233,
|
660
|
+
232, 258, 233, 232, 259, 233, 232, 260,
|
661
|
+
233, 232, 261, 233, 232, 262, 233, 232,
|
662
|
+
263, 233, 232, 241, 233, 232, 265, 233,
|
663
|
+
232, 266, 233, 232, 267, 233, 232, 268,
|
664
|
+
233, 232, 269, 233, 232, 270, 233, 232,
|
665
|
+
271, 233, 232, 272, 233, 232, 273, 233,
|
666
|
+
232, 274, 233, 232, 275, 233, 232, 276,
|
667
|
+
233, 232, 277, 233, 232, 278, 233, 232,
|
668
|
+
233, 279, 108, 232, 280, 233, 232, 281,
|
669
|
+
233, 232, 282, 233, 232, 283, 233, 232,
|
670
|
+
284, 233, 232, 285, 233, 232, 286, 233,
|
671
|
+
232, 287, 233, 232, 288, 233, 232, 289,
|
672
|
+
233, 232, 290, 233, 232, 291, 233, 232,
|
673
|
+
292, 233, 232, 293, 233, 232, 294, 233,
|
674
|
+
232, 295, 233, 232, 296, 233, 232, 297,
|
675
|
+
233, 232, 298, 233, 232, 299, 233, 232,
|
676
|
+
300, 233, 232, 301, 233, 232, 233, 108,
|
677
|
+
232, 303, 233, 232, 304, 233, 232, 305,
|
678
|
+
233, 232, 306, 233, 232, 307, 233, 232,
|
679
|
+
308, 233, 232, 309, 233, 232, 301, 233,
|
680
|
+
232, 311, 233, 232, 312, 233, 232, 313,
|
681
|
+
233, 232, 254, 233, 232, 315, 233, 232,
|
682
|
+
316, 233, 232, 317, 233, 232, 318, 233,
|
683
|
+
232, 319, 233, 232, 320, 233, 232, 321,
|
684
|
+
233, 232, 322, 233, 232, 323, 233, 232,
|
685
|
+
324, 233, 232, 325, 233, 232, 326, 233,
|
686
|
+
232, 327, 233, 232, 328, 233, 232, 329,
|
687
|
+
233, 232, 330, 233, 232, 331, 233, 232,
|
688
|
+
301, 233, 232, 233, 333, 232, 233, 334,
|
689
|
+
232, 233, 335, 232, 233, 336, 232, 233,
|
690
|
+
337, 232, 233, 338, 232, 233, 339, 232,
|
691
|
+
233, 340, 232, 233, 341, 232, 233, 342,
|
692
|
+
232, 233, 343, 232, 233, 344, 232, 233,
|
693
|
+
345, 232, 233, 12, 232, 347, 0, 348,
|
694
|
+
0, 349, 0, 350, 0, 351, 0, 352,
|
695
|
+
0, 353, 0, 354, 0, 355, 0, 357,
|
696
|
+
356, 357, 356, 358, 357, 357, 12, 448,
|
697
|
+
365, 12, 357, 356, 359, 370, 378, 380,
|
698
|
+
388, 426, 430, 357, 356, 360, 357, 356,
|
699
|
+
361, 366, 357, 356, 362, 357, 356, 363,
|
700
|
+
357, 356, 364, 357, 356, 365, 357, 356,
|
701
|
+
357, 108, 356, 367, 357, 356, 368, 357,
|
702
|
+
356, 369, 357, 356, 365, 357, 356, 371,
|
703
|
+
357, 356, 372, 357, 356, 373, 357, 356,
|
704
|
+
374, 357, 356, 375, 357, 356, 376, 357,
|
705
|
+
356, 377, 357, 356, 365, 357, 356, 379,
|
706
|
+
357, 356, 365, 357, 356, 381, 357, 356,
|
707
|
+
382, 357, 356, 383, 357, 356, 384, 357,
|
708
|
+
356, 385, 357, 356, 386, 357, 356, 387,
|
709
|
+
357, 356, 365, 357, 356, 389, 357, 356,
|
710
|
+
390, 357, 356, 391, 357, 356, 392, 357,
|
711
|
+
356, 393, 357, 356, 394, 357, 356, 395,
|
712
|
+
357, 356, 396, 357, 356, 397, 357, 356,
|
713
|
+
398, 357, 356, 399, 357, 356, 400, 357,
|
714
|
+
356, 401, 357, 356, 402, 357, 356, 357,
|
715
|
+
403, 108, 356, 404, 357, 356, 405, 357,
|
716
|
+
356, 406, 357, 356, 407, 357, 356, 408,
|
717
|
+
357, 356, 409, 357, 356, 410, 357, 356,
|
718
|
+
411, 357, 356, 412, 357, 356, 413, 357,
|
719
|
+
356, 414, 357, 356, 415, 357, 356, 416,
|
720
|
+
357, 356, 417, 357, 356, 418, 357, 356,
|
721
|
+
419, 357, 356, 420, 357, 356, 421, 357,
|
722
|
+
356, 422, 357, 356, 423, 357, 356, 424,
|
723
|
+
357, 356, 425, 357, 356, 357, 108, 356,
|
724
|
+
427, 357, 356, 428, 357, 356, 429, 357,
|
725
|
+
356, 378, 357, 356, 431, 357, 356, 432,
|
726
|
+
357, 356, 433, 357, 356, 434, 357, 356,
|
727
|
+
435, 357, 356, 436, 357, 356, 437, 357,
|
728
|
+
356, 438, 357, 356, 439, 357, 356, 440,
|
729
|
+
357, 356, 441, 357, 356, 442, 357, 356,
|
730
|
+
443, 357, 356, 444, 357, 356, 445, 357,
|
731
|
+
356, 446, 357, 356, 447, 357, 356, 425,
|
732
|
+
357, 356, 357, 449, 356, 357, 450, 356,
|
733
|
+
357, 451, 356, 357, 452, 356, 357, 453,
|
734
|
+
356, 357, 454, 356, 357, 455, 356, 357,
|
735
|
+
456, 356, 357, 457, 356, 357, 458, 356,
|
736
|
+
357, 459, 356, 357, 460, 356, 357, 461,
|
737
|
+
356, 357, 12, 356, 463, 0, 464, 0,
|
738
|
+
465, 0, 60, 0, 467, 0, 468, 0,
|
739
|
+
469, 0, 470, 0, 471, 0, 472, 0,
|
740
|
+
473, 0, 474, 0, 475, 0, 476, 0,
|
741
|
+
477, 0, 478, 0, 479, 0, 480, 0,
|
742
|
+
481, 0, 482, 0, 483, 0, 484, 0,
|
743
|
+
485, 0, 487, 486, 487, 486, 488, 487,
|
744
|
+
487, 12, 567, 12, 487, 486, 489, 504,
|
745
|
+
541, 549, 487, 486, 490, 487, 486, 491,
|
746
|
+
487, 486, 492, 487, 486, 493, 487, 486,
|
747
|
+
494, 487, 486, 495, 487, 486, 496, 487,
|
748
|
+
486, 497, 487, 486, 498, 487, 486, 499,
|
749
|
+
487, 486, 500, 487, 486, 501, 487, 486,
|
750
|
+
502, 487, 486, 503, 487, 486, 487, 108,
|
751
|
+
486, 505, 487, 486, 506, 487, 486, 507,
|
752
|
+
487, 486, 508, 487, 486, 509, 487, 486,
|
753
|
+
510, 487, 486, 511, 487, 486, 512, 487,
|
754
|
+
486, 513, 487, 486, 514, 487, 486, 515,
|
755
|
+
487, 486, 516, 487, 486, 517, 487, 486,
|
756
|
+
518, 487, 486, 487, 519, 108, 486, 520,
|
757
|
+
487, 486, 521, 487, 486, 522, 487, 486,
|
758
|
+
523, 487, 486, 524, 487, 486, 525, 487,
|
759
|
+
486, 526, 487, 486, 527, 487, 486, 528,
|
760
|
+
487, 486, 529, 487, 486, 530, 487, 486,
|
761
|
+
531, 487, 486, 532, 487, 486, 533, 487,
|
762
|
+
486, 534, 487, 486, 535, 487, 486, 536,
|
763
|
+
487, 486, 537, 487, 486, 538, 487, 486,
|
764
|
+
539, 487, 486, 540, 487, 486, 503, 487,
|
765
|
+
486, 542, 487, 486, 543, 487, 486, 544,
|
766
|
+
487, 486, 545, 487, 486, 546, 487, 486,
|
767
|
+
547, 487, 486, 548, 487, 486, 503, 487,
|
768
|
+
486, 550, 487, 486, 551, 487, 486, 552,
|
769
|
+
487, 486, 553, 487, 486, 554, 487, 486,
|
770
|
+
555, 487, 486, 556, 487, 486, 557, 487,
|
771
|
+
486, 558, 487, 486, 559, 487, 486, 560,
|
772
|
+
487, 486, 561, 487, 486, 562, 487, 486,
|
773
|
+
563, 487, 486, 564, 487, 486, 565, 487,
|
774
|
+
486, 566, 487, 486, 503, 487, 486, 487,
|
775
|
+
568, 486, 487, 569, 486, 487, 570, 486,
|
776
|
+
487, 571, 486, 487, 572, 486, 487, 573,
|
777
|
+
486, 487, 574, 486, 487, 575, 486, 487,
|
778
|
+
576, 486, 487, 577, 486, 487, 578, 486,
|
779
|
+
487, 579, 486, 487, 580, 486, 487, 12,
|
780
|
+
486, 582, 0, 12, 0, 0, 0
|
781
|
+
};
|
782
|
+
|
783
|
+
static const unsigned char _lexer_trans_actions[] = {
|
784
|
+
29, 0, 54, 0, 5, 1, 0, 29,
|
785
|
+
1, 35, 0, 43, 0, 0, 0, 0,
|
786
|
+
0, 0, 0, 0, 0, 43, 0, 43,
|
787
|
+
0, 0, 43, 0, 43, 0, 43, 0,
|
788
|
+
43, 0, 43, 0, 43, 43, 57, 110,
|
789
|
+
23, 0, 29, 54, 0, 5, 1, 0,
|
790
|
+
29, 1, 35, 0, 43, 0, 43, 0,
|
791
|
+
43, 135, 48, 9, 106, 11, 0, 130,
|
792
|
+
45, 45, 45, 3, 122, 33, 33, 33,
|
793
|
+
0, 122, 33, 33, 33, 0, 122, 33,
|
794
|
+
0, 33, 0, 102, 7, 7, 43, 54,
|
795
|
+
0, 0, 43, 114, 25, 0, 54, 43,
|
796
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
797
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
798
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
799
|
+
0, 43, 0, 43, 43, 43, 43, 43,
|
800
|
+
0, 27, 118, 27, 27, 51, 27, 0,
|
801
|
+
54, 0, 1, 0, 43, 0, 0, 0,
|
802
|
+
43, 54, 37, 37, 87, 37, 37, 43,
|
803
|
+
0, 39, 0, 43, 0, 0, 54, 0,
|
804
|
+
0, 39, 0, 0, 96, 54, 0, 93,
|
805
|
+
90, 41, 96, 90, 99, 0, 43, 0,
|
806
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
807
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
808
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
809
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
810
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
811
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
812
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
813
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
814
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
815
|
+
43, 140, 57, 54, 0, 84, 54, 0,
|
816
|
+
81, 81, 0, 0, 0, 54, 0, 0,
|
817
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
818
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
819
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
820
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
821
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
822
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
823
|
+
54, 0, 0, 54, 0, 54, 21, 0,
|
824
|
+
63, 126, 31, 60, 57, 31, 63, 57,
|
825
|
+
66, 31, 43, 0, 43, 0, 43, 0,
|
826
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
827
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
828
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
829
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
830
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
831
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
832
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
833
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
834
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
835
|
+
140, 57, 54, 0, 84, 54, 0, 78,
|
836
|
+
33, 84, 78, 0, 0, 0, 0, 0,
|
837
|
+
0, 0, 0, 0, 54, 0, 0, 54,
|
838
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
839
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
840
|
+
0, 54, 19, 0, 0, 54, 0, 0,
|
841
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
842
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
843
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
844
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
845
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
846
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
847
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
848
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
849
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
850
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
851
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
852
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
853
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
854
|
+
54, 19, 0, 0, 54, 0, 0, 54,
|
855
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
856
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
857
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
858
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
859
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
860
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
861
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
862
|
+
54, 0, 0, 54, 0, 54, 0, 0,
|
863
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
864
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
865
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
866
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
867
|
+
0, 54, 0, 0, 54, 19, 0, 140,
|
868
|
+
57, 54, 0, 84, 54, 0, 75, 33,
|
869
|
+
84, 75, 0, 0, 0, 0, 0, 0,
|
870
|
+
0, 0, 0, 0, 54, 0, 0, 54,
|
871
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
872
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
873
|
+
0, 54, 17, 0, 0, 54, 0, 0,
|
874
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
875
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
876
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
877
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
878
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
879
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
880
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
881
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
882
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
883
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
884
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
885
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
886
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
887
|
+
54, 0, 17, 0, 0, 54, 0, 0,
|
888
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
889
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
890
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
891
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
892
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
893
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
894
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
895
|
+
0, 54, 0, 0, 54, 0, 54, 17,
|
896
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
897
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
898
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
899
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
900
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
901
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
902
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
903
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
904
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
905
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
906
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
907
|
+
0, 54, 0, 54, 0, 0, 54, 0,
|
908
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
909
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
910
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
911
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
912
|
+
0, 0, 54, 17, 0, 0, 43, 0,
|
913
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
914
|
+
43, 0, 43, 0, 43, 0, 43, 140,
|
915
|
+
57, 54, 0, 84, 54, 0, 72, 33,
|
916
|
+
84, 72, 0, 0, 0, 0, 0, 0,
|
917
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
918
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
919
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
920
|
+
54, 15, 0, 0, 54, 0, 0, 54,
|
921
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
922
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
923
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
924
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
925
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
926
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
927
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
928
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
929
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
930
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
931
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
932
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
933
|
+
0, 0, 54, 0, 0, 54, 0, 54,
|
934
|
+
0, 15, 0, 0, 54, 0, 0, 54,
|
935
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
936
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
937
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
938
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
939
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
940
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
941
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
942
|
+
54, 0, 0, 54, 0, 54, 15, 0,
|
943
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
944
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
945
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
946
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
947
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
948
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
949
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
950
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
951
|
+
54, 0, 54, 0, 0, 54, 0, 0,
|
952
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
953
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
954
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
955
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
956
|
+
0, 54, 15, 0, 0, 43, 0, 43,
|
957
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
958
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
959
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
960
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
961
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
962
|
+
0, 43, 140, 57, 54, 0, 84, 54,
|
963
|
+
0, 69, 33, 69, 0, 0, 0, 0,
|
964
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
965
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
966
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
967
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
968
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
969
|
+
0, 54, 0, 0, 54, 0, 54, 13,
|
970
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
971
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
972
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
973
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
974
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
975
|
+
0, 54, 0, 54, 0, 13, 0, 0,
|
976
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
977
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
978
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
979
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
980
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
981
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
982
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
983
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
984
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
985
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
986
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
987
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
988
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
989
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
990
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
991
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
992
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
993
|
+
0, 0, 54, 0, 0, 54, 0, 54,
|
994
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
995
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
996
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
997
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
998
|
+
54, 0, 0, 54, 0, 0, 54, 13,
|
999
|
+
0, 0, 43, 0, 43, 0, 0
|
1000
|
+
};
|
1001
|
+
|
1002
|
+
static const unsigned char _lexer_eof_actions[] = {
|
1003
|
+
0, 43, 43, 43, 43, 43, 43, 43,
|
1004
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1005
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1006
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1007
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1008
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1009
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1010
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1011
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1012
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1013
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1014
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1015
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1016
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1017
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1018
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1019
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1020
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1021
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1022
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1023
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1024
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1025
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1026
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1027
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1028
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1029
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1030
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1031
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1032
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1033
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1034
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1035
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1036
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1037
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1038
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1039
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1040
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1041
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1042
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1043
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1044
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1045
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1046
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1047
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1048
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1049
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1050
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1051
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1052
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1053
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1054
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1055
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1056
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1057
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1058
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1059
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1060
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1061
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1062
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1063
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1064
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1065
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1066
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1067
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1068
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1069
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1070
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1071
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1072
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1073
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1074
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1075
|
+
43, 43, 43, 43, 43, 43, 43, 43
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
static const int lexer_start = 1;
|
1079
|
+
static const int lexer_first_final = 583;
|
1080
|
+
static const int lexer_error = 0;
|
1081
|
+
|
1082
|
+
static const int lexer_en_main = 1;
|
1083
|
+
|
1084
|
+
|
1085
|
+
#line 258 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1086
|
+
|
1087
|
+
static VALUE
|
1088
|
+
unindent(VALUE con, int start_col)
|
1089
|
+
{
|
1090
|
+
VALUE re;
|
1091
|
+
// Gherkin will crash gracefully if the string representation of start_col pushes the pattern past 32 characters
|
1092
|
+
char pat[32];
|
1093
|
+
snprintf(pat, 32, "^[\t ]{0,%d}", start_col);
|
1094
|
+
re = rb_reg_regcomp(rb_str_new2(pat));
|
1095
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re, rb_str_new2(""));
|
1096
|
+
|
1097
|
+
return Qnil;
|
1098
|
+
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
static void
|
1102
|
+
store_kw_con(VALUE listener, const char * event_name,
|
1103
|
+
const char * keyword_at, size_t keyword_length,
|
1104
|
+
const char * at, size_t length,
|
1105
|
+
int current_line)
|
1106
|
+
{
|
1107
|
+
VALUE con = Qnil, kw = Qnil;
|
1108
|
+
kw = ENCODED_STR_NEW(keyword_at, keyword_length);
|
1109
|
+
con = ENCODED_STR_NEW(at, length);
|
1110
|
+
rb_funcall(con, rb_intern("strip!"), 0);
|
1111
|
+
rb_funcall(listener, rb_intern(event_name), 3, kw, con, INT2FIX(current_line));
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
static void
|
1115
|
+
store_multiline_kw_con(VALUE listener, const char * event_name,
|
1116
|
+
const char * keyword_at, size_t keyword_length,
|
1117
|
+
const char * at, size_t length,
|
1118
|
+
int current_line, int start_col)
|
1119
|
+
{
|
1120
|
+
VALUE split;
|
1121
|
+
VALUE con = Qnil, kw = Qnil, name = Qnil, desc = Qnil;
|
1122
|
+
|
1123
|
+
kw = ENCODED_STR_NEW(keyword_at, keyword_length);
|
1124
|
+
con = ENCODED_STR_NEW(at, length);
|
1125
|
+
|
1126
|
+
unindent(con, start_col);
|
1127
|
+
|
1128
|
+
split = rb_str_split(con, "\n");
|
1129
|
+
|
1130
|
+
name = rb_funcall(split, rb_intern("shift"), 0);
|
1131
|
+
desc = rb_ary_join(split, rb_str_new2( "\n" ));
|
1132
|
+
|
1133
|
+
if( name == Qnil )
|
1134
|
+
{
|
1135
|
+
name = rb_str_new2("");
|
1136
|
+
}
|
1137
|
+
if( rb_funcall(desc, rb_intern("size"), 0) == 0)
|
1138
|
+
{
|
1139
|
+
desc = rb_str_new2("");
|
1140
|
+
}
|
1141
|
+
rb_funcall(name, rb_intern("strip!"), 0);
|
1142
|
+
rb_funcall(desc, rb_intern("rstrip!"), 0);
|
1143
|
+
rb_funcall(listener, rb_intern(event_name), 4, kw, name, desc, INT2FIX(current_line));
|
1144
|
+
}
|
1145
|
+
|
1146
|
+
static void
|
1147
|
+
store_attr(VALUE listener, const char * attr_type,
|
1148
|
+
const char * at, size_t length,
|
1149
|
+
int line)
|
1150
|
+
{
|
1151
|
+
VALUE val = ENCODED_STR_NEW(at, length);
|
1152
|
+
rb_funcall(listener, rb_intern(attr_type), 2, val, INT2FIX(line));
|
1153
|
+
}
|
1154
|
+
static void
|
1155
|
+
store_docstring_content(VALUE listener,
|
1156
|
+
int start_col,
|
1157
|
+
const char *type_at, size_t type_length,
|
1158
|
+
const char *at, size_t length,
|
1159
|
+
int current_line)
|
1160
|
+
{
|
1161
|
+
VALUE re2;
|
1162
|
+
VALUE unescape_escaped_quotes;
|
1163
|
+
VALUE con = ENCODED_STR_NEW(at, length);
|
1164
|
+
VALUE con_type = ENCODED_STR_NEW(type_at, type_length);
|
1165
|
+
|
1166
|
+
unindent(con, start_col);
|
1167
|
+
|
1168
|
+
re2 = rb_reg_regcomp(rb_str_new2("\r\\Z"));
|
1169
|
+
unescape_escaped_quotes = rb_reg_regcomp(rb_str_new2("\\\\\"\\\\\"\\\\\""));
|
1170
|
+
rb_funcall(con, rb_intern("sub!"), 2, re2, rb_str_new2(""));
|
1171
|
+
rb_funcall(con_type, rb_intern("strip!"), 0);
|
1172
|
+
rb_funcall(con, rb_intern("gsub!"), 2, unescape_escaped_quotes, rb_str_new2("\"\"\""));
|
1173
|
+
rb_funcall(listener, rb_intern("doc_string"), 3, con_type, con, INT2FIX(current_line));
|
1174
|
+
}
|
1175
|
+
static void
|
1176
|
+
raise_lexer_error(const char * at, int line)
|
1177
|
+
{
|
1178
|
+
rb_raise(rb_eGherkinLexingError, "Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.", line, at);
|
1179
|
+
}
|
1180
|
+
|
1181
|
+
static void lexer_init(lexer_state *lexer) {
|
1182
|
+
lexer->content_start = 0;
|
1183
|
+
lexer->content_end = 0;
|
1184
|
+
lexer->content_len = 0;
|
1185
|
+
lexer->docstring_content_type_start = 0;
|
1186
|
+
lexer->docstring_content_type_end = 0;
|
1187
|
+
lexer->mark = 0;
|
1188
|
+
lexer->keyword_start = 0;
|
1189
|
+
lexer->keyword_end = 0;
|
1190
|
+
lexer->next_keyword_start = 0;
|
1191
|
+
lexer->line_number = 1;
|
1192
|
+
lexer->last_newline = 0;
|
1193
|
+
lexer->final_newline = 0;
|
1194
|
+
lexer->start_col = 0;
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
static VALUE CLexer_alloc(VALUE klass)
|
1198
|
+
{
|
1199
|
+
VALUE obj;
|
1200
|
+
lexer_state *lxr = ALLOC(lexer_state);
|
1201
|
+
lexer_init(lxr);
|
1202
|
+
|
1203
|
+
obj = Data_Wrap_Struct(klass, NULL, -1, lxr);
|
1204
|
+
|
1205
|
+
return obj;
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
static VALUE CLexer_init(VALUE self, VALUE listener)
|
1209
|
+
{
|
1210
|
+
lexer_state *lxr;
|
1211
|
+
rb_iv_set(self, "@listener", listener);
|
1212
|
+
|
1213
|
+
lxr = NULL;
|
1214
|
+
DATA_GET(self, lexer_state, lxr);
|
1215
|
+
lexer_init(lxr);
|
1216
|
+
|
1217
|
+
return self;
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
static VALUE CLexer_scan(VALUE self, VALUE input)
|
1221
|
+
{
|
1222
|
+
VALUE input_copy;
|
1223
|
+
char *data;
|
1224
|
+
size_t len;
|
1225
|
+
VALUE listener = rb_iv_get(self, "@listener");
|
1226
|
+
|
1227
|
+
lexer_state *lexer;
|
1228
|
+
lexer = NULL;
|
1229
|
+
DATA_GET(self, lexer_state, lexer);
|
1230
|
+
|
1231
|
+
input_copy = rb_str_dup(input);
|
1232
|
+
|
1233
|
+
rb_str_append(input_copy, rb_str_new2("\n%_FEATURE_END_%"));
|
1234
|
+
data = RSTRING_PTR(input_copy);
|
1235
|
+
len = RSTRING_LEN(input_copy);
|
1236
|
+
|
1237
|
+
if (len == 0) {
|
1238
|
+
rb_raise(rb_eGherkinLexingError, "No content to lex.");
|
1239
|
+
} else {
|
1240
|
+
|
1241
|
+
const char *p, *pe, *eof;
|
1242
|
+
int cs = 0;
|
1243
|
+
|
1244
|
+
VALUE current_row = Qnil;
|
1245
|
+
|
1246
|
+
p = data;
|
1247
|
+
pe = data + len;
|
1248
|
+
eof = pe;
|
1249
|
+
|
1250
|
+
assert(*pe == '\0' && "pointer does not end on NULL");
|
1251
|
+
|
1252
|
+
|
1253
|
+
#line 1254 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
1254
|
+
{
|
1255
|
+
cs = lexer_start;
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
#line 425 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1259
|
+
|
1260
|
+
#line 1261 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
1261
|
+
{
|
1262
|
+
int _klen;
|
1263
|
+
unsigned int _trans;
|
1264
|
+
const char *_acts;
|
1265
|
+
unsigned int _nacts;
|
1266
|
+
const char *_keys;
|
1267
|
+
|
1268
|
+
if ( p == pe )
|
1269
|
+
goto _test_eof;
|
1270
|
+
if ( cs == 0 )
|
1271
|
+
goto _out;
|
1272
|
+
_resume:
|
1273
|
+
_keys = _lexer_trans_keys + _lexer_key_offsets[cs];
|
1274
|
+
_trans = _lexer_index_offsets[cs];
|
1275
|
+
|
1276
|
+
_klen = _lexer_single_lengths[cs];
|
1277
|
+
if ( _klen > 0 ) {
|
1278
|
+
const char *_lower = _keys;
|
1279
|
+
const char *_mid;
|
1280
|
+
const char *_upper = _keys + _klen - 1;
|
1281
|
+
while (1) {
|
1282
|
+
if ( _upper < _lower )
|
1283
|
+
break;
|
1284
|
+
|
1285
|
+
_mid = _lower + ((_upper-_lower) >> 1);
|
1286
|
+
if ( (*p) < *_mid )
|
1287
|
+
_upper = _mid - 1;
|
1288
|
+
else if ( (*p) > *_mid )
|
1289
|
+
_lower = _mid + 1;
|
1290
|
+
else {
|
1291
|
+
_trans += (_mid - _keys);
|
1292
|
+
goto _match;
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
_keys += _klen;
|
1296
|
+
_trans += _klen;
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
_klen = _lexer_range_lengths[cs];
|
1300
|
+
if ( _klen > 0 ) {
|
1301
|
+
const char *_lower = _keys;
|
1302
|
+
const char *_mid;
|
1303
|
+
const char *_upper = _keys + (_klen<<1) - 2;
|
1304
|
+
while (1) {
|
1305
|
+
if ( _upper < _lower )
|
1306
|
+
break;
|
1307
|
+
|
1308
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
|
1309
|
+
if ( (*p) < _mid[0] )
|
1310
|
+
_upper = _mid - 2;
|
1311
|
+
else if ( (*p) > _mid[1] )
|
1312
|
+
_lower = _mid + 2;
|
1313
|
+
else {
|
1314
|
+
_trans += ((_mid - _keys)>>1);
|
1315
|
+
goto _match;
|
1316
|
+
}
|
1317
|
+
}
|
1318
|
+
_trans += _klen;
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
_match:
|
1322
|
+
cs = _lexer_trans_targs[_trans];
|
1323
|
+
|
1324
|
+
if ( _lexer_trans_actions[_trans] == 0 )
|
1325
|
+
goto _again;
|
1326
|
+
|
1327
|
+
_acts = _lexer_actions + _lexer_trans_actions[_trans];
|
1328
|
+
_nacts = (unsigned int) *_acts++;
|
1329
|
+
while ( _nacts-- > 0 )
|
1330
|
+
{
|
1331
|
+
switch ( *_acts++ )
|
1332
|
+
{
|
1333
|
+
case 0:
|
1334
|
+
#line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1335
|
+
{
|
1336
|
+
MARK(content_start, p);
|
1337
|
+
lexer->current_line = lexer->line_number;
|
1338
|
+
lexer->start_col = lexer->content_start - lexer->last_newline - (lexer->keyword_end - lexer->keyword_start) + 2;
|
1339
|
+
}
|
1340
|
+
break;
|
1341
|
+
case 1:
|
1342
|
+
#line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1343
|
+
{
|
1344
|
+
MARK(content_start, p);
|
1345
|
+
}
|
1346
|
+
break;
|
1347
|
+
case 2:
|
1348
|
+
#line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1349
|
+
{
|
1350
|
+
lexer->current_line = lexer->line_number;
|
1351
|
+
lexer->start_col = p - data - lexer->last_newline;
|
1352
|
+
}
|
1353
|
+
break;
|
1354
|
+
case 3:
|
1355
|
+
#line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1356
|
+
{
|
1357
|
+
int len = LEN(content_start, PTR_TO(final_newline));
|
1358
|
+
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
1359
|
+
|
1360
|
+
if (len < 0) len = 0;
|
1361
|
+
if (type_len < 0) len = 0;
|
1362
|
+
|
1363
|
+
store_docstring_content(listener, lexer->start_col, PTR_TO(docstring_content_type_start), type_len, PTR_TO(content_start), len, lexer->current_line);
|
1364
|
+
}
|
1365
|
+
break;
|
1366
|
+
case 4:
|
1367
|
+
#line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1368
|
+
{
|
1369
|
+
MARK(docstring_content_type_start, p);
|
1370
|
+
}
|
1371
|
+
break;
|
1372
|
+
case 5:
|
1373
|
+
#line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1374
|
+
{
|
1375
|
+
MARK(docstring_content_type_end, p);
|
1376
|
+
}
|
1377
|
+
break;
|
1378
|
+
case 6:
|
1379
|
+
#line 116 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1380
|
+
{
|
1381
|
+
STORE_KW_END_CON(feature);
|
1382
|
+
}
|
1383
|
+
break;
|
1384
|
+
case 7:
|
1385
|
+
#line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1386
|
+
{
|
1387
|
+
STORE_KW_END_CON(background);
|
1388
|
+
}
|
1389
|
+
break;
|
1390
|
+
case 8:
|
1391
|
+
#line 124 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1392
|
+
{
|
1393
|
+
STORE_KW_END_CON(scenario);
|
1394
|
+
}
|
1395
|
+
break;
|
1396
|
+
case 9:
|
1397
|
+
#line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1398
|
+
{
|
1399
|
+
STORE_KW_END_CON(scenario_outline);
|
1400
|
+
}
|
1401
|
+
break;
|
1402
|
+
case 10:
|
1403
|
+
#line 132 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1404
|
+
{
|
1405
|
+
STORE_KW_END_CON(examples);
|
1406
|
+
}
|
1407
|
+
break;
|
1408
|
+
case 11:
|
1409
|
+
#line 136 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1410
|
+
{
|
1411
|
+
store_kw_con(listener, "step",
|
1412
|
+
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
1413
|
+
PTR_TO(content_start), LEN(content_start, p),
|
1414
|
+
lexer->current_line);
|
1415
|
+
}
|
1416
|
+
break;
|
1417
|
+
case 12:
|
1418
|
+
#line 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1419
|
+
{
|
1420
|
+
STORE_ATTR(comment);
|
1421
|
+
lexer->mark = 0;
|
1422
|
+
}
|
1423
|
+
break;
|
1424
|
+
case 13:
|
1425
|
+
#line 148 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1426
|
+
{
|
1427
|
+
STORE_ATTR(tag);
|
1428
|
+
lexer->mark = 0;
|
1429
|
+
}
|
1430
|
+
break;
|
1431
|
+
case 14:
|
1432
|
+
#line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1433
|
+
{
|
1434
|
+
lexer->line_number += 1;
|
1435
|
+
MARK(final_newline, p);
|
1436
|
+
}
|
1437
|
+
break;
|
1438
|
+
case 15:
|
1439
|
+
#line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1440
|
+
{
|
1441
|
+
MARK(last_newline, p + 1);
|
1442
|
+
}
|
1443
|
+
break;
|
1444
|
+
case 16:
|
1445
|
+
#line 162 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1446
|
+
{
|
1447
|
+
if (lexer->mark == 0) {
|
1448
|
+
MARK(mark, p);
|
1449
|
+
}
|
1450
|
+
}
|
1451
|
+
break;
|
1452
|
+
case 17:
|
1453
|
+
#line 168 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1454
|
+
{
|
1455
|
+
MARK(keyword_end, p);
|
1456
|
+
MARK(keyword_start, PTR_TO(mark));
|
1457
|
+
MARK(content_start, p + 1);
|
1458
|
+
lexer->mark = 0;
|
1459
|
+
}
|
1460
|
+
break;
|
1461
|
+
case 18:
|
1462
|
+
#line 175 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1463
|
+
{
|
1464
|
+
MARK(content_end, p);
|
1465
|
+
}
|
1466
|
+
break;
|
1467
|
+
case 19:
|
1468
|
+
#line 179 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1469
|
+
{
|
1470
|
+
p = p - 1;
|
1471
|
+
lexer->current_line = lexer->line_number;
|
1472
|
+
current_row = rb_ary_new();
|
1473
|
+
}
|
1474
|
+
break;
|
1475
|
+
case 20:
|
1476
|
+
#line 185 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1477
|
+
{
|
1478
|
+
MARK(content_start, p);
|
1479
|
+
}
|
1480
|
+
break;
|
1481
|
+
case 21:
|
1482
|
+
#line 189 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1483
|
+
{
|
1484
|
+
VALUE re_pipe, re_newline, re_backslash;
|
1485
|
+
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
1486
|
+
rb_funcall(con, rb_intern("strip!"), 0);
|
1487
|
+
re_pipe = rb_reg_regcomp(rb_str_new2("\\\\\\|"));
|
1488
|
+
re_newline = rb_reg_regcomp(rb_str_new2("\\\\n"));
|
1489
|
+
re_backslash = rb_reg_regcomp(rb_str_new2("\\\\\\\\"));
|
1490
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_pipe, rb_str_new2("|"));
|
1491
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_newline, rb_str_new2("\n"));
|
1492
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_backslash, rb_str_new2("\\"));
|
1493
|
+
|
1494
|
+
rb_ary_push(current_row, con);
|
1495
|
+
}
|
1496
|
+
break;
|
1497
|
+
case 22:
|
1498
|
+
#line 203 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1499
|
+
{
|
1500
|
+
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1501
|
+
}
|
1502
|
+
break;
|
1503
|
+
case 23:
|
1504
|
+
#line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1505
|
+
{
|
1506
|
+
int line;
|
1507
|
+
if (cs < lexer_first_final) {
|
1508
|
+
size_t count = 0;
|
1509
|
+
VALUE newstr_val;
|
1510
|
+
char *newstr;
|
1511
|
+
int newstr_count = 0;
|
1512
|
+
size_t len;
|
1513
|
+
const char *buff;
|
1514
|
+
if (lexer->last_newline != 0) {
|
1515
|
+
len = LEN(last_newline, eof);
|
1516
|
+
buff = PTR_TO(last_newline);
|
1517
|
+
} else {
|
1518
|
+
len = strlen(data);
|
1519
|
+
buff = data;
|
1520
|
+
}
|
1521
|
+
|
1522
|
+
// Allocate as a ruby string so that it gets cleaned up by GC
|
1523
|
+
newstr_val = rb_str_new(buff, len);
|
1524
|
+
newstr = RSTRING_PTR(newstr_val);
|
1525
|
+
|
1526
|
+
|
1527
|
+
for (count = 0; count < len; count++) {
|
1528
|
+
if(buff[count] == 10) {
|
1529
|
+
newstr[newstr_count] = '\0'; // terminate new string at first newline found
|
1530
|
+
break;
|
1531
|
+
} else {
|
1532
|
+
if (buff[count] == '%') {
|
1533
|
+
newstr[newstr_count++] = buff[count];
|
1534
|
+
newstr[newstr_count] = buff[count];
|
1535
|
+
} else {
|
1536
|
+
newstr[newstr_count] = buff[count];
|
1537
|
+
}
|
1538
|
+
}
|
1539
|
+
newstr_count++;
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
line = lexer->line_number;
|
1543
|
+
lexer_init(lexer); // Re-initialize so we can scan again with the same lexer
|
1544
|
+
raise_lexer_error(newstr, line);
|
1545
|
+
} else {
|
1546
|
+
rb_funcall(listener, rb_intern("eof"), 0);
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
break;
|
1550
|
+
#line 1551 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
|
1554
|
+
_again:
|
1555
|
+
if ( cs == 0 )
|
1556
|
+
goto _out;
|
1557
|
+
if ( ++p != pe )
|
1558
|
+
goto _resume;
|
1559
|
+
_test_eof: {}
|
1560
|
+
if ( p == eof )
|
1561
|
+
{
|
1562
|
+
const char *__acts = _lexer_actions + _lexer_eof_actions[cs];
|
1563
|
+
unsigned int __nacts = (unsigned int) *__acts++;
|
1564
|
+
while ( __nacts-- > 0 ) {
|
1565
|
+
switch ( *__acts++ ) {
|
1566
|
+
case 23:
|
1567
|
+
#line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1568
|
+
{
|
1569
|
+
int line;
|
1570
|
+
if (cs < lexer_first_final) {
|
1571
|
+
size_t count = 0;
|
1572
|
+
VALUE newstr_val;
|
1573
|
+
char *newstr;
|
1574
|
+
int newstr_count = 0;
|
1575
|
+
size_t len;
|
1576
|
+
const char *buff;
|
1577
|
+
if (lexer->last_newline != 0) {
|
1578
|
+
len = LEN(last_newline, eof);
|
1579
|
+
buff = PTR_TO(last_newline);
|
1580
|
+
} else {
|
1581
|
+
len = strlen(data);
|
1582
|
+
buff = data;
|
1583
|
+
}
|
1584
|
+
|
1585
|
+
// Allocate as a ruby string so that it gets cleaned up by GC
|
1586
|
+
newstr_val = rb_str_new(buff, len);
|
1587
|
+
newstr = RSTRING_PTR(newstr_val);
|
1588
|
+
|
1589
|
+
|
1590
|
+
for (count = 0; count < len; count++) {
|
1591
|
+
if(buff[count] == 10) {
|
1592
|
+
newstr[newstr_count] = '\0'; // terminate new string at first newline found
|
1593
|
+
break;
|
1594
|
+
} else {
|
1595
|
+
if (buff[count] == '%') {
|
1596
|
+
newstr[newstr_count++] = buff[count];
|
1597
|
+
newstr[newstr_count] = buff[count];
|
1598
|
+
} else {
|
1599
|
+
newstr[newstr_count] = buff[count];
|
1600
|
+
}
|
1601
|
+
}
|
1602
|
+
newstr_count++;
|
1603
|
+
}
|
1604
|
+
|
1605
|
+
line = lexer->line_number;
|
1606
|
+
lexer_init(lexer); // Re-initialize so we can scan again with the same lexer
|
1607
|
+
raise_lexer_error(newstr, line);
|
1608
|
+
} else {
|
1609
|
+
rb_funcall(listener, rb_intern("eof"), 0);
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
break;
|
1613
|
+
#line 1614 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
1614
|
+
}
|
1615
|
+
}
|
1616
|
+
}
|
1617
|
+
|
1618
|
+
_out: {}
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
#line 426 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1622
|
+
|
1623
|
+
assert(p <= pe && "data overflow after parsing execute");
|
1624
|
+
assert(lexer->content_start <= len && "content starts after data end");
|
1625
|
+
assert(lexer->mark < len && "mark is after data end");
|
1626
|
+
|
1627
|
+
// Reset lexer by re-initializing the whole thing
|
1628
|
+
lexer_init(lexer);
|
1629
|
+
|
1630
|
+
if (cs == lexer_error) {
|
1631
|
+
rb_raise(rb_eGherkinLexingError, "Invalid format, lexing fails.");
|
1632
|
+
} else {
|
1633
|
+
return Qtrue;
|
1634
|
+
}
|
1635
|
+
}
|
1636
|
+
}
|
1637
|
+
|
1638
|
+
void Init_gherkin_lexer_uz()
|
1639
|
+
{
|
1640
|
+
mGherkin = rb_define_module("Gherkin");
|
1641
|
+
mGherkinLexer = rb_define_module_under(mGherkin, "Lexer");
|
1642
|
+
rb_eGherkinLexingError = rb_const_get(mGherkinLexer, rb_intern("LexingError"));
|
1643
|
+
|
1644
|
+
mCLexer = rb_define_module_under(mGherkin, "CLexer");
|
1645
|
+
cI18nLexer = rb_define_class_under(mCLexer, "Uz", rb_cObject);
|
1646
|
+
rb_define_alloc_func(cI18nLexer, CLexer_alloc);
|
1647
|
+
rb_define_method(cI18nLexer, "initialize", CLexer_init, 1);
|
1648
|
+
rb_define_method(cI18nLexer, "scan", CLexer_scan, 1);
|
1649
|
+
}
|
1650
|
+
|