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,1940 @@
|
|
1
|
+
|
2
|
+
#line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.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/uk.c.rl"
|
84
|
+
|
85
|
+
|
86
|
+
/** Data **/
|
87
|
+
|
88
|
+
#line 89 "ext/gherkin_lexer_uk/gherkin_lexer_uk.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, 22, 23, 24, 26, 37,
|
113
|
+
38, 39, 41, 43, 48, 53, 58, 63,
|
114
|
+
67, 71, 73, 74, 75, 76, 77, 78,
|
115
|
+
79, 80, 81, 82, 83, 84, 85, 86,
|
116
|
+
87, 88, 93, 100, 105, 109, 115, 118,
|
117
|
+
120, 126, 137, 139, 140, 141, 142, 143,
|
118
|
+
144, 145, 146, 147, 148, 149, 150, 151,
|
119
|
+
152, 153, 154, 155, 156, 157, 158, 159,
|
120
|
+
160, 161, 162, 163, 164, 165, 166, 167,
|
121
|
+
168, 169, 170, 171, 172, 174, 175, 176,
|
122
|
+
177, 178, 179, 180, 181, 182, 183, 184,
|
123
|
+
185, 186, 187, 188, 189, 190, 191, 192,
|
124
|
+
193, 194, 203, 214, 216, 227, 230, 232,
|
125
|
+
234, 236, 238, 240, 242, 244, 246, 248,
|
126
|
+
250, 252, 254, 256, 258, 260, 262, 264,
|
127
|
+
266, 268, 270, 272, 274, 276, 278, 280,
|
128
|
+
282, 284, 286, 288, 290, 292, 294, 296,
|
129
|
+
298, 300, 302, 304, 306, 308, 310, 312,
|
130
|
+
314, 316, 318, 320, 322, 324, 326, 328,
|
131
|
+
330, 332, 335, 337, 339, 341, 343, 346,
|
132
|
+
348, 350, 352, 354, 356, 358, 360, 362,
|
133
|
+
364, 366, 368, 370, 372, 374, 376, 378,
|
134
|
+
380, 382, 384, 386, 388, 390, 392, 394,
|
135
|
+
396, 398, 400, 402, 404, 406, 408, 410,
|
136
|
+
412, 414, 416, 418, 420, 422, 424, 426,
|
137
|
+
428, 430, 432, 434, 436, 439, 442, 444,
|
138
|
+
446, 448, 450, 452, 454, 456, 458, 460,
|
139
|
+
462, 464, 466, 468, 470, 472, 474, 476,
|
140
|
+
478, 480, 482, 484, 486, 488, 490, 492,
|
141
|
+
494, 496, 498, 500, 502, 504, 506, 508,
|
142
|
+
510, 512, 514, 516, 517, 518, 519, 520,
|
143
|
+
522, 523, 524, 525, 526, 527, 528, 529,
|
144
|
+
530, 531, 532, 533, 540, 542, 544, 546,
|
145
|
+
548, 550, 552, 554, 556, 558, 560, 562,
|
146
|
+
564, 566, 568, 570, 572, 574, 576, 578,
|
147
|
+
580, 581, 582, 583, 584, 585, 586, 587,
|
148
|
+
588, 589, 590, 591, 592, 594, 595, 596,
|
149
|
+
597, 598, 600, 601, 602, 603, 604, 605,
|
150
|
+
606, 607, 608, 609, 610, 611, 612, 613,
|
151
|
+
614, 615, 616, 617, 618, 619, 620, 621,
|
152
|
+
622, 623, 624, 625, 626, 627, 628, 629,
|
153
|
+
630, 631, 632, 633, 634, 643, 654, 656,
|
154
|
+
659, 661, 663, 665, 667, 669, 671, 673,
|
155
|
+
675, 677, 679, 681, 683, 685, 687, 689,
|
156
|
+
691, 693, 695, 697, 699, 701, 703, 705,
|
157
|
+
707, 709, 711, 713, 715, 717, 719, 721,
|
158
|
+
723, 725, 727, 729, 731, 733, 735, 737,
|
159
|
+
739, 741, 743, 745, 747, 749, 751, 753,
|
160
|
+
755, 757, 759, 761, 764, 766, 768, 770,
|
161
|
+
772, 774, 776, 778, 780, 782, 784, 786,
|
162
|
+
788, 790, 792, 794, 796, 798, 800, 802,
|
163
|
+
805, 808, 810, 812, 814, 816, 818, 820,
|
164
|
+
822, 824, 826, 828, 830, 832, 834, 836,
|
165
|
+
838, 840, 842, 844, 846, 848, 850, 852,
|
166
|
+
854, 856, 858, 860, 862, 864, 866, 868,
|
167
|
+
870, 872, 874, 876, 878, 880, 882, 883,
|
168
|
+
884, 885, 886, 887, 888, 889, 890, 891,
|
169
|
+
892, 893, 894, 895, 896, 897, 906, 917,
|
170
|
+
919, 922, 924, 926, 928, 930, 932, 934,
|
171
|
+
936, 938, 940, 942, 944, 946, 948, 950,
|
172
|
+
952, 954, 956, 958, 960, 962, 964, 966,
|
173
|
+
968, 970, 972, 974, 976, 978, 980, 982,
|
174
|
+
984, 986, 988, 991, 993, 995, 997, 999,
|
175
|
+
1001, 1003, 1005, 1007, 1009, 1011, 1013, 1015,
|
176
|
+
1017, 1019, 1021, 1023, 1025, 1027, 1029, 1031,
|
177
|
+
1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047,
|
178
|
+
1049, 1051, 1053, 1055, 1057, 1059, 1061, 1064,
|
179
|
+
1066, 1068, 1070, 1072, 1075, 1077, 1079, 1081,
|
180
|
+
1083, 1085, 1087, 1089, 1091, 1093, 1095, 1097,
|
181
|
+
1099, 1101, 1103, 1105, 1107, 1109, 1111, 1113,
|
182
|
+
1115, 1117, 1119, 1121, 1123, 1125, 1127, 1129,
|
183
|
+
1131, 1133, 1135, 1137, 1139, 1141, 1143, 1145,
|
184
|
+
1147, 1149, 1151, 1153, 1155, 1157, 1159, 1161,
|
185
|
+
1163, 1166, 1169, 1171, 1173, 1175, 1177, 1179,
|
186
|
+
1181, 1183, 1185, 1187, 1189, 1191, 1193, 1195,
|
187
|
+
1197, 1199, 1201, 1203, 1205, 1207, 1209, 1211,
|
188
|
+
1213, 1215, 1217, 1219, 1221, 1223, 1225, 1227,
|
189
|
+
1229, 1231, 1233, 1235, 1237, 1239, 1241, 1243,
|
190
|
+
1244, 1246, 1248, 1249, 1250, 1251, 1252, 1253,
|
191
|
+
1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261,
|
192
|
+
1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269,
|
193
|
+
1270, 1271, 1272, 1280, 1284, 1287, 1289, 1291,
|
194
|
+
1293, 1295, 1297, 1299, 1301, 1303, 1305, 1307,
|
195
|
+
1309, 1311, 1313, 1315, 1317, 1319, 1321, 1323,
|
196
|
+
1325, 1327, 1329, 1331, 1333, 1335, 1337, 1339,
|
197
|
+
1341, 1343, 1345, 1347, 1349, 1351, 1354, 1356,
|
198
|
+
1358, 1360, 1362, 1364, 1366, 1368, 1370, 1372,
|
199
|
+
1374, 1376, 1378, 1380, 1382, 1384, 1386, 1388,
|
200
|
+
1390, 1392, 1394, 1396, 1398, 1400, 1402, 1404,
|
201
|
+
1406, 1408, 1410, 1412, 1414, 1416, 1418, 1420,
|
202
|
+
1422, 1424, 1426, 1428, 1430, 1432, 1434, 1436,
|
203
|
+
1438, 1440, 1442, 1444, 1446, 1448, 1450, 1452,
|
204
|
+
1454, 1456, 1458, 1460, 1462, 1464, 1466, 1468,
|
205
|
+
1470, 1472, 1474, 1476, 1478, 1480, 1482, 1484,
|
206
|
+
1486, 1488, 1490, 1492, 1494, 1496, 1498, 1500,
|
207
|
+
1502, 1504, 1505, 1506, 1507, 1508
|
208
|
+
};
|
209
|
+
|
210
|
+
static const char _lexer_trans_keys[] = {
|
211
|
+
-48, -17, 10, 32, 34, 35, 37, 42,
|
212
|
+
64, 124, 9, 13, -122, -112, -108, -102,
|
213
|
+
-99, -97, -95, -94, -92, -81, 32, 10,
|
214
|
+
10, 13, -48, 10, 32, 34, 35, 37,
|
215
|
+
42, 64, 124, 9, 13, 34, 34, 10,
|
216
|
+
13, 10, 13, 10, 32, 34, 9, 13,
|
217
|
+
10, 32, 34, 9, 13, 10, 32, 34,
|
218
|
+
9, 13, 10, 32, 34, 9, 13, 10,
|
219
|
+
32, 9, 13, 10, 32, 9, 13, 10,
|
220
|
+
13, 10, 95, 70, 69, 65, 84, 85,
|
221
|
+
82, 69, 95, 69, 78, 68, 95, 37,
|
222
|
+
13, 32, 64, 9, 10, 9, 10, 13,
|
223
|
+
32, 64, 11, 12, 10, 32, 64, 9,
|
224
|
+
13, 32, 124, 9, 13, 10, 32, 92,
|
225
|
+
124, 9, 13, 10, 92, 124, 10, 92,
|
226
|
+
10, 32, 92, 124, 9, 13, -48, 10,
|
227
|
+
32, 34, 35, 37, 42, 64, 124, 9,
|
228
|
+
13, -48, 32, -69, -48, -75, -47, -126,
|
229
|
+
-48, -80, -48, -70, -48, -66, -48, -74,
|
230
|
+
-48, -80, -48, -67, -48, -66, -48, -66,
|
231
|
+
-48, -69, -48, -72, -48, -75, -47, -123,
|
232
|
+
-48, -80, -48, -71, -48, -47, -75, -47,
|
233
|
+
-128, -48, -75, -48, -76, -47, -125, -48,
|
234
|
+
-68, -48, -66, -48, -78, -48, -80, 58,
|
235
|
+
10, 10, -48, 10, 32, 35, 37, 42,
|
236
|
+
64, 9, 13, -122, -112, -108, -102, -99,
|
237
|
+
-97, -95, -94, -92, -81, 10, 10, 32,
|
238
|
+
-48, 10, 32, 34, 35, 37, 42, 64,
|
239
|
+
124, 9, 13, -48, 10, 32, -69, 10,
|
240
|
+
-48, 10, -75, 10, -47, 10, -126, 10,
|
241
|
+
-48, 10, -80, 10, -48, 10, -70, 10,
|
242
|
+
-48, 10, -66, 10, -48, 10, -74, 10,
|
243
|
+
-48, 10, -80, 10, -48, 10, -67, 10,
|
244
|
+
-48, 10, -66, 10, -48, 10, -66, 10,
|
245
|
+
-48, 10, -69, 10, -48, 10, -72, 10,
|
246
|
+
-48, 10, -75, 10, -47, 10, -123, 10,
|
247
|
+
-48, 10, -80, 10, -48, 10, -71, 10,
|
248
|
+
-47, 10, -128, 10, -48, 10, -72, 10,
|
249
|
+
-48, 10, -65, 10, -47, 10, -125, 10,
|
250
|
+
-47, 10, -127, 10, -47, 10, -126, 10,
|
251
|
+
-48, 10, -72, 10, -48, 10, -68, 10,
|
252
|
+
-48, 10, -66, 10, 10, 32, 44, 10,
|
253
|
+
32, -47, 10, -119, 10, -47, 10, -126,
|
254
|
+
-122, 10, -47, 10, -128, 10, -47, 10,
|
255
|
+
-125, 10, -48, 10, -70, 10, -47, 10,
|
256
|
+
-126, 10, -47, 10, -125, 10, -47, 10,
|
257
|
+
-128, 10, -48, 10, -80, 10, 10, 32,
|
258
|
+
-47, 10, -127, 10, -47, 10, -122, 10,
|
259
|
+
-48, 10, -75, 10, -48, 10, -67, 10,
|
260
|
+
-48, 10, -80, 10, -47, 10, -128, 10,
|
261
|
+
-47, 10, -106, 10, -47, 10, -114, 10,
|
262
|
+
10, 58, -48, 10, -75, 10, -48, 10,
|
263
|
+
-67, 10, -48, 10, -80, 10, -47, 10,
|
264
|
+
-128, 10, -47, 10, -106, 10, -48, 10,
|
265
|
+
-71, 10, -48, 10, -80, -66, 10, -48,
|
266
|
+
10, 32, -76, 10, -47, 10, -106, 10,
|
267
|
+
-47, 10, -125, 10, -48, 10, -67, 10,
|
268
|
+
-48, 10, -70, 10, -47, 10, -122, 10,
|
269
|
+
-47, 10, -106, 10, -48, 10, -66, 10,
|
270
|
+
-48, 10, -67, 10, -48, 10, -80, 10,
|
271
|
+
-48, 10, -69, 10, -48, 10, -70, 10,
|
272
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
273
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
274
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
275
|
+
10, 95, 10, 37, -128, -48, -72, -48,
|
276
|
+
-70, -65, -48, -69, -48, -80, -48, -76,
|
277
|
+
-48, -72, 58, 10, 10, -48, 10, 32,
|
278
|
+
35, 124, 9, 13, -92, 10, -47, 10,
|
279
|
+
-125, 10, -48, 10, -67, 10, -48, 10,
|
280
|
+
-70, 10, -47, 10, -122, 10, -47, 10,
|
281
|
+
-106, 10, -48, 10, -66, 10, -48, 10,
|
282
|
+
-67, 10, -48, 10, -80, 10, -48, 10,
|
283
|
+
-69, 10, 10, 58, -47, -125, -47, -127,
|
284
|
+
-47, -126, -48, -72, -48, -68, -48, -66,
|
285
|
+
32, 44, 32, -47, -119, -47, -126, -122,
|
286
|
+
-47, -128, -47, -125, -48, -70, -47, -126,
|
287
|
+
-47, -125, -47, -128, -48, -80, 32, -47,
|
288
|
+
-127, -47, -122, -48, -75, -48, -67, -48,
|
289
|
+
-80, -47, -128, -47, -106, -47, -114, 58,
|
290
|
+
10, 10, -48, 10, 32, 35, 37, 42,
|
291
|
+
64, 9, 13, -122, -112, -108, -102, -99,
|
292
|
+
-97, -95, -94, -92, -81, 10, 10, 32,
|
293
|
+
-48, 10, 32, -69, 10, -48, 10, -75,
|
294
|
+
10, -47, 10, -126, 10, -48, 10, -80,
|
295
|
+
10, -48, 10, -70, 10, -48, 10, -66,
|
296
|
+
10, -48, 10, -74, 10, -48, 10, -80,
|
297
|
+
10, -48, 10, -67, 10, -48, 10, -66,
|
298
|
+
10, -48, 10, -66, 10, -48, 10, -69,
|
299
|
+
10, -48, 10, -72, 10, -48, 10, -75,
|
300
|
+
10, -47, 10, -123, 10, -48, 10, -80,
|
301
|
+
10, -48, 10, -71, 10, -47, 10, -128,
|
302
|
+
10, -48, 10, -72, 10, -48, 10, -65,
|
303
|
+
10, -47, 10, -125, 10, -47, 10, -127,
|
304
|
+
10, -47, 10, -126, 10, -48, 10, -72,
|
305
|
+
10, -48, 10, -68, 10, -48, 10, -66,
|
306
|
+
10, 10, 32, 44, 10, 32, -47, 10,
|
307
|
+
-119, 10, -47, 10, -122, 10, -48, 10,
|
308
|
+
-75, 10, -48, 10, -67, 10, -48, 10,
|
309
|
+
-80, 10, -47, 10, -128, 10, -47, 10,
|
310
|
+
-106, 10, -48, 10, -71, 10, 10, 58,
|
311
|
+
-48, 10, -80, -66, 10, -48, 10, 32,
|
312
|
+
-76, 10, -47, 10, -106, 10, -47, 10,
|
313
|
+
-125, 10, -48, 10, -67, 10, -48, 10,
|
314
|
+
-70, 10, -47, 10, -122, 10, -47, 10,
|
315
|
+
-106, 10, -48, 10, -66, 10, -48, 10,
|
316
|
+
-67, 10, -48, 10, -80, 10, -48, 10,
|
317
|
+
-69, 10, -48, 10, -70, 10, 10, 95,
|
318
|
+
10, 70, 10, 69, 10, 65, 10, 84,
|
319
|
+
10, 85, 10, 82, 10, 69, 10, 95,
|
320
|
+
10, 69, 10, 78, 10, 68, 10, 95,
|
321
|
+
10, 37, -48, -75, -48, -67, -48, -80,
|
322
|
+
-47, -128, -47, -106, -48, -71, 58, 10,
|
323
|
+
10, -48, 10, 32, 35, 37, 42, 64,
|
324
|
+
9, 13, -122, -112, -108, -102, -99, -97,
|
325
|
+
-95, -94, -92, -81, 10, 10, 32, -48,
|
326
|
+
10, 32, -69, 10, -48, 10, -75, 10,
|
327
|
+
-47, 10, -126, 10, -48, 10, -80, 10,
|
328
|
+
-48, 10, -70, 10, -48, 10, -66, 10,
|
329
|
+
-48, 10, -74, 10, -48, 10, -80, 10,
|
330
|
+
-48, 10, -67, 10, -48, 10, -66, 10,
|
331
|
+
-48, 10, -66, 10, -48, 10, -69, 10,
|
332
|
+
-48, 10, -72, 10, -48, 10, -75, 10,
|
333
|
+
-47, 10, -123, 10, -48, 10, -80, 10,
|
334
|
+
-48, 10, -71, 10, -48, -47, 10, -75,
|
335
|
+
10, -47, 10, -128, 10, -48, 10, -75,
|
336
|
+
10, -48, 10, -76, 10, -47, 10, -125,
|
337
|
+
10, -48, 10, -68, 10, -48, 10, -66,
|
338
|
+
10, -48, 10, -78, 10, -48, 10, -80,
|
339
|
+
10, 10, 58, -128, 10, -48, 10, -72,
|
340
|
+
10, -48, 10, -65, 10, -47, 10, -125,
|
341
|
+
10, -47, 10, -127, 10, -47, 10, -126,
|
342
|
+
10, -48, 10, -72, 10, -48, 10, -68,
|
343
|
+
10, -48, 10, -66, 10, 10, 32, 44,
|
344
|
+
10, 32, -47, 10, -119, 10, -47, 10,
|
345
|
+
-126, -122, 10, -47, 10, -128, 10, -47,
|
346
|
+
10, -125, 10, -48, 10, -70, 10, -47,
|
347
|
+
10, -126, 10, -47, 10, -125, 10, -47,
|
348
|
+
10, -128, 10, -48, 10, -80, 10, 10,
|
349
|
+
32, -47, 10, -127, 10, -47, 10, -122,
|
350
|
+
10, -48, 10, -75, 10, -48, 10, -67,
|
351
|
+
10, -48, 10, -80, 10, -47, 10, -128,
|
352
|
+
10, -47, 10, -106, 10, -47, 10, -114,
|
353
|
+
10, -48, 10, -75, 10, -48, 10, -67,
|
354
|
+
10, -48, 10, -80, 10, -47, 10, -128,
|
355
|
+
10, -47, 10, -106, 10, -48, 10, -71,
|
356
|
+
10, -48, 10, -80, -66, 10, -48, 10,
|
357
|
+
32, -76, 10, -47, 10, -106, 10, -47,
|
358
|
+
10, -125, 10, -48, 10, -67, 10, -48,
|
359
|
+
10, -70, 10, -47, 10, -122, 10, -47,
|
360
|
+
10, -106, 10, -48, 10, -66, 10, -48,
|
361
|
+
10, -67, 10, -48, 10, -80, 10, -48,
|
362
|
+
10, -69, 10, -48, 10, -70, 10, 10,
|
363
|
+
95, 10, 70, 10, 69, 10, 65, 10,
|
364
|
+
84, 10, 85, 10, 82, 10, 69, 10,
|
365
|
+
95, 10, 69, 10, 78, 10, 68, 10,
|
366
|
+
95, 10, 37, -48, -80, -66, -48, 32,
|
367
|
+
-76, -47, -106, -47, -125, -48, -67, -48,
|
368
|
+
-70, -47, -122, -47, -106, -48, -66, -48,
|
369
|
+
-67, -48, -80, -48, -69, 58, 10, 10,
|
370
|
+
-48, 10, 32, 35, 37, 64, 9, 13,
|
371
|
+
-97, -95, -92, 10, -48, -47, 10, -75,
|
372
|
+
10, -47, 10, -128, 10, -48, 10, -75,
|
373
|
+
10, -48, 10, -76, 10, -47, 10, -125,
|
374
|
+
10, -48, 10, -68, 10, -48, 10, -66,
|
375
|
+
10, -48, 10, -78, 10, -48, 10, -80,
|
376
|
+
10, 10, 58, -128, 10, -48, 10, -72,
|
377
|
+
10, -48, 10, -70, 10, -48, 10, -69,
|
378
|
+
10, -48, 10, -80, 10, -48, 10, -76,
|
379
|
+
10, -48, 10, -72, 10, -47, 10, -126,
|
380
|
+
-122, 10, -47, 10, -128, 10, -47, 10,
|
381
|
+
-125, 10, -48, 10, -70, 10, -47, 10,
|
382
|
+
-126, 10, -47, 10, -125, 10, -47, 10,
|
383
|
+
-128, 10, -48, 10, -80, 10, 10, 32,
|
384
|
+
-47, 10, -127, 10, -47, 10, -122, 10,
|
385
|
+
-48, 10, -75, 10, -48, 10, -67, 10,
|
386
|
+
-48, 10, -80, 10, -47, 10, -128, 10,
|
387
|
+
-47, 10, -106, 10, -47, 10, -114, 10,
|
388
|
+
-48, 10, -75, 10, -48, 10, -67, 10,
|
389
|
+
-48, 10, -80, 10, -47, 10, -128, 10,
|
390
|
+
-47, 10, -106, 10, -48, 10, -71, 10,
|
391
|
+
-47, 10, -125, 10, -48, 10, -67, 10,
|
392
|
+
-48, 10, -70, 10, -47, 10, -122, 10,
|
393
|
+
-47, 10, -106, 10, -48, 10, -66, 10,
|
394
|
+
-48, 10, -67, 10, -48, 10, -80, 10,
|
395
|
+
-48, 10, -69, 10, 10, 95, 10, 70,
|
396
|
+
10, 69, 10, 65, 10, 84, 10, 85,
|
397
|
+
10, 82, 10, 69, 10, 95, 10, 69,
|
398
|
+
10, 78, 10, 68, 10, 95, 10, 37,
|
399
|
+
-48, -70, -69, -65, 0
|
400
|
+
};
|
401
|
+
|
402
|
+
static const char _lexer_single_lengths[] = {
|
403
|
+
0, 10, 10, 1, 1, 2, 9, 1,
|
404
|
+
1, 2, 2, 3, 3, 3, 3, 2,
|
405
|
+
2, 2, 1, 1, 1, 1, 1, 1,
|
406
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
407
|
+
1, 3, 5, 3, 2, 4, 3, 2,
|
408
|
+
4, 9, 2, 1, 1, 1, 1, 1,
|
409
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
410
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
411
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
412
|
+
1, 1, 1, 1, 2, 1, 1, 1,
|
413
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
414
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
415
|
+
1, 7, 11, 2, 9, 3, 2, 2,
|
416
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
417
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
418
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
419
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
420
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
421
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
422
|
+
2, 3, 2, 2, 2, 2, 3, 2,
|
423
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
424
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
425
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
426
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
427
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
428
|
+
2, 2, 2, 2, 3, 3, 2, 2,
|
429
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
430
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
431
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
432
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
433
|
+
2, 2, 2, 1, 1, 1, 1, 2,
|
434
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
435
|
+
1, 1, 1, 5, 2, 2, 2, 2,
|
436
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
437
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
438
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
439
|
+
1, 1, 1, 1, 2, 1, 1, 1,
|
440
|
+
1, 2, 1, 1, 1, 1, 1, 1,
|
441
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
442
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
443
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
444
|
+
1, 1, 1, 1, 7, 11, 2, 3,
|
445
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
446
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
447
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
448
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
449
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
450
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
451
|
+
2, 2, 2, 3, 2, 2, 2, 2,
|
452
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
453
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
454
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
455
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
456
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
457
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
458
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
459
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
460
|
+
1, 1, 1, 1, 1, 7, 11, 2,
|
461
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
462
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
463
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
464
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
465
|
+
2, 2, 3, 2, 2, 2, 2, 2,
|
466
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
467
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
468
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
469
|
+
2, 2, 2, 2, 2, 2, 3, 2,
|
470
|
+
2, 2, 2, 3, 2, 2, 2, 2,
|
471
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
472
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
473
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
474
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
475
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
476
|
+
3, 3, 2, 2, 2, 2, 2, 2,
|
477
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
478
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
479
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
480
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
481
|
+
2, 2, 1, 1, 1, 1, 1, 1,
|
482
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
483
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
484
|
+
1, 1, 6, 4, 3, 2, 2, 2,
|
485
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
486
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
487
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
488
|
+
2, 2, 2, 2, 2, 3, 2, 2,
|
489
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
490
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
491
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
492
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
493
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
494
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
495
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
496
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
497
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
498
|
+
2, 1, 1, 1, 1, 0
|
499
|
+
};
|
500
|
+
|
501
|
+
static const char _lexer_range_lengths[] = {
|
502
|
+
0, 1, 0, 0, 0, 0, 1, 0,
|
503
|
+
0, 0, 0, 1, 1, 1, 1, 1,
|
504
|
+
1, 0, 0, 0, 0, 0, 0, 0,
|
505
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
506
|
+
0, 1, 1, 1, 1, 1, 0, 0,
|
507
|
+
1, 1, 0, 0, 0, 0, 0, 0,
|
508
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
509
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
510
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
511
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
512
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
513
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
514
|
+
0, 1, 0, 0, 1, 0, 0, 0,
|
515
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
516
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
517
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
518
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
519
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
520
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
521
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
522
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
523
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
524
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
525
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
526
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
527
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
528
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
529
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
530
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
531
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
532
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
533
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
534
|
+
0, 0, 0, 1, 0, 0, 0, 0,
|
535
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
536
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
537
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
538
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
539
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
540
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
541
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
542
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
543
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
544
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
545
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
546
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
547
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
548
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
549
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
550
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
551
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
552
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
553
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
554
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
555
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
556
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
557
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
558
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
559
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
560
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
561
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
562
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
563
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
564
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
565
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
566
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
567
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
568
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
569
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
570
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
571
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
572
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
573
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
574
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
575
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
576
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
577
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
578
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
579
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
580
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
581
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
582
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
583
|
+
0, 0, 1, 0, 0, 0, 0, 0,
|
584
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
585
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
586
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
587
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
588
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
589
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
590
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
591
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
592
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
593
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
594
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
595
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
596
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
597
|
+
0, 0, 0, 0, 0, 0
|
598
|
+
};
|
599
|
+
|
600
|
+
static const short _lexer_index_offsets[] = {
|
601
|
+
0, 0, 12, 23, 25, 27, 30, 41,
|
602
|
+
43, 45, 48, 51, 56, 61, 66, 71,
|
603
|
+
75, 79, 82, 84, 86, 88, 90, 92,
|
604
|
+
94, 96, 98, 100, 102, 104, 106, 108,
|
605
|
+
110, 112, 117, 124, 129, 133, 139, 143,
|
606
|
+
146, 152, 163, 166, 168, 170, 172, 174,
|
607
|
+
176, 178, 180, 182, 184, 186, 188, 190,
|
608
|
+
192, 194, 196, 198, 200, 202, 204, 206,
|
609
|
+
208, 210, 212, 214, 216, 218, 220, 222,
|
610
|
+
224, 226, 228, 230, 232, 235, 237, 239,
|
611
|
+
241, 243, 245, 247, 249, 251, 253, 255,
|
612
|
+
257, 259, 261, 263, 265, 267, 269, 271,
|
613
|
+
273, 275, 284, 296, 299, 310, 314, 317,
|
614
|
+
320, 323, 326, 329, 332, 335, 338, 341,
|
615
|
+
344, 347, 350, 353, 356, 359, 362, 365,
|
616
|
+
368, 371, 374, 377, 380, 383, 386, 389,
|
617
|
+
392, 395, 398, 401, 404, 407, 410, 413,
|
618
|
+
416, 419, 422, 425, 428, 431, 434, 437,
|
619
|
+
440, 443, 446, 449, 452, 455, 458, 461,
|
620
|
+
464, 467, 471, 474, 477, 480, 483, 487,
|
621
|
+
490, 493, 496, 499, 502, 505, 508, 511,
|
622
|
+
514, 517, 520, 523, 526, 529, 532, 535,
|
623
|
+
538, 541, 544, 547, 550, 553, 556, 559,
|
624
|
+
562, 565, 568, 571, 574, 577, 580, 583,
|
625
|
+
586, 589, 592, 595, 598, 601, 604, 607,
|
626
|
+
610, 613, 616, 619, 622, 626, 630, 633,
|
627
|
+
636, 639, 642, 645, 648, 651, 654, 657,
|
628
|
+
660, 663, 666, 669, 672, 675, 678, 681,
|
629
|
+
684, 687, 690, 693, 696, 699, 702, 705,
|
630
|
+
708, 711, 714, 717, 720, 723, 726, 729,
|
631
|
+
732, 735, 738, 741, 743, 745, 747, 749,
|
632
|
+
752, 754, 756, 758, 760, 762, 764, 766,
|
633
|
+
768, 770, 772, 774, 781, 784, 787, 790,
|
634
|
+
793, 796, 799, 802, 805, 808, 811, 814,
|
635
|
+
817, 820, 823, 826, 829, 832, 835, 838,
|
636
|
+
841, 843, 845, 847, 849, 851, 853, 855,
|
637
|
+
857, 859, 861, 863, 865, 868, 870, 872,
|
638
|
+
874, 876, 879, 881, 883, 885, 887, 889,
|
639
|
+
891, 893, 895, 897, 899, 901, 903, 905,
|
640
|
+
907, 909, 911, 913, 915, 917, 919, 921,
|
641
|
+
923, 925, 927, 929, 931, 933, 935, 937,
|
642
|
+
939, 941, 943, 945, 947, 956, 968, 971,
|
643
|
+
975, 978, 981, 984, 987, 990, 993, 996,
|
644
|
+
999, 1002, 1005, 1008, 1011, 1014, 1017, 1020,
|
645
|
+
1023, 1026, 1029, 1032, 1035, 1038, 1041, 1044,
|
646
|
+
1047, 1050, 1053, 1056, 1059, 1062, 1065, 1068,
|
647
|
+
1071, 1074, 1077, 1080, 1083, 1086, 1089, 1092,
|
648
|
+
1095, 1098, 1101, 1104, 1107, 1110, 1113, 1116,
|
649
|
+
1119, 1122, 1125, 1128, 1132, 1135, 1138, 1141,
|
650
|
+
1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165,
|
651
|
+
1168, 1171, 1174, 1177, 1180, 1183, 1186, 1189,
|
652
|
+
1193, 1197, 1200, 1203, 1206, 1209, 1212, 1215,
|
653
|
+
1218, 1221, 1224, 1227, 1230, 1233, 1236, 1239,
|
654
|
+
1242, 1245, 1248, 1251, 1254, 1257, 1260, 1263,
|
655
|
+
1266, 1269, 1272, 1275, 1278, 1281, 1284, 1287,
|
656
|
+
1290, 1293, 1296, 1299, 1302, 1305, 1308, 1310,
|
657
|
+
1312, 1314, 1316, 1318, 1320, 1322, 1324, 1326,
|
658
|
+
1328, 1330, 1332, 1334, 1336, 1338, 1347, 1359,
|
659
|
+
1362, 1366, 1369, 1372, 1375, 1378, 1381, 1384,
|
660
|
+
1387, 1390, 1393, 1396, 1399, 1402, 1405, 1408,
|
661
|
+
1411, 1414, 1417, 1420, 1423, 1426, 1429, 1432,
|
662
|
+
1435, 1438, 1441, 1444, 1447, 1450, 1453, 1456,
|
663
|
+
1459, 1462, 1465, 1469, 1472, 1475, 1478, 1481,
|
664
|
+
1484, 1487, 1490, 1493, 1496, 1499, 1502, 1505,
|
665
|
+
1508, 1511, 1514, 1517, 1520, 1523, 1526, 1529,
|
666
|
+
1532, 1535, 1538, 1541, 1544, 1547, 1550, 1553,
|
667
|
+
1556, 1559, 1562, 1565, 1568, 1571, 1574, 1578,
|
668
|
+
1581, 1584, 1587, 1590, 1594, 1597, 1600, 1603,
|
669
|
+
1606, 1609, 1612, 1615, 1618, 1621, 1624, 1627,
|
670
|
+
1630, 1633, 1636, 1639, 1642, 1645, 1648, 1651,
|
671
|
+
1654, 1657, 1660, 1663, 1666, 1669, 1672, 1675,
|
672
|
+
1678, 1681, 1684, 1687, 1690, 1693, 1696, 1699,
|
673
|
+
1702, 1705, 1708, 1711, 1714, 1717, 1720, 1723,
|
674
|
+
1726, 1730, 1734, 1737, 1740, 1743, 1746, 1749,
|
675
|
+
1752, 1755, 1758, 1761, 1764, 1767, 1770, 1773,
|
676
|
+
1776, 1779, 1782, 1785, 1788, 1791, 1794, 1797,
|
677
|
+
1800, 1803, 1806, 1809, 1812, 1815, 1818, 1821,
|
678
|
+
1824, 1827, 1830, 1833, 1836, 1839, 1842, 1845,
|
679
|
+
1847, 1850, 1853, 1855, 1857, 1859, 1861, 1863,
|
680
|
+
1865, 1867, 1869, 1871, 1873, 1875, 1877, 1879,
|
681
|
+
1881, 1883, 1885, 1887, 1889, 1891, 1893, 1895,
|
682
|
+
1897, 1899, 1901, 1909, 1914, 1918, 1921, 1924,
|
683
|
+
1927, 1930, 1933, 1936, 1939, 1942, 1945, 1948,
|
684
|
+
1951, 1954, 1957, 1960, 1963, 1966, 1969, 1972,
|
685
|
+
1975, 1978, 1981, 1984, 1987, 1990, 1993, 1996,
|
686
|
+
1999, 2002, 2005, 2008, 2011, 2014, 2018, 2021,
|
687
|
+
2024, 2027, 2030, 2033, 2036, 2039, 2042, 2045,
|
688
|
+
2048, 2051, 2054, 2057, 2060, 2063, 2066, 2069,
|
689
|
+
2072, 2075, 2078, 2081, 2084, 2087, 2090, 2093,
|
690
|
+
2096, 2099, 2102, 2105, 2108, 2111, 2114, 2117,
|
691
|
+
2120, 2123, 2126, 2129, 2132, 2135, 2138, 2141,
|
692
|
+
2144, 2147, 2150, 2153, 2156, 2159, 2162, 2165,
|
693
|
+
2168, 2171, 2174, 2177, 2180, 2183, 2186, 2189,
|
694
|
+
2192, 2195, 2198, 2201, 2204, 2207, 2210, 2213,
|
695
|
+
2216, 2219, 2222, 2225, 2228, 2231, 2234, 2237,
|
696
|
+
2240, 2243, 2245, 2247, 2249, 2251
|
697
|
+
};
|
698
|
+
|
699
|
+
static const short _lexer_trans_targs[] = {
|
700
|
+
2, 763, 6, 6, 7, 17, 19, 3,
|
701
|
+
33, 36, 6, 0, 3, 42, 56, 62,
|
702
|
+
68, 76, 296, 623, 629, 761, 0, 4,
|
703
|
+
0, 0, 5, 6, 18, 5, 2, 6,
|
704
|
+
6, 7, 17, 19, 3, 33, 36, 6,
|
705
|
+
0, 8, 0, 9, 0, 11, 10, 10,
|
706
|
+
11, 10, 10, 12, 12, 13, 12, 12,
|
707
|
+
12, 12, 13, 12, 12, 12, 12, 14,
|
708
|
+
12, 12, 12, 12, 15, 12, 12, 6,
|
709
|
+
16, 16, 0, 6, 16, 16, 0, 6,
|
710
|
+
18, 17, 6, 0, 20, 0, 21, 0,
|
711
|
+
22, 0, 23, 0, 24, 0, 25, 0,
|
712
|
+
26, 0, 27, 0, 28, 0, 29, 0,
|
713
|
+
30, 0, 31, 0, 32, 0, 765, 0,
|
714
|
+
0, 0, 0, 0, 34, 35, 6, 35,
|
715
|
+
35, 33, 34, 34, 6, 35, 33, 35,
|
716
|
+
0, 36, 37, 36, 0, 41, 40, 39,
|
717
|
+
37, 40, 38, 0, 39, 37, 38, 0,
|
718
|
+
39, 38, 41, 40, 39, 37, 40, 38,
|
719
|
+
2, 41, 41, 7, 17, 19, 3, 33,
|
720
|
+
36, 41, 0, 43, 46, 0, 44, 0,
|
721
|
+
45, 0, 3, 0, 47, 0, 48, 0,
|
722
|
+
49, 0, 50, 0, 51, 0, 52, 0,
|
723
|
+
53, 0, 54, 0, 55, 0, 3, 0,
|
724
|
+
57, 0, 58, 0, 59, 0, 60, 0,
|
725
|
+
61, 0, 3, 0, 63, 0, 64, 0,
|
726
|
+
65, 0, 66, 0, 67, 0, 3, 0,
|
727
|
+
69, 0, 70, 0, 71, 0, 72, 0,
|
728
|
+
73, 0, 74, 0, 75, 0, 3, 0,
|
729
|
+
77, 243, 0, 78, 0, 79, 0, 80,
|
730
|
+
0, 81, 0, 82, 0, 83, 0, 84,
|
731
|
+
0, 85, 0, 86, 0, 87, 0, 88,
|
732
|
+
0, 89, 0, 90, 0, 91, 0, 92,
|
733
|
+
0, 93, 0, 94, 0, 95, 0, 97,
|
734
|
+
96, 97, 96, 98, 97, 97, 6, 229,
|
735
|
+
99, 6, 97, 96, 99, 101, 115, 121,
|
736
|
+
127, 135, 157, 203, 209, 227, 97, 96,
|
737
|
+
97, 100, 96, 2, 6, 6, 7, 17,
|
738
|
+
19, 3, 33, 36, 6, 0, 102, 97,
|
739
|
+
105, 96, 103, 97, 96, 104, 97, 96,
|
740
|
+
99, 97, 96, 106, 97, 96, 107, 97,
|
741
|
+
96, 108, 97, 96, 109, 97, 96, 110,
|
742
|
+
97, 96, 111, 97, 96, 112, 97, 96,
|
743
|
+
113, 97, 96, 114, 97, 96, 99, 97,
|
744
|
+
96, 116, 97, 96, 117, 97, 96, 118,
|
745
|
+
97, 96, 119, 97, 96, 120, 97, 96,
|
746
|
+
99, 97, 96, 122, 97, 96, 123, 97,
|
747
|
+
96, 124, 97, 96, 125, 97, 96, 126,
|
748
|
+
97, 96, 99, 97, 96, 128, 97, 96,
|
749
|
+
129, 97, 96, 130, 97, 96, 131, 97,
|
750
|
+
96, 132, 97, 96, 133, 97, 96, 134,
|
751
|
+
97, 96, 99, 97, 96, 136, 97, 96,
|
752
|
+
137, 97, 96, 138, 97, 96, 139, 97,
|
753
|
+
96, 140, 97, 96, 141, 97, 96, 142,
|
754
|
+
97, 96, 143, 97, 96, 144, 97, 96,
|
755
|
+
145, 97, 96, 146, 97, 96, 147, 97,
|
756
|
+
96, 148, 97, 96, 149, 97, 96, 150,
|
757
|
+
97, 96, 151, 97, 96, 152, 97, 96,
|
758
|
+
153, 97, 96, 97, 100, 154, 96, 97,
|
759
|
+
155, 96, 156, 97, 96, 119, 97, 96,
|
760
|
+
158, 97, 96, 159, 191, 97, 96, 160,
|
761
|
+
97, 96, 161, 97, 96, 162, 97, 96,
|
762
|
+
163, 97, 96, 164, 97, 96, 165, 97,
|
763
|
+
96, 166, 97, 96, 167, 97, 96, 168,
|
764
|
+
97, 96, 169, 97, 96, 170, 97, 96,
|
765
|
+
171, 97, 96, 172, 97, 96, 173, 97,
|
766
|
+
96, 97, 174, 96, 175, 97, 96, 176,
|
767
|
+
97, 96, 177, 97, 96, 178, 97, 96,
|
768
|
+
179, 97, 96, 180, 97, 96, 181, 97,
|
769
|
+
96, 182, 97, 96, 183, 97, 96, 184,
|
770
|
+
97, 96, 185, 97, 96, 186, 97, 96,
|
771
|
+
187, 97, 96, 188, 97, 96, 189, 97,
|
772
|
+
96, 190, 97, 96, 97, 100, 96, 192,
|
773
|
+
97, 96, 193, 97, 96, 194, 97, 96,
|
774
|
+
195, 97, 96, 196, 97, 96, 197, 97,
|
775
|
+
96, 198, 97, 96, 199, 97, 96, 200,
|
776
|
+
97, 96, 201, 97, 96, 202, 97, 96,
|
777
|
+
190, 97, 96, 204, 97, 96, 99, 205,
|
778
|
+
97, 96, 206, 97, 100, 96, 207, 97,
|
779
|
+
96, 208, 97, 96, 99, 97, 96, 210,
|
780
|
+
97, 96, 211, 97, 96, 212, 97, 96,
|
781
|
+
213, 97, 96, 214, 97, 96, 215, 97,
|
782
|
+
96, 216, 97, 96, 217, 97, 96, 218,
|
783
|
+
97, 96, 219, 97, 96, 220, 97, 96,
|
784
|
+
221, 97, 96, 222, 97, 96, 223, 97,
|
785
|
+
96, 224, 97, 96, 225, 97, 96, 226,
|
786
|
+
97, 96, 190, 97, 96, 228, 97, 96,
|
787
|
+
155, 97, 96, 97, 230, 96, 97, 231,
|
788
|
+
96, 97, 232, 96, 97, 233, 96, 97,
|
789
|
+
234, 96, 97, 235, 96, 97, 236, 96,
|
790
|
+
97, 237, 96, 97, 238, 96, 97, 239,
|
791
|
+
96, 97, 240, 96, 97, 241, 96, 97,
|
792
|
+
242, 96, 97, 6, 96, 244, 0, 245,
|
793
|
+
0, 246, 0, 247, 0, 248, 280, 0,
|
794
|
+
249, 0, 250, 0, 251, 0, 252, 0,
|
795
|
+
253, 0, 254, 0, 255, 0, 256, 0,
|
796
|
+
257, 0, 259, 258, 259, 258, 260, 259,
|
797
|
+
259, 6, 6, 259, 258, 261, 259, 258,
|
798
|
+
262, 259, 258, 263, 259, 258, 264, 259,
|
799
|
+
258, 265, 259, 258, 266, 259, 258, 267,
|
800
|
+
259, 258, 268, 259, 258, 269, 259, 258,
|
801
|
+
270, 259, 258, 271, 259, 258, 272, 259,
|
802
|
+
258, 273, 259, 258, 274, 259, 258, 275,
|
803
|
+
259, 258, 276, 259, 258, 277, 259, 258,
|
804
|
+
278, 259, 258, 279, 259, 258, 259, 100,
|
805
|
+
258, 281, 0, 282, 0, 283, 0, 284,
|
806
|
+
0, 285, 0, 286, 0, 287, 0, 288,
|
807
|
+
0, 289, 0, 290, 0, 291, 0, 292,
|
808
|
+
0, 4, 293, 0, 294, 0, 295, 0,
|
809
|
+
60, 0, 297, 0, 298, 446, 0, 299,
|
810
|
+
0, 300, 0, 301, 0, 302, 0, 303,
|
811
|
+
0, 304, 0, 305, 0, 306, 0, 307,
|
812
|
+
0, 308, 0, 309, 0, 310, 0, 311,
|
813
|
+
0, 312, 0, 313, 0, 314, 0, 315,
|
814
|
+
0, 316, 0, 317, 0, 318, 0, 319,
|
815
|
+
0, 320, 0, 321, 0, 322, 0, 323,
|
816
|
+
0, 324, 0, 325, 0, 326, 0, 327,
|
817
|
+
0, 328, 0, 329, 0, 330, 0, 332,
|
818
|
+
331, 332, 331, 333, 332, 332, 6, 432,
|
819
|
+
334, 6, 332, 331, 334, 335, 349, 355,
|
820
|
+
361, 369, 391, 406, 412, 430, 332, 331,
|
821
|
+
332, 100, 331, 336, 332, 339, 331, 337,
|
822
|
+
332, 331, 338, 332, 331, 334, 332, 331,
|
823
|
+
340, 332, 331, 341, 332, 331, 342, 332,
|
824
|
+
331, 343, 332, 331, 344, 332, 331, 345,
|
825
|
+
332, 331, 346, 332, 331, 347, 332, 331,
|
826
|
+
348, 332, 331, 334, 332, 331, 350, 332,
|
827
|
+
331, 351, 332, 331, 352, 332, 331, 353,
|
828
|
+
332, 331, 354, 332, 331, 334, 332, 331,
|
829
|
+
356, 332, 331, 357, 332, 331, 358, 332,
|
830
|
+
331, 359, 332, 331, 360, 332, 331, 334,
|
831
|
+
332, 331, 362, 332, 331, 363, 332, 331,
|
832
|
+
364, 332, 331, 365, 332, 331, 366, 332,
|
833
|
+
331, 367, 332, 331, 368, 332, 331, 334,
|
834
|
+
332, 331, 370, 332, 331, 371, 332, 331,
|
835
|
+
372, 332, 331, 373, 332, 331, 374, 332,
|
836
|
+
331, 375, 332, 331, 376, 332, 331, 377,
|
837
|
+
332, 331, 378, 332, 331, 379, 332, 331,
|
838
|
+
380, 332, 331, 381, 332, 331, 382, 332,
|
839
|
+
331, 383, 332, 331, 384, 332, 331, 385,
|
840
|
+
332, 331, 386, 332, 331, 387, 332, 331,
|
841
|
+
332, 100, 388, 331, 332, 389, 331, 390,
|
842
|
+
332, 331, 353, 332, 331, 392, 332, 331,
|
843
|
+
393, 332, 331, 394, 332, 331, 395, 332,
|
844
|
+
331, 396, 332, 331, 397, 332, 331, 398,
|
845
|
+
332, 331, 399, 332, 331, 400, 332, 331,
|
846
|
+
401, 332, 331, 402, 332, 331, 403, 332,
|
847
|
+
331, 404, 332, 331, 405, 332, 331, 332,
|
848
|
+
100, 331, 407, 332, 331, 334, 408, 332,
|
849
|
+
331, 409, 332, 100, 331, 410, 332, 331,
|
850
|
+
411, 332, 331, 334, 332, 331, 413, 332,
|
851
|
+
331, 414, 332, 331, 415, 332, 331, 416,
|
852
|
+
332, 331, 417, 332, 331, 418, 332, 331,
|
853
|
+
419, 332, 331, 420, 332, 331, 421, 332,
|
854
|
+
331, 422, 332, 331, 423, 332, 331, 424,
|
855
|
+
332, 331, 425, 332, 331, 426, 332, 331,
|
856
|
+
427, 332, 331, 428, 332, 331, 429, 332,
|
857
|
+
331, 405, 332, 331, 431, 332, 331, 389,
|
858
|
+
332, 331, 332, 433, 331, 332, 434, 331,
|
859
|
+
332, 435, 331, 332, 436, 331, 332, 437,
|
860
|
+
331, 332, 438, 331, 332, 439, 331, 332,
|
861
|
+
440, 331, 332, 441, 331, 332, 442, 331,
|
862
|
+
332, 443, 331, 332, 444, 331, 332, 445,
|
863
|
+
331, 332, 6, 331, 447, 0, 448, 0,
|
864
|
+
449, 0, 450, 0, 451, 0, 452, 0,
|
865
|
+
453, 0, 454, 0, 455, 0, 456, 0,
|
866
|
+
457, 0, 458, 0, 459, 0, 461, 460,
|
867
|
+
461, 460, 462, 461, 461, 6, 609, 463,
|
868
|
+
6, 461, 460, 463, 464, 478, 484, 490,
|
869
|
+
498, 538, 583, 589, 607, 461, 460, 461,
|
870
|
+
100, 460, 465, 461, 468, 460, 466, 461,
|
871
|
+
460, 467, 461, 460, 463, 461, 460, 469,
|
872
|
+
461, 460, 470, 461, 460, 471, 461, 460,
|
873
|
+
472, 461, 460, 473, 461, 460, 474, 461,
|
874
|
+
460, 475, 461, 460, 476, 461, 460, 477,
|
875
|
+
461, 460, 463, 461, 460, 479, 461, 460,
|
876
|
+
480, 461, 460, 481, 461, 460, 482, 461,
|
877
|
+
460, 483, 461, 460, 463, 461, 460, 485,
|
878
|
+
461, 460, 486, 461, 460, 487, 461, 460,
|
879
|
+
488, 461, 460, 489, 461, 460, 463, 461,
|
880
|
+
460, 491, 461, 460, 492, 461, 460, 493,
|
881
|
+
461, 460, 494, 461, 460, 495, 461, 460,
|
882
|
+
496, 461, 460, 497, 461, 460, 463, 461,
|
883
|
+
460, 499, 517, 461, 460, 500, 461, 460,
|
884
|
+
501, 461, 460, 502, 461, 460, 503, 461,
|
885
|
+
460, 504, 461, 460, 505, 461, 460, 506,
|
886
|
+
461, 460, 507, 461, 460, 508, 461, 460,
|
887
|
+
509, 461, 460, 510, 461, 460, 511, 461,
|
888
|
+
460, 512, 461, 460, 513, 461, 460, 514,
|
889
|
+
461, 460, 515, 461, 460, 516, 461, 460,
|
890
|
+
461, 100, 460, 518, 461, 460, 519, 461,
|
891
|
+
460, 520, 461, 460, 521, 461, 460, 522,
|
892
|
+
461, 460, 523, 461, 460, 524, 461, 460,
|
893
|
+
525, 461, 460, 526, 461, 460, 527, 461,
|
894
|
+
460, 528, 461, 460, 529, 461, 460, 530,
|
895
|
+
461, 460, 531, 461, 460, 532, 461, 460,
|
896
|
+
533, 461, 460, 534, 461, 460, 461, 100,
|
897
|
+
535, 460, 461, 536, 460, 537, 461, 460,
|
898
|
+
482, 461, 460, 539, 461, 460, 540, 571,
|
899
|
+
461, 460, 541, 461, 460, 542, 461, 460,
|
900
|
+
543, 461, 460, 544, 461, 460, 545, 461,
|
901
|
+
460, 546, 461, 460, 547, 461, 460, 548,
|
902
|
+
461, 460, 549, 461, 460, 550, 461, 460,
|
903
|
+
551, 461, 460, 552, 461, 460, 553, 461,
|
904
|
+
460, 554, 461, 460, 461, 555, 460, 556,
|
905
|
+
461, 460, 557, 461, 460, 558, 461, 460,
|
906
|
+
559, 461, 460, 560, 461, 460, 561, 461,
|
907
|
+
460, 562, 461, 460, 563, 461, 460, 564,
|
908
|
+
461, 460, 565, 461, 460, 566, 461, 460,
|
909
|
+
567, 461, 460, 568, 461, 460, 569, 461,
|
910
|
+
460, 570, 461, 460, 516, 461, 460, 572,
|
911
|
+
461, 460, 573, 461, 460, 574, 461, 460,
|
912
|
+
575, 461, 460, 576, 461, 460, 577, 461,
|
913
|
+
460, 578, 461, 460, 579, 461, 460, 580,
|
914
|
+
461, 460, 581, 461, 460, 582, 461, 460,
|
915
|
+
516, 461, 460, 584, 461, 460, 463, 585,
|
916
|
+
461, 460, 586, 461, 100, 460, 587, 461,
|
917
|
+
460, 588, 461, 460, 463, 461, 460, 590,
|
918
|
+
461, 460, 591, 461, 460, 592, 461, 460,
|
919
|
+
593, 461, 460, 594, 461, 460, 595, 461,
|
920
|
+
460, 596, 461, 460, 597, 461, 460, 598,
|
921
|
+
461, 460, 599, 461, 460, 600, 461, 460,
|
922
|
+
601, 461, 460, 602, 461, 460, 603, 461,
|
923
|
+
460, 604, 461, 460, 605, 461, 460, 606,
|
924
|
+
461, 460, 516, 461, 460, 608, 461, 460,
|
925
|
+
536, 461, 460, 461, 610, 460, 461, 611,
|
926
|
+
460, 461, 612, 460, 461, 613, 460, 461,
|
927
|
+
614, 460, 461, 615, 460, 461, 616, 460,
|
928
|
+
461, 617, 460, 461, 618, 460, 461, 619,
|
929
|
+
460, 461, 620, 460, 461, 621, 460, 461,
|
930
|
+
622, 460, 461, 6, 460, 624, 0, 3,
|
931
|
+
625, 0, 626, 4, 0, 627, 0, 628,
|
932
|
+
0, 3, 0, 630, 0, 631, 0, 632,
|
933
|
+
0, 633, 0, 634, 0, 635, 0, 636,
|
934
|
+
0, 637, 0, 638, 0, 639, 0, 640,
|
935
|
+
0, 641, 0, 642, 0, 643, 0, 644,
|
936
|
+
0, 645, 0, 646, 0, 647, 0, 648,
|
937
|
+
0, 650, 649, 650, 649, 651, 650, 650,
|
938
|
+
6, 747, 6, 650, 649, 652, 684, 729,
|
939
|
+
650, 649, 653, 671, 650, 649, 654, 650,
|
940
|
+
649, 655, 650, 649, 656, 650, 649, 657,
|
941
|
+
650, 649, 658, 650, 649, 659, 650, 649,
|
942
|
+
660, 650, 649, 661, 650, 649, 662, 650,
|
943
|
+
649, 663, 650, 649, 664, 650, 649, 665,
|
944
|
+
650, 649, 666, 650, 649, 667, 650, 649,
|
945
|
+
668, 650, 649, 669, 650, 649, 670, 650,
|
946
|
+
649, 650, 100, 649, 672, 650, 649, 673,
|
947
|
+
650, 649, 674, 650, 649, 675, 650, 649,
|
948
|
+
676, 650, 649, 677, 650, 649, 678, 650,
|
949
|
+
649, 679, 650, 649, 680, 650, 649, 681,
|
950
|
+
650, 649, 682, 650, 649, 683, 650, 649,
|
951
|
+
670, 650, 649, 685, 650, 649, 686, 717,
|
952
|
+
650, 649, 687, 650, 649, 688, 650, 649,
|
953
|
+
689, 650, 649, 690, 650, 649, 691, 650,
|
954
|
+
649, 692, 650, 649, 693, 650, 649, 694,
|
955
|
+
650, 649, 695, 650, 649, 696, 650, 649,
|
956
|
+
697, 650, 649, 698, 650, 649, 699, 650,
|
957
|
+
649, 700, 650, 649, 650, 701, 649, 702,
|
958
|
+
650, 649, 703, 650, 649, 704, 650, 649,
|
959
|
+
705, 650, 649, 706, 650, 649, 707, 650,
|
960
|
+
649, 708, 650, 649, 709, 650, 649, 710,
|
961
|
+
650, 649, 711, 650, 649, 712, 650, 649,
|
962
|
+
713, 650, 649, 714, 650, 649, 715, 650,
|
963
|
+
649, 716, 650, 649, 670, 650, 649, 718,
|
964
|
+
650, 649, 719, 650, 649, 720, 650, 649,
|
965
|
+
721, 650, 649, 722, 650, 649, 723, 650,
|
966
|
+
649, 724, 650, 649, 725, 650, 649, 726,
|
967
|
+
650, 649, 727, 650, 649, 728, 650, 649,
|
968
|
+
670, 650, 649, 730, 650, 649, 731, 650,
|
969
|
+
649, 732, 650, 649, 733, 650, 649, 734,
|
970
|
+
650, 649, 735, 650, 649, 736, 650, 649,
|
971
|
+
737, 650, 649, 738, 650, 649, 739, 650,
|
972
|
+
649, 740, 650, 649, 741, 650, 649, 742,
|
973
|
+
650, 649, 743, 650, 649, 744, 650, 649,
|
974
|
+
745, 650, 649, 746, 650, 649, 670, 650,
|
975
|
+
649, 650, 748, 649, 650, 749, 649, 650,
|
976
|
+
750, 649, 650, 751, 649, 650, 752, 649,
|
977
|
+
650, 753, 649, 650, 754, 649, 650, 755,
|
978
|
+
649, 650, 756, 649, 650, 757, 649, 650,
|
979
|
+
758, 649, 650, 759, 649, 650, 760, 649,
|
980
|
+
650, 6, 649, 762, 0, 294, 0, 764,
|
981
|
+
0, 6, 0, 0, 0
|
982
|
+
};
|
983
|
+
|
984
|
+
static const unsigned char _lexer_trans_actions[] = {
|
985
|
+
29, 0, 54, 0, 5, 1, 0, 29,
|
986
|
+
1, 35, 0, 43, 0, 0, 0, 0,
|
987
|
+
0, 0, 0, 0, 0, 0, 43, 0,
|
988
|
+
43, 43, 57, 110, 23, 0, 29, 54,
|
989
|
+
0, 5, 1, 0, 29, 1, 35, 0,
|
990
|
+
43, 0, 43, 0, 43, 135, 48, 9,
|
991
|
+
106, 11, 0, 130, 45, 45, 45, 3,
|
992
|
+
122, 33, 33, 33, 0, 122, 33, 33,
|
993
|
+
33, 0, 122, 33, 0, 33, 0, 102,
|
994
|
+
7, 7, 43, 54, 0, 0, 43, 114,
|
995
|
+
25, 0, 54, 43, 0, 43, 0, 43,
|
996
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
997
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
998
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
999
|
+
43, 43, 43, 43, 0, 27, 118, 27,
|
1000
|
+
27, 51, 27, 0, 54, 0, 1, 0,
|
1001
|
+
43, 0, 0, 0, 43, 54, 37, 37,
|
1002
|
+
87, 37, 37, 43, 0, 39, 0, 43,
|
1003
|
+
0, 0, 54, 0, 0, 39, 0, 0,
|
1004
|
+
96, 54, 0, 93, 90, 41, 96, 90,
|
1005
|
+
99, 0, 43, 0, 0, 43, 0, 43,
|
1006
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1007
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1008
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1009
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1010
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1011
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1012
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1013
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1014
|
+
0, 0, 43, 0, 43, 0, 43, 0,
|
1015
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1016
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1017
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1018
|
+
43, 0, 43, 0, 43, 0, 43, 140,
|
1019
|
+
57, 54, 0, 84, 54, 0, 72, 33,
|
1020
|
+
84, 72, 0, 0, 0, 0, 0, 0,
|
1021
|
+
0, 0, 0, 0, 0, 0, 54, 0,
|
1022
|
+
54, 15, 0, 63, 126, 31, 60, 57,
|
1023
|
+
31, 63, 57, 66, 31, 43, 0, 54,
|
1024
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
1025
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1026
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1027
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1028
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1029
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1030
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1031
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1032
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1033
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1034
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1035
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1036
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1037
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1038
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1039
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1040
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1041
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1042
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1043
|
+
0, 54, 0, 54, 15, 0, 0, 54,
|
1044
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
1045
|
+
0, 54, 0, 0, 0, 54, 0, 0,
|
1046
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1047
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1048
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1049
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1050
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1051
|
+
0, 54, 0, 0, 0, 54, 0, 0,
|
1052
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1053
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1054
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1055
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1056
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1057
|
+
0, 0, 54, 0, 54, 15, 0, 0,
|
1058
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1059
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1060
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1061
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1062
|
+
0, 54, 0, 0, 54, 0, 0, 0,
|
1063
|
+
54, 0, 0, 54, 15, 0, 0, 54,
|
1064
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1065
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1066
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1067
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1068
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1069
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1070
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1071
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1072
|
+
0, 54, 0, 54, 0, 0, 54, 0,
|
1073
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1074
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1075
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1076
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1077
|
+
0, 0, 54, 15, 0, 0, 43, 0,
|
1078
|
+
43, 0, 43, 0, 43, 0, 0, 43,
|
1079
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1080
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1081
|
+
0, 43, 140, 57, 54, 0, 84, 54,
|
1082
|
+
0, 81, 81, 0, 0, 0, 54, 0,
|
1083
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1084
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1085
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1086
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1087
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1088
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1089
|
+
0, 54, 0, 0, 54, 0, 54, 21,
|
1090
|
+
0, 0, 43, 0, 43, 0, 43, 0,
|
1091
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1092
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1093
|
+
43, 0, 0, 43, 0, 43, 0, 43,
|
1094
|
+
0, 43, 0, 43, 0, 0, 43, 0,
|
1095
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1096
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1097
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1098
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1099
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1100
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1101
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1102
|
+
43, 0, 43, 0, 43, 0, 43, 140,
|
1103
|
+
57, 54, 0, 84, 54, 0, 78, 33,
|
1104
|
+
84, 78, 0, 0, 0, 0, 0, 0,
|
1105
|
+
0, 0, 0, 0, 0, 0, 54, 0,
|
1106
|
+
54, 19, 0, 0, 54, 0, 0, 0,
|
1107
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1108
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1109
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1110
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1111
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1112
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1113
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1114
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1115
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1116
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1117
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1118
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1119
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1120
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1121
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1122
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1123
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1124
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1125
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1126
|
+
54, 19, 0, 0, 54, 0, 0, 0,
|
1127
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1128
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1129
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1130
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1131
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1132
|
+
0, 0, 54, 0, 0, 54, 0, 54,
|
1133
|
+
19, 0, 0, 54, 0, 0, 0, 54,
|
1134
|
+
0, 0, 54, 19, 0, 0, 54, 0,
|
1135
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1136
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1137
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1138
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1139
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1140
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1141
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1142
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1143
|
+
54, 0, 54, 0, 0, 54, 0, 0,
|
1144
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1145
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1146
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1147
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1148
|
+
0, 54, 19, 0, 0, 43, 0, 43,
|
1149
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1150
|
+
0, 43, 0, 43, 0, 43, 0, 43,
|
1151
|
+
0, 43, 0, 43, 0, 43, 140, 57,
|
1152
|
+
54, 0, 84, 54, 0, 75, 33, 84,
|
1153
|
+
75, 0, 0, 0, 0, 0, 0, 0,
|
1154
|
+
0, 0, 0, 0, 0, 54, 0, 54,
|
1155
|
+
17, 0, 0, 54, 0, 0, 0, 54,
|
1156
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1157
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1158
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1159
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1160
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1161
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1162
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1163
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1164
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1165
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1166
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1167
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1168
|
+
0, 0, 0, 54, 0, 0, 54, 0,
|
1169
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1170
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1171
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1172
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1173
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1174
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1175
|
+
54, 17, 0, 0, 54, 0, 0, 54,
|
1176
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1177
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1178
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1179
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1180
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1181
|
+
0, 54, 0, 0, 54, 0, 54, 17,
|
1182
|
+
0, 0, 54, 0, 0, 0, 54, 0,
|
1183
|
+
0, 54, 0, 0, 54, 0, 0, 0,
|
1184
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1185
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1186
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1187
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1188
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1189
|
+
0, 0, 54, 0, 54, 0, 0, 0,
|
1190
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1191
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1192
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1193
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1194
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1195
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1196
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1197
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1198
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1199
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1200
|
+
0, 54, 0, 0, 54, 0, 0, 0,
|
1201
|
+
54, 0, 0, 54, 17, 0, 0, 54,
|
1202
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1203
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1204
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1205
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1206
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1207
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1208
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1209
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1210
|
+
0, 54, 0, 54, 0, 0, 54, 0,
|
1211
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1212
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1213
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1214
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1215
|
+
0, 0, 54, 17, 0, 0, 43, 0,
|
1216
|
+
0, 43, 0, 0, 43, 0, 43, 0,
|
1217
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1218
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1219
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1220
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1221
|
+
43, 0, 43, 0, 43, 0, 43, 0,
|
1222
|
+
43, 140, 57, 54, 0, 84, 54, 0,
|
1223
|
+
69, 33, 69, 0, 0, 0, 0, 0,
|
1224
|
+
54, 0, 0, 0, 54, 0, 0, 54,
|
1225
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1226
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1227
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1228
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1229
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1230
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1231
|
+
0, 54, 13, 0, 0, 54, 0, 0,
|
1232
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1233
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1234
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1235
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1236
|
+
0, 54, 0, 0, 54, 0, 0, 0,
|
1237
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1238
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1239
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1240
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1241
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1242
|
+
0, 0, 54, 0, 54, 0, 0, 0,
|
1243
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1244
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1245
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1246
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1247
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1248
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1249
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1250
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1251
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1252
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1253
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1254
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1255
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1256
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1257
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1258
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1259
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1260
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1261
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1262
|
+
54, 0, 0, 54, 0, 0, 54, 0,
|
1263
|
+
0, 54, 0, 0, 54, 0, 0, 54,
|
1264
|
+
0, 0, 54, 0, 0, 54, 0, 0,
|
1265
|
+
54, 13, 0, 0, 43, 0, 43, 0,
|
1266
|
+
43, 0, 43, 0, 0
|
1267
|
+
};
|
1268
|
+
|
1269
|
+
static const unsigned char _lexer_eof_actions[] = {
|
1270
|
+
0, 43, 43, 43, 43, 43, 43, 43,
|
1271
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1272
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1273
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1274
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1275
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1276
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1277
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1278
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1279
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1280
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1281
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1282
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1283
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1284
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1285
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1286
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1287
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1288
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1289
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1290
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1291
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1292
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1293
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1294
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1295
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1296
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1297
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1298
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1299
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1300
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1301
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1302
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1303
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1304
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1305
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1306
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1307
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1308
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1309
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1310
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1311
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1312
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1313
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1314
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1315
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1316
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1317
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1318
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1319
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1320
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1321
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1322
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1323
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1324
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1325
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1326
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1327
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1328
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1329
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1330
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1331
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1332
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1333
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1334
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1335
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1336
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1337
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1338
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1339
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1340
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1341
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1342
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1343
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1344
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1345
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1346
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1347
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1348
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1349
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1350
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1351
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1352
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1353
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1354
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1355
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1356
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1357
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1358
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1359
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1360
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1361
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1362
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1363
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1364
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1365
|
+
43, 43, 43, 43, 43, 43
|
1366
|
+
};
|
1367
|
+
|
1368
|
+
static const int lexer_start = 1;
|
1369
|
+
static const int lexer_first_final = 765;
|
1370
|
+
static const int lexer_error = 0;
|
1371
|
+
|
1372
|
+
static const int lexer_en_main = 1;
|
1373
|
+
|
1374
|
+
|
1375
|
+
#line 258 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1376
|
+
|
1377
|
+
static VALUE
|
1378
|
+
unindent(VALUE con, int start_col)
|
1379
|
+
{
|
1380
|
+
VALUE re;
|
1381
|
+
// Gherkin will crash gracefully if the string representation of start_col pushes the pattern past 32 characters
|
1382
|
+
char pat[32];
|
1383
|
+
snprintf(pat, 32, "^[\t ]{0,%d}", start_col);
|
1384
|
+
re = rb_reg_regcomp(rb_str_new2(pat));
|
1385
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re, rb_str_new2(""));
|
1386
|
+
|
1387
|
+
return Qnil;
|
1388
|
+
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
static void
|
1392
|
+
store_kw_con(VALUE listener, const char * event_name,
|
1393
|
+
const char * keyword_at, size_t keyword_length,
|
1394
|
+
const char * at, size_t length,
|
1395
|
+
int current_line)
|
1396
|
+
{
|
1397
|
+
VALUE con = Qnil, kw = Qnil;
|
1398
|
+
kw = ENCODED_STR_NEW(keyword_at, keyword_length);
|
1399
|
+
con = ENCODED_STR_NEW(at, length);
|
1400
|
+
rb_funcall(con, rb_intern("strip!"), 0);
|
1401
|
+
rb_funcall(listener, rb_intern(event_name), 3, kw, con, INT2FIX(current_line));
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
static void
|
1405
|
+
store_multiline_kw_con(VALUE listener, const char * event_name,
|
1406
|
+
const char * keyword_at, size_t keyword_length,
|
1407
|
+
const char * at, size_t length,
|
1408
|
+
int current_line, int start_col)
|
1409
|
+
{
|
1410
|
+
VALUE split;
|
1411
|
+
VALUE con = Qnil, kw = Qnil, name = Qnil, desc = Qnil;
|
1412
|
+
|
1413
|
+
kw = ENCODED_STR_NEW(keyword_at, keyword_length);
|
1414
|
+
con = ENCODED_STR_NEW(at, length);
|
1415
|
+
|
1416
|
+
unindent(con, start_col);
|
1417
|
+
|
1418
|
+
split = rb_str_split(con, "\n");
|
1419
|
+
|
1420
|
+
name = rb_funcall(split, rb_intern("shift"), 0);
|
1421
|
+
desc = rb_ary_join(split, rb_str_new2( "\n" ));
|
1422
|
+
|
1423
|
+
if( name == Qnil )
|
1424
|
+
{
|
1425
|
+
name = rb_str_new2("");
|
1426
|
+
}
|
1427
|
+
if( rb_funcall(desc, rb_intern("size"), 0) == 0)
|
1428
|
+
{
|
1429
|
+
desc = rb_str_new2("");
|
1430
|
+
}
|
1431
|
+
rb_funcall(name, rb_intern("strip!"), 0);
|
1432
|
+
rb_funcall(desc, rb_intern("rstrip!"), 0);
|
1433
|
+
rb_funcall(listener, rb_intern(event_name), 4, kw, name, desc, INT2FIX(current_line));
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
static void
|
1437
|
+
store_attr(VALUE listener, const char * attr_type,
|
1438
|
+
const char * at, size_t length,
|
1439
|
+
int line)
|
1440
|
+
{
|
1441
|
+
VALUE val = ENCODED_STR_NEW(at, length);
|
1442
|
+
rb_funcall(listener, rb_intern(attr_type), 2, val, INT2FIX(line));
|
1443
|
+
}
|
1444
|
+
static void
|
1445
|
+
store_docstring_content(VALUE listener,
|
1446
|
+
int start_col,
|
1447
|
+
const char *type_at, size_t type_length,
|
1448
|
+
const char *at, size_t length,
|
1449
|
+
int current_line)
|
1450
|
+
{
|
1451
|
+
VALUE re2;
|
1452
|
+
VALUE unescape_escaped_quotes;
|
1453
|
+
VALUE con = ENCODED_STR_NEW(at, length);
|
1454
|
+
VALUE con_type = ENCODED_STR_NEW(type_at, type_length);
|
1455
|
+
|
1456
|
+
unindent(con, start_col);
|
1457
|
+
|
1458
|
+
re2 = rb_reg_regcomp(rb_str_new2("\r\\Z"));
|
1459
|
+
unescape_escaped_quotes = rb_reg_regcomp(rb_str_new2("\\\\\"\\\\\"\\\\\""));
|
1460
|
+
rb_funcall(con, rb_intern("sub!"), 2, re2, rb_str_new2(""));
|
1461
|
+
rb_funcall(con_type, rb_intern("strip!"), 0);
|
1462
|
+
rb_funcall(con, rb_intern("gsub!"), 2, unescape_escaped_quotes, rb_str_new2("\"\"\""));
|
1463
|
+
rb_funcall(listener, rb_intern("doc_string"), 3, con_type, con, INT2FIX(current_line));
|
1464
|
+
}
|
1465
|
+
static void
|
1466
|
+
raise_lexer_error(const char * at, int line)
|
1467
|
+
{
|
1468
|
+
rb_raise(rb_eGherkinLexingError, "Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.", line, at);
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
static void lexer_init(lexer_state *lexer) {
|
1472
|
+
lexer->content_start = 0;
|
1473
|
+
lexer->content_end = 0;
|
1474
|
+
lexer->content_len = 0;
|
1475
|
+
lexer->docstring_content_type_start = 0;
|
1476
|
+
lexer->docstring_content_type_end = 0;
|
1477
|
+
lexer->mark = 0;
|
1478
|
+
lexer->keyword_start = 0;
|
1479
|
+
lexer->keyword_end = 0;
|
1480
|
+
lexer->next_keyword_start = 0;
|
1481
|
+
lexer->line_number = 1;
|
1482
|
+
lexer->last_newline = 0;
|
1483
|
+
lexer->final_newline = 0;
|
1484
|
+
lexer->start_col = 0;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
static VALUE CLexer_alloc(VALUE klass)
|
1488
|
+
{
|
1489
|
+
VALUE obj;
|
1490
|
+
lexer_state *lxr = ALLOC(lexer_state);
|
1491
|
+
lexer_init(lxr);
|
1492
|
+
|
1493
|
+
obj = Data_Wrap_Struct(klass, NULL, -1, lxr);
|
1494
|
+
|
1495
|
+
return obj;
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
static VALUE CLexer_init(VALUE self, VALUE listener)
|
1499
|
+
{
|
1500
|
+
lexer_state *lxr;
|
1501
|
+
rb_iv_set(self, "@listener", listener);
|
1502
|
+
|
1503
|
+
lxr = NULL;
|
1504
|
+
DATA_GET(self, lexer_state, lxr);
|
1505
|
+
lexer_init(lxr);
|
1506
|
+
|
1507
|
+
return self;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
static VALUE CLexer_scan(VALUE self, VALUE input)
|
1511
|
+
{
|
1512
|
+
VALUE input_copy;
|
1513
|
+
char *data;
|
1514
|
+
size_t len;
|
1515
|
+
VALUE listener = rb_iv_get(self, "@listener");
|
1516
|
+
|
1517
|
+
lexer_state *lexer;
|
1518
|
+
lexer = NULL;
|
1519
|
+
DATA_GET(self, lexer_state, lexer);
|
1520
|
+
|
1521
|
+
input_copy = rb_str_dup(input);
|
1522
|
+
|
1523
|
+
rb_str_append(input_copy, rb_str_new2("\n%_FEATURE_END_%"));
|
1524
|
+
data = RSTRING_PTR(input_copy);
|
1525
|
+
len = RSTRING_LEN(input_copy);
|
1526
|
+
|
1527
|
+
if (len == 0) {
|
1528
|
+
rb_raise(rb_eGherkinLexingError, "No content to lex.");
|
1529
|
+
} else {
|
1530
|
+
|
1531
|
+
const char *p, *pe, *eof;
|
1532
|
+
int cs = 0;
|
1533
|
+
|
1534
|
+
VALUE current_row = Qnil;
|
1535
|
+
|
1536
|
+
p = data;
|
1537
|
+
pe = data + len;
|
1538
|
+
eof = pe;
|
1539
|
+
|
1540
|
+
assert(*pe == '\0' && "pointer does not end on NULL");
|
1541
|
+
|
1542
|
+
|
1543
|
+
#line 1544 "ext/gherkin_lexer_uk/gherkin_lexer_uk.c"
|
1544
|
+
{
|
1545
|
+
cs = lexer_start;
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
#line 425 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1549
|
+
|
1550
|
+
#line 1551 "ext/gherkin_lexer_uk/gherkin_lexer_uk.c"
|
1551
|
+
{
|
1552
|
+
int _klen;
|
1553
|
+
unsigned int _trans;
|
1554
|
+
const char *_acts;
|
1555
|
+
unsigned int _nacts;
|
1556
|
+
const char *_keys;
|
1557
|
+
|
1558
|
+
if ( p == pe )
|
1559
|
+
goto _test_eof;
|
1560
|
+
if ( cs == 0 )
|
1561
|
+
goto _out;
|
1562
|
+
_resume:
|
1563
|
+
_keys = _lexer_trans_keys + _lexer_key_offsets[cs];
|
1564
|
+
_trans = _lexer_index_offsets[cs];
|
1565
|
+
|
1566
|
+
_klen = _lexer_single_lengths[cs];
|
1567
|
+
if ( _klen > 0 ) {
|
1568
|
+
const char *_lower = _keys;
|
1569
|
+
const char *_mid;
|
1570
|
+
const char *_upper = _keys + _klen - 1;
|
1571
|
+
while (1) {
|
1572
|
+
if ( _upper < _lower )
|
1573
|
+
break;
|
1574
|
+
|
1575
|
+
_mid = _lower + ((_upper-_lower) >> 1);
|
1576
|
+
if ( (*p) < *_mid )
|
1577
|
+
_upper = _mid - 1;
|
1578
|
+
else if ( (*p) > *_mid )
|
1579
|
+
_lower = _mid + 1;
|
1580
|
+
else {
|
1581
|
+
_trans += (_mid - _keys);
|
1582
|
+
goto _match;
|
1583
|
+
}
|
1584
|
+
}
|
1585
|
+
_keys += _klen;
|
1586
|
+
_trans += _klen;
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
_klen = _lexer_range_lengths[cs];
|
1590
|
+
if ( _klen > 0 ) {
|
1591
|
+
const char *_lower = _keys;
|
1592
|
+
const char *_mid;
|
1593
|
+
const char *_upper = _keys + (_klen<<1) - 2;
|
1594
|
+
while (1) {
|
1595
|
+
if ( _upper < _lower )
|
1596
|
+
break;
|
1597
|
+
|
1598
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
|
1599
|
+
if ( (*p) < _mid[0] )
|
1600
|
+
_upper = _mid - 2;
|
1601
|
+
else if ( (*p) > _mid[1] )
|
1602
|
+
_lower = _mid + 2;
|
1603
|
+
else {
|
1604
|
+
_trans += ((_mid - _keys)>>1);
|
1605
|
+
goto _match;
|
1606
|
+
}
|
1607
|
+
}
|
1608
|
+
_trans += _klen;
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
_match:
|
1612
|
+
cs = _lexer_trans_targs[_trans];
|
1613
|
+
|
1614
|
+
if ( _lexer_trans_actions[_trans] == 0 )
|
1615
|
+
goto _again;
|
1616
|
+
|
1617
|
+
_acts = _lexer_actions + _lexer_trans_actions[_trans];
|
1618
|
+
_nacts = (unsigned int) *_acts++;
|
1619
|
+
while ( _nacts-- > 0 )
|
1620
|
+
{
|
1621
|
+
switch ( *_acts++ )
|
1622
|
+
{
|
1623
|
+
case 0:
|
1624
|
+
#line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1625
|
+
{
|
1626
|
+
MARK(content_start, p);
|
1627
|
+
lexer->current_line = lexer->line_number;
|
1628
|
+
lexer->start_col = lexer->content_start - lexer->last_newline - (lexer->keyword_end - lexer->keyword_start) + 2;
|
1629
|
+
}
|
1630
|
+
break;
|
1631
|
+
case 1:
|
1632
|
+
#line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1633
|
+
{
|
1634
|
+
MARK(content_start, p);
|
1635
|
+
}
|
1636
|
+
break;
|
1637
|
+
case 2:
|
1638
|
+
#line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1639
|
+
{
|
1640
|
+
lexer->current_line = lexer->line_number;
|
1641
|
+
lexer->start_col = p - data - lexer->last_newline;
|
1642
|
+
}
|
1643
|
+
break;
|
1644
|
+
case 3:
|
1645
|
+
#line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1646
|
+
{
|
1647
|
+
int len = LEN(content_start, PTR_TO(final_newline));
|
1648
|
+
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
1649
|
+
|
1650
|
+
if (len < 0) len = 0;
|
1651
|
+
if (type_len < 0) len = 0;
|
1652
|
+
|
1653
|
+
store_docstring_content(listener, lexer->start_col, PTR_TO(docstring_content_type_start), type_len, PTR_TO(content_start), len, lexer->current_line);
|
1654
|
+
}
|
1655
|
+
break;
|
1656
|
+
case 4:
|
1657
|
+
#line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1658
|
+
{
|
1659
|
+
MARK(docstring_content_type_start, p);
|
1660
|
+
}
|
1661
|
+
break;
|
1662
|
+
case 5:
|
1663
|
+
#line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1664
|
+
{
|
1665
|
+
MARK(docstring_content_type_end, p);
|
1666
|
+
}
|
1667
|
+
break;
|
1668
|
+
case 6:
|
1669
|
+
#line 116 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1670
|
+
{
|
1671
|
+
STORE_KW_END_CON(feature);
|
1672
|
+
}
|
1673
|
+
break;
|
1674
|
+
case 7:
|
1675
|
+
#line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1676
|
+
{
|
1677
|
+
STORE_KW_END_CON(background);
|
1678
|
+
}
|
1679
|
+
break;
|
1680
|
+
case 8:
|
1681
|
+
#line 124 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1682
|
+
{
|
1683
|
+
STORE_KW_END_CON(scenario);
|
1684
|
+
}
|
1685
|
+
break;
|
1686
|
+
case 9:
|
1687
|
+
#line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1688
|
+
{
|
1689
|
+
STORE_KW_END_CON(scenario_outline);
|
1690
|
+
}
|
1691
|
+
break;
|
1692
|
+
case 10:
|
1693
|
+
#line 132 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1694
|
+
{
|
1695
|
+
STORE_KW_END_CON(examples);
|
1696
|
+
}
|
1697
|
+
break;
|
1698
|
+
case 11:
|
1699
|
+
#line 136 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1700
|
+
{
|
1701
|
+
store_kw_con(listener, "step",
|
1702
|
+
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
1703
|
+
PTR_TO(content_start), LEN(content_start, p),
|
1704
|
+
lexer->current_line);
|
1705
|
+
}
|
1706
|
+
break;
|
1707
|
+
case 12:
|
1708
|
+
#line 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1709
|
+
{
|
1710
|
+
STORE_ATTR(comment);
|
1711
|
+
lexer->mark = 0;
|
1712
|
+
}
|
1713
|
+
break;
|
1714
|
+
case 13:
|
1715
|
+
#line 148 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1716
|
+
{
|
1717
|
+
STORE_ATTR(tag);
|
1718
|
+
lexer->mark = 0;
|
1719
|
+
}
|
1720
|
+
break;
|
1721
|
+
case 14:
|
1722
|
+
#line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1723
|
+
{
|
1724
|
+
lexer->line_number += 1;
|
1725
|
+
MARK(final_newline, p);
|
1726
|
+
}
|
1727
|
+
break;
|
1728
|
+
case 15:
|
1729
|
+
#line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1730
|
+
{
|
1731
|
+
MARK(last_newline, p + 1);
|
1732
|
+
}
|
1733
|
+
break;
|
1734
|
+
case 16:
|
1735
|
+
#line 162 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1736
|
+
{
|
1737
|
+
if (lexer->mark == 0) {
|
1738
|
+
MARK(mark, p);
|
1739
|
+
}
|
1740
|
+
}
|
1741
|
+
break;
|
1742
|
+
case 17:
|
1743
|
+
#line 168 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1744
|
+
{
|
1745
|
+
MARK(keyword_end, p);
|
1746
|
+
MARK(keyword_start, PTR_TO(mark));
|
1747
|
+
MARK(content_start, p + 1);
|
1748
|
+
lexer->mark = 0;
|
1749
|
+
}
|
1750
|
+
break;
|
1751
|
+
case 18:
|
1752
|
+
#line 175 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1753
|
+
{
|
1754
|
+
MARK(content_end, p);
|
1755
|
+
}
|
1756
|
+
break;
|
1757
|
+
case 19:
|
1758
|
+
#line 179 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1759
|
+
{
|
1760
|
+
p = p - 1;
|
1761
|
+
lexer->current_line = lexer->line_number;
|
1762
|
+
current_row = rb_ary_new();
|
1763
|
+
}
|
1764
|
+
break;
|
1765
|
+
case 20:
|
1766
|
+
#line 185 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1767
|
+
{
|
1768
|
+
MARK(content_start, p);
|
1769
|
+
}
|
1770
|
+
break;
|
1771
|
+
case 21:
|
1772
|
+
#line 189 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1773
|
+
{
|
1774
|
+
VALUE re_pipe, re_newline, re_backslash;
|
1775
|
+
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
1776
|
+
rb_funcall(con, rb_intern("strip!"), 0);
|
1777
|
+
re_pipe = rb_reg_regcomp(rb_str_new2("\\\\\\|"));
|
1778
|
+
re_newline = rb_reg_regcomp(rb_str_new2("\\\\n"));
|
1779
|
+
re_backslash = rb_reg_regcomp(rb_str_new2("\\\\\\\\"));
|
1780
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_pipe, rb_str_new2("|"));
|
1781
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_newline, rb_str_new2("\n"));
|
1782
|
+
rb_funcall(con, rb_intern("gsub!"), 2, re_backslash, rb_str_new2("\\"));
|
1783
|
+
|
1784
|
+
rb_ary_push(current_row, con);
|
1785
|
+
}
|
1786
|
+
break;
|
1787
|
+
case 22:
|
1788
|
+
#line 203 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1789
|
+
{
|
1790
|
+
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1791
|
+
}
|
1792
|
+
break;
|
1793
|
+
case 23:
|
1794
|
+
#line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1795
|
+
{
|
1796
|
+
int line;
|
1797
|
+
if (cs < lexer_first_final) {
|
1798
|
+
size_t count = 0;
|
1799
|
+
VALUE newstr_val;
|
1800
|
+
char *newstr;
|
1801
|
+
int newstr_count = 0;
|
1802
|
+
size_t len;
|
1803
|
+
const char *buff;
|
1804
|
+
if (lexer->last_newline != 0) {
|
1805
|
+
len = LEN(last_newline, eof);
|
1806
|
+
buff = PTR_TO(last_newline);
|
1807
|
+
} else {
|
1808
|
+
len = strlen(data);
|
1809
|
+
buff = data;
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
// Allocate as a ruby string so that it gets cleaned up by GC
|
1813
|
+
newstr_val = rb_str_new(buff, len);
|
1814
|
+
newstr = RSTRING_PTR(newstr_val);
|
1815
|
+
|
1816
|
+
|
1817
|
+
for (count = 0; count < len; count++) {
|
1818
|
+
if(buff[count] == 10) {
|
1819
|
+
newstr[newstr_count] = '\0'; // terminate new string at first newline found
|
1820
|
+
break;
|
1821
|
+
} else {
|
1822
|
+
if (buff[count] == '%') {
|
1823
|
+
newstr[newstr_count++] = buff[count];
|
1824
|
+
newstr[newstr_count] = buff[count];
|
1825
|
+
} else {
|
1826
|
+
newstr[newstr_count] = buff[count];
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
newstr_count++;
|
1830
|
+
}
|
1831
|
+
|
1832
|
+
line = lexer->line_number;
|
1833
|
+
lexer_init(lexer); // Re-initialize so we can scan again with the same lexer
|
1834
|
+
raise_lexer_error(newstr, line);
|
1835
|
+
} else {
|
1836
|
+
rb_funcall(listener, rb_intern("eof"), 0);
|
1837
|
+
}
|
1838
|
+
}
|
1839
|
+
break;
|
1840
|
+
#line 1841 "ext/gherkin_lexer_uk/gherkin_lexer_uk.c"
|
1841
|
+
}
|
1842
|
+
}
|
1843
|
+
|
1844
|
+
_again:
|
1845
|
+
if ( cs == 0 )
|
1846
|
+
goto _out;
|
1847
|
+
if ( ++p != pe )
|
1848
|
+
goto _resume;
|
1849
|
+
_test_eof: {}
|
1850
|
+
if ( p == eof )
|
1851
|
+
{
|
1852
|
+
const char *__acts = _lexer_actions + _lexer_eof_actions[cs];
|
1853
|
+
unsigned int __nacts = (unsigned int) *__acts++;
|
1854
|
+
while ( __nacts-- > 0 ) {
|
1855
|
+
switch ( *__acts++ ) {
|
1856
|
+
case 23:
|
1857
|
+
#line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1858
|
+
{
|
1859
|
+
int line;
|
1860
|
+
if (cs < lexer_first_final) {
|
1861
|
+
size_t count = 0;
|
1862
|
+
VALUE newstr_val;
|
1863
|
+
char *newstr;
|
1864
|
+
int newstr_count = 0;
|
1865
|
+
size_t len;
|
1866
|
+
const char *buff;
|
1867
|
+
if (lexer->last_newline != 0) {
|
1868
|
+
len = LEN(last_newline, eof);
|
1869
|
+
buff = PTR_TO(last_newline);
|
1870
|
+
} else {
|
1871
|
+
len = strlen(data);
|
1872
|
+
buff = data;
|
1873
|
+
}
|
1874
|
+
|
1875
|
+
// Allocate as a ruby string so that it gets cleaned up by GC
|
1876
|
+
newstr_val = rb_str_new(buff, len);
|
1877
|
+
newstr = RSTRING_PTR(newstr_val);
|
1878
|
+
|
1879
|
+
|
1880
|
+
for (count = 0; count < len; count++) {
|
1881
|
+
if(buff[count] == 10) {
|
1882
|
+
newstr[newstr_count] = '\0'; // terminate new string at first newline found
|
1883
|
+
break;
|
1884
|
+
} else {
|
1885
|
+
if (buff[count] == '%') {
|
1886
|
+
newstr[newstr_count++] = buff[count];
|
1887
|
+
newstr[newstr_count] = buff[count];
|
1888
|
+
} else {
|
1889
|
+
newstr[newstr_count] = buff[count];
|
1890
|
+
}
|
1891
|
+
}
|
1892
|
+
newstr_count++;
|
1893
|
+
}
|
1894
|
+
|
1895
|
+
line = lexer->line_number;
|
1896
|
+
lexer_init(lexer); // Re-initialize so we can scan again with the same lexer
|
1897
|
+
raise_lexer_error(newstr, line);
|
1898
|
+
} else {
|
1899
|
+
rb_funcall(listener, rb_intern("eof"), 0);
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
break;
|
1903
|
+
#line 1904 "ext/gherkin_lexer_uk/gherkin_lexer_uk.c"
|
1904
|
+
}
|
1905
|
+
}
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
_out: {}
|
1909
|
+
}
|
1910
|
+
|
1911
|
+
#line 426 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1912
|
+
|
1913
|
+
assert(p <= pe && "data overflow after parsing execute");
|
1914
|
+
assert(lexer->content_start <= len && "content starts after data end");
|
1915
|
+
assert(lexer->mark < len && "mark is after data end");
|
1916
|
+
|
1917
|
+
// Reset lexer by re-initializing the whole thing
|
1918
|
+
lexer_init(lexer);
|
1919
|
+
|
1920
|
+
if (cs == lexer_error) {
|
1921
|
+
rb_raise(rb_eGherkinLexingError, "Invalid format, lexing fails.");
|
1922
|
+
} else {
|
1923
|
+
return Qtrue;
|
1924
|
+
}
|
1925
|
+
}
|
1926
|
+
}
|
1927
|
+
|
1928
|
+
void Init_gherkin_lexer_uk()
|
1929
|
+
{
|
1930
|
+
mGherkin = rb_define_module("Gherkin");
|
1931
|
+
mGherkinLexer = rb_define_module_under(mGherkin, "Lexer");
|
1932
|
+
rb_eGherkinLexingError = rb_const_get(mGherkinLexer, rb_intern("LexingError"));
|
1933
|
+
|
1934
|
+
mCLexer = rb_define_module_under(mGherkin, "CLexer");
|
1935
|
+
cI18nLexer = rb_define_class_under(mCLexer, "Uk", rb_cObject);
|
1936
|
+
rb_define_alloc_func(cI18nLexer, CLexer_alloc);
|
1937
|
+
rb_define_method(cI18nLexer, "initialize", CLexer_init, 1);
|
1938
|
+
rb_define_method(cI18nLexer, "scan", CLexer_scan, 1);
|
1939
|
+
}
|
1940
|
+
|