gherkin 2.11.1 → 2.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/History.md +7 -0
  2. data/README.md +1 -1
  3. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +392 -353
  4. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +684 -671
  5. data/gherkin.gemspec +7 -7
  6. data/lib/gherkin/README.md +7 -0
  7. data/lib/gherkin/i18n.json +646 -0
  8. data/lib/gherkin/i18n.rb +5 -10
  9. data/lib/gherkin/native/therubyracer.rb +3 -2
  10. data/lib/gherkin/parser/parser.rb +12 -11
  11. data/ragel/lexer.java.rl.erb +3 -3
  12. data/ragel/lexer.js.rl.erb +5 -5
  13. data/ragel/lexer.rb.rl.erb +4 -2
  14. data/spec/gherkin/native_lexer_spec.rb +29 -0
  15. data/tasks/compile.rake +2 -39
  16. data/tasks/ragel_task.rb +15 -3
  17. metadata +19 -69
  18. data/lib/gherkin/i18n.yml +0 -613
  19. data/lib/gherkin/js_lexer.rb +0 -20
  20. data/lib/gherkin/rb_lexer.rb +0 -8
  21. data/lib/gherkin/rb_lexer/README.rdoc +0 -8
  22. data/lib/gherkin/rb_lexer/ar.rb +0 -1165
  23. data/lib/gherkin/rb_lexer/bg.rb +0 -1377
  24. data/lib/gherkin/rb_lexer/bm.rb +0 -1081
  25. data/lib/gherkin/rb_lexer/ca.rb +0 -1305
  26. data/lib/gherkin/rb_lexer/cs.rb +0 -1157
  27. data/lib/gherkin/rb_lexer/cy_gb.rb +0 -1027
  28. data/lib/gherkin/rb_lexer/da.rb +0 -1043
  29. data/lib/gherkin/rb_lexer/de.rb +0 -1151
  30. data/lib/gherkin/rb_lexer/en.rb +0 -1151
  31. data/lib/gherkin/rb_lexer/en_au.rb +0 -971
  32. data/lib/gherkin/rb_lexer/en_lol.rb +0 -929
  33. data/lib/gherkin/rb_lexer/en_pirate.rb +0 -1205
  34. data/lib/gherkin/rb_lexer/en_scouse.rb +0 -1357
  35. data/lib/gherkin/rb_lexer/en_tx.rb +0 -1011
  36. data/lib/gherkin/rb_lexer/eo.rb +0 -990
  37. data/lib/gherkin/rb_lexer/es.rb +0 -1135
  38. data/lib/gherkin/rb_lexer/et.rb +0 -985
  39. data/lib/gherkin/rb_lexer/fi.rb +0 -964
  40. data/lib/gherkin/rb_lexer/fr.rb +0 -1223
  41. data/lib/gherkin/rb_lexer/he.rb +0 -1113
  42. data/lib/gherkin/rb_lexer/hr.rb +0 -1061
  43. data/lib/gherkin/rb_lexer/hu.rb +0 -1113
  44. data/lib/gherkin/rb_lexer/id.rb +0 -958
  45. data/lib/gherkin/rb_lexer/is.rb +0 -1115
  46. data/lib/gherkin/rb_lexer/it.rb +0 -1081
  47. data/lib/gherkin/rb_lexer/ja.rb +0 -1413
  48. data/lib/gherkin/rb_lexer/ko.rb +0 -1097
  49. data/lib/gherkin/rb_lexer/lt.rb +0 -1040
  50. data/lib/gherkin/rb_lexer/lu.rb +0 -1127
  51. data/lib/gherkin/rb_lexer/lv.rb +0 -1161
  52. data/lib/gherkin/rb_lexer/nl.rb +0 -1110
  53. data/lib/gherkin/rb_lexer/no.rb +0 -1055
  54. data/lib/gherkin/rb_lexer/pl.rb +0 -1452
  55. data/lib/gherkin/rb_lexer/pt.rb +0 -1425
  56. data/lib/gherkin/rb_lexer/ro.rb +0 -1159
  57. data/lib/gherkin/rb_lexer/ru.rb +0 -1749
  58. data/lib/gherkin/rb_lexer/sk.rb +0 -1041
  59. data/lib/gherkin/rb_lexer/sr_cyrl.rb +0 -1798
  60. data/lib/gherkin/rb_lexer/sr_latn.rb +0 -1289
  61. data/lib/gherkin/rb_lexer/sv.rb +0 -1065
  62. data/lib/gherkin/rb_lexer/tr.rb +0 -1087
  63. data/lib/gherkin/rb_lexer/uk.rb +0 -1641
  64. data/lib/gherkin/rb_lexer/uz.rb +0 -1371
  65. data/lib/gherkin/rb_lexer/vi.rb +0 -1193
  66. data/lib/gherkin/rb_lexer/zh_cn.rb +0 -1053
  67. data/lib/gherkin/rb_lexer/zh_tw.rb +0 -1047
  68. data/spec/gherkin/js_lexer_spec.rb +0 -23
  69. data/spec/gherkin/rb_lexer_spec.rb +0 -20
