gherkin 2.12.0 → 2.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.ruby-version +1 -1
- data/.travis.yml +1 -3
- data/History.md +18 -0
- data/LICENSE +1 -1
- data/README.md +22 -28
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +466 -466
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +2 -2
- data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +535 -395
- data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +2 -2
- data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +2 -2
- data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +2 -2
- data/ext/gherkin_lexer_da/gherkin_lexer_da.c +2 -2
- data/ext/gherkin_lexer_de/gherkin_lexer_de.c +296 -286
- data/ext/gherkin_lexer_el/gherkin_lexer_el.c +2 -2
- data/ext/gherkin_lexer_en/gherkin_lexer_en.c +2 -2
- data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +2 -2
- data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +2 -2
- data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +2 -2
- data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +2 -2
- data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +2 -2
- data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +2 -2
- data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +2 -2
- data/ext/gherkin_lexer_es/gherkin_lexer_es.c +2 -2
- data/ext/gherkin_lexer_et/gherkin_lexer_et.c +2 -2
- data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +2 -2
- data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +2 -2
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +2 -2
- data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +2 -2
- data/ext/gherkin_lexer_he/gherkin_lexer_he.c +2 -2
- data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +784 -685
- data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +2 -2
- data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +2 -2
- data/ext/gherkin_lexer_id/gherkin_lexer_id.c +2 -2
- data/ext/gherkin_lexer_is/gherkin_lexer_is.c +2 -2
- data/ext/gherkin_lexer_it/gherkin_lexer_it.c +2 -2
- data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +2 -2
- data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +2 -2
- data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +2 -2
- data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +2 -2
- data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +2 -2
- data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +2 -2
- data/ext/gherkin_lexer_no/gherkin_lexer_no.c +2 -2
- data/ext/gherkin_lexer_pa/extconf.rb +6 -0
- data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +2160 -0
- data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +2 -2
- data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +2 -2
- data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +2 -2
- data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2 -2
- data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +2 -2
- data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2 -2
- data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +586 -589
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +2 -2
- data/ext/gherkin_lexer_th/extconf.rb +6 -0
- data/ext/gherkin_lexer_th/gherkin_lexer_th.c +2840 -0
- data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +2 -2
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +2 -2
- data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +2 -2
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +2 -2
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +586 -594
- data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +2 -2
- data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +2 -2
- data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +2 -2
- data/features/.cucumber/stepdefs.json +66 -66
- data/gherkin.gemspec +12 -11
- data/lib/gherkin/formatter/filter_formatter.rb +1 -1
- data/lib/gherkin/i18n.json +38 -10
- data/lib/gherkin/i18n.rb +1 -1
- data/lib/gherkin/lexer/ar.rb +1167 -0
- data/lib/gherkin/lexer/bg.rb +1379 -0
- data/lib/gherkin/lexer/bm.rb +1247 -0
- data/lib/gherkin/lexer/ca.rb +1307 -0
- data/lib/gherkin/lexer/cs.rb +1243 -0
- data/lib/gherkin/lexer/cy_gb.rb +1029 -0
- data/lib/gherkin/lexer/da.rb +1045 -0
- data/lib/gherkin/lexer/de.rb +1163 -0
- data/lib/gherkin/lexer/el.rb +1677 -0
- data/lib/gherkin/lexer/en.rb +1153 -0
- data/lib/gherkin/lexer/en_au.rb +1483 -0
- data/lib/gherkin/lexer/en_lol.rb +931 -0
- data/lib/gherkin/lexer/en_old.rb +1034 -0
- data/lib/gherkin/lexer/en_pirate.rb +1207 -0
- data/lib/gherkin/lexer/en_scouse.rb +1359 -0
- data/lib/gherkin/lexer/en_tx.rb +1013 -0
- data/lib/gherkin/lexer/eo.rb +992 -0
- data/lib/gherkin/lexer/es.rb +1137 -0
- data/lib/gherkin/lexer/et.rb +987 -0
- data/lib/gherkin/lexer/fa.rb +1211 -0
- data/lib/gherkin/lexer/fi.rb +966 -0
- data/lib/gherkin/lexer/fr.rb +1225 -0
- data/lib/gherkin/lexer/gl.rb +1114 -0
- data/lib/gherkin/lexer/he.rb +1115 -0
- data/lib/gherkin/lexer/hi.rb +1556 -0
- data/lib/gherkin/lexer/hr.rb +1063 -0
- data/lib/gherkin/lexer/hu.rb +1115 -0
- data/lib/gherkin/lexer/id.rb +960 -0
- data/lib/gherkin/lexer/is.rb +1117 -0
- data/lib/gherkin/lexer/it.rb +1083 -0
- data/lib/gherkin/lexer/ja.rb +1415 -0
- data/lib/gherkin/lexer/ko.rb +1099 -0
- data/lib/gherkin/lexer/lt.rb +1042 -0
- data/lib/gherkin/lexer/lu.rb +1129 -0
- data/lib/gherkin/lexer/lv.rb +1163 -0
- data/lib/gherkin/lexer/nl.rb +1112 -0
- data/lib/gherkin/lexer/no.rb +1057 -0
- data/lib/gherkin/lexer/pa.rb +1849 -0
- data/lib/gherkin/lexer/pl.rb +1454 -0
- data/lib/gherkin/lexer/pt.rb +1427 -0
- data/lib/gherkin/lexer/ro.rb +1161 -0
- data/lib/gherkin/lexer/ru.rb +1763 -0
- data/lib/gherkin/lexer/sk.rb +1449 -0
- data/lib/gherkin/lexer/sr_cyrl.rb +1800 -0
- data/lib/gherkin/lexer/sr_latn.rb +1291 -0
- data/lib/gherkin/lexer/sv.rb +1067 -0
- data/lib/gherkin/lexer/th.rb +2489 -0
- data/lib/gherkin/lexer/tl.rb +1723 -0
- data/lib/gherkin/lexer/tr.rb +1089 -0
- data/lib/gherkin/lexer/tt.rb +1640 -0
- data/lib/gherkin/lexer/uk.rb +1643 -0
- data/lib/gherkin/lexer/uz.rb +1373 -0
- data/lib/gherkin/lexer/vi.rb +1195 -0
- data/lib/gherkin/lexer/zh_cn.rb +1055 -0
- data/lib/gherkin/lexer/zh_tw.rb +1049 -0
- data/lib/gherkin/platform.rb +2 -2
- data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
- data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
- data/spec/gherkin/i18n_spec.rb +2 -0
- data/tasks/gems.rake +19 -4
- data/tasks/ikvm.rake +10 -8
- data/tasks/ragel_task.rb +3 -2
- data/tasks/rspec.rake +2 -6
- metadata +295 -169
@@ -0,0 +1,1163 @@
|
|
1
|
+
|
2
|
+
# line 1 "ragel/i18n/de.rb.rl"
|
3
|
+
require 'gherkin/native'
|
4
|
+
|
5
|
+
module Gherkin
|
6
|
+
module Lexer
|
7
|
+
class De #:nodoc:
|
8
|
+
native_impl('gherkin')
|
9
|
+
|
10
|
+
|
11
|
+
# line 125 "ragel/i18n/de.rb.rl"
|
12
|
+
|
13
|
+
|
14
|
+
def initialize(listener)
|
15
|
+
@listener = listener
|
16
|
+
|
17
|
+
# line 18 "lib/gherkin/lexer/de.rb"
|
18
|
+
class << self
|
19
|
+
attr_accessor :_lexer_actions
|
20
|
+
private :_lexer_actions, :_lexer_actions=
|
21
|
+
end
|
22
|
+
self._lexer_actions = [
|
23
|
+
0, 1, 0, 1, 1, 1, 2, 1,
|
24
|
+
3, 1, 4, 1, 5, 1, 6, 1,
|
25
|
+
7, 1, 8, 1, 9, 1, 10, 1,
|
26
|
+
11, 1, 12, 1, 13, 1, 16, 1,
|
27
|
+
17, 1, 18, 1, 19, 1, 20, 1,
|
28
|
+
21, 1, 22, 1, 23, 2, 2, 18,
|
29
|
+
2, 3, 4, 2, 13, 0, 2, 14,
|
30
|
+
15, 2, 17, 0, 2, 17, 1, 2,
|
31
|
+
17, 16, 2, 17, 19, 2, 18, 6,
|
32
|
+
2, 18, 7, 2, 18, 8, 2, 18,
|
33
|
+
9, 2, 18, 10, 2, 18, 16, 2,
|
34
|
+
20, 21, 2, 22, 0, 2, 22, 1,
|
35
|
+
2, 22, 16, 2, 22, 19, 3, 4,
|
36
|
+
14, 15, 3, 5, 14, 15, 3, 11,
|
37
|
+
14, 15, 3, 12, 14, 15, 3, 13,
|
38
|
+
14, 15, 3, 14, 15, 18, 3, 17,
|
39
|
+
0, 11, 3, 17, 14, 15, 4, 2,
|
40
|
+
14, 15, 18, 4, 3, 4, 14, 15,
|
41
|
+
4, 17, 0, 14, 15, 5, 17, 0,
|
42
|
+
11, 14, 15
|
43
|
+
]
|
44
|
+
|
45
|
+
class << self
|
46
|
+
attr_accessor :_lexer_key_offsets
|
47
|
+
private :_lexer_key_offsets, :_lexer_key_offsets=
|
48
|
+
end
|
49
|
+
self._lexer_key_offsets = [
|
50
|
+
0, 0, 19, 20, 21, 39, 40, 41,
|
51
|
+
43, 45, 50, 55, 60, 65, 69, 73,
|
52
|
+
75, 76, 77, 78, 79, 80, 81, 82,
|
53
|
+
83, 84, 85, 86, 87, 88, 89, 90,
|
54
|
+
91, 93, 95, 100, 107, 112, 114, 115,
|
55
|
+
116, 117, 118, 119, 120, 121, 122, 123,
|
56
|
+
124, 125, 126, 127, 128, 129, 130, 131,
|
57
|
+
132, 133, 134, 135, 142, 144, 146, 148,
|
58
|
+
150, 152, 154, 156, 158, 160, 162, 164,
|
59
|
+
166, 168, 170, 172, 190, 191, 192, 193,
|
60
|
+
194, 195, 196, 197, 198, 199, 200, 201,
|
61
|
+
202, 203, 204, 205, 206, 207, 208, 209,
|
62
|
+
220, 222, 224, 226, 228, 230, 232, 234,
|
63
|
+
236, 238, 240, 242, 244, 246, 248, 250,
|
64
|
+
252, 254, 256, 258, 260, 262, 264, 266,
|
65
|
+
268, 270, 272, 274, 276, 278, 280, 282,
|
66
|
+
284, 286, 288, 290, 292, 294, 296, 298,
|
67
|
+
300, 302, 304, 306, 308, 310, 312, 314,
|
68
|
+
316, 318, 320, 322, 325, 327, 329, 331,
|
69
|
+
333, 335, 337, 339, 341, 343, 344, 345,
|
70
|
+
346, 347, 348, 349, 350, 351, 352, 354,
|
71
|
+
355, 356, 357, 358, 359, 360, 361, 362,
|
72
|
+
363, 364, 379, 381, 383, 385, 387, 389,
|
73
|
+
391, 393, 395, 397, 399, 401, 403, 405,
|
74
|
+
407, 409, 412, 414, 416, 418, 420, 422,
|
75
|
+
424, 426, 428, 430, 432, 434, 436, 438,
|
76
|
+
440, 442, 444, 446, 448, 450, 452, 454,
|
77
|
+
456, 458, 460, 462, 464, 466, 468, 470,
|
78
|
+
472, 474, 476, 478, 480, 482, 484, 486,
|
79
|
+
489, 491, 493, 495, 497, 499, 501, 503,
|
80
|
+
506, 508, 510, 512, 514, 516, 518, 520,
|
81
|
+
522, 524, 526, 528, 529, 530, 531, 532,
|
82
|
+
533, 534, 535, 537, 538, 539, 554, 556,
|
83
|
+
558, 560, 562, 564, 566, 568, 570, 572,
|
84
|
+
574, 576, 578, 580, 582, 584, 587, 589,
|
85
|
+
591, 593, 595, 597, 599, 601, 603, 605,
|
86
|
+
607, 609, 611, 613, 615, 617, 619, 621,
|
87
|
+
623, 625, 627, 629, 631, 633, 635, 637,
|
88
|
+
639, 641, 644, 646, 648, 650, 652, 654,
|
89
|
+
656, 658, 660, 662, 665, 667, 669, 671,
|
90
|
+
673, 675, 677, 679, 681, 683, 685, 687,
|
91
|
+
689, 691, 693, 696, 698, 700, 702, 704,
|
92
|
+
706, 708, 710, 712, 714, 716, 718, 719,
|
93
|
+
720, 721, 722, 723, 724, 725, 726, 727,
|
94
|
+
728, 729, 744, 746, 748, 750, 752, 754,
|
95
|
+
756, 758, 760, 762, 764, 766, 768, 770,
|
96
|
+
772, 774, 777, 779, 781, 783, 785, 787,
|
97
|
+
789, 791, 793, 795, 797, 799, 801, 803,
|
98
|
+
805, 807, 809, 811, 813, 815, 817, 819,
|
99
|
+
821, 823, 825, 827, 829, 831, 833, 835,
|
100
|
+
837, 839, 841, 843, 845, 847, 849, 851,
|
101
|
+
854, 856, 858, 860, 862, 864, 866, 868,
|
102
|
+
870, 872, 874, 875, 876, 877, 881, 887,
|
103
|
+
890, 892, 898, 916
|
104
|
+
]
|
105
|
+
|
106
|
+
class << self
|
107
|
+
attr_accessor :_lexer_trans_keys
|
108
|
+
private :_lexer_trans_keys, :_lexer_trans_keys=
|
109
|
+
end
|
110
|
+
self._lexer_trans_keys = [
|
111
|
+
-17, 10, 32, 34, 35, 37, 42, 64,
|
112
|
+
65, 66, 68, 70, 71, 83, 85, 87,
|
113
|
+
124, 9, 13, -69, -65, 10, 32, 34,
|
114
|
+
35, 37, 42, 64, 65, 66, 68, 70,
|
115
|
+
71, 83, 85, 87, 124, 9, 13, 34,
|
116
|
+
34, 10, 13, 10, 13, 10, 32, 34,
|
117
|
+
9, 13, 10, 32, 34, 9, 13, 10,
|
118
|
+
32, 34, 9, 13, 10, 32, 34, 9,
|
119
|
+
13, 10, 32, 9, 13, 10, 32, 9,
|
120
|
+
13, 10, 13, 10, 95, 70, 69, 65,
|
121
|
+
84, 85, 82, 69, 95, 69, 78, 68,
|
122
|
+
95, 37, 32, 10, 13, 10, 13, 13,
|
123
|
+
32, 64, 9, 10, 9, 10, 13, 32,
|
124
|
+
64, 11, 12, 10, 32, 64, 9, 13,
|
125
|
+
98, 110, 101, 114, 103, 101, 110, 111,
|
126
|
+
109, 109, 101, 110, 101, 105, 115, 112,
|
127
|
+
105, 101, 108, 101, 58, 10, 10, 10,
|
128
|
+
32, 35, 70, 124, 9, 13, 10, 117,
|
129
|
+
10, 110, 10, 107, 10, 116, 10, 105,
|
130
|
+
10, 111, 10, 110, 10, 97, 10, 108,
|
131
|
+
10, 105, 10, 116, -61, 10, -92, 10,
|
132
|
+
10, 116, 10, 58, 10, 32, 34, 35,
|
133
|
+
37, 42, 64, 65, 66, 68, 70, 71,
|
134
|
+
83, 85, 87, 124, 9, 13, 97, 110,
|
135
|
+
117, 110, 107, 116, 105, 111, 110, 97,
|
136
|
+
108, 105, 116, -61, -92, 116, 58, 10,
|
137
|
+
10, 10, 32, 35, 37, 64, 66, 70,
|
138
|
+
71, 83, 9, 13, 10, 95, 10, 70,
|
139
|
+
10, 69, 10, 65, 10, 84, 10, 85,
|
140
|
+
10, 82, 10, 69, 10, 95, 10, 69,
|
141
|
+
10, 78, 10, 68, 10, 95, 10, 37,
|
142
|
+
10, 101, 10, 105, 10, 115, 10, 112,
|
143
|
+
10, 105, 10, 101, 10, 108, 10, 101,
|
144
|
+
10, 58, 10, 117, 10, 110, 10, 107,
|
145
|
+
10, 116, 10, 105, 10, 111, 10, 110,
|
146
|
+
10, 97, 10, 108, 10, 105, 10, 116,
|
147
|
+
-61, 10, -92, 10, 10, 116, 10, 114,
|
148
|
+
10, 117, 10, 110, 10, 100, 10, 108,
|
149
|
+
10, 97, 10, 103, 10, 122, 10, 101,
|
150
|
+
10, 110, 10, 97, 10, 114, 10, 105,
|
151
|
+
10, 111, 10, 58, 103, 10, 114, 10,
|
152
|
+
117, 10, 110, 10, 100, 10, 114, 10,
|
153
|
+
105, 10, 115, 10, 115, 101, 114, 103,
|
154
|
+
101, 98, 101, 110, 32, 115, 101, 105,
|
155
|
+
32, 101, 117, 110, 100, 108, 97, 103,
|
156
|
+
101, 58, 10, 10, 10, 32, 35, 37,
|
157
|
+
42, 64, 65, 68, 70, 71, 83, 85,
|
158
|
+
87, 9, 13, 10, 95, 10, 70, 10,
|
159
|
+
69, 10, 65, 10, 84, 10, 85, 10,
|
160
|
+
82, 10, 69, 10, 95, 10, 69, 10,
|
161
|
+
78, 10, 68, 10, 95, 10, 37, 10,
|
162
|
+
32, 10, 98, 110, 10, 101, 10, 114,
|
163
|
+
10, 103, 10, 101, 10, 110, 10, 111,
|
164
|
+
10, 109, 10, 109, 10, 101, 10, 110,
|
165
|
+
10, 97, 10, 110, 10, 117, 10, 110,
|
166
|
+
10, 107, 10, 116, 10, 105, 10, 111,
|
167
|
+
10, 110, 10, 97, 10, 108, 10, 105,
|
168
|
+
10, 116, -61, 10, -92, 10, 10, 116,
|
169
|
+
10, 58, 10, 101, 10, 103, 10, 101,
|
170
|
+
10, 98, 10, 101, 10, 110, 10, 32,
|
171
|
+
10, 115, 10, 101, 10, 105, 10, 32,
|
172
|
+
101, 10, 122, 10, 101, 10, 110, 10,
|
173
|
+
97, 10, 114, 10, 105, 10, 111, 10,
|
174
|
+
58, 103, 10, 114, 10, 117, 10, 110,
|
175
|
+
10, 100, 10, 114, 10, 105, 10, 115,
|
176
|
+
10, 115, 10, 110, 10, 100, 10, 101,
|
177
|
+
122, 101, 110, 97, 114, 105, 111, 58,
|
178
|
+
103, 10, 10, 10, 32, 35, 37, 42,
|
179
|
+
64, 65, 68, 70, 71, 83, 85, 87,
|
180
|
+
9, 13, 10, 95, 10, 70, 10, 69,
|
181
|
+
10, 65, 10, 84, 10, 85, 10, 82,
|
182
|
+
10, 69, 10, 95, 10, 69, 10, 78,
|
183
|
+
10, 68, 10, 95, 10, 37, 10, 32,
|
184
|
+
10, 98, 110, 10, 101, 10, 114, 10,
|
185
|
+
103, 10, 101, 10, 110, 10, 111, 10,
|
186
|
+
109, 10, 109, 10, 101, 10, 110, 10,
|
187
|
+
97, 10, 110, 10, 117, 10, 110, 10,
|
188
|
+
107, 10, 116, 10, 105, 10, 111, 10,
|
189
|
+
110, 10, 97, 10, 108, 10, 105, 10,
|
190
|
+
116, -61, 10, -92, 10, 10, 116, 10,
|
191
|
+
58, 10, 101, 114, 10, 103, 10, 101,
|
192
|
+
10, 98, 10, 101, 10, 110, 10, 32,
|
193
|
+
10, 115, 10, 101, 10, 105, 10, 32,
|
194
|
+
101, 10, 117, 10, 110, 10, 100, 10,
|
195
|
+
108, 10, 97, 10, 103, 10, 101, 10,
|
196
|
+
122, 10, 101, 10, 110, 10, 97, 10,
|
197
|
+
114, 10, 105, 10, 111, 10, 58, 103,
|
198
|
+
10, 114, 10, 117, 10, 110, 10, 100,
|
199
|
+
10, 114, 10, 105, 10, 115, 10, 115,
|
200
|
+
10, 110, 10, 100, 10, 101, 114, 117,
|
201
|
+
110, 100, 114, 105, 115, 115, 58, 10,
|
202
|
+
10, 10, 32, 35, 37, 42, 64, 65,
|
203
|
+
68, 70, 71, 83, 85, 87, 9, 13,
|
204
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
205
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
206
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
207
|
+
10, 95, 10, 37, 10, 32, 10, 98,
|
208
|
+
110, 10, 101, 10, 114, 10, 103, 10,
|
209
|
+
101, 10, 110, 10, 111, 10, 109, 10,
|
210
|
+
109, 10, 101, 10, 110, 10, 97, 10,
|
211
|
+
110, 10, 117, 10, 110, 10, 107, 10,
|
212
|
+
116, 10, 105, 10, 111, 10, 110, 10,
|
213
|
+
97, 10, 108, 10, 105, 10, 116, -61,
|
214
|
+
10, -92, 10, 10, 116, 10, 58, 10,
|
215
|
+
101, 10, 103, 10, 101, 10, 98, 10,
|
216
|
+
101, 10, 110, 10, 32, 10, 115, 10,
|
217
|
+
101, 10, 105, 10, 32, 101, 10, 122,
|
218
|
+
10, 101, 10, 110, 10, 97, 10, 114,
|
219
|
+
10, 105, 10, 111, 10, 110, 10, 100,
|
220
|
+
10, 101, 110, 100, 101, 32, 124, 9,
|
221
|
+
13, 10, 32, 92, 124, 9, 13, 10,
|
222
|
+
92, 124, 10, 92, 10, 32, 92, 124,
|
223
|
+
9, 13, 10, 32, 34, 35, 37, 42,
|
224
|
+
64, 65, 66, 68, 70, 71, 83, 85,
|
225
|
+
87, 124, 9, 13, 0
|
226
|
+
]
|
227
|
+
|
228
|
+
class << self
|
229
|
+
attr_accessor :_lexer_single_lengths
|
230
|
+
private :_lexer_single_lengths, :_lexer_single_lengths=
|
231
|
+
end
|
232
|
+
self._lexer_single_lengths = [
|
233
|
+
0, 17, 1, 1, 16, 1, 1, 2,
|
234
|
+
2, 3, 3, 3, 3, 2, 2, 2,
|
235
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
236
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
237
|
+
2, 2, 3, 5, 3, 2, 1, 1,
|
238
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
239
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
240
|
+
1, 1, 1, 5, 2, 2, 2, 2,
|
241
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
242
|
+
2, 2, 2, 16, 1, 1, 1, 1,
|
243
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
244
|
+
1, 1, 1, 1, 1, 1, 1, 9,
|
245
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
246
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
247
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
248
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
249
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
250
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
251
|
+
2, 2, 2, 3, 2, 2, 2, 2,
|
252
|
+
2, 2, 2, 2, 2, 1, 1, 1,
|
253
|
+
1, 1, 1, 1, 1, 1, 2, 1,
|
254
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
255
|
+
1, 13, 2, 2, 2, 2, 2, 2,
|
256
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
257
|
+
2, 3, 2, 2, 2, 2, 2, 2,
|
258
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
259
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
260
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
261
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
262
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
263
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
264
|
+
2, 2, 2, 1, 1, 1, 1, 1,
|
265
|
+
1, 1, 2, 1, 1, 13, 2, 2,
|
266
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
267
|
+
2, 2, 2, 2, 2, 3, 2, 2,
|
268
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
269
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
270
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
271
|
+
2, 3, 2, 2, 2, 2, 2, 2,
|
272
|
+
2, 2, 2, 3, 2, 2, 2, 2,
|
273
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
274
|
+
2, 2, 3, 2, 2, 2, 2, 2,
|
275
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
276
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
277
|
+
1, 13, 2, 2, 2, 2, 2, 2,
|
278
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
279
|
+
2, 3, 2, 2, 2, 2, 2, 2,
|
280
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
281
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
282
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
283
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
284
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
285
|
+
2, 2, 1, 1, 1, 2, 4, 3,
|
286
|
+
2, 4, 16, 0
|
287
|
+
]
|
288
|
+
|
289
|
+
class << self
|
290
|
+
attr_accessor :_lexer_range_lengths
|
291
|
+
private :_lexer_range_lengths, :_lexer_range_lengths=
|
292
|
+
end
|
293
|
+
self._lexer_range_lengths = [
|
294
|
+
0, 1, 0, 0, 1, 0, 0, 0,
|
295
|
+
0, 1, 1, 1, 1, 1, 1, 0,
|
296
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
297
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
298
|
+
0, 0, 1, 1, 1, 0, 0, 0,
|
299
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
300
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
301
|
+
0, 0, 0, 1, 0, 0, 0, 0,
|
302
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
303
|
+
0, 0, 0, 1, 0, 0, 0, 0,
|
304
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
305
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
306
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
307
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
308
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
309
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
310
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
311
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
312
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
313
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
314
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
315
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
316
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
317
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
318
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
319
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
320
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
321
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
322
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
323
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
324
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
325
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
326
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
327
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
328
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
329
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
330
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
331
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
332
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
333
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
334
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
335
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
336
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
337
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
338
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
339
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
340
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
341
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
342
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
343
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
344
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
345
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
346
|
+
0, 0, 0, 0, 0, 1, 1, 0,
|
347
|
+
0, 1, 1, 0
|
348
|
+
]
|
349
|
+
|
350
|
+
class << self
|
351
|
+
attr_accessor :_lexer_index_offsets
|
352
|
+
private :_lexer_index_offsets, :_lexer_index_offsets=
|
353
|
+
end
|
354
|
+
self._lexer_index_offsets = [
|
355
|
+
0, 0, 19, 21, 23, 41, 43, 45,
|
356
|
+
48, 51, 56, 61, 66, 71, 75, 79,
|
357
|
+
82, 84, 86, 88, 90, 92, 94, 96,
|
358
|
+
98, 100, 102, 104, 106, 108, 110, 112,
|
359
|
+
114, 117, 120, 125, 132, 137, 140, 142,
|
360
|
+
144, 146, 148, 150, 152, 154, 156, 158,
|
361
|
+
160, 162, 164, 166, 168, 170, 172, 174,
|
362
|
+
176, 178, 180, 182, 189, 192, 195, 198,
|
363
|
+
201, 204, 207, 210, 213, 216, 219, 222,
|
364
|
+
225, 228, 231, 234, 252, 254, 256, 258,
|
365
|
+
260, 262, 264, 266, 268, 270, 272, 274,
|
366
|
+
276, 278, 280, 282, 284, 286, 288, 290,
|
367
|
+
301, 304, 307, 310, 313, 316, 319, 322,
|
368
|
+
325, 328, 331, 334, 337, 340, 343, 346,
|
369
|
+
349, 352, 355, 358, 361, 364, 367, 370,
|
370
|
+
373, 376, 379, 382, 385, 388, 391, 394,
|
371
|
+
397, 400, 403, 406, 409, 412, 415, 418,
|
372
|
+
421, 424, 427, 430, 433, 436, 439, 442,
|
373
|
+
445, 448, 451, 454, 458, 461, 464, 467,
|
374
|
+
470, 473, 476, 479, 482, 485, 487, 489,
|
375
|
+
491, 493, 495, 497, 499, 501, 503, 506,
|
376
|
+
508, 510, 512, 514, 516, 518, 520, 522,
|
377
|
+
524, 526, 541, 544, 547, 550, 553, 556,
|
378
|
+
559, 562, 565, 568, 571, 574, 577, 580,
|
379
|
+
583, 586, 590, 593, 596, 599, 602, 605,
|
380
|
+
608, 611, 614, 617, 620, 623, 626, 629,
|
381
|
+
632, 635, 638, 641, 644, 647, 650, 653,
|
382
|
+
656, 659, 662, 665, 668, 671, 674, 677,
|
383
|
+
680, 683, 686, 689, 692, 695, 698, 701,
|
384
|
+
705, 708, 711, 714, 717, 720, 723, 726,
|
385
|
+
730, 733, 736, 739, 742, 745, 748, 751,
|
386
|
+
754, 757, 760, 763, 765, 767, 769, 771,
|
387
|
+
773, 775, 777, 780, 782, 784, 799, 802,
|
388
|
+
805, 808, 811, 814, 817, 820, 823, 826,
|
389
|
+
829, 832, 835, 838, 841, 844, 848, 851,
|
390
|
+
854, 857, 860, 863, 866, 869, 872, 875,
|
391
|
+
878, 881, 884, 887, 890, 893, 896, 899,
|
392
|
+
902, 905, 908, 911, 914, 917, 920, 923,
|
393
|
+
926, 929, 933, 936, 939, 942, 945, 948,
|
394
|
+
951, 954, 957, 960, 964, 967, 970, 973,
|
395
|
+
976, 979, 982, 985, 988, 991, 994, 997,
|
396
|
+
1000, 1003, 1006, 1010, 1013, 1016, 1019, 1022,
|
397
|
+
1025, 1028, 1031, 1034, 1037, 1040, 1043, 1045,
|
398
|
+
1047, 1049, 1051, 1053, 1055, 1057, 1059, 1061,
|
399
|
+
1063, 1065, 1080, 1083, 1086, 1089, 1092, 1095,
|
400
|
+
1098, 1101, 1104, 1107, 1110, 1113, 1116, 1119,
|
401
|
+
1122, 1125, 1129, 1132, 1135, 1138, 1141, 1144,
|
402
|
+
1147, 1150, 1153, 1156, 1159, 1162, 1165, 1168,
|
403
|
+
1171, 1174, 1177, 1180, 1183, 1186, 1189, 1192,
|
404
|
+
1195, 1198, 1201, 1204, 1207, 1210, 1213, 1216,
|
405
|
+
1219, 1222, 1225, 1228, 1231, 1234, 1237, 1240,
|
406
|
+
1244, 1247, 1250, 1253, 1256, 1259, 1262, 1265,
|
407
|
+
1268, 1271, 1274, 1276, 1278, 1280, 1284, 1290,
|
408
|
+
1294, 1297, 1303, 1321
|
409
|
+
]
|
410
|
+
|
411
|
+
class << self
|
412
|
+
attr_accessor :_lexer_indicies
|
413
|
+
private :_lexer_indicies, :_lexer_indicies=
|
414
|
+
end
|
415
|
+
self._lexer_indicies = [
|
416
|
+
1, 3, 2, 4, 5, 6, 7, 8,
|
417
|
+
9, 10, 11, 12, 13, 14, 15, 16,
|
418
|
+
17, 2, 0, 18, 0, 2, 0, 3,
|
419
|
+
2, 4, 5, 6, 7, 8, 9, 10,
|
420
|
+
11, 12, 13, 14, 15, 16, 17, 2,
|
421
|
+
0, 19, 0, 20, 0, 22, 23, 21,
|
422
|
+
25, 26, 24, 29, 28, 30, 28, 27,
|
423
|
+
33, 32, 34, 32, 31, 33, 32, 35,
|
424
|
+
32, 31, 33, 32, 36, 32, 31, 38,
|
425
|
+
37, 37, 0, 3, 39, 39, 0, 41,
|
426
|
+
42, 40, 3, 0, 43, 0, 44, 0,
|
427
|
+
45, 0, 46, 0, 47, 0, 48, 0,
|
428
|
+
49, 0, 50, 0, 51, 0, 52, 0,
|
429
|
+
53, 0, 54, 0, 55, 0, 56, 0,
|
430
|
+
57, 0, 59, 60, 58, 62, 63, 61,
|
431
|
+
0, 0, 0, 0, 64, 65, 66, 65,
|
432
|
+
65, 68, 67, 64, 3, 69, 8, 69,
|
433
|
+
0, 70, 71, 0, 72, 0, 73, 0,
|
434
|
+
74, 0, 75, 0, 76, 0, 77, 0,
|
435
|
+
78, 0, 79, 0, 80, 0, 73, 0,
|
436
|
+
81, 0, 82, 0, 83, 0, 84, 0,
|
437
|
+
85, 0, 86, 0, 87, 0, 88, 0,
|
438
|
+
89, 0, 91, 90, 93, 92, 93, 94,
|
439
|
+
95, 96, 95, 94, 92, 93, 97, 92,
|
440
|
+
93, 98, 92, 93, 99, 92, 93, 100,
|
441
|
+
92, 93, 101, 92, 93, 102, 92, 93,
|
442
|
+
103, 92, 93, 104, 92, 93, 105, 92,
|
443
|
+
93, 106, 92, 93, 107, 92, 108, 93,
|
444
|
+
92, 109, 93, 92, 93, 110, 92, 93,
|
445
|
+
111, 92, 113, 112, 114, 115, 116, 117,
|
446
|
+
118, 119, 120, 121, 122, 123, 124, 125,
|
447
|
+
126, 127, 112, 0, 128, 0, 80, 0,
|
448
|
+
129, 0, 130, 0, 131, 0, 132, 0,
|
449
|
+
133, 0, 134, 0, 135, 0, 136, 0,
|
450
|
+
137, 0, 138, 0, 139, 0, 140, 0,
|
451
|
+
141, 0, 142, 0, 143, 0, 145, 144,
|
452
|
+
147, 146, 147, 148, 149, 150, 149, 151,
|
453
|
+
152, 153, 154, 148, 146, 147, 155, 146,
|
454
|
+
147, 156, 146, 147, 157, 146, 147, 158,
|
455
|
+
146, 147, 159, 146, 147, 160, 146, 147,
|
456
|
+
161, 146, 147, 162, 146, 147, 163, 146,
|
457
|
+
147, 164, 146, 147, 165, 146, 147, 166,
|
458
|
+
146, 147, 167, 146, 147, 168, 146, 147,
|
459
|
+
169, 146, 147, 170, 146, 147, 171, 146,
|
460
|
+
147, 172, 146, 147, 173, 146, 147, 174,
|
461
|
+
146, 147, 175, 146, 147, 176, 146, 147,
|
462
|
+
177, 146, 147, 178, 146, 147, 179, 146,
|
463
|
+
147, 180, 146, 147, 181, 146, 147, 182,
|
464
|
+
146, 147, 183, 146, 147, 184, 146, 147,
|
465
|
+
185, 146, 147, 186, 146, 147, 187, 146,
|
466
|
+
147, 188, 146, 189, 147, 146, 190, 147,
|
467
|
+
146, 147, 176, 146, 147, 191, 146, 147,
|
468
|
+
192, 146, 147, 193, 146, 147, 194, 146,
|
469
|
+
147, 195, 146, 147, 196, 146, 147, 175,
|
470
|
+
146, 147, 197, 146, 147, 198, 146, 147,
|
471
|
+
199, 146, 147, 200, 146, 147, 201, 146,
|
472
|
+
147, 202, 146, 147, 203, 146, 147, 177,
|
473
|
+
204, 146, 147, 205, 146, 147, 206, 146,
|
474
|
+
147, 207, 146, 147, 208, 146, 147, 209,
|
475
|
+
146, 147, 210, 146, 147, 211, 146, 147,
|
476
|
+
176, 146, 212, 213, 0, 214, 0, 215,
|
477
|
+
0, 216, 0, 217, 0, 218, 0, 219,
|
478
|
+
0, 220, 0, 221, 0, 222, 0, 57,
|
479
|
+
80, 0, 223, 0, 224, 0, 225, 0,
|
480
|
+
226, 0, 227, 0, 228, 0, 229, 0,
|
481
|
+
230, 0, 232, 231, 234, 233, 234, 235,
|
482
|
+
236, 237, 238, 236, 239, 240, 241, 242,
|
483
|
+
243, 244, 245, 235, 233, 234, 246, 233,
|
484
|
+
234, 247, 233, 234, 248, 233, 234, 249,
|
485
|
+
233, 234, 250, 233, 234, 251, 233, 234,
|
486
|
+
252, 233, 234, 253, 233, 234, 254, 233,
|
487
|
+
234, 255, 233, 234, 256, 233, 234, 257,
|
488
|
+
233, 234, 258, 233, 234, 259, 233, 234,
|
489
|
+
260, 233, 234, 261, 262, 233, 234, 263,
|
490
|
+
233, 234, 264, 233, 234, 265, 233, 234,
|
491
|
+
266, 233, 234, 267, 233, 234, 268, 233,
|
492
|
+
234, 269, 233, 234, 270, 233, 234, 271,
|
493
|
+
233, 234, 264, 233, 234, 272, 233, 234,
|
494
|
+
271, 233, 234, 273, 233, 234, 274, 233,
|
495
|
+
234, 275, 233, 234, 276, 233, 234, 277,
|
496
|
+
233, 234, 278, 233, 234, 279, 233, 234,
|
497
|
+
280, 233, 234, 281, 233, 234, 282, 233,
|
498
|
+
234, 283, 233, 284, 234, 233, 285, 234,
|
499
|
+
233, 234, 286, 233, 234, 260, 233, 234,
|
500
|
+
287, 233, 234, 288, 233, 234, 289, 233,
|
501
|
+
234, 290, 233, 234, 291, 233, 234, 292,
|
502
|
+
233, 234, 293, 233, 234, 294, 233, 234,
|
503
|
+
295, 233, 234, 296, 233, 234, 260, 271,
|
504
|
+
233, 234, 297, 233, 234, 298, 233, 234,
|
505
|
+
299, 233, 234, 300, 233, 234, 301, 233,
|
506
|
+
234, 302, 233, 234, 303, 233, 234, 260,
|
507
|
+
304, 233, 234, 305, 233, 234, 306, 233,
|
508
|
+
234, 307, 233, 234, 308, 233, 234, 309,
|
509
|
+
233, 234, 310, 233, 234, 311, 233, 234,
|
510
|
+
286, 233, 234, 312, 233, 234, 264, 233,
|
511
|
+
234, 272, 233, 313, 0, 314, 0, 315,
|
512
|
+
0, 316, 0, 317, 0, 318, 0, 319,
|
513
|
+
0, 320, 321, 0, 323, 322, 325, 324,
|
514
|
+
325, 326, 327, 328, 329, 327, 330, 331,
|
515
|
+
332, 333, 334, 335, 336, 326, 324, 325,
|
516
|
+
337, 324, 325, 338, 324, 325, 339, 324,
|
517
|
+
325, 340, 324, 325, 341, 324, 325, 342,
|
518
|
+
324, 325, 343, 324, 325, 344, 324, 325,
|
519
|
+
345, 324, 325, 346, 324, 325, 347, 324,
|
520
|
+
325, 348, 324, 325, 349, 324, 325, 350,
|
521
|
+
324, 325, 351, 324, 325, 352, 353, 324,
|
522
|
+
325, 354, 324, 325, 355, 324, 325, 356,
|
523
|
+
324, 325, 357, 324, 325, 358, 324, 325,
|
524
|
+
359, 324, 325, 360, 324, 325, 361, 324,
|
525
|
+
325, 362, 324, 325, 355, 324, 325, 363,
|
526
|
+
324, 325, 362, 324, 325, 364, 324, 325,
|
527
|
+
365, 324, 325, 366, 324, 325, 367, 324,
|
528
|
+
325, 368, 324, 325, 369, 324, 325, 370,
|
529
|
+
324, 325, 371, 324, 325, 372, 324, 325,
|
530
|
+
373, 324, 325, 374, 324, 375, 325, 324,
|
531
|
+
376, 325, 324, 325, 377, 324, 325, 351,
|
532
|
+
324, 325, 378, 379, 324, 325, 380, 324,
|
533
|
+
325, 381, 324, 325, 382, 324, 325, 383,
|
534
|
+
324, 325, 384, 324, 325, 385, 324, 325,
|
535
|
+
386, 324, 325, 387, 324, 325, 388, 324,
|
536
|
+
325, 351, 362, 324, 325, 389, 324, 325,
|
537
|
+
390, 324, 325, 391, 324, 325, 392, 324,
|
538
|
+
325, 393, 324, 325, 394, 324, 325, 377,
|
539
|
+
324, 325, 395, 324, 325, 396, 324, 325,
|
540
|
+
397, 324, 325, 398, 324, 325, 399, 324,
|
541
|
+
325, 400, 324, 325, 401, 324, 325, 351,
|
542
|
+
402, 324, 325, 403, 324, 325, 404, 324,
|
543
|
+
325, 405, 324, 325, 406, 324, 325, 407,
|
544
|
+
324, 325, 408, 324, 325, 409, 324, 325,
|
545
|
+
377, 324, 325, 410, 324, 325, 355, 324,
|
546
|
+
325, 363, 324, 411, 0, 412, 0, 413,
|
547
|
+
0, 414, 0, 415, 0, 416, 0, 417,
|
548
|
+
0, 418, 0, 419, 0, 421, 420, 423,
|
549
|
+
422, 423, 424, 425, 426, 427, 425, 428,
|
550
|
+
429, 430, 431, 432, 433, 434, 424, 422,
|
551
|
+
423, 435, 422, 423, 436, 422, 423, 437,
|
552
|
+
422, 423, 438, 422, 423, 439, 422, 423,
|
553
|
+
440, 422, 423, 441, 422, 423, 442, 422,
|
554
|
+
423, 443, 422, 423, 444, 422, 423, 445,
|
555
|
+
422, 423, 446, 422, 423, 447, 422, 423,
|
556
|
+
448, 422, 423, 449, 422, 423, 450, 451,
|
557
|
+
422, 423, 452, 422, 423, 453, 422, 423,
|
558
|
+
454, 422, 423, 455, 422, 423, 456, 422,
|
559
|
+
423, 457, 422, 423, 458, 422, 423, 459,
|
560
|
+
422, 423, 460, 422, 423, 453, 422, 423,
|
561
|
+
461, 422, 423, 460, 422, 423, 462, 422,
|
562
|
+
423, 463, 422, 423, 464, 422, 423, 465,
|
563
|
+
422, 423, 466, 422, 423, 467, 422, 423,
|
564
|
+
468, 422, 423, 469, 422, 423, 470, 422,
|
565
|
+
423, 471, 422, 423, 472, 422, 473, 423,
|
566
|
+
422, 474, 423, 422, 423, 475, 422, 423,
|
567
|
+
449, 422, 423, 476, 422, 423, 477, 422,
|
568
|
+
423, 478, 422, 423, 479, 422, 423, 480,
|
569
|
+
422, 423, 481, 422, 423, 482, 422, 423,
|
570
|
+
483, 422, 423, 484, 422, 423, 485, 422,
|
571
|
+
423, 449, 460, 422, 423, 486, 422, 423,
|
572
|
+
487, 422, 423, 488, 422, 423, 489, 422,
|
573
|
+
423, 490, 422, 423, 491, 422, 423, 475,
|
574
|
+
422, 423, 492, 422, 423, 453, 422, 423,
|
575
|
+
461, 422, 493, 0, 73, 0, 128, 0,
|
576
|
+
494, 495, 494, 0, 498, 497, 499, 500,
|
577
|
+
497, 496, 0, 502, 503, 501, 0, 502,
|
578
|
+
501, 498, 504, 502, 503, 504, 501, 498,
|
579
|
+
505, 506, 507, 508, 509, 510, 511, 512,
|
580
|
+
513, 514, 515, 516, 517, 518, 519, 505,
|
581
|
+
0, 520, 0
|
582
|
+
]
|
583
|
+
|
584
|
+
class << self
|
585
|
+
attr_accessor :_lexer_trans_targs
|
586
|
+
private :_lexer_trans_targs, :_lexer_trans_targs=
|
587
|
+
end
|
588
|
+
self._lexer_trans_targs = [
|
589
|
+
0, 2, 4, 4, 5, 15, 17, 31,
|
590
|
+
34, 37, 48, 76, 78, 156, 251, 418,
|
591
|
+
420, 421, 3, 6, 7, 8, 9, 8,
|
592
|
+
8, 9, 8, 10, 10, 10, 11, 10,
|
593
|
+
10, 10, 11, 12, 13, 14, 4, 14,
|
594
|
+
15, 4, 16, 18, 19, 20, 21, 22,
|
595
|
+
23, 24, 25, 26, 27, 28, 29, 30,
|
596
|
+
427, 32, 33, 4, 16, 33, 4, 16,
|
597
|
+
35, 36, 4, 35, 34, 36, 38, 40,
|
598
|
+
39, 31, 41, 42, 43, 44, 45, 46,
|
599
|
+
47, 49, 50, 51, 52, 53, 54, 55,
|
600
|
+
56, 57, 58, 59, 58, 59, 59, 4,
|
601
|
+
60, 61, 62, 63, 64, 65, 66, 67,
|
602
|
+
68, 69, 70, 71, 72, 73, 74, 75,
|
603
|
+
4, 4, 5, 15, 17, 31, 34, 37,
|
604
|
+
48, 76, 78, 156, 251, 418, 420, 421,
|
605
|
+
77, 79, 80, 81, 82, 83, 84, 85,
|
606
|
+
86, 87, 88, 89, 90, 91, 92, 93,
|
607
|
+
94, 95, 94, 95, 95, 4, 96, 110,
|
608
|
+
119, 133, 140, 97, 98, 99, 100, 101,
|
609
|
+
102, 103, 104, 105, 106, 107, 108, 109,
|
610
|
+
4, 111, 112, 113, 114, 115, 116, 117,
|
611
|
+
118, 75, 120, 121, 122, 123, 124, 125,
|
612
|
+
126, 127, 128, 129, 130, 131, 132, 134,
|
613
|
+
135, 136, 137, 138, 139, 141, 142, 143,
|
614
|
+
144, 145, 146, 147, 148, 149, 150, 151,
|
615
|
+
152, 153, 154, 155, 157, 167, 158, 159,
|
616
|
+
160, 161, 162, 163, 164, 165, 166, 168,
|
617
|
+
169, 170, 171, 172, 173, 174, 175, 176,
|
618
|
+
177, 176, 177, 177, 4, 178, 192, 193,
|
619
|
+
204, 206, 221, 232, 248, 250, 179, 180,
|
620
|
+
181, 182, 183, 184, 185, 186, 187, 188,
|
621
|
+
189, 190, 191, 4, 75, 194, 196, 195,
|
622
|
+
192, 197, 198, 199, 200, 201, 202, 203,
|
623
|
+
205, 207, 208, 209, 210, 211, 212, 213,
|
624
|
+
214, 215, 216, 217, 218, 219, 220, 222,
|
625
|
+
223, 224, 225, 226, 227, 228, 229, 230,
|
626
|
+
231, 233, 234, 235, 236, 237, 238, 239,
|
627
|
+
240, 241, 242, 243, 244, 245, 246, 247,
|
628
|
+
249, 252, 253, 254, 255, 256, 257, 258,
|
629
|
+
259, 342, 260, 261, 260, 261, 261, 4,
|
630
|
+
262, 276, 277, 288, 290, 305, 323, 339,
|
631
|
+
341, 263, 264, 265, 266, 267, 268, 269,
|
632
|
+
270, 271, 272, 273, 274, 275, 4, 75,
|
633
|
+
278, 280, 279, 276, 281, 282, 283, 284,
|
634
|
+
285, 286, 287, 289, 291, 292, 293, 294,
|
635
|
+
295, 296, 297, 298, 299, 300, 301, 302,
|
636
|
+
303, 304, 306, 316, 307, 308, 309, 310,
|
637
|
+
311, 312, 313, 314, 315, 317, 318, 319,
|
638
|
+
320, 321, 322, 324, 325, 326, 327, 328,
|
639
|
+
329, 330, 331, 332, 333, 334, 335, 336,
|
640
|
+
337, 338, 340, 343, 344, 345, 346, 347,
|
641
|
+
348, 349, 350, 351, 352, 353, 352, 353,
|
642
|
+
353, 4, 354, 368, 369, 380, 382, 397,
|
643
|
+
408, 415, 417, 355, 356, 357, 358, 359,
|
644
|
+
360, 361, 362, 363, 364, 365, 366, 367,
|
645
|
+
4, 75, 370, 372, 371, 368, 373, 374,
|
646
|
+
375, 376, 377, 378, 379, 381, 383, 384,
|
647
|
+
385, 386, 387, 388, 389, 390, 391, 392,
|
648
|
+
393, 394, 395, 396, 398, 399, 400, 401,
|
649
|
+
402, 403, 404, 405, 406, 407, 409, 410,
|
650
|
+
411, 412, 413, 414, 416, 419, 421, 422,
|
651
|
+
423, 425, 426, 424, 422, 423, 424, 422,
|
652
|
+
425, 426, 5, 15, 17, 31, 34, 37,
|
653
|
+
48, 76, 78, 156, 251, 418, 420, 421,
|
654
|
+
0
|
655
|
+
]
|
656
|
+
|
657
|
+
class << self
|
658
|
+
attr_accessor :_lexer_trans_actions
|
659
|
+
private :_lexer_trans_actions, :_lexer_trans_actions=
|
660
|
+
end
|
661
|
+
self._lexer_trans_actions = [
|
662
|
+
43, 0, 0, 54, 3, 1, 0, 29,
|
663
|
+
1, 29, 29, 29, 29, 29, 29, 29,
|
664
|
+
29, 35, 0, 0, 0, 7, 139, 48,
|
665
|
+
0, 102, 9, 5, 45, 134, 45, 0,
|
666
|
+
33, 122, 33, 33, 0, 11, 106, 0,
|
667
|
+
0, 114, 25, 0, 0, 0, 0, 0,
|
668
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
669
|
+
0, 0, 57, 149, 126, 0, 110, 23,
|
670
|
+
0, 27, 118, 27, 51, 0, 0, 0,
|
671
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
672
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
673
|
+
0, 0, 57, 144, 0, 54, 0, 81,
|
674
|
+
84, 0, 0, 0, 0, 0, 0, 0,
|
675
|
+
0, 0, 0, 0, 0, 0, 0, 21,
|
676
|
+
31, 130, 60, 57, 31, 63, 57, 63,
|
677
|
+
63, 63, 63, 63, 63, 63, 63, 66,
|
678
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
679
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
680
|
+
57, 144, 0, 54, 0, 69, 33, 84,
|
681
|
+
84, 84, 84, 0, 0, 0, 0, 0,
|
682
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
683
|
+
13, 0, 0, 0, 0, 0, 0, 0,
|
684
|
+
0, 13, 0, 0, 0, 0, 0, 0,
|
685
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
686
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
687
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
688
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
689
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
690
|
+
0, 0, 0, 0, 0, 0, 0, 57,
|
691
|
+
144, 0, 54, 0, 72, 33, 84, 84,
|
692
|
+
84, 84, 84, 84, 84, 84, 0, 0,
|
693
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
694
|
+
0, 0, 0, 15, 15, 0, 0, 0,
|
695
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
696
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
697
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
698
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
699
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
700
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
701
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
702
|
+
0, 0, 57, 144, 0, 54, 0, 75,
|
703
|
+
33, 84, 84, 84, 84, 84, 84, 84,
|
704
|
+
84, 0, 0, 0, 0, 0, 0, 0,
|
705
|
+
0, 0, 0, 0, 0, 0, 17, 17,
|
706
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
707
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
708
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
709
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
710
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
711
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
712
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
713
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
714
|
+
0, 0, 0, 0, 57, 144, 0, 54,
|
715
|
+
0, 78, 33, 84, 84, 84, 84, 84,
|
716
|
+
84, 84, 84, 0, 0, 0, 0, 0,
|
717
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
718
|
+
19, 19, 0, 0, 0, 0, 0, 0,
|
719
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
720
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
721
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
722
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
723
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
724
|
+
37, 37, 54, 37, 87, 0, 0, 39,
|
725
|
+
0, 0, 93, 90, 41, 96, 90, 96,
|
726
|
+
96, 96, 96, 96, 96, 96, 96, 99,
|
727
|
+
0
|
728
|
+
]
|
729
|
+
|
730
|
+
class << self
|
731
|
+
attr_accessor :_lexer_eof_actions
|
732
|
+
private :_lexer_eof_actions, :_lexer_eof_actions=
|
733
|
+
end
|
734
|
+
self._lexer_eof_actions = [
|
735
|
+
0, 43, 43, 43, 43, 43, 43, 43,
|
736
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
737
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
738
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
739
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
740
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
741
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
742
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
743
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
744
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
745
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
746
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
747
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
748
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
749
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
750
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
751
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
752
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
753
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
754
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
755
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
756
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
757
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
758
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
759
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
760
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
761
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
762
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
763
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
764
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
765
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
766
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
767
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
768
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
769
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
770
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
771
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
772
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
773
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
774
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
775
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
776
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
777
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
778
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
779
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
780
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
781
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
782
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
783
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
784
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
785
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
786
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
787
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
788
|
+
43, 43, 43, 43
|
789
|
+
]
|
790
|
+
|
791
|
+
class << self
|
792
|
+
attr_accessor :lexer_start
|
793
|
+
end
|
794
|
+
self.lexer_start = 1;
|
795
|
+
class << self
|
796
|
+
attr_accessor :lexer_first_final
|
797
|
+
end
|
798
|
+
self.lexer_first_final = 427;
|
799
|
+
class << self
|
800
|
+
attr_accessor :lexer_error
|
801
|
+
end
|
802
|
+
self.lexer_error = 0;
|
803
|
+
|
804
|
+
class << self
|
805
|
+
attr_accessor :lexer_en_main
|
806
|
+
end
|
807
|
+
self.lexer_en_main = 1;
|
808
|
+
|
809
|
+
|
810
|
+
# line 130 "ragel/i18n/de.rb.rl"
|
811
|
+
end
|
812
|
+
|
813
|
+
def scan(data)
|
814
|
+
data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
|
815
|
+
eof = pe = data.length
|
816
|
+
|
817
|
+
@line_number = 1
|
818
|
+
@last_newline = 0
|
819
|
+
|
820
|
+
|
821
|
+
# line 822 "lib/gherkin/lexer/de.rb"
|
822
|
+
begin
|
823
|
+
p ||= 0
|
824
|
+
pe ||= data.length
|
825
|
+
cs = lexer_start
|
826
|
+
end
|
827
|
+
|
828
|
+
# line 140 "ragel/i18n/de.rb.rl"
|
829
|
+
|
830
|
+
# line 831 "lib/gherkin/lexer/de.rb"
|
831
|
+
begin
|
832
|
+
_klen, _trans, _keys, _acts, _nacts = nil
|
833
|
+
_goto_level = 0
|
834
|
+
_resume = 10
|
835
|
+
_eof_trans = 15
|
836
|
+
_again = 20
|
837
|
+
_test_eof = 30
|
838
|
+
_out = 40
|
839
|
+
while true
|
840
|
+
_trigger_goto = false
|
841
|
+
if _goto_level <= 0
|
842
|
+
if p == pe
|
843
|
+
_goto_level = _test_eof
|
844
|
+
next
|
845
|
+
end
|
846
|
+
if cs == 0
|
847
|
+
_goto_level = _out
|
848
|
+
next
|
849
|
+
end
|
850
|
+
end
|
851
|
+
if _goto_level <= _resume
|
852
|
+
_keys = _lexer_key_offsets[cs]
|
853
|
+
_trans = _lexer_index_offsets[cs]
|
854
|
+
_klen = _lexer_single_lengths[cs]
|
855
|
+
_break_match = false
|
856
|
+
|
857
|
+
begin
|
858
|
+
if _klen > 0
|
859
|
+
_lower = _keys
|
860
|
+
_upper = _keys + _klen - 1
|
861
|
+
|
862
|
+
loop do
|
863
|
+
break if _upper < _lower
|
864
|
+
_mid = _lower + ( (_upper - _lower) >> 1 )
|
865
|
+
|
866
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
867
|
+
_upper = _mid - 1
|
868
|
+
elsif data[p].ord > _lexer_trans_keys[_mid]
|
869
|
+
_lower = _mid + 1
|
870
|
+
else
|
871
|
+
_trans += (_mid - _keys)
|
872
|
+
_break_match = true
|
873
|
+
break
|
874
|
+
end
|
875
|
+
end # loop
|
876
|
+
break if _break_match
|
877
|
+
_keys += _klen
|
878
|
+
_trans += _klen
|
879
|
+
end
|
880
|
+
_klen = _lexer_range_lengths[cs]
|
881
|
+
if _klen > 0
|
882
|
+
_lower = _keys
|
883
|
+
_upper = _keys + (_klen << 1) - 2
|
884
|
+
loop do
|
885
|
+
break if _upper < _lower
|
886
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1)
|
887
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
888
|
+
_upper = _mid - 2
|
889
|
+
elsif data[p].ord > _lexer_trans_keys[_mid+1]
|
890
|
+
_lower = _mid + 2
|
891
|
+
else
|
892
|
+
_trans += ((_mid - _keys) >> 1)
|
893
|
+
_break_match = true
|
894
|
+
break
|
895
|
+
end
|
896
|
+
end # loop
|
897
|
+
break if _break_match
|
898
|
+
_trans += _klen
|
899
|
+
end
|
900
|
+
end while false
|
901
|
+
_trans = _lexer_indicies[_trans]
|
902
|
+
cs = _lexer_trans_targs[_trans]
|
903
|
+
if _lexer_trans_actions[_trans] != 0
|
904
|
+
_acts = _lexer_trans_actions[_trans]
|
905
|
+
_nacts = _lexer_actions[_acts]
|
906
|
+
_acts += 1
|
907
|
+
while _nacts > 0
|
908
|
+
_nacts -= 1
|
909
|
+
_acts += 1
|
910
|
+
case _lexer_actions[_acts - 1]
|
911
|
+
when 0 then
|
912
|
+
# line 11 "ragel/i18n/de.rb.rl"
|
913
|
+
begin
|
914
|
+
|
915
|
+
@content_start = p
|
916
|
+
@current_line = @line_number
|
917
|
+
@start_col = p - @last_newline - "#{@keyword}:".length
|
918
|
+
end
|
919
|
+
when 1 then
|
920
|
+
# line 17 "ragel/i18n/de.rb.rl"
|
921
|
+
begin
|
922
|
+
|
923
|
+
@current_line = @line_number
|
924
|
+
@start_col = p - @last_newline
|
925
|
+
end
|
926
|
+
when 2 then
|
927
|
+
# line 22 "ragel/i18n/de.rb.rl"
|
928
|
+
begin
|
929
|
+
|
930
|
+
@content_start = p
|
931
|
+
end
|
932
|
+
when 3 then
|
933
|
+
# line 26 "ragel/i18n/de.rb.rl"
|
934
|
+
begin
|
935
|
+
|
936
|
+
@docstring_content_type_start = p
|
937
|
+
end
|
938
|
+
when 4 then
|
939
|
+
# line 29 "ragel/i18n/de.rb.rl"
|
940
|
+
begin
|
941
|
+
|
942
|
+
@docstring_content_type_end = p
|
943
|
+
end
|
944
|
+
when 5 then
|
945
|
+
# line 33 "ragel/i18n/de.rb.rl"
|
946
|
+
begin
|
947
|
+
|
948
|
+
con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
|
949
|
+
con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
|
950
|
+
@listener.doc_string(con_type, con, @current_line)
|
951
|
+
end
|
952
|
+
when 6 then
|
953
|
+
# line 38 "ragel/i18n/de.rb.rl"
|
954
|
+
begin
|
955
|
+
|
956
|
+
p = store_keyword_content(:feature, data, p, eof)
|
957
|
+
end
|
958
|
+
when 7 then
|
959
|
+
# line 42 "ragel/i18n/de.rb.rl"
|
960
|
+
begin
|
961
|
+
|
962
|
+
p = store_keyword_content(:background, data, p, eof)
|
963
|
+
end
|
964
|
+
when 8 then
|
965
|
+
# line 46 "ragel/i18n/de.rb.rl"
|
966
|
+
begin
|
967
|
+
|
968
|
+
p = store_keyword_content(:scenario, data, p, eof)
|
969
|
+
end
|
970
|
+
when 9 then
|
971
|
+
# line 50 "ragel/i18n/de.rb.rl"
|
972
|
+
begin
|
973
|
+
|
974
|
+
p = store_keyword_content(:scenario_outline, data, p, eof)
|
975
|
+
end
|
976
|
+
when 10 then
|
977
|
+
# line 54 "ragel/i18n/de.rb.rl"
|
978
|
+
begin
|
979
|
+
|
980
|
+
p = store_keyword_content(:examples, data, p, eof)
|
981
|
+
end
|
982
|
+
when 11 then
|
983
|
+
# line 58 "ragel/i18n/de.rb.rl"
|
984
|
+
begin
|
985
|
+
|
986
|
+
con = utf8_pack(data[@content_start...p]).strip
|
987
|
+
@listener.step(@keyword, con, @current_line)
|
988
|
+
end
|
989
|
+
when 12 then
|
990
|
+
# line 63 "ragel/i18n/de.rb.rl"
|
991
|
+
begin
|
992
|
+
|
993
|
+
con = utf8_pack(data[@content_start...p]).strip
|
994
|
+
@listener.comment(con, @line_number)
|
995
|
+
@keyword_start = nil
|
996
|
+
end
|
997
|
+
when 13 then
|
998
|
+
# line 69 "ragel/i18n/de.rb.rl"
|
999
|
+
begin
|
1000
|
+
|
1001
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1002
|
+
@listener.tag(con, @current_line)
|
1003
|
+
@keyword_start = nil
|
1004
|
+
end
|
1005
|
+
when 14 then
|
1006
|
+
# line 75 "ragel/i18n/de.rb.rl"
|
1007
|
+
begin
|
1008
|
+
|
1009
|
+
@line_number += 1
|
1010
|
+
end
|
1011
|
+
when 15 then
|
1012
|
+
# line 79 "ragel/i18n/de.rb.rl"
|
1013
|
+
begin
|
1014
|
+
|
1015
|
+
@last_newline = p + 1
|
1016
|
+
end
|
1017
|
+
when 16 then
|
1018
|
+
# line 83 "ragel/i18n/de.rb.rl"
|
1019
|
+
begin
|
1020
|
+
|
1021
|
+
@keyword_start ||= p
|
1022
|
+
end
|
1023
|
+
when 17 then
|
1024
|
+
# line 87 "ragel/i18n/de.rb.rl"
|
1025
|
+
begin
|
1026
|
+
|
1027
|
+
@keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
|
1028
|
+
@keyword_start = nil
|
1029
|
+
end
|
1030
|
+
when 18 then
|
1031
|
+
# line 92 "ragel/i18n/de.rb.rl"
|
1032
|
+
begin
|
1033
|
+
|
1034
|
+
@next_keyword_start = p
|
1035
|
+
end
|
1036
|
+
when 19 then
|
1037
|
+
# line 96 "ragel/i18n/de.rb.rl"
|
1038
|
+
begin
|
1039
|
+
|
1040
|
+
p = p - 1
|
1041
|
+
current_row = []
|
1042
|
+
@current_line = @line_number
|
1043
|
+
end
|
1044
|
+
when 20 then
|
1045
|
+
# line 102 "ragel/i18n/de.rb.rl"
|
1046
|
+
begin
|
1047
|
+
|
1048
|
+
@content_start = p
|
1049
|
+
end
|
1050
|
+
when 21 then
|
1051
|
+
# line 106 "ragel/i18n/de.rb.rl"
|
1052
|
+
begin
|
1053
|
+
|
1054
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1055
|
+
current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
|
1056
|
+
end
|
1057
|
+
when 22 then
|
1058
|
+
# line 111 "ragel/i18n/de.rb.rl"
|
1059
|
+
begin
|
1060
|
+
|
1061
|
+
@listener.row(current_row, @current_line)
|
1062
|
+
end
|
1063
|
+
when 23 then
|
1064
|
+
# line 115 "ragel/i18n/de.rb.rl"
|
1065
|
+
begin
|
1066
|
+
|
1067
|
+
if cs < lexer_first_final
|
1068
|
+
content = current_line_content(data, p)
|
1069
|
+
raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
|
1070
|
+
else
|
1071
|
+
@listener.eof
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
# line 1075 "lib/gherkin/lexer/de.rb"
|
1075
|
+
end # action switch
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
if _trigger_goto
|
1079
|
+
next
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
if _goto_level <= _again
|
1083
|
+
if cs == 0
|
1084
|
+
_goto_level = _out
|
1085
|
+
next
|
1086
|
+
end
|
1087
|
+
p += 1
|
1088
|
+
if p != pe
|
1089
|
+
_goto_level = _resume
|
1090
|
+
next
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
if _goto_level <= _test_eof
|
1094
|
+
if p == eof
|
1095
|
+
__acts = _lexer_eof_actions[cs]
|
1096
|
+
__nacts = _lexer_actions[__acts]
|
1097
|
+
__acts += 1
|
1098
|
+
while __nacts > 0
|
1099
|
+
__nacts -= 1
|
1100
|
+
__acts += 1
|
1101
|
+
case _lexer_actions[__acts - 1]
|
1102
|
+
when 23 then
|
1103
|
+
# line 115 "ragel/i18n/de.rb.rl"
|
1104
|
+
begin
|
1105
|
+
|
1106
|
+
if cs < lexer_first_final
|
1107
|
+
content = current_line_content(data, p)
|
1108
|
+
raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
|
1109
|
+
else
|
1110
|
+
@listener.eof
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
# line 1114 "lib/gherkin/lexer/de.rb"
|
1114
|
+
end # eof action switch
|
1115
|
+
end
|
1116
|
+
if _trigger_goto
|
1117
|
+
next
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
if _goto_level <= _out
|
1122
|
+
break
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# line 141 "ragel/i18n/de.rb.rl"
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
def unindent(startcol, text)
|
1131
|
+
text.gsub(/^[\t ]{0,#{startcol}}/, "")
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def store_keyword_content(event, data, p, eof)
|
1135
|
+
end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
|
1136
|
+
content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
|
1137
|
+
content_lines = content.split("\n")
|
1138
|
+
name = content_lines.shift || ""
|
1139
|
+
name.strip!
|
1140
|
+
description = content_lines.join("\n")
|
1141
|
+
@listener.__send__(event, @keyword, name, description, @current_line)
|
1142
|
+
@next_keyword_start ? @next_keyword_start - 1 : p
|
1143
|
+
ensure
|
1144
|
+
@next_keyword_start = nil
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
def current_line_content(data, p)
|
1148
|
+
rest = data[@last_newline..-1]
|
1149
|
+
utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
if (RUBY_VERSION =~ /^1\.9|2\.0/)
|
1153
|
+
def utf8_pack(array)
|
1154
|
+
array.pack("c*").force_encoding("UTF-8")
|
1155
|
+
end
|
1156
|
+
else
|
1157
|
+
def utf8_pack(array)
|
1158
|
+
array.pack("c*")
|
1159
|
+
end
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
end
|