benhamill-gherkin 2.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. data/.gitattributes +2 -0
  2. data/.gitignore +11 -0
  3. data/.mailmap +2 -0
  4. data/.rspec +1 -0
  5. data/.rvmrc +1 -0
  6. data/Gemfile +7 -0
  7. data/History.txt +363 -0
  8. data/LICENSE +20 -0
  9. data/README.rdoc +149 -0
  10. data/Rakefile +19 -0
  11. data/VERSION +1 -0
  12. data/build_native_gems.sh +8 -0
  13. data/cucumber.yml +3 -0
  14. data/features/escaped_pipes.feature +8 -0
  15. data/features/feature_parser.feature +237 -0
  16. data/features/json_formatter.feature +377 -0
  17. data/features/json_parser.feature +318 -0
  18. data/features/native_lexer.feature +19 -0
  19. data/features/parser_with_native_lexer.feature +205 -0
  20. data/features/pretty_formatter.feature +15 -0
  21. data/features/step_definitions/eyeball_steps.rb +3 -0
  22. data/features/step_definitions/gherkin_steps.rb +29 -0
  23. data/features/step_definitions/json_formatter_steps.rb +28 -0
  24. data/features/step_definitions/json_parser_steps.rb +20 -0
  25. data/features/step_definitions/pretty_formatter_steps.rb +84 -0
  26. data/features/steps_parser.feature +46 -0
  27. data/features/support/env.rb +38 -0
  28. data/gherkin.gemspec +61 -0
  29. data/ikvm/.gitignore +3 -0
  30. data/java/.gitignore +5 -0
  31. data/java/src/main/java/gherkin/lexer/i18n/.gitignore +1 -0
  32. data/java/src/main/resources/gherkin/.gitignore +1 -0
  33. data/js/lib/gherkin/lexer/i18n/ar.js +1094 -0
  34. data/js/lib/gherkin/lexer/i18n/bg.js +1308 -0
  35. data/js/lib/gherkin/lexer/i18n/ca.js +1236 -0
  36. data/js/lib/gherkin/lexer/i18n/cs.js +1090 -0
  37. data/js/lib/gherkin/lexer/i18n/cy_gb.js +958 -0
  38. data/js/lib/gherkin/lexer/i18n/da.js +974 -0
  39. data/js/lib/gherkin/lexer/i18n/de.js +1082 -0
  40. data/js/lib/gherkin/lexer/i18n/en.js +965 -0
  41. data/js/lib/gherkin/lexer/i18n/en_au.js +902 -0
  42. data/js/lib/gherkin/lexer/i18n/en_lol.js +859 -0
  43. data/js/lib/gherkin/lexer/i18n/en_pirate.js +1136 -0
  44. data/js/lib/gherkin/lexer/i18n/en_scouse.js +1289 -0
  45. data/js/lib/gherkin/lexer/i18n/en_tx.js +942 -0
  46. data/js/lib/gherkin/lexer/i18n/eo.js +916 -0
  47. data/js/lib/gherkin/lexer/i18n/es.js +1049 -0
  48. data/js/lib/gherkin/lexer/i18n/et.js +915 -0
  49. data/js/lib/gherkin/lexer/i18n/fi.js +894 -0
  50. data/js/lib/gherkin/lexer/i18n/fr.js +1116 -0
  51. data/js/lib/gherkin/lexer/i18n/he.js +1044 -0
  52. data/js/lib/gherkin/lexer/i18n/hr.js +994 -0
  53. data/js/lib/gherkin/lexer/i18n/hu.js +1043 -0
  54. data/js/lib/gherkin/lexer/i18n/id.js +884 -0
  55. data/js/lib/gherkin/lexer/i18n/it.js +1007 -0
  56. data/js/lib/gherkin/lexer/i18n/ja.js +1344 -0
  57. data/js/lib/gherkin/lexer/i18n/ko.js +1028 -0
  58. data/js/lib/gherkin/lexer/i18n/lt.js +972 -0
  59. data/js/lib/gherkin/lexer/i18n/lu.js +1057 -0
  60. data/js/lib/gherkin/lexer/i18n/lv.js +1092 -0
  61. data/js/lib/gherkin/lexer/i18n/nl.js +1036 -0
  62. data/js/lib/gherkin/lexer/i18n/no.js +986 -0
  63. data/js/lib/gherkin/lexer/i18n/pl.js +1140 -0
  64. data/js/lib/gherkin/lexer/i18n/pt.js +1000 -0
  65. data/js/lib/gherkin/lexer/i18n/ro.js +1089 -0
  66. data/js/lib/gherkin/lexer/i18n/ru.js +1560 -0
  67. data/js/lib/gherkin/lexer/i18n/sk.js +972 -0
  68. data/js/lib/gherkin/lexer/i18n/sr_cyrl.js +1728 -0
  69. data/js/lib/gherkin/lexer/i18n/sr_latn.js +1220 -0
  70. data/js/lib/gherkin/lexer/i18n/sv.js +997 -0
  71. data/js/lib/gherkin/lexer/i18n/tr.js +1014 -0
  72. data/js/lib/gherkin/lexer/i18n/uk.js +1572 -0
  73. data/js/lib/gherkin/lexer/i18n/uz.js +1302 -0
  74. data/js/lib/gherkin/lexer/i18n/vi.js +1124 -0
  75. data/js/lib/gherkin/lexer/i18n/zh_cn.js +902 -0
  76. data/js/lib/gherkin/lexer/i18n/zh_tw.js +940 -0
  77. data/lib/.gitignore +4 -0
  78. data/lib/gherkin.rb +2 -0
  79. data/lib/gherkin/c_lexer.rb +17 -0
  80. data/lib/gherkin/formatter/ansi_escapes.rb +95 -0
  81. data/lib/gherkin/formatter/argument.rb +16 -0
  82. data/lib/gherkin/formatter/escaping.rb +15 -0
  83. data/lib/gherkin/formatter/filter_formatter.rb +136 -0
  84. data/lib/gherkin/formatter/hashable.rb +19 -0
  85. data/lib/gherkin/formatter/json_formatter.rb +102 -0
  86. data/lib/gherkin/formatter/line_filter.rb +26 -0
  87. data/lib/gherkin/formatter/model.rb +236 -0
  88. data/lib/gherkin/formatter/pretty_formatter.rb +243 -0
  89. data/lib/gherkin/formatter/regexp_filter.rb +21 -0
  90. data/lib/gherkin/formatter/step_printer.rb +17 -0
  91. data/lib/gherkin/formatter/tag_count_formatter.rb +47 -0
  92. data/lib/gherkin/formatter/tag_filter.rb +19 -0
  93. data/lib/gherkin/i18n.rb +175 -0
  94. data/lib/gherkin/i18n.yml +588 -0
  95. data/lib/gherkin/json_parser.rb +137 -0
  96. data/lib/gherkin/lexer/i18n_lexer.rb +47 -0
  97. data/lib/gherkin/listener/event.rb +45 -0
  98. data/lib/gherkin/listener/formatter_listener.rb +113 -0
  99. data/lib/gherkin/native.rb +7 -0
  100. data/lib/gherkin/native/ikvm.rb +55 -0
  101. data/lib/gherkin/native/java.rb +55 -0
  102. data/lib/gherkin/native/null.rb +9 -0
  103. data/lib/gherkin/parser/meta.txt +5 -0
  104. data/lib/gherkin/parser/parser.rb +164 -0
  105. data/lib/gherkin/parser/root.txt +11 -0
  106. data/lib/gherkin/parser/steps.txt +4 -0
  107. data/lib/gherkin/rb_lexer.rb +8 -0
  108. data/lib/gherkin/rb_lexer/.gitignore +1 -0
  109. data/lib/gherkin/rb_lexer/README.rdoc +8 -0
  110. data/lib/gherkin/rubify.rb +24 -0
  111. data/lib/gherkin/tag_expression.rb +62 -0
  112. data/lib/gherkin/version.rb +3 -0
  113. data/ragel/i18n/.gitignore +1 -0
  114. data/ragel/lexer.c.rl.erb +439 -0
  115. data/ragel/lexer.java.rl.erb +208 -0
  116. data/ragel/lexer.rb.rl.erb +167 -0
  117. data/ragel/lexer_common.rl.erb +50 -0
  118. data/spec/gherkin/c_lexer_spec.rb +21 -0
  119. data/spec/gherkin/fixtures/1.feature +8 -0
  120. data/spec/gherkin/fixtures/comments_in_table.feature +9 -0
  121. data/spec/gherkin/fixtures/complex.feature +45 -0
  122. data/spec/gherkin/fixtures/complex.json +143 -0
  123. data/spec/gherkin/fixtures/complex_for_filtering.feature +60 -0
  124. data/spec/gherkin/fixtures/complex_with_tags.feature +61 -0
  125. data/spec/gherkin/fixtures/dos_line_endings.feature +45 -0
  126. data/spec/gherkin/fixtures/hantu_pisang.feature +35 -0
  127. data/spec/gherkin/fixtures/i18n_fr.feature +14 -0
  128. data/spec/gherkin/fixtures/i18n_no.feature +7 -0
  129. data/spec/gherkin/fixtures/i18n_zh-CN.feature +9 -0
  130. data/spec/gherkin/fixtures/scenario_outline_with_tags.feature +13 -0
  131. data/spec/gherkin/fixtures/scenario_without_steps.feature +5 -0
  132. data/spec/gherkin/fixtures/simple_with_comments.feature +7 -0
  133. data/spec/gherkin/fixtures/simple_with_tags.feature +11 -0
  134. data/spec/gherkin/fixtures/with_bom.feature +3 -0
  135. data/spec/gherkin/formatter/ansi_escapes_spec.rb +19 -0
  136. data/spec/gherkin/formatter/filter_formatter_spec.rb +165 -0
  137. data/spec/gherkin/formatter/model_spec.rb +28 -0
  138. data/spec/gherkin/formatter/pretty_formatter_spec.rb +158 -0
  139. data/spec/gherkin/formatter/spaces.feature +9 -0
  140. data/spec/gherkin/formatter/step_printer_spec.rb +55 -0
  141. data/spec/gherkin/formatter/tabs.feature +9 -0
  142. data/spec/gherkin/formatter/tag_count_formatter_spec.rb +30 -0
  143. data/spec/gherkin/i18n_spec.rb +152 -0
  144. data/spec/gherkin/java_lexer_spec.rb +20 -0
  145. data/spec/gherkin/java_libs.rb +20 -0
  146. data/spec/gherkin/json_parser_spec.rb +113 -0
  147. data/spec/gherkin/lexer/i18n_lexer_spec.rb +43 -0
  148. data/spec/gherkin/output_stream_string_io.rb +20 -0
  149. data/spec/gherkin/parser/parser_spec.rb +16 -0
  150. data/spec/gherkin/rb_lexer_spec.rb +19 -0
  151. data/spec/gherkin/sexp_recorder.rb +56 -0
  152. data/spec/gherkin/shared/lexer_group.rb +593 -0
  153. data/spec/gherkin/shared/py_string_group.rb +153 -0
  154. data/spec/gherkin/shared/row_group.rb +125 -0
  155. data/spec/gherkin/shared/tags_group.rb +54 -0
  156. data/spec/gherkin/tag_expression_spec.rb +137 -0
  157. data/spec/spec_helper.rb +69 -0
  158. data/tasks/bench.rake +184 -0
  159. data/tasks/bench/feature_builder.rb +49 -0
  160. data/tasks/bench/generated/.gitignore +1 -0
  161. data/tasks/bench/null_listener.rb +4 -0
  162. data/tasks/compile.rake +102 -0
  163. data/tasks/cucumber.rake +20 -0
  164. data/tasks/gems.rake +35 -0
  165. data/tasks/ikvm.rake +79 -0
  166. data/tasks/ragel_task.rb +70 -0
  167. data/tasks/rdoc.rake +9 -0
  168. data/tasks/release.rake +30 -0
  169. data/tasks/rspec.rake +8 -0
  170. metadata +609 -0