@@ -1,1425 +0,0 @@
1
-
2
- # line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
3
- require 'gherkin/lexer/i18n_lexer'
4
-
5
- module Gherkin
6
- module RbLexer
7
- class Pt #:nodoc:
8
-
9
- # line 123 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
10
-
11
-
12
- def initialize(listener)
13
- @listener = listener
14
-
15
- # line 16 "lib/gherkin/rb_lexer/pt.rb"
16
- class << self
17
- attr_accessor :_lexer_actions
18
- private :_lexer_actions, :_lexer_actions=
19
- end
20
- self._lexer_actions = [
21
- 0, 1, 0, 1, 1, 1, 2, 1,
22
- 3, 1, 4, 1, 5, 1, 6, 1,
23
- 7, 1, 8, 1, 9, 1, 10, 1,
24
- 11, 1, 12, 1, 13, 1, 16, 1,
25
- 17, 1, 18, 1, 19, 1, 20, 1,
26
- 21, 1, 22, 1, 23, 2, 2, 18,
27
- 2, 3, 4, 2, 13, 0, 2, 14,
28
- 15, 2, 17, 0, 2, 17, 1, 2,
29
- 17, 16, 2, 17, 19, 2, 18, 6,
30
- 2, 18, 7, 2, 18, 8, 2, 18,
31
- 9, 2, 18, 10, 2, 18, 16, 2,
32
- 20, 21, 2, 22, 0, 2, 22, 1,
33
- 2, 22, 16, 2, 22, 19, 3, 4,
34
- 14, 15, 3, 5, 14, 15, 3, 11,
35
- 14, 15, 3, 12, 14, 15, 3, 13,
36
- 14, 15, 3, 14, 15, 18, 3, 17,
37
- 0, 11, 3, 17, 14, 15, 4, 2,
38
- 14, 15, 18, 4, 3, 4, 14, 15,
39
- 4, 17, 0, 14, 15, 5, 17, 0,
40
- 11, 14, 15
41
- ]
42
-
43
- class << self
44
- attr_accessor :_lexer_key_offsets
45
- private :_lexer_key_offsets, :_lexer_key_offsets=
46
- end
47
- self._lexer_key_offsets = [
48
- 0, 0, 17, 18, 19, 35, 36, 37,
49
- 39, 41, 46, 51, 56, 61, 65, 69,
50
- 71, 72, 73, 74, 75, 76, 77, 78,
51
- 79, 80, 81, 82, 83, 84, 85, 86,
52
- 87, 89, 91, 96, 103, 108, 111, 112,
53
- 113, 114, 115, 116, 117, 119, 120, 121,
54
- 122, 123, 124, 125, 126, 127, 128, 139,
55
- 141, 143, 145, 147, 149, 151, 153, 155,
56
- 157, 159, 161, 163, 165, 167, 171, 173,
57
- 175, 177, 179, 181, 183, 186, 188, 190,
58
- 192, 194, 196, 198, 200, 216, 218, 219,
59
- 221, 223, 224, 225, 226, 227, 228, 230,
60
- 231, 232, 233, 234, 235, 236, 237, 238,
61
- 239, 240, 241, 242, 243, 244, 245, 246,
62
- 247, 248, 249, 263, 265, 267, 269, 271,
63
- 273, 275, 277, 279, 281, 283, 285, 287,
64
- 289, 291, 293, 296, 298, 300, 302, 304,
65
- 306, 308, 311, 313, 315, 317, 319, 321,
66
- 323, 325, 327, 330, 332, 334, 336, 338,
67
- 340, 342, 345, 348, 351, 353, 356, 358,
68
- 360, 362, 364, 366, 368, 370, 372, 374,
69
- 376, 378, 380, 382, 384, 386, 388, 390,
70
- 392, 394, 396, 398, 399, 400, 401, 402,
71
- 403, 404, 405, 406, 407, 408, 412, 413,
72
- 415, 416, 417, 418, 419, 420, 421, 422,
73
- 423, 424, 425, 426, 427, 428, 429, 431,
74
- 432, 433, 434, 435, 436, 437, 438, 439,
75
- 440, 448, 450, 452, 454, 456, 458, 460,
76
- 462, 465, 467, 469, 471, 473, 475, 477,
77
- 479, 481, 483, 485, 487, 489, 491, 493,
78
- 495, 497, 499, 501, 503, 505, 506, 507,
79
- 509, 510, 511, 512, 513, 514, 515, 516,
80
- 517, 518, 519, 520, 521, 522, 523, 537,
81
- 539, 541, 543, 545, 547, 549, 551, 553,
82
- 555, 557, 559, 561, 563, 565, 567, 570,
83
- 572, 574, 576, 578, 580, 582, 585, 587,
84
- 589, 591, 593, 595, 597, 599, 601, 604,
85
- 606, 608, 610, 612, 615, 617, 620, 623,
86
- 625, 627, 629, 631, 633, 636, 638, 640,
87
- 642, 644, 646, 648, 650, 652, 654, 656,
88
- 658, 660, 662, 664, 666, 668, 670, 672,
89
- 674, 676, 678, 680, 684, 686, 689, 691,
90
- 693, 695, 697, 699, 701, 703, 705, 707,
91
- 709, 711, 713, 715, 717, 719, 721, 723,
92
- 725, 727, 729, 731, 733, 735, 737, 739,
93
- 741, 743, 745, 747, 749, 751, 753, 754,
94
- 755, 756, 757, 758, 759, 763, 769, 772,
95
- 774, 780, 796, 798, 801, 803, 805, 807,
96
- 809, 813, 815, 817, 819, 821, 823, 825,
97
- 827, 829, 831, 833, 835, 837, 839, 841,
98
- 843, 845, 847, 849, 851, 854, 856, 858,
99
- 860, 862, 864, 866, 868, 870, 872, 874,
100
- 876, 878, 880, 882, 884, 886, 888, 890,
101
- 892, 894, 896, 898, 900, 902, 904, 907,
102
- 909, 911, 913, 915, 917, 919, 921, 923,
103
- 925, 927, 929, 931, 934, 936, 938, 940,
104
- 942, 944, 946, 948, 950, 953, 955, 957,
105
- 959, 961, 963, 965, 967, 969, 971, 973,
106
- 974, 976, 977, 978, 979, 980, 983, 984,
107
- 985, 986, 987, 988, 989, 990, 991, 992,
108
- 1006, 1008, 1010, 1012, 1014, 1016, 1018, 1020,
109
- 1022, 1024, 1026, 1028, 1030, 1032, 1034, 1036,
110
- 1040, 1042, 1044, 1046, 1048, 1050, 1052, 1055,
111
- 1057, 1059, 1061, 1063, 1065, 1067, 1069, 1071,
112
- 1074, 1076, 1078, 1080, 1082, 1085, 1087, 1089,
113
- 1091, 1093, 1095, 1097, 1099, 1101, 1103, 1105,
114
- 1107, 1109, 1111, 1114, 1116, 1119, 1122, 1124,
115
- 1126, 1128, 1130, 1132, 1135, 1137, 1139, 1141,
116
- 1143, 1145, 1147, 1149, 1151, 1153, 1155, 1157,
117
- 1159, 1161, 1163, 1165, 1167, 1169, 1171, 1173,
118
- 1175, 1177, 1179, 1181, 1183, 1185, 1189, 1191,
119
- 1194, 1196, 1198, 1200, 1202, 1204, 1206, 1208,
120
- 1210, 1212, 1214, 1216, 1218, 1220, 1222, 1225,
121
- 1227, 1229, 1232, 1234, 1236, 1238, 1240, 1242,
122
- 1244, 1246, 1248, 1250, 1252, 1254, 1256, 1258,
123
- 1260, 1262, 1264, 1265, 1266, 1267, 1268, 1269
124
- ]
125
-
126
- class << self
127
- attr_accessor :_lexer_trans_keys
128
- private :_lexer_trans_keys, :_lexer_trans_keys=
129
- end
130
- self._lexer_trans_keys = [
131
- -17, 10, 32, 34, 35, 37, 42, 64,
132
- 67, 68, 69, 70, 77, 81, 124, 9,
133
- 13, -69, -65, 10, 32, 34, 35, 37,
134
- 42, 64, 67, 68, 69, 70, 77, 81,
135
- 124, 9, 13, 34, 34, 10, 13, 10,
136
- 13, 10, 32, 34, 9, 13, 10, 32,
137
- 34, 9, 13, 10, 32, 34, 9, 13,
138
- 10, 32, 34, 9, 13, 10, 32, 9,
139
- 13, 10, 32, 9, 13, 10, 13, 10,
140
- 95, 70, 69, 65, 84, 85, 82, 69,
141
- 95, 69, 78, 68, 95, 37, 32, 10,
142
- 13, 10, 13, 13, 32, 64, 9, 10,
143
- 9, 10, 13, 32, 64, 11, 12, 10,
144
- 32, 64, 9, 13, 97, 101, 111, 114,
145
- 97, 99, 116, 101, 114, -61, 105, -83,
146
- 115, 116, 105, 99, 97, 58, 10, 10,
147
- 10, 32, 35, 37, 64, 67, 68, 69,
148
- 70, 9, 13, 10, 95, 10, 70, 10,
149
- 69, 10, 65, 10, 84, 10, 85, 10,
150
- 82, 10, 69, 10, 95, 10, 69, 10,
151
- 78, 10, 68, 10, 95, 10, 37, 10,
152
- 97, 101, 111, 10, 114, 10, 97, 10,
153
- 99, 10, 116, 10, 101, 10, 114, -61,
154
- 10, 105, -83, 10, 10, 115, 10, 116,
155
- 10, 105, 10, 99, 10, 97, 10, 58,
156
- 10, 32, 34, 35, 37, 42, 64, 67,
157
- 68, 69, 70, 77, 81, 124, 9, 13,
158
- 97, 101, 100, 97, 111, 32, 115, 108,
159
- 105, 110, 101, 97, -61, 99, -89, -61,
160
- -93, 111, 32, 100, 111, 32, 67, 101,
161
- 110, -61, -95, 114, 105, 111, 58, 10,
162
- 10, 10, 32, 35, 37, 42, 64, 67,
163
- 68, 69, 70, 77, 81, 9, 13, 10,
164
- 95, 10, 70, 10, 69, 10, 65, 10,
165
- 84, 10, 85, 10, 82, 10, 69, 10,
166
- 95, 10, 69, 10, 78, 10, 68, 10,
167
- 95, 10, 37, 10, 32, 10, 97, 101,
168
- 10, 114, 10, 97, 10, 99, 10, 116,
169
- 10, 101, 10, 114, -61, 10, 105, -83,
170
- 10, 10, 115, 10, 116, 10, 105, 10,
171
- 99, 10, 97, 10, 58, 10, 110, -61,
172
- 10, 97, -95, 10, 10, 114, 10, 105,
173
- 10, 111, 10, 97, 10, 100, 10, 97,
174
- 111, 10, 32, 115, 10, 32, 110, 10,
175
- 116, -61, 10, 97, -93, 10, 10, 111,
176
- 10, 117, 10, 110, 10, 99, 10, 105,
177
- 10, 111, 10, 110, 10, 97, 10, 108,
178
- 10, 105, 10, 100, 10, 97, 10, 100,
179
- 10, 101, 10, 97, 10, 115, 10, 117,
180
- 10, 97, 10, 110, 10, 100, 97, 111,
181
- 32, 100, 111, 32, 67, 101, 110, 97,
182
- 32, 110, 115, 120, 116, -61, 97, -93,
183
- 111, 113, 117, 101, 109, 97, 32, 100,
184
- 111, 32, 67, 101, 110, -61, 97, 101,
185
- 109, 112, 108, 111, 115, 58, 10, 10,
186
- 10, 32, 35, 67, 70, 124, 9, 13,
187
- 10, 97, 10, 114, 10, 97, 10, 99,
188
- 10, 116, 10, 101, 10, 114, -61, 10,
189
- 105, -83, 10, 10, 115, 10, 116, 10,
190
- 105, 10, 99, 10, 97, 10, 58, 10,
191
- 117, 10, 110, 10, 99, 10, 105, 10,
192
- 111, 10, 110, 10, 97, 10, 108, 10,
193
- 105, 10, 100, 10, 97, 10, 100, 10,
194
- 101, 117, 110, 99, 100, 105, 111, 110,
195
- 97, 108, 105, 100, 97, 100, 101, 111,
196
- 58, 10, 10, 10, 32, 35, 37, 42,
197
- 64, 67, 68, 69, 70, 77, 81, 9,
198
- 13, 10, 95, 10, 70, 10, 69, 10,
199
- 65, 10, 84, 10, 85, 10, 82, 10,
200
- 69, 10, 95, 10, 69, 10, 78, 10,
201
- 68, 10, 95, 10, 37, 10, 32, 10,
202
- 97, 101, 10, 114, 10, 97, 10, 99,
203
- 10, 116, 10, 101, 10, 114, -61, 10,
204
- 105, -83, 10, 10, 115, 10, 116, 10,
205
- 105, 10, 99, 10, 97, 10, 58, 10,
206
- 110, -61, 10, 97, -95, 10, 10, 114,
207
- 10, 105, 10, 111, 10, 97, 101, 10,
208
- 100, 10, 97, 111, 10, 32, 115, 10,
209
- 108, 10, 105, 10, 110, 10, 101, 10,
210
- 97, -61, 10, 99, -89, 10, -61, 10,
211
- -93, 10, 10, 111, 10, 32, 10, 100,
212
- 10, 111, 10, 32, 10, 67, 10, 101,
213
- 10, 110, -61, 10, 10, 97, 10, 111,
214
- 10, 32, 10, 100, 10, 111, 10, 32,
215
- 10, 67, 10, 101, 10, 110, 10, 97,
216
- 10, 32, 110, 115, 10, 116, -61, 10,
217
- 97, -93, 10, 10, 111, 10, 113, 10,
218
- 117, 10, 101, 10, 109, 10, 97, 10,
219
- 32, 10, 100, 10, 111, 10, 32, 10,
220
- 67, 10, 101, 10, 117, 10, 110, 10,
221
- 99, 10, 105, 10, 111, 10, 110, 10,
222
- 97, 10, 108, 10, 105, 10, 100, 10,
223
- 97, 10, 100, 10, 101, 10, 97, 10,
224
- 115, 10, 117, 10, 97, 10, 110, 10,
225
- 100, 97, 115, 117, 97, 110, 100, 32,
226
- 124, 9, 13, 10, 32, 92, 124, 9,
227
- 13, 10, 92, 124, 10, 92, 10, 32,
228
- 92, 124, 9, 13, 10, 32, 34, 35,
229
- 37, 42, 64, 67, 68, 69, 70, 77,
230
- 81, 124, 9, 13, 10, 110, -61, 10,
231
- 97, -95, 10, 10, 114, 10, 105, 10,
232
- 111, 10, 32, 58, 115, 10, 100, 10,
233
- 101, 10, 32, 10, 70, 10, 117, 10,
234
- 110, 10, 100, 10, 111, 10, 110, 10,
235
- 116, 10, 101, 10, 120, 10, 116, 10,
236
- 101, 10, 108, 10, 105, 10, 110, 10,
237
- 101, 10, 97, -61, 10, 99, -89, 10,
238
- -61, 10, -93, 10, 10, 111, 10, 32,
239
- 10, 100, 10, 111, 10, 32, 10, 67,
240
- 10, 101, 10, 110, -61, 10, -95, 10,
241
- 10, 114, 10, 105, 10, 97, 10, 111,
242
- 10, 32, 10, 100, 10, 111, 10, 32,
243
- 10, 67, 10, 101, 10, 110, 10, 97,
244
- 10, 115, 120, 10, 113, 10, 117, 10,
245
- 101, 10, 109, 10, 97, 10, 32, 10,
246
- 100, 10, 111, 10, 32, 10, 67, 10,
247
- 101, 10, 110, -61, 10, 97, 10, 101,
248
- 10, 109, 10, 112, 10, 108, 10, 111,
249
- 10, 115, 10, 117, 10, 110, 10, 99,
250
- 100, 10, 105, 10, 111, 10, 110, 10,
251
- 97, 10, 108, 10, 105, 10, 100, 10,
252
- 97, 10, 100, 10, 101, 110, -61, 97,
253
- -95, 114, 105, 111, 32, 58, 115, 100,
254
- 101, 32, 70, 117, 110, 100, 10, 10,
255
- 10, 32, 35, 37, 42, 64, 67, 68,
256
- 69, 70, 77, 81, 9, 13, 10, 95,
257
- 10, 70, 10, 69, 10, 65, 10, 84,
258
- 10, 85, 10, 82, 10, 69, 10, 95,
259
- 10, 69, 10, 78, 10, 68, 10, 95,
260
- 10, 37, 10, 32, 10, 97, 101, 111,
261
- 10, 114, 10, 97, 10, 99, 10, 116,
262
- 10, 101, 10, 114, -61, 10, 105, -83,
263
- 10, 10, 115, 10, 116, 10, 105, 10,
264
- 99, 10, 97, 10, 58, 10, 110, -61,
265
- 10, 97, -95, 10, 10, 114, 10, 105,
266
- 10, 111, 10, 32, 58, 10, 100, 10,
267
- 101, 10, 32, 10, 70, 10, 117, 10,
268
- 110, 10, 100, 10, 111, 10, 110, 10,
269
- 116, 10, 101, 10, 120, 10, 116, 10,
270
- 97, 101, 10, 100, 10, 97, 111, 10,
271
- 32, 115, 10, 108, 10, 105, 10, 110,
272
- 10, 101, 10, 97, -61, 10, 99, -89,
273
- 10, -61, 10, -93, 10, 10, 111, 10,
274
- 32, 10, 100, 10, 111, 10, 32, 10,
275
- 67, 10, 101, 10, 110, -61, 10, -95,
276
- 10, 10, 114, 10, 105, 10, 97, 10,
277
- 111, 10, 32, 10, 100, 10, 111, 10,
278
- 32, 10, 67, 10, 101, 10, 110, 10,
279
- 97, 10, 32, 110, 115, 10, 116, -61,
280
- 10, 97, -93, 10, 10, 111, 10, 113,
281
- 10, 117, 10, 101, 10, 109, 10, 97,
282
- 10, 32, 10, 100, 10, 111, 10, 32,
283
- 10, 67, 10, 101, 10, 110, -61, 10,
284
- 97, 10, 117, 10, 110, 10, 99, 100,
285
- 10, 105, 10, 111, 10, 110, 10, 97,
286
- 10, 108, 10, 105, 10, 100, 10, 97,
287
- 10, 100, 10, 101, 10, 97, 10, 115,
288
- 10, 117, 10, 97, 10, 110, 10, 100,
289
- 110, 116, 101, 120, 116, 0
290
- ]
291
-
292
- class << self
293
- attr_accessor :_lexer_single_lengths
294
- private :_lexer_single_lengths, :_lexer_single_lengths=
295
- end
296
- self._lexer_single_lengths = [
297
- 0, 15, 1, 1, 14, 1, 1, 2,
298
- 2, 3, 3, 3, 3, 2, 2, 2,
299
- 1, 1, 1, 1, 1, 1, 1, 1,
300
- 1, 1, 1, 1, 1, 1, 1, 1,
301
- 2, 2, 3, 5, 3, 3, 1, 1,
302
- 1, 1, 1, 1, 2, 1, 1, 1,
303
- 1, 1, 1, 1, 1, 1, 9, 2,
304
- 2, 2, 2, 2, 2, 2, 2, 2,
305
- 2, 2, 2, 2, 2, 4, 2, 2,
306
- 2, 2, 2, 2, 3, 2, 2, 2,
307
- 2, 2, 2, 2, 14, 2, 1, 2,
308
- 2, 1, 1, 1, 1, 1, 2, 1,
309
- 1, 1, 1, 1, 1, 1, 1, 1,
310
- 1, 1, 1, 1, 1, 1, 1, 1,
311
- 1, 1, 12, 2, 2, 2, 2, 2,
312
- 2, 2, 2, 2, 2, 2, 2, 2,
313
- 2, 2, 3, 2, 2, 2, 2, 2,
314
- 2, 3, 2, 2, 2, 2, 2, 2,
315
- 2, 2, 3, 2, 2, 2, 2, 2,
316
- 2, 3, 3, 3, 2, 3, 2, 2,
317
- 2, 2, 2, 2, 2, 2, 2, 2,
318
- 2, 2, 2, 2, 2, 2, 2, 2,
319
- 2, 2, 2, 1, 1, 1, 1, 1,
320
- 1, 1, 1, 1, 1, 4, 1, 2,
321
- 1, 1, 1, 1, 1, 1, 1, 1,
322
- 1, 1, 1, 1, 1, 1, 2, 1,
323
- 1, 1, 1, 1, 1, 1, 1, 1,
324
- 6, 2, 2, 2, 2, 2, 2, 2,
325
- 3, 2, 2, 2, 2, 2, 2, 2,
326
- 2, 2, 2, 2, 2, 2, 2, 2,
327
- 2, 2, 2, 2, 2, 1, 1, 2,
328
- 1, 1, 1, 1, 1, 1, 1, 1,
329
- 1, 1, 1, 1, 1, 1, 12, 2,
330
- 2, 2, 2, 2, 2, 2, 2, 2,
331
- 2, 2, 2, 2, 2, 2, 3, 2,
332
- 2, 2, 2, 2, 2, 3, 2, 2,
333
- 2, 2, 2, 2, 2, 2, 3, 2,
334
- 2, 2, 2, 3, 2, 3, 3, 2,
335
- 2, 2, 2, 2, 3, 2, 2, 2,
336
- 2, 2, 2, 2, 2, 2, 2, 2,
337
- 2, 2, 2, 2, 2, 2, 2, 2,
338
- 2, 2, 2, 4, 2, 3, 2, 2,
339
- 2, 2, 2, 2, 2, 2, 2, 2,
340
- 2, 2, 2, 2, 2, 2, 2, 2,
341
- 2, 2, 2, 2, 2, 2, 2, 2,
342
- 2, 2, 2, 2, 2, 2, 1, 1,
343
- 1, 1, 1, 1, 2, 4, 3, 2,
344
- 4, 14, 2, 3, 2, 2, 2, 2,
345
- 4, 2, 2, 2, 2, 2, 2, 2,
346
- 2, 2, 2, 2, 2, 2, 2, 2,
347
- 2, 2, 2, 2, 3, 2, 2, 2,
348
- 2, 2, 2, 2, 2, 2, 2, 2,
349
- 2, 2, 2, 2, 2, 2, 2, 2,
350
- 2, 2, 2, 2, 2, 2, 3, 2,
351
- 2, 2, 2, 2, 2, 2, 2, 2,
352
- 2, 2, 2, 3, 2, 2, 2, 2,
353
- 2, 2, 2, 2, 3, 2, 2, 2,
354
- 2, 2, 2, 2, 2, 2, 2, 1,
355
- 2, 1, 1, 1, 1, 3, 1, 1,
356
- 1, 1, 1, 1, 1, 1, 1, 12,
357
- 2, 2, 2, 2, 2, 2, 2, 2,
358
- 2, 2, 2, 2, 2, 2, 2, 4,
359
- 2, 2, 2, 2, 2, 2, 3, 2,
360
- 2, 2, 2, 2, 2, 2, 2, 3,
361
- 2, 2, 2, 2, 3, 2, 2, 2,
362
- 2, 2, 2, 2, 2, 2, 2, 2,
363
- 2, 2, 3, 2, 3, 3, 2, 2,
364
- 2, 2, 2, 3, 2, 2, 2, 2,
365
- 2, 2, 2, 2, 2, 2, 2, 2,
366
- 2, 2, 2, 2, 2, 2, 2, 2,
367
- 2, 2, 2, 2, 2, 4, 2, 3,
368
- 2, 2, 2, 2, 2, 2, 2, 2,
369
- 2, 2, 2, 2, 2, 2, 3, 2,
370
- 2, 3, 2, 2, 2, 2, 2, 2,
371
- 2, 2, 2, 2, 2, 2, 2, 2,
372
- 2, 2, 1, 1, 1, 1, 1, 0
373
- ]
374
-
375
- class << self
376
- attr_accessor :_lexer_range_lengths
377
- private :_lexer_range_lengths, :_lexer_range_lengths=
378
- end
379
- self._lexer_range_lengths = [
380
- 0, 1, 0, 0, 1, 0, 0, 0,
381
- 0, 1, 1, 1, 1, 1, 1, 0,
382
- 0, 0, 0, 0, 0, 0, 0, 0,
383
- 0, 0, 0, 0, 0, 0, 0, 0,
384
- 0, 0, 1, 1, 1, 0, 0, 0,
385
- 0, 0, 0, 0, 0, 0, 0, 0,
386
- 0, 0, 0, 0, 0, 0, 1, 0,
387
- 0, 0, 0, 0, 0, 0, 0, 0,
388
- 0, 0, 0, 0, 0, 0, 0, 0,
389
- 0, 0, 0, 0, 0, 0, 0, 0,
390
- 0, 0, 0, 0, 1, 0, 0, 0,
391
- 0, 0, 0, 0, 0, 0, 0, 0,
392
- 0, 0, 0, 0, 0, 0, 0, 0,
393
- 0, 0, 0, 0, 0, 0, 0, 0,
394
- 0, 0, 1, 0, 0, 0, 0, 0,
395
- 0, 0, 0, 0, 0, 0, 0, 0,
396
- 0, 0, 0, 0, 0, 0, 0, 0,
397
- 0, 0, 0, 0, 0, 0, 0, 0,
398
- 0, 0, 0, 0, 0, 0, 0, 0,
399
- 0, 0, 0, 0, 0, 0, 0, 0,
400
- 0, 0, 0, 0, 0, 0, 0, 0,
401
- 0, 0, 0, 0, 0, 0, 0, 0,
402
- 0, 0, 0, 0, 0, 0, 0, 0,
403
- 0, 0, 0, 0, 0, 0, 0, 0,
404
- 0, 0, 0, 0, 0, 0, 0, 0,
405
- 0, 0, 0, 0, 0, 0, 0, 0,
406
- 0, 0, 0, 0, 0, 0, 0, 0,
407
- 1, 0, 0, 0, 0, 0, 0, 0,
408
- 0, 0, 0, 0, 0, 0, 0, 0,
409
- 0, 0, 0, 0, 0, 0, 0, 0,
410
- 0, 0, 0, 0, 0, 0, 0, 0,
411
- 0, 0, 0, 0, 0, 0, 0, 0,
412
- 0, 0, 0, 0, 0, 0, 1, 0,
413
- 0, 0, 0, 0, 0, 0, 0, 0,
414
- 0, 0, 0, 0, 0, 0, 0, 0,
415
- 0, 0, 0, 0, 0, 0, 0, 0,
416
- 0, 0, 0, 0, 0, 0, 0, 0,
417
- 0, 0, 0, 0, 0, 0, 0, 0,
418
- 0, 0, 0, 0, 0, 0, 0, 0,
419
- 0, 0, 0, 0, 0, 0, 0, 0,
420
- 0, 0, 0, 0, 0, 0, 0, 0,
421
- 0, 0, 0, 0, 0, 0, 0, 0,
422
- 0, 0, 0, 0, 0, 0, 0, 0,
423
- 0, 0, 0, 0, 0, 0, 0, 0,
424
- 0, 0, 0, 0, 0, 0, 0, 0,
425
- 0, 0, 0, 0, 0, 0, 0, 0,
426
- 0, 0, 0, 0, 1, 1, 0, 0,
427
- 1, 1, 0, 0, 0, 0, 0, 0,
428
- 0, 0, 0, 0, 0, 0, 0, 0,
429
- 0, 0, 0, 0, 0, 0, 0, 0,
430
- 0, 0, 0, 0, 0, 0, 0, 0,
431
- 0, 0, 0, 0, 0, 0, 0, 0,
432
- 0, 0, 0, 0, 0, 0, 0, 0,
433
- 0, 0, 0, 0, 0, 0, 0, 0,
434
- 0, 0, 0, 0, 0, 0, 0, 0,
435
- 0, 0, 0, 0, 0, 0, 0, 0,
436
- 0, 0, 0, 0, 0, 0, 0, 0,
437
- 0, 0, 0, 0, 0, 0, 0, 0,
438
- 0, 0, 0, 0, 0, 0, 0, 0,
439
- 0, 0, 0, 0, 0, 0, 0, 1,
440
- 0, 0, 0, 0, 0, 0, 0, 0,
441
- 0, 0, 0, 0, 0, 0, 0, 0,
442
- 0, 0, 0, 0, 0, 0, 0, 0,
443
- 0, 0, 0, 0, 0, 0, 0, 0,
444
- 0, 0, 0, 0, 0, 0, 0, 0,
445
- 0, 0, 0, 0, 0, 0, 0, 0,
446
- 0, 0, 0, 0, 0, 0, 0, 0,
447
- 0, 0, 0, 0, 0, 0, 0, 0,
448
- 0, 0, 0, 0, 0, 0, 0, 0,
449
- 0, 0, 0, 0, 0, 0, 0, 0,
450
- 0, 0, 0, 0, 0, 0, 0, 0,
451
- 0, 0, 0, 0, 0, 0, 0, 0,
452
- 0, 0, 0, 0, 0, 0, 0, 0,
453
- 0, 0, 0, 0, 0, 0, 0, 0,
454
- 0, 0, 0, 0, 0, 0, 0, 0,
455
- 0, 0, 0, 0, 0, 0, 0, 0
456
- ]
457
-
458
- class << self
459
- attr_accessor :_lexer_index_offsets
460
- private :_lexer_index_offsets, :_lexer_index_offsets=
461
- end
462
- self._lexer_index_offsets = [
463
- 0, 0, 17, 19, 21, 37, 39, 41,
464
- 44, 47, 52, 57, 62, 67, 71, 75,
465
- 78, 80, 82, 84, 86, 88, 90, 92,
466
- 94, 96, 98, 100, 102, 104, 106, 108,
467
- 110, 113, 116, 121, 128, 133, 137, 139,
468
- 141, 143, 145, 147, 149, 152, 154, 156,
469
- 158, 160, 162, 164, 166, 168, 170, 181,
470
- 184, 187, 190, 193, 196, 199, 202, 205,
471
- 208, 211, 214, 217, 220, 223, 228, 231,
472
- 234, 237, 240, 243, 246, 250, 253, 256,
473
- 259, 262, 265, 268, 271, 287, 290, 292,
474
- 295, 298, 300, 302, 304, 306, 308, 311,
475
- 313, 315, 317, 319, 321, 323, 325, 327,
476
- 329, 331, 333, 335, 337, 339, 341, 343,
477
- 345, 347, 349, 363, 366, 369, 372, 375,
478
- 378, 381, 384, 387, 390, 393, 396, 399,
479
- 402, 405, 408, 412, 415, 418, 421, 424,
480
- 427, 430, 434, 437, 440, 443, 446, 449,
481
- 452, 455, 458, 462, 465, 468, 471, 474,
482
- 477, 480, 484, 488, 492, 495, 499, 502,
483
- 505, 508, 511, 514, 517, 520, 523, 526,
484
- 529, 532, 535, 538, 541, 544, 547, 550,
485
- 553, 556, 559, 562, 564, 566, 568, 570,
486
- 572, 574, 576, 578, 580, 582, 587, 589,
487
- 592, 594, 596, 598, 600, 602, 604, 606,
488
- 608, 610, 612, 614, 616, 618, 620, 623,
489
- 625, 627, 629, 631, 633, 635, 637, 639,
490
- 641, 649, 652, 655, 658, 661, 664, 667,
491
- 670, 674, 677, 680, 683, 686, 689, 692,
492
- 695, 698, 701, 704, 707, 710, 713, 716,
493
- 719, 722, 725, 728, 731, 734, 736, 738,
494
- 741, 743, 745, 747, 749, 751, 753, 755,
495
- 757, 759, 761, 763, 765, 767, 769, 783,
496
- 786, 789, 792, 795, 798, 801, 804, 807,
497
- 810, 813, 816, 819, 822, 825, 828, 832,
498
- 835, 838, 841, 844, 847, 850, 854, 857,
499
- 860, 863, 866, 869, 872, 875, 878, 882,
500
- 885, 888, 891, 894, 898, 901, 905, 909,
501
- 912, 915, 918, 921, 924, 928, 931, 934,
502
- 937, 940, 943, 946, 949, 952, 955, 958,
503
- 961, 964, 967, 970, 973, 976, 979, 982,
504
- 985, 988, 991, 994, 999, 1002, 1006, 1009,
505
- 1012, 1015, 1018, 1021, 1024, 1027, 1030, 1033,
506
- 1036, 1039, 1042, 1045, 1048, 1051, 1054, 1057,
507
- 1060, 1063, 1066, 1069, 1072, 1075, 1078, 1081,
508
- 1084, 1087, 1090, 1093, 1096, 1099, 1102, 1104,
509
- 1106, 1108, 1110, 1112, 1114, 1118, 1124, 1128,
510
- 1131, 1137, 1153, 1156, 1160, 1163, 1166, 1169,
511
- 1172, 1177, 1180, 1183, 1186, 1189, 1192, 1195,
512
- 1198, 1201, 1204, 1207, 1210, 1213, 1216, 1219,
513
- 1222, 1225, 1228, 1231, 1234, 1238, 1241, 1244,
514
- 1247, 1250, 1253, 1256, 1259, 1262, 1265, 1268,
515
- 1271, 1274, 1277, 1280, 1283, 1286, 1289, 1292,
516
- 1295, 1298, 1301, 1304, 1307, 1310, 1313, 1317,
517
- 1320, 1323, 1326, 1329, 1332, 1335, 1338, 1341,
518
- 1344, 1347, 1350, 1353, 1357, 1360, 1363, 1366,
519
- 1369, 1372, 1375, 1378, 1381, 1385, 1388, 1391,
520
- 1394, 1397, 1400, 1403, 1406, 1409, 1412, 1415,
521
- 1417, 1420, 1422, 1424, 1426, 1428, 1432, 1434,
522
- 1436, 1438, 1440, 1442, 1444, 1446, 1448, 1450,
523
- 1464, 1467, 1470, 1473, 1476, 1479, 1482, 1485,
524
- 1488, 1491, 1494, 1497, 1500, 1503, 1506, 1509,
525
- 1514, 1517, 1520, 1523, 1526, 1529, 1532, 1536,
526
- 1539, 1542, 1545, 1548, 1551, 1554, 1557, 1560,
527
- 1564, 1567, 1570, 1573, 1576, 1580, 1583, 1586,
528
- 1589, 1592, 1595, 1598, 1601, 1604, 1607, 1610,
529
- 1613, 1616, 1619, 1623, 1626, 1630, 1634, 1637,
530
- 1640, 1643, 1646, 1649, 1653, 1656, 1659, 1662,
531
- 1665, 1668, 1671, 1674, 1677, 1680, 1683, 1686,
532
- 1689, 1692, 1695, 1698, 1701, 1704, 1707, 1710,
533
- 1713, 1716, 1719, 1722, 1725, 1728, 1733, 1736,
534
- 1740, 1743, 1746, 1749, 1752, 1755, 1758, 1761,
535
- 1764, 1767, 1770, 1773, 1776, 1779, 1782, 1786,
536
- 1789, 1792, 1796, 1799, 1802, 1805, 1808, 1811,
537
- 1814, 1817, 1820, 1823, 1826, 1829, 1832, 1835,
538
- 1838, 1841, 1844, 1846, 1848, 1850, 1852, 1854
539
- ]
540
-
541
- class << self
542
- attr_accessor :_lexer_indicies
543
- private :_lexer_indicies, :_lexer_indicies=
544
- end
545
- self._lexer_indicies = [
546
- 1, 3, 2, 4, 5, 6, 7, 8,
547
- 9, 10, 11, 12, 13, 14, 15, 2,
548
- 0, 16, 0, 2, 0, 3, 2, 4,
549
- 5, 6, 7, 8, 9, 10, 11, 12,
550
- 13, 14, 15, 2, 0, 17, 0, 18,
551
- 0, 20, 21, 19, 23, 24, 22, 27,
552
- 26, 28, 26, 25, 31, 30, 32, 30,
553
- 29, 31, 30, 33, 30, 29, 31, 30,
554
- 34, 30, 29, 36, 35, 35, 0, 3,
555
- 37, 37, 0, 39, 40, 38, 3, 0,
556
- 41, 0, 42, 0, 43, 0, 44, 0,
557
- 45, 0, 46, 0, 47, 0, 48, 0,
558
- 49, 0, 50, 0, 51, 0, 52, 0,
559
- 53, 0, 54, 0, 55, 0, 57, 58,
560
- 56, 60, 61, 59, 0, 0, 0, 0,
561
- 62, 63, 64, 63, 63, 66, 65, 62,
562
- 3, 67, 8, 67, 0, 68, 69, 70,
563
- 0, 71, 0, 72, 0, 73, 0, 74,
564
- 0, 75, 0, 76, 0, 77, 78, 0,
565
- 78, 0, 79, 0, 80, 0, 81, 0,
566
- 82, 0, 83, 0, 84, 0, 86, 85,
567
- 88, 87, 88, 89, 90, 91, 90, 92,
568
- 93, 94, 95, 89, 87, 88, 96, 87,
569
- 88, 97, 87, 88, 98, 87, 88, 99,
570
- 87, 88, 100, 87, 88, 101, 87, 88,
571
- 102, 87, 88, 103, 87, 88, 104, 87,
572
- 88, 105, 87, 88, 106, 87, 88, 107,
573
- 87, 88, 108, 87, 88, 109, 87, 88,
574
- 110, 111, 112, 87, 88, 113, 87, 88,
575
- 114, 87, 88, 115, 87, 88, 116, 87,
576
- 88, 117, 87, 88, 118, 87, 119, 88,
577
- 120, 87, 120, 88, 87, 88, 121, 87,
578
- 88, 122, 87, 88, 123, 87, 88, 124,
579
- 87, 88, 125, 87, 88, 126, 87, 128,
580
- 127, 129, 130, 131, 132, 133, 134, 135,
581
- 136, 137, 138, 139, 140, 127, 0, 141,
582
- 142, 0, 143, 0, 144, 144, 0, 55,
583
- 145, 0, 146, 0, 147, 0, 148, 0,
584
- 149, 0, 150, 0, 151, 152, 0, 153,
585
- 0, 154, 0, 155, 0, 156, 0, 157,
586
- 0, 158, 0, 159, 0, 160, 0, 161,
587
- 0, 162, 0, 163, 0, 164, 0, 165,
588
- 0, 166, 0, 167, 0, 168, 0, 169,
589
- 0, 171, 170, 173, 172, 173, 174, 175,
590
- 176, 177, 175, 178, 179, 180, 181, 182,
591
- 183, 174, 172, 173, 184, 172, 173, 185,
592
- 172, 173, 186, 172, 173, 187, 172, 173,
593
- 188, 172, 173, 189, 172, 173, 190, 172,
594
- 173, 191, 172, 173, 192, 172, 173, 193,
595
- 172, 173, 194, 172, 173, 195, 172, 173,
596
- 196, 172, 173, 197, 172, 173, 198, 172,
597
- 173, 199, 200, 172, 173, 201, 172, 173,
598
- 202, 172, 173, 203, 172, 173, 204, 172,
599
- 173, 205, 172, 173, 206, 172, 207, 173,
600
- 208, 172, 208, 173, 172, 173, 209, 172,
601
- 173, 210, 172, 173, 211, 172, 173, 212,
602
- 172, 173, 213, 172, 173, 198, 172, 173,
603
- 214, 172, 215, 173, 216, 172, 216, 173,
604
- 172, 173, 217, 172, 173, 218, 172, 173,
605
- 213, 172, 173, 219, 172, 173, 220, 172,
606
- 173, 221, 221, 172, 173, 198, 222, 172,
607
- 173, 198, 223, 172, 173, 224, 172, 225,
608
- 173, 226, 172, 226, 173, 172, 173, 222,
609
- 172, 173, 227, 172, 173, 228, 172, 173,
610
- 229, 172, 173, 230, 172, 173, 231, 172,
611
- 173, 232, 172, 173, 233, 172, 173, 234,
612
- 172, 173, 235, 172, 173, 236, 172, 173,
613
- 237, 172, 173, 238, 172, 173, 213, 172,
614
- 173, 239, 172, 173, 222, 172, 173, 240,
615
- 172, 173, 241, 172, 173, 242, 172, 173,
616
- 226, 172, 243, 0, 244, 0, 245, 0,
617
- 246, 0, 247, 0, 248, 0, 249, 0,
618
- 250, 0, 251, 0, 165, 0, 55, 252,
619
- 253, 254, 0, 255, 0, 256, 257, 0,
620
- 257, 0, 145, 0, 258, 0, 259, 0,
621
- 260, 0, 261, 0, 262, 0, 263, 0,
622
- 264, 0, 265, 0, 266, 0, 267, 0,
623
- 268, 0, 269, 0, 164, 165, 0, 270,
624
- 0, 271, 0, 272, 0, 273, 0, 274,
625
- 0, 275, 0, 276, 0, 278, 277, 280,
626
- 279, 280, 281, 282, 283, 284, 282, 281,
627
- 279, 280, 285, 279, 280, 286, 279, 280,
628
- 287, 279, 280, 288, 279, 280, 289, 279,
629
- 280, 290, 279, 280, 291, 279, 292, 280,
630
- 293, 279, 293, 280, 279, 280, 294, 279,
631
- 280, 295, 279, 280, 296, 279, 280, 297,
632
- 279, 280, 298, 279, 280, 299, 279, 280,
633
- 300, 279, 280, 301, 279, 280, 302, 279,
634
- 280, 303, 279, 280, 304, 279, 280, 305,
635
- 279, 280, 306, 279, 280, 307, 279, 280,
636
- 308, 279, 280, 309, 279, 280, 310, 279,
637
- 280, 311, 279, 280, 298, 279, 312, 0,
638
- 313, 0, 314, 315, 0, 316, 0, 317,
639
- 0, 318, 0, 319, 0, 320, 0, 321,
640
- 0, 322, 0, 323, 0, 324, 0, 83,
641
- 0, 325, 0, 326, 0, 328, 327, 330,
642
- 329, 330, 331, 332, 333, 334, 332, 335,
643
- 336, 337, 338, 339, 340, 331, 329, 330,
644
- 341, 329, 330, 342, 329, 330, 343, 329,
645
- 330, 344, 329, 330, 345, 329, 330, 346,
646
- 329, 330, 347, 329, 330, 348, 329, 330,
647
- 349, 329, 330, 350, 329, 330, 351, 329,
648
- 330, 352, 329, 330, 353, 329, 330, 354,
649
- 329, 330, 355, 329, 330, 356, 357, 329,
650
- 330, 358, 329, 330, 359, 329, 330, 360,
651
- 329, 330, 361, 329, 330, 362, 329, 330,
652
- 363, 329, 364, 330, 365, 329, 365, 330,
653
- 329, 330, 366, 329, 330, 367, 329, 330,
654
- 368, 329, 330, 369, 329, 330, 370, 329,
655
- 330, 355, 329, 330, 371, 329, 372, 330,
656
- 373, 329, 373, 330, 329, 330, 374, 329,
657
- 330, 375, 329, 330, 370, 329, 330, 376,
658
- 377, 329, 330, 378, 329, 330, 379, 379,
659
- 329, 330, 355, 380, 329, 330, 381, 329,
660
- 330, 382, 329, 330, 383, 329, 330, 384,
661
- 329, 330, 385, 329, 386, 330, 387, 329,
662
- 388, 330, 329, 389, 330, 329, 390, 330,
663
- 329, 330, 391, 329, 330, 392, 329, 330,
664
- 393, 329, 330, 394, 329, 330, 395, 329,
665
- 330, 396, 329, 330, 397, 329, 330, 398,
666
- 329, 372, 330, 329, 330, 399, 329, 330,
667
- 400, 329, 330, 401, 329, 330, 402, 329,
668
- 330, 403, 329, 330, 404, 329, 330, 405,
669
- 329, 330, 406, 329, 330, 407, 329, 330,
670
- 373, 329, 330, 355, 408, 409, 329, 330,
671
- 410, 329, 411, 330, 412, 329, 412, 330,
672
- 329, 330, 380, 329, 330, 413, 329, 330,
673
- 414, 329, 330, 415, 329, 330, 416, 329,
674
- 330, 417, 329, 330, 418, 329, 330, 419,
675
- 329, 330, 420, 329, 330, 421, 329, 330,
676
- 422, 329, 330, 357, 329, 330, 423, 329,
677
- 330, 424, 329, 330, 425, 329, 330, 426,
678
- 329, 330, 427, 329, 330, 428, 329, 330,
679
- 429, 329, 330, 430, 329, 330, 431, 329,
680
- 330, 432, 329, 330, 433, 329, 330, 434,
681
- 329, 330, 370, 329, 330, 435, 329, 330,
682
- 380, 329, 330, 436, 329, 330, 437, 329,
683
- 330, 438, 329, 330, 412, 329, 439, 0,
684
- 145, 0, 440, 0, 441, 0, 442, 0,
685
- 257, 0, 443, 444, 443, 0, 447, 446,
686
- 448, 449, 446, 445, 0, 451, 452, 450,
687
- 0, 451, 450, 447, 453, 451, 452, 453,
688
- 450, 447, 454, 455, 456, 457, 458, 459,
689
- 460, 461, 462, 463, 464, 465, 466, 454,
690
- 0, 88, 467, 87, 468, 88, 469, 87,
691
- 469, 88, 87, 88, 470, 87, 88, 471,
692
- 87, 88, 472, 87, 88, 473, 126, 125,
693
- 87, 88, 474, 87, 88, 475, 87, 88,
694
- 476, 87, 88, 477, 87, 88, 478, 87,
695
- 88, 479, 87, 88, 480, 87, 88, 125,
696
- 87, 88, 481, 87, 88, 482, 87, 88,
697
- 483, 87, 88, 484, 87, 88, 480, 87,
698
- 88, 485, 87, 88, 486, 87, 88, 487,
699
- 87, 88, 488, 87, 88, 489, 87, 88,
700
- 490, 87, 491, 88, 492, 87, 493, 88,
701
- 87, 494, 88, 87, 495, 88, 87, 88,
702
- 496, 87, 88, 497, 87, 88, 498, 87,
703
- 88, 499, 87, 88, 500, 87, 88, 501,
704
- 87, 88, 502, 87, 88, 503, 87, 504,
705
- 88, 87, 505, 88, 87, 88, 506, 87,
706
- 88, 480, 87, 88, 507, 87, 88, 508,
707
- 87, 88, 509, 87, 88, 510, 87, 88,
708
- 511, 87, 88, 512, 87, 88, 513, 87,
709
- 88, 514, 87, 88, 515, 87, 88, 505,
710
- 87, 88, 516, 517, 87, 88, 518, 87,
711
- 88, 519, 87, 88, 520, 87, 88, 521,
712
- 87, 88, 522, 87, 88, 523, 87, 88,
713
- 524, 87, 88, 525, 87, 88, 526, 87,
714
- 88, 527, 87, 88, 528, 87, 88, 529,
715
- 87, 504, 88, 505, 87, 88, 530, 87,
716
- 88, 531, 87, 88, 532, 87, 88, 533,
717
- 87, 88, 534, 87, 88, 125, 87, 88,
718
- 535, 87, 88, 536, 87, 88, 537, 480,
719
- 87, 88, 538, 87, 88, 539, 87, 88,
720
- 540, 87, 88, 541, 87, 88, 542, 87,
721
- 88, 543, 87, 88, 544, 87, 88, 545,
722
- 87, 88, 546, 87, 88, 125, 87, 547,
723
- 0, 548, 549, 0, 549, 0, 550, 0,
724
- 551, 0, 552, 0, 553, 554, 275, 0,
725
- 555, 0, 556, 0, 557, 0, 558, 0,
726
- 559, 0, 560, 0, 315, 0, 562, 561,
727
- 564, 563, 564, 565, 566, 567, 568, 566,
728
- 569, 570, 571, 572, 573, 574, 565, 563,
729
- 564, 575, 563, 564, 576, 563, 564, 577,
730
- 563, 564, 578, 563, 564, 579, 563, 564,
731
- 580, 563, 564, 581, 563, 564, 582, 563,
732
- 564, 583, 563, 564, 584, 563, 564, 585,
733
- 563, 564, 586, 563, 564, 587, 563, 564,
734
- 588, 563, 564, 589, 563, 564, 590, 591,
735
- 592, 563, 564, 593, 563, 564, 594, 563,
736
- 564, 595, 563, 564, 596, 563, 564, 597,
737
- 563, 564, 598, 563, 599, 564, 600, 563,
738
- 600, 564, 563, 564, 601, 563, 564, 602,
739
- 563, 564, 603, 563, 564, 604, 563, 564,
740
- 605, 563, 564, 589, 563, 564, 606, 563,
741
- 607, 564, 608, 563, 608, 564, 563, 564,
742
- 609, 563, 564, 610, 563, 564, 611, 563,
743
- 564, 612, 589, 563, 564, 613, 563, 564,
744
- 614, 563, 564, 615, 563, 564, 616, 563,
745
- 564, 617, 563, 564, 618, 563, 564, 619,
746
- 563, 564, 605, 563, 564, 620, 563, 564,
747
- 621, 563, 564, 622, 563, 564, 623, 563,
748
- 564, 619, 563, 564, 624, 625, 563, 564,
749
- 626, 563, 564, 627, 627, 563, 564, 589,
750
- 628, 563, 564, 629, 563, 564, 630, 563,
751
- 564, 631, 563, 564, 632, 563, 564, 633,
752
- 563, 634, 564, 635, 563, 636, 564, 563,
753
- 637, 564, 563, 638, 564, 563, 564, 639,
754
- 563, 564, 640, 563, 564, 641, 563, 564,
755
- 642, 563, 564, 643, 563, 564, 644, 563,
756
- 564, 645, 563, 564, 646, 563, 647, 564,
757
- 563, 648, 564, 563, 564, 649, 563, 564,
758
- 619, 563, 564, 650, 563, 564, 651, 563,
759
- 564, 652, 563, 564, 653, 563, 564, 654,
760
- 563, 564, 655, 563, 564, 656, 563, 564,
761
- 657, 563, 564, 658, 563, 564, 648, 563,
762
- 564, 589, 659, 660, 563, 564, 661, 563,
763
- 662, 564, 663, 563, 663, 564, 563, 564,
764
- 628, 563, 564, 664, 563, 564, 665, 563,
765
- 564, 666, 563, 564, 667, 563, 564, 668,
766
- 563, 564, 669, 563, 564, 670, 563, 564,
767
- 671, 563, 564, 672, 563, 564, 673, 563,
768
- 564, 674, 563, 564, 675, 563, 647, 564,
769
- 648, 563, 564, 676, 563, 564, 677, 563,
770
- 564, 678, 619, 563, 564, 679, 563, 564,
771
- 680, 563, 564, 681, 563, 564, 682, 563,
772
- 564, 683, 563, 564, 684, 563, 564, 685,
773
- 563, 564, 686, 563, 564, 687, 563, 564,
774
- 605, 563, 564, 688, 563, 564, 628, 563,
775
- 564, 689, 563, 564, 690, 563, 564, 691,
776
- 563, 564, 663, 563, 692, 0, 693, 0,
777
- 694, 0, 695, 0, 315, 0, 696, 0
778
- ]
779
-
780
- class << self
781
- attr_accessor :_lexer_trans_targs
782
- private :_lexer_trans_targs, :_lexer_trans_targs=
783
- end
784
- self._lexer_trans_targs = [
785
- 0, 2, 4, 4, 5, 15, 17, 31,
786
- 34, 37, 85, 189, 245, 366, 368, 372,
787
- 3, 6, 7, 8, 9, 8, 8, 9,
788
- 8, 10, 10, 10, 11, 10, 10, 10,
789
- 11, 12, 13, 14, 4, 14, 15, 4,
790
- 16, 18, 19, 20, 21, 22, 23, 24,
791
- 25, 26, 27, 28, 29, 30, 607, 32,
792
- 33, 4, 16, 33, 4, 16, 35, 36,
793
- 4, 35, 34, 36, 38, 463, 602, 39,
794
- 40, 41, 42, 43, 44, 45, 46, 47,
795
- 48, 49, 50, 51, 52, 53, 54, 53,
796
- 54, 54, 4, 55, 69, 398, 430, 450,
797
- 56, 57, 58, 59, 60, 61, 62, 63,
798
- 64, 65, 66, 67, 68, 4, 70, 378,
799
- 393, 71, 72, 73, 74, 75, 76, 77,
800
- 78, 79, 80, 81, 82, 83, 84, 4,
801
- 4, 5, 15, 17, 31, 34, 37, 85,
802
- 189, 245, 366, 368, 372, 86, 89, 87,
803
- 88, 31, 90, 91, 92, 93, 94, 95,
804
- 179, 96, 97, 98, 99, 100, 101, 102,
805
- 103, 104, 105, 106, 107, 108, 109, 110,
806
- 111, 112, 113, 114, 113, 114, 114, 4,
807
- 115, 129, 130, 151, 155, 160, 173, 175,
808
- 116, 117, 118, 119, 120, 121, 122, 123,
809
- 124, 125, 126, 127, 128, 4, 84, 131,
810
- 145, 132, 133, 134, 135, 136, 137, 138,
811
- 139, 140, 141, 142, 143, 144, 146, 147,
812
- 148, 149, 150, 152, 153, 154, 129, 156,
813
- 157, 158, 159, 161, 162, 163, 164, 165,
814
- 166, 167, 168, 169, 170, 171, 172, 174,
815
- 176, 177, 178, 180, 181, 182, 183, 184,
816
- 185, 186, 187, 188, 190, 194, 207, 191,
817
- 192, 193, 195, 196, 197, 198, 199, 200,
818
- 201, 202, 203, 204, 205, 206, 208, 209,
819
- 210, 211, 212, 213, 214, 215, 216, 215,
820
- 216, 216, 4, 217, 232, 218, 219, 220,
821
- 221, 222, 223, 224, 225, 226, 227, 228,
822
- 229, 230, 231, 84, 233, 234, 235, 236,
823
- 237, 238, 239, 240, 241, 242, 243, 244,
824
- 246, 247, 248, 258, 249, 250, 251, 252,
825
- 253, 254, 255, 256, 257, 259, 260, 261,
826
- 262, 261, 262, 262, 4, 263, 277, 278,
827
- 299, 331, 347, 360, 362, 264, 265, 266,
828
- 267, 268, 269, 270, 271, 272, 273, 274,
829
- 275, 276, 4, 84, 279, 293, 280, 281,
830
- 282, 283, 284, 285, 286, 287, 288, 289,
831
- 290, 291, 292, 294, 295, 296, 297, 298,
832
- 300, 303, 301, 302, 277, 304, 305, 306,
833
- 307, 308, 309, 321, 310, 311, 312, 313,
834
- 314, 315, 316, 317, 318, 319, 320, 322,
835
- 323, 324, 325, 326, 327, 328, 329, 330,
836
- 332, 336, 333, 334, 335, 337, 338, 339,
837
- 340, 341, 342, 343, 344, 345, 346, 348,
838
- 349, 350, 351, 352, 353, 354, 355, 356,
839
- 357, 358, 359, 361, 363, 364, 365, 367,
840
- 369, 370, 371, 372, 373, 374, 376, 377,
841
- 375, 373, 374, 375, 373, 376, 377, 5,
842
- 15, 17, 31, 34, 37, 85, 189, 245,
843
- 366, 368, 372, 379, 380, 381, 382, 383,
844
- 384, 385, 386, 387, 388, 389, 390, 391,
845
- 392, 394, 395, 396, 397, 399, 400, 401,
846
- 402, 403, 404, 405, 420, 406, 407, 408,
847
- 409, 410, 411, 412, 413, 414, 415, 416,
848
- 417, 418, 419, 421, 422, 423, 424, 425,
849
- 426, 427, 428, 429, 431, 444, 432, 433,
850
- 434, 435, 436, 437, 438, 439, 440, 441,
851
- 442, 443, 445, 446, 447, 448, 449, 451,
852
- 452, 453, 454, 455, 456, 457, 458, 459,
853
- 460, 461, 462, 464, 465, 466, 467, 468,
854
- 469, 470, 477, 471, 472, 473, 474, 475,
855
- 476, 478, 479, 478, 479, 479, 4, 480,
856
- 494, 495, 530, 565, 583, 596, 598, 481,
857
- 482, 483, 484, 485, 486, 487, 488, 489,
858
- 490, 491, 492, 493, 4, 84, 496, 510,
859
- 525, 497, 498, 499, 500, 501, 502, 503,
860
- 504, 505, 506, 507, 508, 509, 511, 512,
861
- 513, 514, 515, 516, 517, 518, 519, 520,
862
- 521, 522, 523, 524, 526, 527, 528, 529,
863
- 531, 534, 532, 533, 494, 535, 536, 537,
864
- 538, 539, 540, 555, 541, 542, 543, 544,
865
- 545, 546, 547, 548, 549, 550, 551, 552,
866
- 553, 554, 556, 557, 558, 559, 560, 561,
867
- 562, 563, 564, 566, 570, 567, 568, 569,
868
- 571, 572, 573, 574, 575, 576, 577, 578,
869
- 579, 580, 581, 582, 584, 585, 586, 587,
870
- 588, 589, 590, 591, 592, 593, 594, 595,
871
- 597, 599, 600, 601, 603, 604, 605, 606,
872
- 0
873
- ]
874
-
875
- class << self
876
- attr_accessor :_lexer_trans_actions
877
- private :_lexer_trans_actions, :_lexer_trans_actions=
878
- end
879
- self._lexer_trans_actions = [
880
- 43, 0, 0, 54, 3, 1, 0, 29,
881
- 1, 29, 29, 29, 29, 29, 29, 35,
882
- 0, 0, 0, 7, 139, 48, 0, 102,
883
- 9, 5, 45, 134, 45, 0, 33, 122,
884
- 33, 33, 0, 11, 106, 0, 0, 114,
885
- 25, 0, 0, 0, 0, 0, 0, 0,
886
- 0, 0, 0, 0, 0, 0, 0, 0,
887
- 57, 149, 126, 0, 110, 23, 0, 27,
888
- 118, 27, 51, 0, 0, 0, 0, 0,
889
- 0, 0, 0, 0, 0, 0, 0, 0,
890
- 0, 0, 0, 0, 0, 57, 144, 0,
891
- 54, 0, 69, 33, 84, 84, 84, 84,
892
- 0, 0, 0, 0, 0, 0, 0, 0,
893
- 0, 0, 0, 0, 0, 13, 0, 0,
894
- 0, 0, 0, 0, 0, 0, 0, 0,
895
- 0, 0, 0, 0, 0, 0, 13, 31,
896
- 130, 60, 57, 31, 63, 57, 63, 63,
897
- 63, 63, 63, 63, 66, 0, 0, 0,
898
- 0, 0, 0, 0, 0, 0, 0, 0,
899
- 0, 0, 0, 0, 0, 0, 0, 0,
900
- 0, 0, 0, 0, 0, 0, 0, 0,
901
- 0, 0, 57, 144, 0, 54, 0, 78,
902
- 33, 84, 84, 84, 84, 84, 84, 84,
903
- 0, 0, 0, 0, 0, 0, 0, 0,
904
- 0, 0, 0, 0, 0, 19, 19, 0,
905
- 0, 0, 0, 0, 0, 0, 0, 0,
906
- 0, 0, 0, 0, 0, 0, 0, 0,
907
- 0, 0, 0, 0, 0, 0, 0, 0,
908
- 0, 0, 0, 0, 0, 0, 0, 0,
909
- 0, 0, 0, 0, 0, 0, 0, 0,
910
- 0, 0, 0, 0, 0, 0, 0, 0,
911
- 0, 0, 0, 0, 0, 0, 0, 0,
912
- 0, 0, 0, 0, 0, 0, 0, 0,
913
- 0, 0, 0, 0, 0, 0, 0, 0,
914
- 0, 0, 0, 0, 0, 57, 144, 0,
915
- 54, 0, 81, 84, 84, 0, 0, 0,
916
- 0, 0, 0, 0, 0, 0, 0, 0,
917
- 0, 0, 0, 21, 0, 0, 0, 0,
918
- 0, 0, 0, 0, 0, 0, 0, 0,
919
- 0, 0, 0, 0, 0, 0, 0, 0,
920
- 0, 0, 0, 0, 0, 0, 0, 57,
921
- 144, 0, 54, 0, 72, 33, 84, 84,
922
- 84, 84, 84, 84, 84, 0, 0, 0,
923
- 0, 0, 0, 0, 0, 0, 0, 0,
924
- 0, 0, 15, 15, 0, 0, 0, 0,
925
- 0, 0, 0, 0, 0, 0, 0, 0,
926
- 0, 0, 0, 0, 0, 0, 0, 0,
927
- 0, 0, 0, 0, 0, 0, 0, 0,
928
- 0, 0, 0, 0, 0, 0, 0, 0,
929
- 0, 0, 0, 0, 0, 0, 0, 0,
930
- 0, 0, 0, 0, 0, 0, 0, 0,
931
- 0, 0, 0, 0, 0, 0, 0, 0,
932
- 0, 0, 0, 0, 0, 0, 0, 0,
933
- 0, 0, 0, 0, 0, 0, 0, 0,
934
- 0, 0, 0, 0, 0, 0, 0, 0,
935
- 0, 0, 0, 0, 0, 37, 37, 54,
936
- 37, 87, 0, 0, 39, 0, 0, 93,
937
- 90, 41, 96, 90, 96, 96, 96, 96,
938
- 96, 96, 99, 0, 0, 0, 0, 0,
939
- 0, 0, 0, 0, 0, 0, 0, 0,
940
- 0, 0, 0, 0, 0, 0, 0, 0,
941
- 0, 0, 0, 0, 0, 0, 0, 0,
942
- 0, 0, 0, 0, 0, 0, 0, 0,
943
- 0, 0, 0, 0, 0, 0, 0, 0,
944
- 0, 0, 0, 0, 0, 0, 0, 0,
945
- 0, 0, 0, 0, 0, 0, 0, 0,
946
- 0, 0, 0, 0, 0, 0, 0, 0,
947
- 0, 0, 0, 0, 0, 0, 0, 0,
948
- 0, 0, 0, 0, 0, 0, 0, 0,
949
- 0, 0, 0, 0, 0, 0, 0, 0,
950
- 0, 57, 144, 0, 54, 0, 75, 33,
951
- 84, 84, 84, 84, 84, 84, 84, 0,
952
- 0, 0, 0, 0, 0, 0, 0, 0,
953
- 0, 0, 0, 0, 17, 17, 0, 0,
954
- 0, 0, 0, 0, 0, 0, 0, 0,
955
- 0, 0, 0, 0, 0, 0, 0, 0,
956
- 0, 0, 0, 0, 0, 0, 0, 0,
957
- 0, 0, 0, 0, 0, 0, 0, 0,
958
- 0, 0, 0, 0, 0, 0, 0, 0,
959
- 0, 0, 0, 0, 0, 0, 0, 0,
960
- 0, 0, 0, 0, 0, 0, 0, 0,
961
- 0, 0, 0, 0, 0, 0, 0, 0,
962
- 0, 0, 0, 0, 0, 0, 0, 0,
963
- 0, 0, 0, 0, 0, 0, 0, 0,
964
- 0, 0, 0, 0, 0, 0, 0, 0,
965
- 0, 0, 0, 0, 0, 0, 0, 0,
966
- 0, 0, 0, 0, 0, 0, 0, 0,
967
- 0
968
- ]
969
-
970
- class << self
971
- attr_accessor :_lexer_eof_actions
972
- private :_lexer_eof_actions, :_lexer_eof_actions=
973
- end
974
- self._lexer_eof_actions = [
975
- 0, 43, 43, 43, 43, 43, 43, 43,
976
- 43, 43, 43, 43, 43, 43, 43, 43,
977
- 43, 43, 43, 43, 43, 43, 43, 43,
978
- 43, 43, 43, 43, 43, 43, 43, 43,
979
- 43, 43, 43, 43, 43, 43, 43, 43,
980
- 43, 43, 43, 43, 43, 43, 43, 43,
981
- 43, 43, 43, 43, 43, 43, 43, 43,
982
- 43, 43, 43, 43, 43, 43, 43, 43,
983
- 43, 43, 43, 43, 43, 43, 43, 43,
984
- 43, 43, 43, 43, 43, 43, 43, 43,
985
- 43, 43, 43, 43, 43, 43, 43, 43,
986
- 43, 43, 43, 43, 43, 43, 43, 43,
987
- 43, 43, 43, 43, 43, 43, 43, 43,
988
- 43, 43, 43, 43, 43, 43, 43, 43,
989
- 43, 43, 43, 43, 43, 43, 43, 43,
990
- 43, 43, 43, 43, 43, 43, 43, 43,
991
- 43, 43, 43, 43, 43, 43, 43, 43,
992
- 43, 43, 43, 43, 43, 43, 43, 43,
993
- 43, 43, 43, 43, 43, 43, 43, 43,
994
- 43, 43, 43, 43, 43, 43, 43, 43,
995
- 43, 43, 43, 43, 43, 43, 43, 43,
996
- 43, 43, 43, 43, 43, 43, 43, 43,
997
- 43, 43, 43, 43, 43, 43, 43, 43,
998
- 43, 43, 43, 43, 43, 43, 43, 43,
999
- 43, 43, 43, 43, 43, 43, 43, 43,
1000
- 43, 43, 43, 43, 43, 43, 43, 43,
1001
- 43, 43, 43, 43, 43, 43, 43, 43,
1002
- 43, 43, 43, 43, 43, 43, 43, 43,
1003
- 43, 43, 43, 43, 43, 43, 43, 43,
1004
- 43, 43, 43, 43, 43, 43, 43, 43,
1005
- 43, 43, 43, 43, 43, 43, 43, 43,
1006
- 43, 43, 43, 43, 43, 43, 43, 43,
1007
- 43, 43, 43, 43, 43, 43, 43, 43,
1008
- 43, 43, 43, 43, 43, 43, 43, 43,
1009
- 43, 43, 43, 43, 43, 43, 43, 43,
1010
- 43, 43, 43, 43, 43, 43, 43, 43,
1011
- 43, 43, 43, 43, 43, 43, 43, 43,
1012
- 43, 43, 43, 43, 43, 43, 43, 43,
1013
- 43, 43, 43, 43, 43, 43, 43, 43,
1014
- 43, 43, 43, 43, 43, 43, 43, 43,
1015
- 43, 43, 43, 43, 43, 43, 43, 43,
1016
- 43, 43, 43, 43, 43, 43, 43, 43,
1017
- 43, 43, 43, 43, 43, 43, 43, 43,
1018
- 43, 43, 43, 43, 43, 43, 43, 43,
1019
- 43, 43, 43, 43, 43, 43, 43, 43,
1020
- 43, 43, 43, 43, 43, 43, 43, 43,
1021
- 43, 43, 43, 43, 43, 43, 43, 43,
1022
- 43, 43, 43, 43, 43, 43, 43, 43,
1023
- 43, 43, 43, 43, 43, 43, 43, 43,
1024
- 43, 43, 43, 43, 43, 43, 43, 43,
1025
- 43, 43, 43, 43, 43, 43, 43, 43,
1026
- 43, 43, 43, 43, 43, 43, 43, 43,
1027
- 43, 43, 43, 43, 43, 43, 43, 43,
1028
- 43, 43, 43, 43, 43, 43, 43, 43,
1029
- 43, 43, 43, 43, 43, 43, 43, 43,
1030
- 43, 43, 43, 43, 43, 43, 43, 43,
1031
- 43, 43, 43, 43, 43, 43, 43, 43,
1032
- 43, 43, 43, 43, 43, 43, 43, 43,
1033
- 43, 43, 43, 43, 43, 43, 43, 43,
1034
- 43, 43, 43, 43, 43, 43, 43, 43,
1035
- 43, 43, 43, 43, 43, 43, 43, 43,
1036
- 43, 43, 43, 43, 43, 43, 43, 43,
1037
- 43, 43, 43, 43, 43, 43, 43, 43,
1038
- 43, 43, 43, 43, 43, 43, 43, 43,
1039
- 43, 43, 43, 43, 43, 43, 43, 43,
1040
- 43, 43, 43, 43, 43, 43, 43, 43,
1041
- 43, 43, 43, 43, 43, 43, 43, 43,
1042
- 43, 43, 43, 43, 43, 43, 43, 43,
1043
- 43, 43, 43, 43, 43, 43, 43, 43,
1044
- 43, 43, 43, 43, 43, 43, 43, 43,
1045
- 43, 43, 43, 43, 43, 43, 43, 43,
1046
- 43, 43, 43, 43, 43, 43, 43, 43,
1047
- 43, 43, 43, 43, 43, 43, 43, 43,
1048
- 43, 43, 43, 43, 43, 43, 43, 43,
1049
- 43, 43, 43, 43, 43, 43, 43, 43,
1050
- 43, 43, 43, 43, 43, 43, 43, 43
1051
- ]
1052
-
1053
- class << self
1054
- attr_accessor :lexer_start
1055
- end
1056
- self.lexer_start = 1;
1057
- class << self
1058
- attr_accessor :lexer_first_final
1059
- end
1060
- self.lexer_first_final = 607;
1061
- class << self
1062
- attr_accessor :lexer_error
1063
- end
1064
- self.lexer_error = 0;
1065
-
1066
- class << self
1067
- attr_accessor :lexer_en_main
1068
- end
1069
- self.lexer_en_main = 1;
1070
-
1071
-
1072
- # line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1073
- end
1074
-
1075
- def scan(data)
1076
- data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
1077
- eof = pe = data.length
1078
-
1079
- @line_number = 1
1080
- @last_newline = 0
1081
-
1082
-
1083
- # line 1084 "lib/gherkin/rb_lexer/pt.rb"
1084
- begin
1085
- p ||= 0
1086
- pe ||= data.length
1087
- cs = lexer_start
1088
- end
1089
-
1090
- # line 138 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1091
-
1092
- # line 1093 "lib/gherkin/rb_lexer/pt.rb"
1093
- begin
1094
- _klen, _trans, _keys, _acts, _nacts = nil
1095
- _goto_level = 0
1096
- _resume = 10
1097
- _eof_trans = 15
1098
- _again = 20
1099
- _test_eof = 30
1100
- _out = 40
1101
- while true
1102
- _trigger_goto = false
1103
- if _goto_level <= 0
1104
- if p == pe
1105
- _goto_level = _test_eof
1106
- next
1107
- end
1108
- if cs == 0
1109
- _goto_level = _out
1110
- next
1111
- end
1112
- end
1113
- if _goto_level <= _resume
1114
- _keys = _lexer_key_offsets[cs]
1115
- _trans = _lexer_index_offsets[cs]
1116
- _klen = _lexer_single_lengths[cs]
1117
- _break_match = false
1118
-
1119
- begin
1120
- if _klen > 0
1121
- _lower = _keys
1122
- _upper = _keys + _klen - 1
1123
-
1124
- loop do
1125
- break if _upper < _lower
1126
- _mid = _lower + ( (_upper - _lower) >> 1 )
1127
-
1128
- if data[p] < _lexer_trans_keys[_mid]
1129
- _upper = _mid - 1
1130
- elsif data[p] > _lexer_trans_keys[_mid]
1131
- _lower = _mid + 1
1132
- else
1133
- _trans += (_mid - _keys)
1134
- _break_match = true
1135
- break
1136
- end
1137
- end # loop
1138
- break if _break_match
1139
- _keys += _klen
1140
- _trans += _klen
1141
- end
1142
- _klen = _lexer_range_lengths[cs]
1143
- if _klen > 0
1144
- _lower = _keys
1145
- _upper = _keys + (_klen << 1) - 2
1146
- loop do
1147
- break if _upper < _lower
1148
- _mid = _lower + (((_upper-_lower) >> 1) & ~1)
1149
- if data[p] < _lexer_trans_keys[_mid]
1150
- _upper = _mid - 2
1151
- elsif data[p] > _lexer_trans_keys[_mid+1]
1152
- _lower = _mid + 2
1153
- else
1154
- _trans += ((_mid - _keys) >> 1)
1155
- _break_match = true
1156
- break
1157
- end
1158
- end # loop
1159
- break if _break_match
1160
- _trans += _klen
1161
- end
1162
- end while false
1163
- _trans = _lexer_indicies[_trans]
1164
- cs = _lexer_trans_targs[_trans]
1165
- if _lexer_trans_actions[_trans] != 0
1166
- _acts = _lexer_trans_actions[_trans]
1167
- _nacts = _lexer_actions[_acts]
1168
- _acts += 1
1169
- while _nacts > 0
1170
- _nacts -= 1
1171
- _acts += 1
1172
- case _lexer_actions[_acts - 1]
1173
- when 0 then
1174
- # line 9 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1175
- begin
1176
-
1177
- @content_start = p
1178
- @current_line = @line_number
1179
- @start_col = p - @last_newline - "#{@keyword}:".length
1180
- end
1181
- when 1 then
1182
- # line 15 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1183
- begin
1184
-
1185
- @current_line = @line_number
1186
- @start_col = p - @last_newline
1187
- end
1188
- when 2 then
1189
- # line 20 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1190
- begin
1191
-
1192
- @content_start = p
1193
- end
1194
- when 3 then
1195
- # line 24 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1196
- begin
1197
-
1198
- @docstring_content_type_start = p
1199
- end
1200
- when 4 then
1201
- # line 27 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1202
- begin
1203
-
1204
- @docstring_content_type_end = p
1205
- end
1206
- when 5 then
1207
- # line 31 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1208
- begin
1209
-
1210
- con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
1211
- con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
1212
- @listener.doc_string(con_type, con, @current_line)
1213
- end
1214
- when 6 then
1215
- # line 36 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1216
- begin
1217
-
1218
- p = store_keyword_content(:feature, data, p, eof)
1219
- end
1220
- when 7 then
1221
- # line 40 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1222
- begin
1223
-
1224
- p = store_keyword_content(:background, data, p, eof)
1225
- end
1226
- when 8 then
1227
- # line 44 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1228
- begin
1229
-
1230
- p = store_keyword_content(:scenario, data, p, eof)
1231
- end
1232
- when 9 then
1233
- # line 48 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1234
- begin
1235
-
1236
- p = store_keyword_content(:scenario_outline, data, p, eof)
1237
- end
1238
- when 10 then
1239
- # line 52 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1240
- begin
1241
-
1242
- p = store_keyword_content(:examples, data, p, eof)
1243
- end
1244
- when 11 then
1245
- # line 56 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1246
- begin
1247
-
1248
- con = utf8_pack(data[@content_start...p]).strip
1249
- @listener.step(@keyword, con, @current_line)
1250
- end
1251
- when 12 then
1252
- # line 61 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1253
- begin
1254
-
1255
- con = utf8_pack(data[@content_start...p]).strip
1256
- @listener.comment(con, @line_number)
1257
- @keyword_start = nil
1258
- end
1259
- when 13 then
1260
- # line 67 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1261
- begin
1262
-
1263
- con = utf8_pack(data[@content_start...p]).strip
1264
- @listener.tag(con, @current_line)
1265
- @keyword_start = nil
1266
- end
1267
- when 14 then
1268
- # line 73 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1269
- begin
1270
-
1271
- @line_number += 1
1272
- end
1273
- when 15 then
1274
- # line 77 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1275
- begin
1276
-
1277
- @last_newline = p + 1
1278
- end
1279
- when 16 then
1280
- # line 81 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1281
- begin
1282
-
1283
- @keyword_start ||= p
1284
- end
1285
- when 17 then
1286
- # line 85 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1287
- begin
1288
-
1289
- @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
1290
- @keyword_start = nil
1291
- end
1292
- when 18 then
1293
- # line 90 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1294
- begin
1295
-
1296
- @next_keyword_start = p
1297
- end
1298
- when 19 then
1299
- # line 94 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1300
- begin
1301
-
1302
- p = p - 1
1303
- current_row = []
1304
- @current_line = @line_number
1305
- end
1306
- when 20 then
1307
- # line 100 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1308
- begin
1309
-
1310
- @content_start = p
1311
- end
1312
- when 21 then
1313
- # line 104 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1314
- begin
1315
-
1316
- con = utf8_pack(data[@content_start...p]).strip
1317
- current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1318
- end
1319
- when 22 then
1320
- # line 109 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1321
- begin
1322
-
1323
- @listener.row(current_row, @current_line)
1324
- end
1325
- when 23 then
1326
- # line 113 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1327
- begin
1328
-
1329
- if cs < lexer_first_final
1330
- content = current_line_content(data, p)
1331
- 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])
1332
- else
1333
- @listener.eof
1334
- end
1335
- end
1336
- # line 1337 "lib/gherkin/rb_lexer/pt.rb"
1337
- end # action switch
1338
- end
1339
- end
1340
- if _trigger_goto
1341
- next
1342
- end
1343
- end
1344
- if _goto_level <= _again
1345
- if cs == 0
1346
- _goto_level = _out
1347
- next
1348
- end
1349
- p += 1
1350
- if p != pe
1351
- _goto_level = _resume
1352
- next
1353
- end
1354
- end
1355
- if _goto_level <= _test_eof
1356
- if p == eof
1357
- __acts = _lexer_eof_actions[cs]
1358
- __nacts = _lexer_actions[__acts]
1359
- __acts += 1
1360
- while __nacts > 0
1361
- __nacts -= 1
1362
- __acts += 1
1363
- case _lexer_actions[__acts - 1]
1364
- when 23 then
1365
- # line 113 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1366
- begin
1367
-
1368
- if cs < lexer_first_final
1369
- content = current_line_content(data, p)
1370
- 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])
1371
- else
1372
- @listener.eof
1373
- end
1374
- end
1375
- # line 1376 "lib/gherkin/rb_lexer/pt.rb"
1376
- end # eof action switch
1377
- end
1378
- if _trigger_goto
1379
- next
1380
- end
1381
- end
1382
- end
1383
- if _goto_level <= _out
1384
- break
1385
- end
1386
- end
1387
- end
1388
-
1389
- # line 139 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pt.rb.rl"
1390
- end
1391
-
1392
- def unindent(startcol, text)
1393
- text.gsub(/^[\t ]{0,#{startcol}}/, "")
1394
- end
1395
-
1396
- def store_keyword_content(event, data, p, eof)
1397
- end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1398
- content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1399
- content_lines = content.split("\n")
1400
- name = content_lines.shift || ""
1401
- name.strip!
1402
- description = content_lines.join("\n")
1403
- @listener.__send__(event, @keyword, name, description, @current_line)
1404
- @next_keyword_start ? @next_keyword_start - 1 : p
1405
- ensure
1406
- @next_keyword_start = nil
1407
- end
1408
-
1409
- def current_line_content(data, p)
1410
- rest = data[@last_newline..-1]
1411
- utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1412
- end
1413
-
1414
- if (RUBY_VERSION =~ /^1\.9/)
1415
- def utf8_pack(array)
1416
- array.pack("c*").force_encoding("UTF-8")
1417
- end
1418
- else
1419
- def utf8_pack(array)
1420
- array.pack("c*")
1421
- end
1422
- end
1423
- end
1424
- end
1425
- end