gherkin 2.12.0 → 2.12.1

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