@@ -0,0 +1,1560 @@
1
+
2
+ /* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
3
+ ;(function() {
4
+
5
+
6
+ /* line 107 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
7
+
8
+
9
+
10
+ /* line 11 "js/lib/gherkin/lexer/i18n/ru.js" */
11
+ const _lexer_actions = [
12
+ 0, 1, 0, 1, 1, 1, 2, 1,
13
+ 3, 1, 4, 1, 5, 1, 6, 1,
14
+ 7, 1, 8, 1, 9, 1, 10, 1,
15
+ 11, 1, 14, 1, 15, 1, 16, 1,
16
+ 17, 1, 18, 1, 19, 1, 20, 1,
17
+ 21, 2, 2, 16, 2, 11, 0, 2,
18
+ 12, 13, 2, 15, 0, 2, 15, 1,
19
+ 2, 15, 14, 2, 15, 17, 2, 16,
20
+ 4, 2, 16, 5, 2, 16, 6, 2,
21
+ 16, 7, 2, 16, 8, 2, 16, 14,
22
+ 2, 18, 19, 2, 20, 0, 2, 20,
23
+ 1, 2, 20, 14, 2, 20, 17, 3,
24
+ 3, 12, 13, 3, 9, 12, 13, 3,
25
+ 10, 12, 13, 3, 11, 12, 13, 3,
26
+ 12, 13, 16, 3, 15, 12, 13, 4,
27
+ 2, 12, 13, 16, 4, 15, 0, 12,
28
+ 13
29
+ ];
30
+
31
+ const _lexer_key_offsets = [
32
+ 0, 0, 12, 23, 24, 25, 27, 38,
33
+ 39, 40, 44, 49, 54, 59, 64, 68,
34
+ 72, 74, 75, 76, 77, 78, 79, 80,
35
+ 81, 82, 83, 84, 85, 86, 87, 88,
36
+ 89, 94, 101, 106, 110, 116, 119, 121,
37
+ 127, 138, 139, 141, 142, 143, 144, 145,
38
+ 146, 147, 148, 149, 150, 151, 152, 153,
39
+ 154, 155, 156, 157, 158, 159, 160, 161,
40
+ 162, 163, 164, 165, 166, 167, 168, 169,
41
+ 170, 171, 172, 173, 174, 175, 176, 177,
42
+ 178, 179, 180, 187, 189, 192, 194, 196,
43
+ 198, 200, 202, 204, 215, 217, 219, 221,
44
+ 223, 225, 227, 229, 231, 233, 235, 237,
45
+ 239, 241, 243, 245, 247, 249, 251, 252,
46
+ 253, 254, 255, 256, 257, 258, 259, 260,
47
+ 261, 262, 263, 264, 265, 266, 267, 268,
48
+ 269, 270, 271, 272, 274, 275, 276, 277,
49
+ 278, 279, 280, 281, 282, 283, 284, 285,
50
+ 286, 287, 288, 289, 290, 291, 292, 293,
51
+ 294, 295, 304, 315, 317, 319, 322, 324,
52
+ 326, 328, 330, 332, 334, 336, 338, 340,
53
+ 342, 344, 346, 348, 350, 352, 354, 356,
54
+ 358, 360, 362, 364, 366, 369, 371, 373,
55
+ 375, 377, 379, 381, 383, 385, 387, 389,
56
+ 391, 393, 395, 397, 399, 401, 403, 405,
57
+ 407, 409, 411, 413, 415, 417, 419, 421,
58
+ 423, 425, 427, 430, 432, 434, 436, 438,
59
+ 440, 442, 444, 446, 448, 450, 452, 454,
60
+ 456, 458, 460, 462, 464, 466, 468, 470,
61
+ 472, 474, 476, 478, 480, 482, 484, 486,
62
+ 488, 490, 492, 494, 496, 498, 500, 502,
63
+ 504, 506, 508, 510, 512, 514, 516, 518,
64
+ 520, 522, 525, 528, 530, 532, 534, 536,
65
+ 538, 540, 542, 544, 546, 548, 550, 552,
66
+ 554, 556, 558, 560, 562, 564, 566, 568,
67
+ 570, 572, 574, 576, 578, 580, 582, 584,
68
+ 586, 588, 590, 592, 594, 596, 598, 600,
69
+ 601, 602, 603, 604, 605, 606, 607, 609,
70
+ 610, 611, 612, 613, 614, 615, 616, 617,
71
+ 618, 619, 620, 621, 622, 623, 624, 625,
72
+ 626, 627, 628, 629, 630, 631, 632, 633,
73
+ 634, 635, 636, 637, 638, 639, 640, 641,
74
+ 642, 643, 652, 663, 665, 667, 670, 672,
75
+ 674, 676, 678, 680, 682, 684, 686, 688,
76
+ 690, 692, 694, 696, 698, 700, 702, 704,
77
+ 706, 708, 710, 712, 714, 717, 719, 721,
78
+ 723, 725, 727, 729, 731, 733, 735, 737,
79
+ 739, 741, 743, 745, 747, 749, 751, 753,
80
+ 755, 757, 759, 761, 763, 765, 767, 769,
81
+ 771, 773, 775, 777, 779, 781, 783, 785,
82
+ 787, 789, 791, 793, 795, 797, 799, 801,
83
+ 803, 805, 807, 810, 813, 815, 817, 819,
84
+ 821, 823, 825, 827, 829, 831, 833, 835,
85
+ 837, 839, 841, 843, 845, 847, 849, 851,
86
+ 853, 855, 857, 859, 861, 863, 865, 867,
87
+ 869, 871, 873, 875, 877, 879, 881, 883,
88
+ 885, 886, 887, 888, 889, 890, 891, 892,
89
+ 893, 894, 895, 896, 897, 898, 899, 900,
90
+ 909, 920, 922, 924, 927, 929, 931, 933,
91
+ 935, 937, 939, 941, 943, 945, 947, 949,
92
+ 951, 953, 955, 957, 959, 961, 963, 965,
93
+ 967, 969, 971, 974, 976, 978, 980, 982,
94
+ 984, 986, 988, 990, 992, 994, 996, 998,
95
+ 1000, 1002, 1004, 1006, 1008, 1010, 1012, 1014,
96
+ 1016, 1019, 1021, 1023, 1025, 1027, 1029, 1031,
97
+ 1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047,
98
+ 1049, 1051, 1053, 1055, 1057, 1059, 1061, 1063,
99
+ 1065, 1067, 1069, 1071, 1074, 1076, 1078, 1080,
100
+ 1082, 1084, 1086, 1088, 1090, 1092, 1094, 1096,
101
+ 1098, 1100, 1102, 1104, 1106, 1108, 1110, 1112,
102
+ 1114, 1116, 1118, 1120, 1122, 1124, 1126, 1128,
103
+ 1130, 1132, 1134, 1136, 1138, 1140, 1142, 1144,
104
+ 1146, 1148, 1150, 1152, 1155, 1158, 1160, 1162,
105
+ 1164, 1166, 1168, 1170, 1172, 1174, 1176, 1178,
106
+ 1180, 1182, 1184, 1186, 1188, 1190, 1192, 1194,
107
+ 1196, 1198, 1200, 1202, 1204, 1206, 1208, 1210,
108
+ 1212, 1214, 1216, 1218, 1220, 1222, 1224, 1226,
109
+ 1228, 1230, 1231, 1232, 1234, 1236, 1237, 1238,
110
+ 1239, 1240, 1241, 1242, 1243, 1244, 1252, 1257,
111
+ 1259, 1261, 1263, 1265, 1267, 1269, 1271, 1273,
112
+ 1275, 1277, 1279, 1281, 1283, 1285, 1287, 1289,
113
+ 1291, 1293, 1295, 1297, 1299, 1301, 1303, 1305,
114
+ 1307, 1309, 1311, 1313, 1315, 1317, 1319, 1321,
115
+ 1324, 1326, 1328, 1330, 1332, 1334, 1336, 1338,
116
+ 1340, 1342, 1344, 1346, 1348, 1350, 1352, 1354,
117
+ 1356, 1358, 1360, 1362, 1364, 1366, 1368, 1370,
118
+ 1372, 1374, 1376, 1378, 1380, 1382, 1384, 1386,
119
+ 1388, 1390, 1392, 1394, 1396, 1398, 1401, 1403,
120
+ 1405, 1407, 1409, 1411, 1413, 1415, 1417, 1419,
121
+ 1421, 1423, 1425, 1427, 1429, 1431, 1433, 1435,
122
+ 1437, 1439, 1441, 1443, 1445, 1447, 1449, 1451,
123
+ 1453, 1455, 1457, 1459, 1461, 1463, 1465, 1467,
124
+ 1469, 1471, 1473, 1474, 1475, 1476, 1477, 1478,
125
+ 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486,
126
+ 1487, 1488, 1489, 1490, 1491, 1492
127
+ ];
128
+
129
+ const _lexer_trans_keys = [
130
+ -48, 10, 32, 34, 35, 37, 42, 64,
131
+ 124, 239, 9, 13, -112, -108, -107, -105,
132
+ -104, -102, -99, -97, -95, -94, -92, 32,
133
+ 10, 10, 13, -48, 10, 32, 34, 35,
134
+ 37, 42, 64, 124, 9, 13, 34, 34,
135
+ 10, 32, 9, 13, 10, 32, 34, 9,
136
+ 13, 10, 32, 34, 9, 13, 10, 32,
137
+ 34, 9, 13, 10, 32, 34, 9, 13,
138
+ 10, 32, 9, 13, 10, 32, 9, 13,
139
+ 10, 13, 10, 95, 70, 69, 65, 84,
140
+ 85, 82, 69, 95, 69, 78, 68, 95,
141
+ 37, 13, 32, 64, 9, 10, 9, 10,
142
+ 13, 32, 64, 11, 12, 10, 32, 64,
143
+ 9, 13, 32, 124, 9, 13, 10, 32,
144
+ 92, 124, 9, 13, 10, 92, 124, 10,
145
+ 92, 10, 32, 92, 124, 9, 13, -48,
146
+ 10, 32, 34, 35, 37, 42, 64, 124,
147
+ 9, 13, -48, -80, -66, -48, -67, -48,
148
+ -66, -48, -65, -47, -125, -47, -127, -47,
149
+ -126, -48, -72, -48, -68, -47, -127, -48,
150
+ -69, -48, -72, -48, -67, -48, -80, -47,
151
+ -121, -48, -75, -48, -67, -48, -72, -47,
152
+ -113, 58, 10, 10, -48, 10, 32, 35,
153
+ 124, 9, 13, -92, 10, -48, -47, 10,
154
+ -72, 10, -47, 10, -121, 10, -48, 10,
155
+ -80, 10, 10, 58, -48, 10, 32, 34,
156
+ 35, 37, 42, 64, 124, 9, 13, -125,
157
+ 10, -48, 10, -67, 10, -48, 10, -70,
158
+ 10, -47, 10, -122, 10, -48, 10, -72,
159
+ 10, -48, 10, -66, 10, -48, 10, -67,
160
+ 10, -48, 10, -80, 10, -48, 10, -69,
161
+ 10, -48, 32, -66, -48, -77, -48, -76,
162
+ -48, -80, -47, -126, -48, -66, -48, -68,
163
+ -47, -125, 32, -48, -74, -48, -75, -47,
164
+ -128, -125, -48, -75, -48, -76, -47, -117,
165
+ -47, -127, -47, -126, -48, -66, -47, -128,
166
+ -48, -72, -47, -113, 58, 10, 10, -48,
167
+ 10, 32, 35, 37, 42, 64, 9, 13,
168
+ -112, -108, -107, -104, -102, -99, -97, -95,
169
+ -94, -92, 10, 10, 32, -48, 10, -80,
170
+ -66, 10, -48, 10, -67, 10, -48, 10,
171
+ -66, 10, -48, 10, -65, 10, -47, 10,
172
+ -125, 10, -47, 10, -127, 10, -47, 10,
173
+ -126, 10, -48, 10, -72, 10, -48, 10,
174
+ -68, 10, -47, 10, -127, 10, -48, 10,
175
+ -69, 10, -48, 10, -72, 10, -48, 10,
176
+ 32, -66, 10, -48, 10, -77, 10, -48,
177
+ 10, -76, 10, -48, 10, -80, 10, -47,
178
+ 10, -126, 10, -48, 10, -66, 10, -48,
179
+ 10, -68, 10, -47, 10, -125, 10, 10,
180
+ 32, -48, 10, -74, 10, -48, 10, -75,
181
+ 10, -47, 10, -125, 10, -47, 10, -127,
182
+ 10, -47, 10, -126, 10, -47, 10, -116,
183
+ 10, -47, 10, -126, -122, 10, -47, 10,
184
+ -128, 10, -47, 10, -125, 10, -48, 10,
185
+ -70, 10, -47, 10, -126, 10, -47, 10,
186
+ -125, 10, -47, 10, -128, 10, -48, 10,
187
+ -80, 10, 10, 32, -47, 10, -127, 10,
188
+ -47, 10, -122, 10, -48, 10, -75, 10,
189
+ -48, 10, -67, 10, -48, 10, -80, 10,
190
+ -47, 10, -128, 10, -48, 10, -72, 10,
191
+ -47, 10, -113, 10, 10, 58, -48, 10,
192
+ -75, 10, -48, 10, -67, 10, -48, 10,
193
+ -80, 10, -47, 10, -128, 10, -48, 10,
194
+ -72, 10, -48, 10, -71, 10, -48, 10,
195
+ -66, 10, -48, 10, 32, -48, -47, 10,
196
+ -72, 10, -47, 10, -121, 10, -48, 10,
197
+ -80, 10, -125, 10, -48, 10, -67, 10,
198
+ -48, 10, -70, 10, -47, 10, -122, 10,
199
+ -48, 10, -72, 10, -48, 10, -66, 10,
200
+ -48, 10, -67, 10, -48, 10, -80, 10,
201
+ -48, 10, -69, 10, 10, 95, 10, 70,
202
+ 10, 69, 10, 65, 10, 84, 10, 85,
203
+ 10, 82, 10, 69, 10, 95, 10, 69,
204
+ 10, 78, 10, 68, 10, 95, 10, 37,
205
+ -47, -127, -47, -126, -47, -116, -47, -126,
206
+ -122, -47, -128, -47, -125, -48, -70, -47,
207
+ -126, -47, -125, -47, -128, -48, -80, 32,
208
+ -47, -127, -47, -122, -48, -75, -48, -67,
209
+ -48, -80, -47, -128, -48, -72, -47, -113,
210
+ 58, 10, 10, -48, 10, 32, 35, 37,
211
+ 42, 64, 9, 13, -112, -108, -107, -104,
212
+ -102, -99, -97, -95, -94, -92, 10, 10,
213
+ 32, -48, 10, -80, -66, 10, -48, 10,
214
+ -67, 10, -48, 10, -66, 10, -48, 10,
215
+ -65, 10, -47, 10, -125, 10, -47, 10,
216
+ -127, 10, -47, 10, -126, 10, -48, 10,
217
+ -72, 10, -48, 10, -68, 10, -47, 10,
218
+ -127, 10, -48, 10, -69, 10, -48, 10,
219
+ -72, 10, -48, 10, 32, -66, 10, -48,
220
+ 10, -77, 10, -48, 10, -76, 10, -48,
221
+ 10, -80, 10, -47, 10, -126, 10, -48,
222
+ 10, -66, 10, -48, 10, -68, 10, -47,
223
+ 10, -125, 10, 10, 32, -48, 10, -74,
224
+ 10, -48, 10, -75, 10, -47, 10, -125,
225
+ 10, -47, 10, -127, 10, -47, 10, -126,
226
+ 10, -47, 10, -116, 10, -47, 10, -122,
227
+ 10, -48, 10, -75, 10, -48, 10, -67,
228
+ 10, -48, 10, -80, 10, -47, 10, -128,
229
+ 10, -48, 10, -72, 10, -48, 10, -71,
230
+ 10, 10, 58, -48, 10, -66, 10, -48,
231
+ 10, 32, -48, -47, 10, -72, 10, -47,
232
+ 10, -121, 10, -48, 10, -80, 10, -125,
233
+ 10, -48, 10, -67, 10, -48, 10, -70,
234
+ 10, -47, 10, -122, 10, -48, 10, -72,
235
+ 10, -48, 10, -66, 10, -48, 10, -67,
236
+ 10, -48, 10, -80, 10, -48, 10, -69,
237
+ 10, 10, 95, 10, 70, 10, 69, 10,
238
+ 65, 10, 84, 10, 85, 10, 82, 10,
239
+ 69, 10, 95, 10, 69, 10, 78, 10,
240
+ 68, 10, 95, 10, 37, -48, -75, -48,
241
+ -67, -48, -80, -47, -128, -48, -72, -48,
242
+ -71, 58, 10, 10, -48, 10, 32, 35,
243
+ 37, 42, 64, 9, 13, -112, -108, -107,
244
+ -104, -102, -99, -97, -95, -94, -92, 10,
245
+ 10, 32, -48, 10, -80, -66, 10, -48,
246
+ 10, -67, 10, -48, 10, -66, 10, -48,
247
+ 10, -65, 10, -47, 10, -125, 10, -47,
248
+ 10, -127, 10, -47, 10, -126, 10, -48,
249
+ 10, -72, 10, -48, 10, -68, 10, -47,
250
+ 10, -127, 10, -48, 10, -69, 10, -48,
251
+ 10, -72, 10, -48, 10, 32, -66, 10,
252
+ -48, 10, -77, 10, -48, 10, -76, 10,
253
+ -48, 10, -80, 10, -47, 10, -126, 10,
254
+ -48, 10, -66, 10, -48, 10, -68, 10,
255
+ -47, 10, -125, 10, 10, 32, -48, 10,
256
+ -74, 10, -48, 10, -75, 10, -47, 10,
257
+ -128, -125, 10, -48, 10, -75, 10, -48,
258
+ 10, -76, 10, -47, 10, -117, 10, -47,
259
+ 10, -127, 10, -47, 10, -126, 10, -48,
260
+ 10, -66, 10, -47, 10, -128, 10, -48,
261
+ 10, -72, 10, -47, 10, -113, 10, 10,
262
+ 58, -47, 10, -127, 10, -47, 10, -126,
263
+ 10, -47, 10, -116, 10, -47, 10, -126,
264
+ -122, 10, -47, 10, -128, 10, -47, 10,
265
+ -125, 10, -48, 10, -70, 10, -47, 10,
266
+ -126, 10, -47, 10, -125, 10, -47, 10,
267
+ -128, 10, -48, 10, -80, 10, 10, 32,
268
+ -47, 10, -127, 10, -47, 10, -122, 10,
269
+ -48, 10, -75, 10, -48, 10, -67, 10,
270
+ -48, 10, -80, 10, -48, 10, -75, 10,
271
+ -48, 10, -67, 10, -48, 10, -80, 10,
272
+ -47, 10, -128, 10, -48, 10, -72, 10,
273
+ -48, 10, -71, 10, -48, 10, -66, 10,
274
+ -48, 10, 32, -48, -47, 10, -72, 10,
275
+ -47, 10, -121, 10, -48, 10, -80, 10,
276
+ -125, 10, -48, 10, -67, 10, -48, 10,
277
+ -70, 10, -47, 10, -122, 10, -48, 10,
278
+ -72, 10, -48, 10, -66, 10, -48, 10,
279
+ -67, 10, -48, 10, -80, 10, -48, 10,
280
+ -69, 10, 10, 95, 10, 70, 10, 69,
281
+ 10, 65, 10, 84, 10, 85, 10, 82,
282
+ 10, 69, 10, 95, 10, 69, 10, 78,
283
+ 10, 68, 10, 95, 10, 37, -48, -66,
284
+ -48, 32, -48, -47, -72, -47, -121, -48,
285
+ -80, 58, 10, 10, -48, 10, 32, 35,
286
+ 37, 64, 9, 13, -105, -97, -95, -92,
287
+ 10, -48, 10, -67, 10, -48, 10, -80,
288
+ 10, -47, 10, -121, 10, -48, 10, -75,
289
+ 10, -48, 10, -67, 10, -48, 10, -72,
290
+ 10, -47, 10, -113, 10, 10, 58, -47,
291
+ 10, -128, 10, -48, 10, -75, 10, -48,
292
+ 10, -76, 10, -47, 10, -117, 10, -47,
293
+ 10, -127, 10, -47, 10, -126, 10, -48,
294
+ 10, -66, 10, -47, 10, -128, 10, -47,
295
+ 10, -126, -122, 10, -47, 10, -128, 10,
296
+ -47, 10, -125, 10, -48, 10, -70, 10,
297
+ -47, 10, -126, 10, -47, 10, -125, 10,
298
+ -47, 10, -128, 10, -48, 10, -80, 10,
299
+ 10, 32, -47, 10, -127, 10, -47, 10,
300
+ -122, 10, -48, 10, -75, 10, -48, 10,
301
+ -67, 10, -48, 10, -80, 10, -48, 10,
302
+ -75, 10, -48, 10, -67, 10, -48, 10,
303
+ -80, 10, -47, 10, -128, 10, -48, 10,
304
+ -72, 10, -48, 10, -71, 10, -48, -47,
305
+ 10, -72, 10, -47, 10, -121, 10, -48,
306
+ 10, -80, 10, -125, 10, -48, 10, -67,
307
+ 10, -48, 10, -70, 10, -47, 10, -122,
308
+ 10, -48, 10, -72, 10, -48, 10, -66,
309
+ 10, -48, 10, -67, 10, -48, 10, -80,
310
+ 10, -48, 10, -69, 10, 10, 95, 10,
311
+ 70, 10, 69, 10, 65, 10, 84, 10,
312
+ 85, 10, 82, 10, 69, 10, 95, 10,
313
+ 69, 10, 78, 10, 68, 10, 95, 10,
314
+ 37, -125, -48, -67, -48, -70, -47, -122,
315
+ -48, -72, -48, -66, -48, -67, -48, -80,
316
+ -48, -69, 187, 191, 0
317
+ ];
318
+
319
+ const _lexer_single_lengths = [
320
+ 0, 10, 11, 1, 1, 2, 9, 1,
321
+ 1, 2, 3, 3, 3, 3, 2, 2,
322
+ 2, 1, 1, 1, 1, 1, 1, 1,
323
+ 1, 1, 1, 1, 1, 1, 1, 1,
324
+ 3, 5, 3, 2, 4, 3, 2, 4,
325
+ 9, 1, 2, 1, 1, 1, 1, 1,
326
+ 1, 1, 1, 1, 1, 1, 1, 1,
327
+ 1, 1, 1, 1, 1, 1, 1, 1,
328
+ 1, 1, 1, 1,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 0, 0, 0, 0, 0, 0,
508
+ 0, 0, 0, 0, 0, 0, 0, 0,
509
+ 0, 0, 0, 0, 0, 0, 0, 0,
510
+ 0, 0, 0, 0, 0, 0, 0, 0,
511
+ 0, 0, 0, 0, 0, 0, 0, 0,
512
+ 0, 0, 0, 0, 0, 0
513
+ ];
514
+
515
+ const _lexer_index_offsets = [
516
+ 0, 0, 12, 24, 26, 28, 31, 42,
517
+ 44, 46, 50, 55, 60, 65, 70, 74,
518
+ 78, 81, 83, 85, 87, 89, 91, 93,
519
+ 95, 97, 99, 101, 103, 105, 107, 109,
520
+ 111, 116, 123, 128, 132, 138, 142, 145,
521
+ 151, 162, 164, 167, 169, 171, 173, 175,
522
+ 177, 179, 181, 183, 185, 187, 189, 191,
523
+ 193, 195, 197, 199, 201, 203, 205, 207,
524
+ 209, 211, 213, 215, 217, 219, 221, 223,
525
+ 225, 227, 229, 231, 233, 235, 237, 239,
526
+ 241, 243, 245, 252, 255, 259, 262, 265,
527
+ 268, 271, 274, 277, 288, 291, 294, 297,
528
+ 300, 303, 306, 309, 312, 315, 318, 321,
529
+ 324, 327, 330, 333, 336, 339, 342, 344,
530
+ 346, 348, 350, 352, 354, 356, 358, 360,
531
+ 362, 364, 366, 368, 370, 372, 374, 376,
532
+ 378, 380, 382, 384, 387, 389, 391, 393,
533
+ 395, 397, 399, 401, 403, 405, 407, 409,
534
+ 411, 413, 415, 417, 419, 421, 423, 425,
535
+ 427, 429, 438, 450, 453, 456, 460, 463,
536
+ 466, 469, 472, 475, 478, 481, 484, 487,
537
+ 490, 493, 496, 499, 502, 505, 508, 511,
538
+ 514, 517, 520, 523, 526, 530, 533, 536,
539
+ 539, 542, 545, 548, 551, 554, 557, 560,
540
+ 563, 566, 569, 572, 575, 578, 581, 584,
541
+ 587, 590, 593, 596, 599, 602, 605, 608,
542
+ 611, 614, 617, 621, 624, 627, 630, 633,
543
+ 636, 639, 642, 645, 648, 651, 654, 657,
544
+ 660, 663, 666, 669, 672, 675, 678, 681,
545
+ 684, 687, 690, 693, 696, 699, 702, 705,
546
+ 708, 711, 714, 717, 720, 723, 726, 729,
547
+ 732, 735, 738, 741, 744, 747, 750, 753,
548
+ 756, 759, 763, 767, 770, 773, 776, 779,
549
+ 782, 785, 788, 791, 794, 797, 800, 803,
550
+ 806, 809, 812, 815, 818, 821, 824, 827,
551
+ 830, 833, 836, 839, 842, 845, 848, 851,
552
+ 854, 857, 860, 863, 866, 869, 872, 875,
553
+ 877, 879, 881, 883, 885, 887, 889, 892,
554
+ 894, 896, 898, 900, 902, 904, 906, 908,
555
+ 910, 912, 914, 916, 918, 920, 922, 924,
556
+ 926, 928, 930, 932, 934, 936, 938, 940,
557
+ 942, 944, 946, 948, 950, 952, 954, 956,
558
+ 958, 960, 969, 981, 984, 987, 991, 994,
559
+ 997, 1000, 1003, 1006, 1009, 1012, 1015, 1018,
560
+ 1021, 1024, 1027, 1030, 1033, 1036, 1039, 1042,
561
+ 1045, 1048, 1051, 1054, 1057, 1061, 1064, 1067,
562
+ 1070, 1073, 1076, 1079, 1082, 1085, 1088, 1091,
563
+ 1094, 1097, 1100, 1103, 1106, 1109, 1112, 1115,
564
+ 1118, 1121, 1124, 1127, 1130, 1133, 1136, 1139,
565
+ 1142, 1145, 1148, 1151, 1154, 1157, 1160, 1163,
566
+ 1166, 1169, 1172, 1175, 1178, 1181, 1184, 1187,
567
+ 1190, 1193, 1196, 1200, 1204, 1207, 1210, 1213,
568
+ 1216, 1219, 1222, 1225, 1228, 1231, 1234, 1237,
569
+ 1240, 1243, 1246, 1249, 1252, 1255, 1258, 1261,
570
+ 1264, 1267, 1270, 1273, 1276, 1279, 1282, 1285,
571
+ 1288, 1291, 1294, 1297, 1300, 1303, 1306, 1309,
572
+ 1312, 1314, 1316, 1318, 1320, 1322, 1324, 1326,
573
+ 1328, 1330, 1332, 1334, 1336, 1338, 1340, 1342,
574
+ 1351, 1363, 1366, 1369, 1373, 1376, 1379, 1382,
575
+ 1385, 1388, 1391, 1394, 1397, 1400, 1403, 1406,
576
+ 1409, 1412, 1415, 1418, 1421, 1424, 1427, 1430,
577
+ 1433, 1436, 1439, 1443, 1446, 1449, 1452, 1455,
578
+ 1458, 1461, 1464, 1467, 1470, 1473, 1476, 1479,
579
+ 1482, 1485, 1488, 1491, 1494, 1497, 1500, 1503,
580
+ 1506, 1510, 1513, 1516, 1519, 1522, 1525, 1528,
581
+ 1531, 1534, 1537, 1540, 1543, 1546, 1549, 1552,
582
+ 1555, 1558, 1561, 1564, 1567, 1570, 1573, 1576,
583
+ 1579, 1582, 1585, 1588, 1592, 1595, 1598, 1601,
584
+ 1604, 1607, 1610, 1613, 1616, 1619, 1622, 1625,
585
+ 1628, 1631, 1634, 1637, 1640, 1643, 1646, 1649,
586
+ 1652, 1655, 1658, 1661, 1664, 1667, 1670, 1673,
587
+ 1676, 1679, 1682, 1685, 1688, 1691, 1694, 1697,
588
+ 1700, 1703, 1706, 1709, 1713, 1717, 1720, 1723,
589
+ 1726, 1729, 1732, 1735, 1738, 1741, 1744, 1747,
590
+ 1750, 1753, 1756, 1759, 1762, 1765, 1768, 1771,
591
+ 1774, 1777, 1780, 1783, 1786, 1789, 1792, 1795,
592
+ 1798, 1801, 1804, 1807, 1810, 1813, 1816, 1819,
593
+ 1822, 1825, 1827, 1829, 1832, 1835, 1837, 1839,
594
+ 1841, 1843, 1845, 1847, 1849, 1851, 1859, 1865,
595
+ 1868, 1871, 1874, 1877, 1880, 1883, 1886, 1889,
596
+ 1892, 1895, 1898, 1901, 1904, 1907, 1910, 1913,
597
+ 1916, 1919, 1922, 1925, 1928, 1931, 1934, 1937,
598
+ 1940, 1943, 1946, 1949, 1952, 1955, 1958, 1961,
599
+ 1965, 1968, 1971, 1974, 1977, 1980, 1983, 1986,
600
+ 1989, 1992, 1995, 1998, 2001, 2004, 2007, 2010,
601
+ 2013, 2016, 2019, 2022, 2025, 2028, 2031, 2034,
602
+ 2037, 2040, 2043, 2046, 2049, 2052, 2055, 2058,
603
+ 2061, 2064, 2067, 2070, 2073, 2076, 2080, 2083,
604
+ 2086, 2089, 2092, 2095, 2098, 2101, 2104, 2107,
605
+ 2110, 2113, 2116, 2119, 2122, 2125, 2128, 2131,
606
+ 2134, 2137, 2140, 2143, 2146, 2149, 2152, 2155,
607
+ 2158, 2161, 2164, 2167, 2170, 2173, 2176, 2179,
608
+ 2182, 2185, 2188, 2190, 2192, 2194, 2196, 2198,
609
+ 2200, 2202, 2204, 2206, 2208, 2210, 2212, 2214,
610
+ 2216, 2218, 2220, 2222, 2224, 2226
611
+ ];
612
+
613
+ const _lexer_indicies = [
614
+ 1, 3, 2, 4, 5, 6, 7, 8,
615
+ 9, 10, 2, 0, 11, 12, 13, 14,
616
+ 11, 15, 16, 17, 18, 19, 20, 0,
617
+ 21, 0, 0, 22, 24, 25, 23, 1,
618
+ 3, 2, 4, 5, 6, 7, 8, 9,
619
+ 2, 0, 26, 0, 27, 0, 28, 27,
620
+ 27, 0, 31, 30, 32, 30, 29, 35,
621
+ 34, 36, 34, 33, 35, 34, 37, 34,
622
+ 33, 35, 34, 38, 34, 33, 40, 39,
623
+ 39, 0, 3, 41, 41, 0, 43, 44,
624
+ 42, 3, 0, 45, 0, 46, 0, 47,
625
+ 0, 48, 0, 49, 0, 50, 0, 51,
626
+ 0, 52, 0, 53, 0, 54, 0, 55,
627
+ 0, 56, 0, 57, 0, 58, 0, 0,
628
+ 0, 0, 0, 59, 60, 61, 60, 60,
629
+ 63, 62, 59, 3, 64, 8, 64, 0,
630
+ 65, 66, 65, 0, 69, 68, 70, 71,
631
+ 68, 67, 0, 73, 74, 72, 0, 73,
632
+ 72, 69, 75, 73, 74, 75, 72, 76,
633
+ 69, 77, 78, 79, 80, 81, 82, 83,
634
+ 77, 0, 84, 0, 85, 86, 0, 87,
635
+ 0, 16, 0, 88, 0, 11, 0, 89,
636
+ 0, 90, 0, 91, 0, 92, 0, 93,
637
+ 0, 94, 0, 95, 0, 96, 0, 97,
638
+ 0, 98, 0, 99, 0, 11, 0, 100,
639
+ 0, 101, 0, 102, 0, 103, 0, 104,
640
+ 0, 11, 0, 105, 0, 106, 0, 107,
641
+ 0, 108, 0, 109, 0, 110, 0, 111,
642
+ 0, 112, 0, 113, 0, 114, 0, 115,
643
+ 0, 116, 0, 117, 0, 118, 0, 119,
644
+ 0, 121, 120, 123, 122, 124, 123, 125,
645
+ 126, 126, 125, 122, 127, 123, 122, 128,
646
+ 129, 123, 122, 130, 123, 122, 131, 123,
647
+ 122, 132, 123, 122, 133, 123, 122, 134,
648
+ 123, 122, 123, 135, 122, 136, 138, 137,
649
+ 139, 140, 141, 142, 143, 144, 137, 0,
650
+ 145, 123, 122, 146, 123, 122, 147, 123,
651
+ 122, 148, 123, 122, 149, 123, 122, 150,
652
+ 123, 122, 151, 123, 122, 152, 123, 122,
653
+ 153, 123, 122, 154, 123, 122, 155, 123,
654
+ 122, 156, 123, 122, 157, 123, 122, 158,
655
+ 123, 122, 159, 123, 122, 160, 123, 122,
656
+ 134, 123, 122, 161, 162, 0, 163, 0,
657
+ 164, 0, 165, 0, 166, 0, 167, 0,
658
+ 168, 0, 11, 0, 169, 0, 170, 0,
659
+ 171, 0, 172, 0, 173, 0, 174, 0,
660
+ 175, 0, 176, 0, 177, 0, 178, 0,
661
+ 179, 0, 180, 0, 11, 0, 181, 0,
662
+ 182, 183, 0, 184, 0, 185, 0, 186,
663
+ 0, 187, 0, 188, 0, 189, 0, 190,
664
+ 0, 191, 0, 192, 0, 193, 0, 194,
665
+ 0, 195, 0, 196, 0, 197, 0, 198,
666
+ 0, 199, 0, 200, 0, 201, 0, 202,
667
+ 0, 204, 203, 206, 205, 207, 206, 208,
668
+ 209, 210, 211, 209, 208, 205, 212, 213,
669
+ 214, 212, 215, 216, 217, 218, 219, 220,
670
+ 206, 205, 206, 221, 205, 222, 206, 205,
671
+ 223, 224, 206, 205, 225, 206, 205, 216,
672
+ 206, 205, 226, 206, 205, 212, 206, 205,
673
+ 227, 206, 205, 228, 206, 205, 229, 206,
674
+ 205, 230, 206, 205, 231, 206, 205, 232,
675
+ 206, 205, 233, 206, 205, 234, 206, 205,
676
+ 235, 206, 205, 236, 206, 205, 237, 206,
677
+ 205, 212, 206, 205, 238, 206, 205, 239,
678
+ 206, 205, 240, 206, 205, 241, 206, 205,
679
+ 242, 206, 205, 212, 206, 205, 243, 206,
680
+ 244, 205, 245, 206, 205, 246, 206, 205,
681
+ 247, 206, 205, 248, 206, 205, 249, 206,
682
+ 205, 250, 206, 205, 212, 206, 205, 251,
683
+ 206, 205, 252, 206, 205, 253, 206, 205,
684
+ 254, 206, 205, 255, 206, 205, 256, 206,
685
+ 205, 257, 206, 205, 258, 206, 205, 206,
686
+ 259, 205, 260, 206, 205, 261, 206, 205,
687
+ 262, 206, 205, 212, 206, 205, 263, 206,
688
+ 205, 264, 206, 205, 265, 206, 205, 266,
689
+ 206, 205, 267, 206, 205, 268, 206, 205,
690
+ 269, 206, 205, 212, 206, 205, 270, 206,
691
+ 205, 271, 272, 206, 205, 273, 206, 205,
692
+ 274, 206, 205, 275, 206, 205, 276, 206,
693
+ 205, 277, 206, 205, 278, 206, 205, 279,
694
+ 206, 205, 280, 206, 205, 281, 206, 205,
695
+ 282, 206, 205, 283, 206, 205, 284, 206,
696
+ 205, 285, 206, 205, 286, 206, 205, 206,
697
+ 287, 205, 288, 206, 205, 289, 206, 205,
698
+ 290, 206, 205, 291, 206, 205, 292, 206,
699
+ 205, 293, 206, 205, 294, 206, 205, 295,
700
+ 206, 205, 296, 206, 205, 297, 206, 205,
701
+ 298, 206, 205, 299, 206, 205, 300, 206,
702
+ 205, 301, 206, 205, 302, 206, 205, 303,
703
+ 206, 205, 206, 221, 205, 304, 206, 205,
704
+ 305, 206, 205, 306, 206, 205, 307, 206,
705
+ 205, 308, 206, 205, 309, 206, 205, 310,
706
+ 206, 205, 311, 206, 205, 312, 206, 205,
707
+ 313, 206, 205, 314, 206, 205, 303, 206,
708
+ 205, 315, 206, 205, 316, 206, 205, 246,
709
+ 206, 221, 205, 317, 318, 206, 205, 319,
710
+ 206, 205, 320, 206, 205, 321, 206, 205,
711
+ 322, 206, 205, 303, 206, 205, 323, 206,
712
+ 205, 324, 206, 205, 325, 206, 205, 326,
713
+ 206, 205, 327, 206, 205, 328, 206, 205,
714
+ 329, 206, 205, 330, 206, 205, 331, 206,
715
+ 205, 332, 206, 205, 333, 206, 205, 334,
716
+ 206, 205, 335, 206, 205, 336, 206, 205,
717
+ 337, 206, 205, 338, 206, 205, 303, 206,
718
+ 205, 206, 339, 205, 206, 340, 205, 206,
719
+ 341, 205, 206, 342, 205, 206, 343, 205,
720
+ 206, 344, 205, 206, 345, 205, 206, 346,
721
+ 205, 206, 347, 205, 206, 348, 205, 206,
722
+ 349, 205, 206, 350, 205, 206, 351, 205,
723
+ 206, 352, 205, 353, 0, 354, 0, 355,
724
+ 0, 356, 0, 357, 0, 11, 0, 358,
725
+ 0, 359, 360, 0, 361, 0, 362, 0,
726
+ 363, 0, 364, 0, 365, 0, 366, 0,
727
+ 367, 0, 368, 0, 369, 0, 370, 0,
728
+ 371, 0, 372, 0, 373, 0, 374, 0,
729
+ 375, 0, 376, 0, 377, 0, 378, 0,
730
+ 379, 0, 380, 0, 381, 0, 382, 0,
731
+ 383, 0, 384, 0, 385, 0, 386, 0,
732
+ 387, 0, 388, 0, 389, 0, 390, 0,
733
+ 391, 0, 392, 0, 394, 393, 396, 395,
734
+ 397, 396, 398, 399, 400, 401, 399, 398,
735
+ 395, 402, 403, 404, 402, 405, 406, 407,
736
+ 408, 409, 410, 396, 395, 396, 411, 395,
737
+ 412, 396, 395, 413, 414, 396, 395, 415,
738
+ 396, 395, 406, 396, 395, 416, 396, 395,
739
+ 402, 396, 395, 417, 396, 395, 418, 396,
740
+ 395, 419, 396, 395, 420, 396, 395, 421,
741
+ 396, 395, 422, 396, 395, 423, 396, 395,
742
+ 424, 396, 395, 425, 396, 395, 426, 396,
743
+ 395, 427, 396, 395, 402, 396, 395, 428,
744
+ 396, 395, 429, 396, 395, 430, 396, 395,
745
+ 431, 396, 395, 432, 396, 395, 402, 396,
746
+ 395, 433, 396, 434, 395, 435, 396, 395,
747
+ 436, 396, 395, 437, 396, 395, 438, 396,
748
+ 395, 439, 396, 395, 440, 396, 395, 402,
749
+ 396, 395, 441, 396, 395, 442, 396, 395,
750
+ 443, 396, 395, 444, 396, 395, 445, 396,
751
+ 395, 446, 396, 395, 447, 396, 395, 448,
752
+ 396, 395, 396, 449, 395, 450, 396, 395,
753
+ 451, 396, 395, 452, 396, 395, 402, 396,
754
+ 395, 453, 396, 395, 454, 396, 395, 455,
755
+ 396, 395, 456, 396, 395, 457, 396, 395,
756
+ 458, 396, 395, 459, 396, 395, 402, 396,
757
+ 395, 460, 396, 395, 461, 396, 395, 462,
758
+ 396, 395, 463, 396, 395, 464, 396, 395,
759
+ 465, 396, 395, 466, 396, 395, 467, 396,
760
+ 395, 468, 396, 395, 469, 396, 395, 470,
761
+ 396, 395, 471, 396, 395, 472, 396, 395,
762
+ 473, 396, 395, 396, 411, 395, 474, 396,
763
+ 395, 475, 396, 395, 436, 396, 411, 395,
764
+ 476, 477, 396, 395, 478, 396, 395, 479,
765
+ 396, 395, 480, 396, 395, 481, 396, 395,
766
+ 473, 396, 395, 482, 396, 395, 483, 396,
767
+ 395, 484, 396, 395, 485, 396, 395, 486,
768
+ 396, 395, 487, 396, 395, 488, 396, 395,
769
+ 489, 396, 395, 490, 396, 395, 491, 396,
770
+ 395, 492, 396, 395, 493, 396, 395, 494,
771
+ 396, 395, 495, 396, 395, 496, 396, 395,
772
+ 497, 396, 395, 473, 396, 395, 396, 498,
773
+ 395, 396, 499, 395, 396, 500, 395, 396,
774
+ 501, 395, 396, 502, 395, 396, 503, 395,
775
+ 396, 504, 395, 396, 505, 395, 396, 506,
776
+ 395, 396, 507, 395, 396, 508, 395, 396,
777
+ 509, 395, 396, 510, 395, 396, 511, 395,
778
+ 512, 0, 513, 0, 514, 0, 515, 0,
779
+ 516, 0, 517, 0, 518, 0, 519, 0,
780
+ 520, 0, 521, 0, 522, 0, 523, 0,
781
+ 524, 0, 526, 525, 528, 527, 529, 528,
782
+ 530, 531, 532, 533, 531, 530, 527, 534,
783
+ 535, 536, 534, 537, 538, 539, 540, 541,
784
+ 542, 528, 527, 528, 543, 527, 544, 528,
785
+ 527, 545, 546, 528, 527, 547, 528, 527,
786
+ 538, 528, 527, 548, 528, 527, 534, 528,
787
+ 527, 549, 528, 527, 550, 528, 527, 551,
788
+ 528, 527, 552, 528, 527, 553, 528, 527,
789
+ 554, 528, 527, 555, 528, 527, 556, 528,
790
+ 527, 557, 528, 527, 558, 528, 527, 559,
791
+ 528, 527, 534, 528, 527, 560, 528, 527,
792
+ 561, 528, 527, 562, 528, 527, 563, 528,
793
+ 527, 564, 528, 527, 534, 528, 527, 565,
794
+ 528, 566, 527, 567, 528, 527, 568, 528,
795
+ 527, 569, 528, 527, 570, 528, 527, 571,
796
+ 528, 527, 572, 528, 527, 534, 528, 527,
797
+ 573, 528, 527, 574, 528, 527, 575, 528,
798
+ 527, 576, 528, 527, 577, 528, 527, 578,
799
+ 528, 527, 579, 528, 527, 580, 528, 527,
800
+ 528, 581, 527, 582, 528, 527, 583, 528,
801
+ 527, 584, 528, 527, 534, 528, 527, 585,
802
+ 528, 527, 586, 587, 528, 527, 588, 528,
803
+ 527, 589, 528, 527, 590, 528, 527, 591,
804
+ 528, 527, 592, 528, 527, 593, 528, 527,
805
+ 594, 528, 527, 595, 528, 527, 596, 528,
806
+ 527, 597, 528, 527, 598, 528, 527, 599,
807
+ 528, 527, 600, 528, 527, 601, 528, 527,
808
+ 602, 528, 527, 603, 528, 527, 604, 528,
809
+ 527, 605, 528, 527, 528, 543, 527, 606,
810
+ 528, 527, 607, 528, 527, 608, 528, 527,
811
+ 609, 528, 527, 610, 528, 527, 534, 528,
812
+ 527, 611, 528, 527, 612, 613, 528, 527,
813
+ 614, 528, 527, 615, 528, 527, 616, 528,
814
+ 527, 617, 528, 527, 618, 528, 527, 619,
815
+ 528, 527, 620, 528, 527, 621, 528, 527,
816
+ 622, 528, 527, 623, 528, 527, 624, 528,
817
+ 527, 625, 528, 527, 626, 528, 527, 627,
818
+ 528, 527, 528, 628, 527, 629, 528, 527,
819
+ 630, 528, 527, 631, 528, 527, 632, 528,
820
+ 527, 633, 528, 527, 634, 528, 527, 635,
821
+ 528, 527, 636, 528, 527, 637, 528, 527,
822
+ 599, 528, 527, 638, 528, 527, 639, 528,
823
+ 527, 640, 528, 527, 641, 528, 527, 642,
824
+ 528, 527, 643, 528, 527, 644, 528, 527,
825
+ 645, 528, 527, 646, 528, 527, 647, 528,
826
+ 527, 648, 528, 527, 605, 528, 527, 649,
827
+ 528, 527, 650, 528, 527, 568, 528, 543,
828
+ 527, 651, 652, 528, 527, 653, 528, 527,
829
+ 654, 528, 527, 655, 528, 527, 656, 528,
830
+ 527, 605, 528, 527, 657, 528, 527, 658,
831
+ 528, 527, 659, 528, 527, 660, 528, 527,
832
+ 661, 528, 527, 662, 528, 527, 663, 528,
833
+ 527, 664, 528, 527, 665, 528, 527, 666,
834
+ 528, 527, 667, 528, 527, 668, 528, 527,
835
+ 669, 528, 527, 670, 528, 527, 671, 528,
836
+ 527, 672, 528, 527, 605, 528, 527, 528,
837
+ 673, 527, 528, 674, 527, 528, 675, 527,
838
+ 528, 676, 527, 528, 677, 527, 528, 678,
839
+ 527, 528, 679, 527, 528, 680, 527, 528,
840
+ 681, 527, 528, 682, 527, 528, 683, 527,
841
+ 528, 684, 527, 528, 685, 527, 528, 686,
842
+ 527, 687, 0, 688, 0, 164, 21, 0,
843
+ 689, 690, 0, 691, 0, 692, 0, 693,
844
+ 0, 694, 0, 695, 0, 696, 0, 698,
845
+ 697, 700, 699, 701, 700, 702, 703, 704,
846
+ 703, 702, 699, 705, 706, 707, 708, 700,
847
+ 699, 709, 700, 699, 710, 700, 699, 711,
848
+ 700, 699, 712, 700, 699, 713, 700, 699,
849
+ 714, 700, 699, 715, 700, 699, 716, 700,
850
+ 699, 717, 700, 699, 718, 700, 699, 719,
851
+ 700, 699, 720, 700, 699, 721, 700, 699,
852
+ 722, 700, 699, 700, 723, 699, 724, 700,
853
+ 699, 725, 700, 699, 726, 700, 699, 727,
854
+ 700, 699, 728, 700, 699, 729, 700, 699,
855
+ 730, 700, 699, 731, 700, 699, 732, 700,
856
+ 699, 733, 700, 699, 734, 700, 699, 735,
857
+ 700, 699, 736, 700, 699, 737, 700, 699,
858
+ 738, 700, 699, 718, 700, 699, 739, 700,
859
+ 699, 740, 741, 700, 699, 742, 700, 699,
860
+ 743, 700, 699, 744, 700, 699, 745, 700,
861
+ 699, 746, 700, 699, 747, 700, 699, 748,
862
+ 700, 699, 749, 700, 699, 750, 700, 699,
863
+ 751, 700, 699, 752, 700, 699, 753, 700,
864
+ 699, 754, 700, 699, 755, 700, 699, 700,
865
+ 756, 699, 757, 700, 699, 758, 700, 699,
866
+ 759, 700, 699, 760, 700, 699, 761, 700,
867
+ 699, 762, 700, 699, 763, 700, 699, 764,
868
+ 700, 699, 765, 700, 699, 737, 700, 699,
869
+ 766, 700, 699, 767, 700, 699, 768, 700,
870
+ 699, 769, 700, 699, 770, 700, 699, 771,
871
+ 700, 699, 772, 700, 699, 773, 700, 699,
872
+ 774, 700, 699, 775, 700, 699, 776, 700,
873
+ 699, 722, 700, 699, 777, 778, 700, 699,
874
+ 779, 700, 699, 780, 700, 699, 781, 700,
875
+ 699, 782, 700, 699, 722, 700, 699, 783,
876
+ 700, 699, 784, 700, 699, 785, 700, 699,
877
+ 786, 700, 699, 787, 700, 699, 788, 700,
878
+ 699, 789, 700, 699, 790, 700, 699, 791,
879
+ 700, 699, 792, 700, 699, 793, 700, 699,
880
+ 794, 700, 699, 795, 700, 699, 796, 700,
881
+ 699, 797, 700, 699, 798, 700, 699, 722,
882
+ 700, 699, 700, 799, 699, 700, 800, 699,
883
+ 700, 801, 699, 700, 802, 699, 700, 803,
884
+ 699, 700, 804, 699, 700, 805, 699, 700,
885
+ 806, 699, 700, 807, 699, 700, 808, 699,
886
+ 700, 809, 699, 700, 810, 699, 700, 811,
887
+ 699, 700, 812, 699, 813, 0, 814, 0,
888
+ 815, 0, 816, 0, 817, 0, 818, 0,
889
+ 819, 0, 820, 0, 821, 0, 822, 0,
890
+ 823, 0, 824, 0, 825, 0, 826, 0,
891
+ 827, 0, 828, 0, 695, 0, 829, 0,
892
+ 2, 0, 830, 0
893
+ ];
894
+
895
+ const _lexer_trans_targs = [
896
+ 0, 2, 6, 6, 7, 16, 18, 3,
897
+ 32, 35, 755, 3, 41, 59, 65, 109,
898
+ 45, 130, 301, 617, 620, 4, 5, 5,
899
+ 6, 17, 8, 9, 10, 11, 11, 11,
900
+ 12, 11, 11, 11, 12, 13, 14, 15,
901
+ 6, 15, 16, 6, 17, 19, 20, 21,
902
+ 22, 23, 24, 25, 26, 27, 28, 29,
903
+ 30, 31, 757, 33, 34, 6, 33, 32,
904
+ 34, 35, 36, 37, 39, 40, 38, 36,
905
+ 37, 38, 36, 39, 2, 40, 7, 16,
906
+ 18, 3, 32, 35, 42, 43, 47, 44,
907
+ 46, 48, 49, 50, 51, 52, 53, 54,
908
+ 55, 56, 57, 58, 60, 61, 62, 63,
909
+ 64, 66, 67, 68, 69, 70, 71, 72,
910
+ 73, 74, 75, 76, 77, 78, 79, 80,
911
+ 81, 82, 81, 82, 83, 82, 6, 84,
912
+ 85, 92, 86, 87, 88, 89, 90, 91,
913
+ 2, 6, 6, 7, 16, 18, 3, 32,
914
+ 35, 93, 94, 95, 96, 97, 98, 99,
915
+ 100, 101, 102, 103, 104, 105, 106, 107,
916
+ 108, 110, 117, 111, 112, 113, 114, 115,
917
+ 116, 118, 119, 120, 121, 122, 123, 124,
918
+ 125, 126, 127, 128, 129, 131, 132, 295,
919
+ 133, 134, 135, 136, 137, 138, 139, 140,
920
+ 141, 142, 143, 144, 145, 146, 147, 148,
921
+ 149, 150, 151, 152, 153, 152, 153, 154,
922
+ 153, 6, 281, 155, 155, 156, 174, 180,
923
+ 160, 201, 209, 255, 258, 91, 157, 158,
924
+ 162, 159, 161, 163, 164, 165, 166, 167,
925
+ 168, 169, 170, 171, 172, 173, 175, 176,
926
+ 177, 178, 179, 181, 188, 182, 183, 184,
927
+ 185, 186, 187, 189, 190, 191, 192, 193,
928
+ 194, 195, 196, 197, 198, 199, 200, 202,
929
+ 203, 204, 205, 206, 207, 208, 210, 211,
930
+ 243, 212, 213, 214, 215, 216, 217, 218,
931
+ 219, 220, 221, 222, 223, 224, 225, 226,
932
+ 227, 228, 229, 230, 231, 232, 233, 234,
933
+ 235, 236, 237, 238, 239, 240, 241, 242,
934
+ 244, 245, 246, 247, 248, 249, 250, 251,
935
+ 252, 253, 254, 256, 257, 259, 264, 260,
936
+ 261, 262, 263, 265, 266, 267, 268, 269,
937
+ 270, 271, 272, 273, 274, 275, 276, 277,
938
+ 278, 279, 280, 282, 283, 284, 285, 286,
939
+ 287, 288, 289, 290, 291, 292, 293, 294,
940
+ 6, 296, 297, 298, 299, 300, 302, 303,
941
+ 448, 304, 305, 306, 307, 308, 309, 310,
942
+ 311, 312, 313, 314, 315, 316, 317, 318,
943
+ 319, 320, 321, 322, 323, 324, 325, 326,
944
+ 327, 328, 329, 330, 331, 332, 333, 334,
945
+ 335, 336, 337, 336, 337, 338, 337, 6,
946
+ 434, 339, 339, 340, 358, 364, 344, 385,
947
+ 393, 408, 411, 91, 341, 342, 346, 343,
948
+ 345, 347, 348, 349, 350, 351, 352, 353,
949
+ 354, 355, 356, 357, 359, 360, 361, 362,
950
+ 363, 365, 372, 366, 367, 368, 369, 370,
951
+ 371, 373, 374, 375, 376, 377, 378, 379,
952
+ 380, 381, 382, 383, 384, 386, 387, 388,
953
+ 389, 390, 391, 392, 394, 395, 396, 397,
954
+ 398, 399, 400, 401, 402, 403, 404, 405,
955
+ 406, 407, 409, 410, 412, 417, 413, 414,
956
+ 415, 416, 418, 419, 420, 421, 422, 423,
957
+ 424, 425, 426, 427, 428, 429, 430, 431,
958
+ 432, 433, 435, 436, 437, 438, 439, 440,
959
+ 441, 442, 443, 444, 445, 446, 447, 6,
960
+ 449, 450, 451, 452, 453, 454, 455, 456,
961
+ 457, 458, 459, 460, 461, 462, 463, 462,
962
+ 463, 464, 463, 6, 603, 465, 465, 466,
963
+ 484, 490, 470, 511, 538, 577, 580, 91,
964
+ 467, 468, 472, 469, 471, 473, 474, 475,
965
+ 476, 477, 478, 479, 480, 481, 482, 483,
966
+ 485, 486, 487, 488, 489, 491, 498, 492,
967
+ 493, 494, 495, 496, 497, 499, 500, 501,
968
+ 502, 503, 504, 505, 506, 507, 508, 509,
969
+ 510, 512, 513, 532, 514, 515, 516, 517,
970
+ 518, 519, 520, 521, 522, 523, 524, 525,
971
+ 526, 527, 528, 529, 530, 531, 533, 534,
972
+ 535, 536, 537, 539, 540, 565, 541, 542,
973
+ 543, 544, 545, 546, 547, 548, 549, 550,
974
+ 551, 552, 553, 554, 555, 556, 557, 558,
975
+ 559, 560, 561, 562, 563, 564, 566, 567,
976
+ 568, 569, 570, 571, 572, 573, 574, 575,
977
+ 576, 578, 579, 581, 586, 582, 583, 584,
978
+ 585, 587, 588, 589, 590, 591, 592, 593,
979
+ 594, 595, 596, 597, 598, 599, 600, 601,
980
+ 602, 604, 605, 606, 607, 608, 609, 610,
981
+ 611, 612, 613, 614, 615, 616, 6, 618,
982
+ 619, 621, 738, 622, 623, 624, 625, 626,
983
+ 627, 628, 629, 628, 629, 630, 629, 6,
984
+ 724, 631, 646, 662, 701, 632, 633, 634,
985
+ 635, 636, 637, 638, 639, 640, 641, 642,
986
+ 643, 644, 645, 91, 647, 648, 649, 650,
987
+ 651, 652, 653, 654, 655, 656, 657, 658,
988
+ 659, 660, 661, 663, 664, 689, 665, 666,
989
+ 667, 668, 669, 670, 671, 672, 673, 674,
990
+ 675, 676, 677, 678, 679, 680, 681, 682,
991
+ 683, 684, 685, 686, 687, 688, 690, 691,
992
+ 692, 693, 694, 695, 696, 697, 698, 699,
993
+ 700, 702, 707, 703, 704, 705, 706, 708,
994
+ 709, 710, 711, 712, 713, 714, 715, 716,
995
+ 717, 718, 719, 720, 721, 722, 723, 725,
996
+ 726, 727, 728, 729, 730, 731, 732, 733,
997
+ 734, 735, 736, 737, 6, 739, 740, 741,
998
+ 742, 743, 744, 745, 746, 747, 748, 749,
999
+ 750, 751, 752, 753, 754, 756, 0
1000
+ ];
1001
+
1002
+ const _lexer_trans_actions = [
1003
+ 39, 25, 0, 47, 3, 1, 0, 25,
1004
+ 1, 31, 0, 0, 0, 0, 0, 0,
1005
+ 0, 0, 0, 0, 0, 0, 50, 0,
1006
+ 99, 19, 0, 0, 47, 5, 41, 119,
1007
+ 41, 0, 29, 111, 29, 29, 0, 7,
1008
+ 95, 0, 0, 103, 21, 0, 0, 0,
1009
+ 0, 0, 0, 0, 0, 0, 0, 0,
1010
+ 0, 0, 0, 0, 23, 107, 23, 44,
1011
+ 0, 0, 0, 33, 33, 47, 33, 80,
1012
+ 0, 0, 35, 0, 89, 0, 86, 83,
1013
+ 37, 89, 83, 92, 0, 0, 0, 0,
1014
+ 0, 0, 0, 0, 0, 0, 0, 0,
1015
+ 0, 0, 0, 0, 0, 0, 0, 0,
1016
+ 0, 0, 0, 0, 0, 0, 0, 0,
1017
+ 0, 0, 0, 0, 0, 0, 0, 0,
1018
+ 50, 124, 0, 47, 77, 0, 74, 0,
1019
+ 0, 0, 0, 0, 0, 0, 0, 17,
1020
+ 56, 27, 115, 53, 50, 27, 56, 50,
1021
+ 59, 0, 0, 0, 0, 0, 0, 0,
1022
+ 0, 0, 0, 0, 0, 0, 0, 0,
1023
+ 0, 0, 0, 0, 0, 0, 0, 0,
1024
+ 0, 0, 0, 0, 0, 0, 0, 0,
1025
+ 0, 0, 0, 0, 0, 0, 0, 0,
1026
+ 0, 0, 0, 0, 0, 0, 0, 0,
1027
+ 0, 0, 0, 0, 0, 0, 0, 0,
1028
+ 0, 0, 0, 50, 124, 0, 47, 77,
1029
+ 0, 65, 29, 77, 0, 0, 0, 0,
1030
+ 0, 0, 0, 0, 0, 11, 0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+ 0, 0, 0, 0, 0, 0, 0, 0,
1100
+ 0, 0, 0, 0, 0, 0, 0, 0,
1101
+ 0, 0, 0, 0, 0, 0, 0, 0,
1102
+ 0, 0, 0, 0, 0, 0, 0, 0,
1103
+ 0, 0, 0, 0, 0, 0, 0, 0,
1104
+ 0, 0, 0, 0, 9, 0, 0, 0,
1105
+ 0, 0, 0, 0, 0, 0, 0, 0,
1106
+ 0, 0, 0, 0, 0, 0, 0
1107
+ ];
1108
+
1109
+ const _lexer_eof_actions = [
1110
+ 0, 39, 39, 39, 39, 39, 39, 39,
1111
+ 39, 39, 39, 39, 39, 39, 39, 39,
1112
+ 39, 39, 39, 39, 39, 39, 39, 39,
1113
+ 39, 39, 39, 39, 39, 39, 39, 39,
1114
+ 39, 39, 39, 39, 39, 39, 39, 39,
1115
+ 39, 39, 39, 39, 39, 39, 39, 39,
1116
+ 39, 39, 39, 39, 39, 39, 39, 39,
1117
+ 39, 39, 39, 39, 39, 39, 39, 39,
1118
+ 39, 39, 39, 39, 39, 39, 39, 39,
1119
+ 39, 39, 39, 39, 39, 39, 39, 39,
1120
+ 39, 39, 39, 39, 39, 39, 39, 39,
1121
+ 39, 39, 39, 39, 39, 39, 39, 39,
1122
+ 39, 39, 39, 39, 39, 39, 39, 39,
1123
+ 39, 39, 39, 39, 39, 39, 39, 39,
1124
+ 39, 39, 39, 39, 39, 39, 39, 39,
1125
+ 39, 39, 39, 39, 39, 39, 39, 39,
1126
+ 39, 39, 39, 39, 39, 39, 39, 39,
1127
+ 39, 39, 39, 39, 39, 39, 39, 39,
1128
+ 39, 39, 39, 39, 39, 39, 39, 39,
1129
+ 39, 39, 39, 39, 39, 39, 39, 39,
1130
+ 39, 39, 39, 39, 39, 39, 39, 39,
1131
+ 39, 39, 39, 39, 39, 39, 39, 39,
1132
+ 39, 39, 39, 39, 39, 39, 39, 39,
1133
+ 39, 39, 39, 39, 39, 39, 39, 39,
1134
+ 39, 39, 39, 39, 39, 39, 39, 39,
1135
+ 39, 39, 39, 39, 39, 39, 39, 39,
1136
+ 39, 39, 39, 39, 39, 39, 39, 39,
1137
+ 39, 39, 39, 39, 39, 39, 39, 39,
1138
+ 39, 39, 39, 39, 39, 39, 39, 39,
1139
+ 39, 39, 39, 39, 39, 39, 39, 39,
1140
+ 39, 39, 39, 39, 39, 39, 39, 39,
1141
+ 39, 39, 39, 39, 39, 39, 39, 39,
1142
+ 39, 39, 39, 39, 39, 39, 39, 39,
1143
+ 39, 39, 39, 39, 39, 39, 39, 39,
1144
+ 39, 39, 39, 39, 39, 39, 39, 39,
1145
+ 39, 39, 39, 39, 39, 39, 39, 39,
1146
+ 39, 39, 39, 39, 39, 39, 39, 39,
1147
+ 39, 39, 39, 39, 39, 39, 39, 39,
1148
+ 39, 39, 39, 39, 39, 39, 39, 39,
1149
+ 39, 39, 39, 39, 39, 39, 39, 39,
1150
+ 39, 39, 39, 39, 39, 39, 39, 39,
1151
+ 39, 39, 39, 39, 39, 39, 39, 39,
1152
+ 39, 39, 39, 39, 39, 39, 39, 39,
1153
+ 39, 39, 39, 39, 39, 39, 39, 39,
1154
+ 39, 39, 39, 39, 39, 39, 39, 39,
1155
+ 39, 39, 39, 39, 39, 39, 39, 39,
1156
+ 39, 39, 39, 39, 39, 39, 39, 39,
1157
+ 39, 39, 39, 39, 39, 39, 39, 39,
1158
+ 39, 39, 39, 39, 39, 39, 39, 39,
1159
+ 39, 39, 39, 39, 39, 39, 39, 39,
1160
+ 39, 39, 39, 39, 39, 39, 39, 39,
1161
+ 39, 39, 39, 39, 39, 39, 39, 39,
1162
+ 39, 39, 39, 39, 39, 39, 39, 39,
1163
+ 39, 39, 39, 39, 39, 39, 39, 39,
1164
+ 39, 39, 39, 39, 39, 39, 39, 39,
1165
+ 39, 39, 39, 39, 39, 39, 39, 39,
1166
+ 39, 39, 39, 39, 39, 39, 39, 39,
1167
+ 39, 39, 39, 39, 39, 39, 39, 39,
1168
+ 39, 39, 39, 39, 39, 39, 39, 39,
1169
+ 39, 39, 39, 39, 39, 39, 39, 39,
1170
+ 39, 39, 39, 39, 39, 39, 39, 39,
1171
+ 39, 39, 39, 39, 39, 39, 39, 39,
1172
+ 39, 39, 39, 39, 39, 39, 39, 39,
1173
+ 39, 39, 39, 39, 39, 39, 39, 39,
1174
+ 39, 39, 39, 39, 39, 39, 39, 39,
1175
+ 39, 39, 39, 39, 39, 39, 39, 39,
1176
+ 39, 39, 39, 39, 39, 39, 39, 39,
1177
+ 39, 39, 39, 39, 39, 39, 39, 39,
1178
+ 39, 39, 39, 39, 39, 39, 39, 39,
1179
+ 39, 39, 39, 39, 39, 39, 39, 39,
1180
+ 39, 39, 39, 39, 39, 39, 39, 39,
1181
+ 39, 39, 39, 39, 39, 39, 39, 39,
1182
+ 39, 39, 39, 39, 39, 39, 39, 39,
1183
+ 39, 39, 39, 39, 39, 39, 39, 39,
1184
+ 39, 39, 39, 39, 39, 39, 39, 39,
1185
+ 39, 39, 39, 39, 39, 39, 39, 39,
1186
+ 39, 39, 39, 39, 39, 39, 39, 39,
1187
+ 39, 39, 39, 39, 39, 39, 39, 39,
1188
+ 39, 39, 39, 39, 39, 39, 39, 39,
1189
+ 39, 39, 39, 39, 39, 39, 39, 39,
1190
+ 39, 39, 39, 39, 39, 39, 39, 39,
1191
+ 39, 39, 39, 39, 39, 39, 39, 39,
1192
+ 39, 39, 39, 39, 39, 39, 39, 39,
1193
+ 39, 39, 39, 39, 39, 39, 39, 39,
1194
+ 39, 39, 39, 39, 39, 39, 39, 39,
1195
+ 39, 39, 39, 39, 39, 39, 39, 39,
1196
+ 39, 39, 39, 39, 39, 39, 39, 39,
1197
+ 39, 39, 39, 39, 39, 39, 39, 39,
1198
+ 39, 39, 39, 39, 39, 39, 39, 39,
1199
+ 39, 39, 39, 39, 39, 39, 39, 39,
1200
+ 39, 39, 39, 39, 39, 39, 39, 39,
1201
+ 39, 39, 39, 39, 39, 39, 39, 39,
1202
+ 39, 39, 39, 39, 39, 39, 39, 39,
1203
+ 39, 39, 39, 39, 39, 39, 39, 39,
1204
+ 39, 39, 39, 39, 39, 39
1205
+ ];
1206
+
1207
+ const lexer_start = 1;
1208
+ const lexer_first_final = 757;
1209
+ const lexer_error = 0;
1210
+
1211
+ const lexer_en_main = 1;
1212
+
1213
+
1214
+ /* line 110 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1215
+
1216
+ /* line 111 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1217
+
1218
+ /* line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1219
+
1220
+ var Lexer = function(listeners) {
1221
+ // check that we have an 'on' method (for registering event listeners - Node has that)
1222
+ // If not, make a trivial implementation that can register one listener. -Enough for testing.
1223
+
1224
+ if(!this.on) {
1225
+ this._listeners = {};
1226
+
1227
+ this.on = function(event, cb) {
1228
+ this._listeners[event] = cb;
1229
+ };
1230
+
1231
+ this.emit = function() {
1232
+ var event = arguments[0];
1233
+ var args = [];
1234
+ for(var i = 1; i < arguments.length; i++) {
1235
+ args.push(arguments[i]);
1236
+ }
1237
+ var cb = this._listeners[event];
1238
+ cb.apply(listeners, args);
1239
+ };
1240
+ }
1241
+
1242
+ var events = ['feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'py_string', 'row', 'end'];
1243
+ for(e in events) {
1244
+ var event = events[e];
1245
+ var listener = listeners[event];
1246
+ // if(!listener) {
1247
+ // throw "No listener for " + event;
1248
+ // }
1249
+ this.on(event, listener);
1250
+ }
1251
+
1252
+
1253
+ /* line 1254 "js/lib/gherkin/lexer/i18n/ru.js" */
1254
+ {
1255
+ this.cs = lexer_start;
1256
+ } /* JSCodeGen::writeInit */
1257
+
1258
+ /* line 146 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1259
+ };
1260
+
1261
+ if(typeof require == 'function') {
1262
+ require('sys').inherits(Lexer, require('events').EventEmitter);
1263
+ }
1264
+
1265
+ Lexer.prototype.scan = function(data) {
1266
+ var p = 0;
1267
+ var pe = data.length;
1268
+ var eof = 0;
1269
+
1270
+
1271
+ /* line 1272 "js/lib/gherkin/lexer/i18n/ru.js" */
1272
+ {
1273
+ var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
1274
+ var _goto_level, _resume, _eof_trans, _again, _test_eof;
1275
+ var _out;
1276
+ _klen = _trans = _keys = _acts = _nacts = null;
1277
+ _goto_level = 0;
1278
+ _resume = 10;
1279
+ _eof_trans = 15;
1280
+ _again = 20;
1281
+ _test_eof = 30;
1282
+ _out = 40;
1283
+ while (true) {
1284
+ _trigger_goto = false;
1285
+ if (_goto_level <= 0) {
1286
+ if (p == pe) {
1287
+ _goto_level = _test_eof;
1288
+ continue;
1289
+ }
1290
+ if ( this.cs == 0) {
1291
+ _goto_level = _out;
1292
+ continue;
1293
+ }
1294
+ }
1295
+ if (_goto_level <= _resume) {
1296
+ _keys = _lexer_key_offsets[ this.cs];
1297
+ _trans = _lexer_index_offsets[ this.cs];
1298
+ _klen = _lexer_single_lengths[ this.cs];
1299
+ _break_match = false;
1300
+
1301
+ do {
1302
+ if (_klen > 0) {
1303
+ _lower = _keys;
1304
+ _upper = _keys + _klen - 1;
1305
+
1306
+ while (true) {
1307
+ if (_upper < _lower) { break; }
1308
+ _mid = _lower + ( (_upper - _lower) >> 1 );
1309
+
1310
+ if ( data[p] < _lexer_trans_keys[_mid]) {
1311
+ _upper = _mid - 1;
1312
+ } else if ( data[p] > _lexer_trans_keys[_mid]) {
1313
+ _lower = _mid + 1;
1314
+ } else {
1315
+ _trans += (_mid - _keys);
1316
+ _break_match = true;
1317
+ break;
1318
+ };
1319
+ } /* while */
1320
+ if (_break_match) { break; }
1321
+ _keys += _klen;
1322
+ _trans += _klen;
1323
+ }
1324
+ _klen = _lexer_range_lengths[ this.cs];
1325
+ if (_klen > 0) {
1326
+ _lower = _keys;
1327
+ _upper = _keys + (_klen << 1) - 2;
1328
+ while (true) {
1329
+ if (_upper < _lower) { break; }
1330
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1);
1331
+ if ( data[p] < _lexer_trans_keys[_mid]) {
1332
+ _upper = _mid - 2;
1333
+ } else if ( data[p] > _lexer_trans_keys[_mid+1]) {
1334
+ _lower = _mid + 2;
1335
+ } else {
1336
+ _trans += ((_mid - _keys) >> 1);
1337
+ _break_match = true;
1338
+ break;
1339
+ }
1340
+ } /* while */
1341
+ if (_break_match) { break; }
1342
+ _trans += _klen
1343
+ }
1344
+ } while (false);
1345
+ _trans = _lexer_indicies[_trans];
1346
+ this.cs = _lexer_trans_targs[_trans];
1347
+ if (_lexer_trans_actions[_trans] != 0) {
1348
+ _acts = _lexer_trans_actions[_trans];
1349
+ _nacts = _lexer_actions[_acts];
1350
+ _acts += 1;
1351
+ while (_nacts > 0) {
1352
+ _nacts -= 1;
1353
+ _acts += 1;
1354
+ switch (_lexer_actions[_acts - 1]) {
1355
+ case 0:
1356
+ /* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1357
+
1358
+ this.content_start = p;
1359
+ this.current_line = this.line_number;
1360
+ this.start_col = p - this.last_newline - (this.keyword+':').length;
1361
+ break;
1362
+ case 1:
1363
+ /* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1364
+
1365
+ this.current_line = this.line_number;
1366
+ this.start_col = p - this.last_newline;
1367
+ break;
1368
+ case 2:
1369
+ /* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1370
+
1371
+ this.content_start = p;
1372
+ break;
1373
+ case 3:
1374
+ /* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1375
+
1376
+ var con = this.unindent(
1377
+ this.start_col,
1378
+ this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*\Z/, '') // TODO .replace(/\"\"\"/mg, '"""')
1379
+ );
1380
+ this.emit('py_string', con, this.current_line);
1381
+ break;
1382
+ case 4:
1383
+ /* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1384
+
1385
+ p = this.store_keyword_content('feature', data, p, eof);
1386
+ break;
1387
+ case 5:
1388
+ /* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1389
+
1390
+ p = this.store_keyword_content('background', data, p, eof);
1391
+ break;
1392
+ case 6:
1393
+ /* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1394
+
1395
+ p = this.store_keyword_content('scenario', data, p, eof);
1396
+ break;
1397
+ case 7:
1398
+ /* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1399
+
1400
+ p = this.store_keyword_content('scenario_outline', data, p, eof);
1401
+ break;
1402
+ case 8:
1403
+ /* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1404
+
1405
+ p = this.store_keyword_content('examples', data, p, eof);
1406
+ break;
1407
+ case 9:
1408
+ /* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1409
+
1410
+ var con = this.bytesToString(data.slice(this.content_start, p)).trim();
1411
+ this.emit('step', this.keyword, con, this.current_line);
1412
+ break;
1413
+ case 10:
1414
+ /* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1415
+
1416
+ console.log('TODO: store_comment_content');
1417
+ break;
1418
+ case 11:
1419
+ /* line 58 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1420
+
1421
+ console.log('TODO: store_tag_content');
1422
+ break;
1423
+ case 12:
1424
+ /* line 62 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1425
+
1426
+ this.line_number++;
1427
+ break;
1428
+ case 13:
1429
+ /* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1430
+
1431
+ this.last_newline = p + 1;
1432
+ break;
1433
+ case 14:
1434
+ /* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1435
+
1436
+ this.keyword_start = this.keyword_start || p;
1437
+ break;
1438
+ case 15:
1439
+ /* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1440
+
1441
+ this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
1442
+ this.keyword_start = null;
1443
+ break;
1444
+ case 16:
1445
+ /* line 79 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1446
+
1447
+ this.next_keyword_start = p;
1448
+ break;
1449
+ case 17:
1450
+ /* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1451
+
1452
+ p = p - 1;
1453
+ current_row = [];
1454
+ this.current_line = this.line_number;
1455
+ break;
1456
+ case 18:
1457
+ /* line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1458
+
1459
+ this.content_start = p;
1460
+ break;
1461
+ case 19:
1462
+ /* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1463
+
1464
+ var con = this.bytesToString(data.slice(this.content_start, p)).trim();
1465
+ current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
1466
+ break;
1467
+ case 20:
1468
+ /* line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1469
+
1470
+ this.emit('row', current_row, this.current_line);
1471
+ break;
1472
+ case 21:
1473
+ /* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1474
+
1475
+ console.log('TODO: end_feature');
1476
+ break;
1477
+ /* line 1478 "js/lib/gherkin/lexer/i18n/ru.js" */
1478
+ } /* action switch */
1479
+ }
1480
+ }
1481
+ if (_trigger_goto) {
1482
+ continue;
1483
+ }
1484
+ }
1485
+ if (_goto_level <= _again) {
1486
+ if ( this.cs == 0) {
1487
+ _goto_level = _out;
1488
+ continue;
1489
+ }
1490
+ p += 1;
1491
+ if (p != pe) {
1492
+ _goto_level = _resume;
1493
+ continue;
1494
+ }
1495
+ }
1496
+ if (_goto_level <= _test_eof) {
1497
+ if (p == eof) {
1498
+ __acts = _lexer_eof_actions[ this.cs];
1499
+ __nacts = _lexer_actions[__acts];
1500
+ __acts += 1;
1501
+ while (__nacts > 0) {
1502
+ __nacts -= 1;
1503
+ __acts += 1;
1504
+ switch (_lexer_actions[__acts - 1]) {
1505
+ case 21:
1506
+ /* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1507
+
1508
+ console.log('TODO: end_feature');
1509
+ break;
1510
+ /* line 1511 "js/lib/gherkin/lexer/i18n/ru.js" */
1511
+ } /* eof action switch */
1512
+ }
1513
+ if (_trigger_goto) {
1514
+ continue;
1515
+ }
1516
+ }
1517
+ }
1518
+ if (_goto_level <= _out) {
1519
+ break;
1520
+ }
1521
+ }
1522
+ }
1523
+
1524
+ /* line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ru.js.rl" */
1525
+ };
1526
+
1527
+ Lexer.prototype.bytesToString = function(bytes) {
1528
+ if(typeof bytes.write == 'function') {
1529
+ // Node.js
1530
+ return bytes.toString('utf-8');
1531
+ } else {
1532
+ var result = "";
1533
+ for(var b in bytes) {
1534
+ result += String.fromCharCode(bytes[b]);
1535
+ }
1536
+ return result;
1537
+ }
1538
+ }
1539
+
1540
+ Lexer.prototype.unindent = function(startcol, text) {
1541
+ startcol = startcol || 0;
1542
+ return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
1543
+ };
1544
+
1545
+ Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
1546
+ var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
1547
+ var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).trimRight();
1548
+ var content_lines = content.split("\n")
1549
+ var name = content_lines.shift() || "";
1550
+ name = name.trim();
1551
+ var description = content_lines.join("\n");
1552
+ this.emit(event, this.keyword, name, description, this.current_line);
1553
+ var nks = this.next_keyword_start;
1554
+ this.next_keyword_start = null;
1555
+ return nks ? nks - 1 : p;
1556
+ };
1557
+
1558
+ exports.Lexer = Lexer;
1559
+
1560
+ })();