gherkin 2.12.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -15
  3. data/CONTRIBUTING.md +23 -0
  4. data/Gemfile +0 -3
  5. data/LICENSE +18 -17
  6. data/Makefile +65 -0
  7. data/README.md +9 -268
  8. data/Rakefile +17 -19
  9. data/bin/gherkin-generate-ast +21 -0
  10. data/bin/gherkin-generate-pickles +25 -0
  11. data/bin/gherkin-generate-tokens +12 -0
  12. data/gherkin-ruby.razor +218 -0
  13. data/gherkin.gemspec +22 -76
  14. data/lib/gherkin/ast_builder.rb +243 -0
  15. data/lib/gherkin/ast_node.rb +30 -0
  16. data/lib/gherkin/dialect.rb +58 -0
  17. data/lib/gherkin/errors.rb +45 -0
  18. data/lib/gherkin/gherkin-languages.json +2968 -0
  19. data/lib/gherkin/gherkin_line.rb +95 -0
  20. data/lib/gherkin/parser.rb +1910 -0
  21. data/lib/gherkin/pickles/compiler.rb +164 -0
  22. data/lib/gherkin/token.rb +18 -0
  23. data/lib/gherkin/token_formatter_builder.rb +39 -0
  24. data/lib/gherkin/token_matcher.rb +169 -0
  25. data/lib/gherkin/token_scanner.rb +40 -0
  26. data/spec/capture_warnings.rb +68 -0
  27. data/spec/coverage.rb +10 -0
  28. data/spec/gherkin/parser_spec.rb +146 -0
  29. metadata +60 -567
  30. data/.gitattributes +0 -2
  31. data/.mailmap +0 -2
  32. data/.rbenv-gemsets +0 -1
  33. data/.rspec +0 -1
  34. data/.ruby-gemset +0 -1
  35. data/.ruby-version +0 -1
  36. data/.yardopts +0 -5
  37. data/History.md +0 -881
  38. data/build_native_gems.sh +0 -7
  39. data/cucumber.yml +0 -5
  40. data/examples/parse_and_output_json.rb +0 -19
  41. data/ext/gherkin_lexer_ar/extconf.rb +0 -6
  42. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +0 -1432
  43. data/ext/gherkin_lexer_bg/extconf.rb +0 -6
  44. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +0 -1655
  45. data/ext/gherkin_lexer_bm/extconf.rb +0 -6
  46. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +0 -1516
  47. data/ext/gherkin_lexer_ca/extconf.rb +0 -6
  48. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +0 -1581
  49. data/ext/gherkin_lexer_cs/extconf.rb +0 -6
  50. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +0 -1515
  51. data/ext/gherkin_lexer_cy_gb/extconf.rb +0 -6
  52. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +0 -1282
  53. data/ext/gherkin_lexer_da/extconf.rb +0 -6
  54. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +0 -1298
  55. data/ext/gherkin_lexer_de/extconf.rb +0 -6
  56. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +0 -1425
  57. data/ext/gherkin_lexer_el/extconf.rb +0 -6
  58. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +0 -1919
  59. data/ext/gherkin_lexer_en/extconf.rb +0 -6
  60. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +0 -1418
  61. data/ext/gherkin_lexer_en_au/extconf.rb +0 -6
  62. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +0 -1765
  63. data/ext/gherkin_lexer_en_lol/extconf.rb +0 -6
  64. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +0 -1177
  65. data/ext/gherkin_lexer_en_old/extconf.rb +0 -6
  66. data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +0 -1309
  67. data/ext/gherkin_lexer_en_pirate/extconf.rb +0 -6
  68. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +0 -1471
  69. data/ext/gherkin_lexer_en_scouse/extconf.rb +0 -6
  70. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +0 -1634
  71. data/ext/gherkin_lexer_en_tx/extconf.rb +0 -6
  72. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +0 -1265
  73. data/ext/gherkin_lexer_eo/extconf.rb +0 -6
  74. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +0 -1241
  75. data/ext/gherkin_lexer_es/extconf.rb +0 -6
  76. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +0 -1399
  77. data/ext/gherkin_lexer_et/extconf.rb +0 -6
  78. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +0 -1236
  79. data/ext/gherkin_lexer_fa/extconf.rb +0 -6
  80. data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +0 -1475
  81. data/ext/gherkin_lexer_fi/extconf.rb +0 -6
  82. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +0 -1215
  83. data/ext/gherkin_lexer_fr/extconf.rb +0 -6
  84. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +0 -1493
  85. data/ext/gherkin_lexer_gl/extconf.rb +0 -6
  86. data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +0 -1374
  87. data/ext/gherkin_lexer_he/extconf.rb +0 -6
  88. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +0 -1374
  89. data/ext/gherkin_lexer_hi/extconf.rb +0 -6
  90. data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +0 -1848
  91. data/ext/gherkin_lexer_hr/extconf.rb +0 -6
  92. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +0 -1323
  93. data/ext/gherkin_lexer_hu/extconf.rb +0 -6
  94. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +0 -1376
  95. data/ext/gherkin_lexer_id/extconf.rb +0 -6
  96. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +0 -1208
  97. data/ext/gherkin_lexer_is/extconf.rb +0 -6
  98. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +0 -1376
  99. data/ext/gherkin_lexer_it/extconf.rb +0 -6
  100. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +0 -1340
  101. data/ext/gherkin_lexer_ja/extconf.rb +0 -6
  102. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +0 -1699
  103. data/ext/gherkin_lexer_kn/extconf.rb +0 -6
  104. data/ext/gherkin_lexer_kn/gherkin_lexer_kn.c +0 -1965
  105. data/ext/gherkin_lexer_ko/extconf.rb +0 -6
  106. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +0 -1360
  107. data/ext/gherkin_lexer_lt/extconf.rb +0 -6
  108. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +0 -1296
  109. data/ext/gherkin_lexer_lu/extconf.rb +0 -6
  110. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +0 -1389
  111. data/ext/gherkin_lexer_lv/extconf.rb +0 -6
  112. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +0 -1425
  113. data/ext/gherkin_lexer_nl/extconf.rb +0 -6
  114. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +0 -1368
  115. data/ext/gherkin_lexer_no/extconf.rb +0 -6
  116. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +0 -1311
  117. data/ext/gherkin_lexer_pa/extconf.rb +0 -6
  118. data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +0 -2160
  119. data/ext/gherkin_lexer_pl/extconf.rb +0 -6
  120. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +0 -1738
  121. data/ext/gherkin_lexer_pt/extconf.rb +0 -6
  122. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +0 -1711
  123. data/ext/gherkin_lexer_ro/extconf.rb +0 -6
  124. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +0 -1427
  125. data/ext/gherkin_lexer_ru/extconf.rb +0 -6
  126. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +0 -2071
  127. data/ext/gherkin_lexer_sk/extconf.rb +0 -6
  128. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +0 -1739
  129. data/ext/gherkin_lexer_sr_cyrl/extconf.rb +0 -6
  130. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +0 -2112
  131. data/ext/gherkin_lexer_sr_latn/extconf.rb +0 -6
  132. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +0 -1567
  133. data/ext/gherkin_lexer_sv/extconf.rb +0 -6
  134. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +0 -1324
  135. data/ext/gherkin_lexer_th/extconf.rb +0 -6
  136. data/ext/gherkin_lexer_th/gherkin_lexer_th.c +0 -2840
  137. data/ext/gherkin_lexer_tl/extconf.rb +0 -6
  138. data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +0 -2021
  139. data/ext/gherkin_lexer_tr/extconf.rb +0 -6
  140. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +0 -1347
  141. data/ext/gherkin_lexer_tt/extconf.rb +0 -6
  142. data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +0 -1936
  143. data/ext/gherkin_lexer_uk/extconf.rb +0 -6
  144. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +0 -1941
  145. data/ext/gherkin_lexer_uz/extconf.rb +0 -6
  146. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +0 -1651
  147. data/ext/gherkin_lexer_vi/extconf.rb +0 -6
  148. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +0 -1458
  149. data/ext/gherkin_lexer_zh_cn/extconf.rb +0 -6
  150. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +0 -1314
  151. data/ext/gherkin_lexer_zh_tw/extconf.rb +0 -6
  152. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +0 -1307
  153. data/features/.cucumber/stepdefs.json +0 -244
  154. data/features/escaped_pipes.feature +0 -8
  155. data/features/feature_parser.feature +0 -237
  156. data/features/json_formatter.feature +0 -498
  157. data/features/json_parser.feature +0 -331
  158. data/features/native_lexer.feature +0 -19
  159. data/features/parser_with_native_lexer.feature +0 -205
  160. data/features/pretty_formatter.feature +0 -17
  161. data/features/step_definitions/eyeball_steps.rb +0 -3
  162. data/features/step_definitions/gherkin_steps.rb +0 -29
  163. data/features/step_definitions/json_formatter_steps.rb +0 -30
  164. data/features/step_definitions/json_parser_steps.rb +0 -21
  165. data/features/step_definitions/pretty_formatter_steps.rb +0 -85
  166. data/features/steps_parser.feature +0 -46
  167. data/features/support/env.rb +0 -41
  168. data/install_mingw_os_x.sh +0 -5
  169. data/js/.npmignore +0 -1
  170. data/js/lib/gherkin/lexer/.npmignore +0 -0
  171. data/lib/gherkin.rb +0 -2
  172. data/lib/gherkin/README.md +0 -7
  173. data/lib/gherkin/c_lexer.rb +0 -17
  174. data/lib/gherkin/formatter/ansi_escapes.rb +0 -97
  175. data/lib/gherkin/formatter/argument.rb +0 -16
  176. data/lib/gherkin/formatter/escaping.rb +0 -15
  177. data/lib/gherkin/formatter/filter_formatter.rb +0 -150
  178. data/lib/gherkin/formatter/hashable.rb +0 -25
  179. data/lib/gherkin/formatter/json_formatter.rb +0 -133
  180. data/lib/gherkin/formatter/line_filter.rb +0 -26
  181. data/lib/gherkin/formatter/model.rb +0 -281
  182. data/lib/gherkin/formatter/pretty_formatter.rb +0 -245
  183. data/lib/gherkin/formatter/regexp_filter.rb +0 -21
  184. data/lib/gherkin/formatter/step_printer.rb +0 -21
  185. data/lib/gherkin/formatter/tag_count_formatter.rb +0 -47
  186. data/lib/gherkin/formatter/tag_filter.rb +0 -19
  187. data/lib/gherkin/i18n.json +0 -786
  188. data/lib/gherkin/i18n.rb +0 -176
  189. data/lib/gherkin/json_parser.rb +0 -177
  190. data/lib/gherkin/lexer/ar.rb +0 -1170
  191. data/lib/gherkin/lexer/bg.rb +0 -1382
  192. data/lib/gherkin/lexer/bm.rb +0 -1250
  193. data/lib/gherkin/lexer/ca.rb +0 -1310
  194. data/lib/gherkin/lexer/cs.rb +0 -1246
  195. data/lib/gherkin/lexer/cy_gb.rb +0 -1032
  196. data/lib/gherkin/lexer/da.rb +0 -1048
  197. data/lib/gherkin/lexer/de.rb +0 -1166
  198. data/lib/gherkin/lexer/el.rb +0 -1628
  199. data/lib/gherkin/lexer/en.rb +0 -1156
  200. data/lib/gherkin/lexer/en_au.rb +0 -1486
  201. data/lib/gherkin/lexer/en_lol.rb +0 -934
  202. data/lib/gherkin/lexer/en_old.rb +0 -1037
  203. data/lib/gherkin/lexer/en_pirate.rb +0 -1210
  204. data/lib/gherkin/lexer/en_scouse.rb +0 -1362
  205. data/lib/gherkin/lexer/en_tx.rb +0 -1016
  206. data/lib/gherkin/lexer/encoding.rb +0 -41
  207. data/lib/gherkin/lexer/eo.rb +0 -995
  208. data/lib/gherkin/lexer/es.rb +0 -1140
  209. data/lib/gherkin/lexer/et.rb +0 -990
  210. data/lib/gherkin/lexer/fa.rb +0 -1214
  211. data/lib/gherkin/lexer/fi.rb +0 -969
  212. data/lib/gherkin/lexer/fr.rb +0 -1228
  213. data/lib/gherkin/lexer/gl.rb +0 -1117
  214. data/lib/gherkin/lexer/he.rb +0 -1118
  215. data/lib/gherkin/lexer/hi.rb +0 -1559
  216. data/lib/gherkin/lexer/hr.rb +0 -1066
  217. data/lib/gherkin/lexer/hu.rb +0 -1118
  218. data/lib/gherkin/lexer/i18n_lexer.rb +0 -48
  219. data/lib/gherkin/lexer/id.rb +0 -963
  220. data/lib/gherkin/lexer/is.rb +0 -1120
  221. data/lib/gherkin/lexer/it.rb +0 -1086
  222. data/lib/gherkin/lexer/ja.rb +0 -1418
  223. data/lib/gherkin/lexer/kn.rb +0 -1672
  224. data/lib/gherkin/lexer/ko.rb +0 -1102
  225. data/lib/gherkin/lexer/lt.rb +0 -1045
  226. data/lib/gherkin/lexer/lu.rb +0 -1132
  227. data/lib/gherkin/lexer/lv.rb +0 -1166
  228. data/lib/gherkin/lexer/nl.rb +0 -1115
  229. data/lib/gherkin/lexer/no.rb +0 -1060
  230. data/lib/gherkin/lexer/pa.rb +0 -1852
  231. data/lib/gherkin/lexer/pl.rb +0 -1457
  232. data/lib/gherkin/lexer/pt.rb +0 -1430
  233. data/lib/gherkin/lexer/ro.rb +0 -1164
  234. data/lib/gherkin/lexer/ru.rb +0 -1766
  235. data/lib/gherkin/lexer/sk.rb +0 -1452
  236. data/lib/gherkin/lexer/sr_cyrl.rb +0 -1803
  237. data/lib/gherkin/lexer/sr_latn.rb +0 -1294
  238. data/lib/gherkin/lexer/sv.rb +0 -1070
  239. data/lib/gherkin/lexer/th.rb +0 -2492
  240. data/lib/gherkin/lexer/tl.rb +0 -1726
  241. data/lib/gherkin/lexer/tr.rb +0 -1092
  242. data/lib/gherkin/lexer/tt.rb +0 -1643
  243. data/lib/gherkin/lexer/uk.rb +0 -1646
  244. data/lib/gherkin/lexer/uz.rb +0 -1376
  245. data/lib/gherkin/lexer/vi.rb +0 -1198
  246. data/lib/gherkin/lexer/zh_cn.rb +0 -1058
  247. data/lib/gherkin/lexer/zh_tw.rb +0 -1052
  248. data/lib/gherkin/listener/event.rb +0 -45
  249. data/lib/gherkin/listener/formatter_listener.rb +0 -150
  250. data/lib/gherkin/native.rb +0 -7
  251. data/lib/gherkin/native/java.rb +0 -72
  252. data/lib/gherkin/native/null.rb +0 -5
  253. data/lib/gherkin/native/therubyracer.rb +0 -41
  254. data/lib/gherkin/parser/meta.txt +0 -5
  255. data/lib/gherkin/parser/parser.rb +0 -166
  256. data/lib/gherkin/parser/root.txt +0 -11
  257. data/lib/gherkin/parser/steps.txt +0 -4
  258. data/lib/gherkin/platform.rb +0 -13
  259. data/lib/gherkin/rubify.rb +0 -31
  260. data/lib/gherkin/tag_expression.rb +0 -63
  261. data/ragel/lexer.c.rl.erb +0 -454
  262. data/ragel/lexer.java.rl.erb +0 -219
  263. data/ragel/lexer.js.rl.erb +0 -322
  264. data/ragel/lexer.rb.rl.erb +0 -179
  265. data/ragel/lexer_common.rl.erb +0 -50
  266. data/spec/gherkin/c_lexer_spec.rb +0 -22
  267. data/spec/gherkin/fixtures/1.feature +0 -8
  268. data/spec/gherkin/fixtures/comments_in_table.feature +0 -9
  269. data/spec/gherkin/fixtures/complex.feature +0 -45
  270. data/spec/gherkin/fixtures/complex.json +0 -139
  271. data/spec/gherkin/fixtures/complex_for_filtering.feature +0 -60
  272. data/spec/gherkin/fixtures/complex_with_tags.feature +0 -61
  273. data/spec/gherkin/fixtures/dos_line_endings.feature +0 -45
  274. data/spec/gherkin/fixtures/examples_with_only_header.feature +0 -14
  275. data/spec/gherkin/fixtures/hantu_pisang.feature +0 -35
  276. data/spec/gherkin/fixtures/i18n_fr.feature +0 -14
  277. data/spec/gherkin/fixtures/i18n_fr2.feature +0 -8
  278. data/spec/gherkin/fixtures/i18n_no.feature +0 -7
  279. data/spec/gherkin/fixtures/i18n_pt1.feature +0 -44
  280. data/spec/gherkin/fixtures/i18n_pt2.feature +0 -4
  281. data/spec/gherkin/fixtures/i18n_pt3.feature +0 -4
  282. data/spec/gherkin/fixtures/i18n_pt4.feature +0 -4
  283. data/spec/gherkin/fixtures/i18n_zh-CN.feature +0 -9
  284. data/spec/gherkin/fixtures/iso-8859-1.feature +0 -6
  285. data/spec/gherkin/fixtures/issue_145.feature +0 -22
  286. data/spec/gherkin/fixtures/scenario_outline_with_tags.feature +0 -13
  287. data/spec/gherkin/fixtures/scenario_without_steps.feature +0 -5
  288. data/spec/gherkin/fixtures/simple_with_comments.feature +0 -7
  289. data/spec/gherkin/fixtures/simple_with_tags.feature +0 -11
  290. data/spec/gherkin/fixtures/with_bom.feature +0 -3
  291. data/spec/gherkin/fixtures/with_bom_and_language_spec.feature +0 -4
  292. data/spec/gherkin/formatter/ansi_escapes_spec.rb +0 -32
  293. data/spec/gherkin/formatter/filter_formatter_spec.rb +0 -204
  294. data/spec/gherkin/formatter/json_formatter_spec.rb +0 -179
  295. data/spec/gherkin/formatter/model_spec.rb +0 -28
  296. data/spec/gherkin/formatter/pretty_formatter_spec.rb +0 -184
  297. data/spec/gherkin/formatter/spaces.feature +0 -9
  298. data/spec/gherkin/formatter/step_printer_spec.rb +0 -55
  299. data/spec/gherkin/formatter/tabs.feature +0 -9
  300. data/spec/gherkin/formatter/tag_count_formatter_spec.rb +0 -30
  301. data/spec/gherkin/i18n_spec.rb +0 -256
  302. data/spec/gherkin/java_lexer_spec.rb +0 -20
  303. data/spec/gherkin/json_parser_spec.rb +0 -165
  304. data/spec/gherkin/lexer/i18n_lexer_spec.rb +0 -65
  305. data/spec/gherkin/native_lexer_spec.rb +0 -29
  306. data/spec/gherkin/parser/parser_spec.rb +0 -16
  307. data/spec/gherkin/rubify_spec.rb +0 -23
  308. data/spec/gherkin/sexp_recorder.rb +0 -59
  309. data/spec/gherkin/shared/doc_string_group.rb +0 -161
  310. data/spec/gherkin/shared/encoding_group.rb +0 -48
  311. data/spec/gherkin/shared/lexer_group.rb +0 -589
  312. data/spec/gherkin/shared/row_group.rb +0 -123
  313. data/spec/gherkin/shared/tags_group.rb +0 -52
  314. data/spec/gherkin/tag_expression_spec.rb +0 -146
  315. data/spec/spec_helper.rb +0 -94
  316. data/tasks/apidoc.rake +0 -32
  317. data/tasks/bench.rake +0 -184
  318. data/tasks/bench/feature_builder.rb +0 -49
  319. data/tasks/bench/null_listener.rb +0 -4
  320. data/tasks/compile.rake +0 -83
  321. data/tasks/cucumber.rake +0 -23
  322. data/tasks/gems.rake +0 -46
  323. data/tasks/ikvm.rake +0 -126
  324. data/tasks/ragel_task.rb +0 -124
  325. data/tasks/release.rake +0 -34
  326. data/tasks/rspec.rake +0 -6
  327. data/tasks/yard/default/layout/html/bubble_32x32.png +0 -0
  328. data/tasks/yard/default/layout/html/bubble_48x48.png +0 -0
  329. data/tasks/yard/default/layout/html/footer.erb +0 -5
  330. data/tasks/yard/default/layout/html/index.erb +0 -1
  331. data/tasks/yard/default/layout/html/layout.erb +0 -25
  332. data/tasks/yard/default/layout/html/logo.erb +0 -1
  333. data/tasks/yard/default/layout/html/setup.rb +0 -4
@@ -1,6 +0,0 @@
1
- require 'mkmf'
2
- CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
3
- $CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
4
- dir_config("gherkin_lexer_ru")
5
- have_library("c", "main")
6
- create_makefile("gherkin_lexer_ru")
@@ -1,2071 +0,0 @@
1
-
2
- #line 1 "ragel/i18n/ru.c.rl"
3
- #include <assert.h>
4
- #include <ruby.h>
5
-
6
- #if defined(_WIN32)
7
- #include <stddef.h>
8
- #endif
9
-
10
- #ifdef HAVE_RUBY_RE_H
11
- #include <ruby/re.h>
12
- #else
13
- #include <re.h>
14
- #endif
15
-
16
- #ifdef HAVE_RUBY_ENCODING_H
17
- #include <ruby/encoding.h>
18
- #define ENCODED_STR_NEW(ptr, len) \
19
- rb_enc_str_new(ptr, len, rb_utf8_encoding())
20
- #else
21
- #define ENCODED_STR_NEW(ptr, len) \
22
- rb_str_new(ptr, len)
23
- #endif
24
-
25
- #ifndef RSTRING_PTR
26
- #define RSTRING_PTR(s) (RSTRING(s)->ptr)
27
- #endif
28
-
29
- #ifndef RSTRING_LEN
30
- #define RSTRING_LEN(s) (RSTRING(s)->len)
31
- #endif
32
-
33
- #define DATA_GET(FROM, TYPE, NAME) \
34
- Data_Get_Struct(FROM, TYPE, NAME); \
35
- if (NAME == NULL) { \
36
- rb_raise(rb_eArgError, "NULL found for " # NAME " when it shouldn't be."); \
37
- }
38
-
39
- typedef struct lexer_state {
40
- int content_len;
41
- int line_number;
42
- int current_line;
43
- int start_col;
44
- size_t mark;
45
- size_t keyword_start;
46
- size_t keyword_end;
47
- size_t next_keyword_start;
48
- size_t content_start;
49
- size_t content_end;
50
- size_t docstring_content_type_start;
51
- size_t docstring_content_type_end;
52
- size_t query_start;
53
- size_t last_newline;
54
- size_t final_newline;
55
- } lexer_state;
56
-
57
- static VALUE mGherkin;
58
- static VALUE mGherkinLexer;
59
- static VALUE mCLexer;
60
- static VALUE cI18nLexer;
61
- static VALUE rb_eGherkinLexingError;
62
-
63
- #define LEN(AT, P) (P - data - lexer->AT)
64
- #define MARK(M, P) (lexer->M = (P) - data)
65
- #define PTR_TO(P) (data + lexer->P)
66
-
67
- #define STORE_KW_END_CON(EVENT) \
68
- store_multiline_kw_con(listener, # EVENT, \
69
- PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end - 1)), \
70
- PTR_TO(content_start), LEN(content_start, PTR_TO(content_end)), \
71
- lexer->current_line, lexer->start_col); \
72
- if (lexer->content_end != 0) { \
73
- p = PTR_TO(content_end - 1); \
74
- } \
75
- lexer->content_end = 0
76
-
77
- #define STORE_ATTR(ATTR) \
78
- store_attr(listener, # ATTR, \
79
- PTR_TO(content_start), LEN(content_start, p), \
80
- lexer->line_number)
81
-
82
-
83
- #line 254 "ragel/i18n/ru.c.rl"
84
-
85
-
86
- /** Data **/
87
-
88
- #line 89 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
89
- static const char _lexer_actions[] = {
90
- 0, 1, 0, 1, 1, 1, 2, 1,
91
- 3, 1, 4, 1, 5, 1, 6, 1,
92
- 7, 1, 8, 1, 9, 1, 10, 1,
93
- 11, 1, 12, 1, 13, 1, 16, 1,
94
- 17, 1, 18, 1, 19, 1, 20, 1,
95
- 21, 1, 22, 1, 23, 2, 1, 18,
96
- 2, 4, 5, 2, 13, 0, 2, 14,
97
- 15, 2, 17, 0, 2, 17, 2, 2,
98
- 17, 16, 2, 17, 19, 2, 18, 6,
99
- 2, 18, 7, 2, 18, 8, 2, 18,
100
- 9, 2, 18, 10, 2, 18, 16, 2,
101
- 20, 21, 2, 22, 0, 2, 22, 2,
102
- 2, 22, 16, 2, 22, 19, 3, 3,
103
- 14, 15, 3, 5, 14, 15, 3, 11,
104
- 14, 15, 3, 12, 14, 15, 3, 13,
105
- 14, 15, 3, 14, 15, 18, 3, 17,
106
- 0, 11, 3, 17, 14, 15, 4, 1,
107
- 14, 15, 18, 4, 4, 5, 14, 15,
108
- 4, 17, 0, 14, 15, 5, 17, 0,
109
- 11, 14, 15
110
- };
111
-
112
- static const short _lexer_key_offsets[] = {
113
- 0, 0, 12, 22, 23, 25, 27, 38,
114
- 39, 40, 42, 44, 49, 54, 59, 64,
115
- 68, 72, 74, 75, 76, 77, 78, 79,
116
- 80, 81, 82, 83, 84, 85, 86, 87,
117
- 88, 89, 94, 101, 106, 110, 116, 119,
118
- 121, 127, 138, 139, 141, 142, 143, 144,
119
- 145, 146, 147, 148, 149, 150, 151, 152,
120
- 153, 154, 155, 156, 157, 158, 159, 160,
121
- 161, 162, 163, 165, 166, 167, 169, 170,
122
- 171, 172, 173, 174, 175, 176, 177, 178,
123
- 179, 180, 181, 182, 183, 184, 185, 186,
124
- 195, 206, 208, 219, 221, 224, 226, 228,
125
- 230, 232, 234, 236, 238, 240, 242, 244,
126
- 246, 248, 250, 252, 254, 256, 258, 260,
127
- 262, 264, 266, 268, 271, 273, 275, 277,
128
- 279, 281, 283, 285, 287, 289, 291, 293,
129
- 295, 297, 299, 301, 303, 305, 307, 309,
130
- 311, 313, 315, 317, 319, 321, 323, 325,
131
- 327, 330, 332, 334, 336, 338, 340, 342,
132
- 344, 346, 348, 350, 352, 354, 356, 358,
133
- 361, 363, 365, 367, 369, 371, 373, 375,
134
- 377, 379, 381, 383, 385, 387, 389, 391,
135
- 393, 395, 397, 399, 401, 403, 405, 407,
136
- 409, 411, 413, 415, 417, 419, 421, 423,
137
- 425, 427, 429, 431, 433, 435, 437, 439,
138
- 441, 443, 445, 447, 449, 452, 454, 456,
139
- 459, 461, 463, 465, 467, 469, 471, 473,
140
- 475, 477, 479, 482, 484, 486, 488, 490,
141
- 492, 494, 496, 498, 500, 502, 504, 506,
142
- 508, 510, 512, 514, 516, 518, 520, 522,
143
- 524, 525, 526, 527, 528, 529, 530, 531,
144
- 532, 533, 534, 535, 536, 537, 538, 540,
145
- 541, 543, 544, 545, 546, 547, 548, 549,
146
- 550, 551, 552, 553, 554, 555, 556, 557,
147
- 558, 559, 560, 561, 562, 563, 564, 565,
148
- 566, 567, 568, 569, 570, 577, 580, 582,
149
- 584, 586, 588, 590, 592, 594, 596, 598,
150
- 600, 602, 604, 606, 608, 610, 612, 614,
151
- 616, 618, 620, 622, 624, 626, 628, 630,
152
- 633, 635, 637, 639, 641, 643, 645, 647,
153
- 649, 650, 651, 652, 653, 654, 655, 657,
154
- 658, 659, 660, 661, 662, 663, 664, 665,
155
- 666, 667, 668, 669, 670, 671, 672, 673,
156
- 681, 686, 688, 690, 692, 694, 696, 698,
157
- 700, 702, 704, 706, 708, 710, 712, 714,
158
- 716, 718, 720, 722, 725, 727, 729, 731,
159
- 733, 735, 737, 739, 741, 743, 745, 747,
160
- 749, 751, 753, 755, 757, 759, 761, 763,
161
- 765, 767, 769, 771, 773, 776, 778, 780,
162
- 782, 784, 786, 788, 790, 792, 794, 796,
163
- 798, 800, 802, 805, 807, 809, 811, 813,
164
- 815, 817, 819, 821, 823, 825, 827, 829,
165
- 831, 833, 835, 837, 839, 841, 843, 845,
166
- 847, 849, 851, 853, 855, 857, 859, 861,
167
- 863, 865, 867, 869, 871, 873, 875, 877,
168
- 879, 881, 883, 885, 887, 889, 891, 893,
169
- 895, 897, 899, 902, 904, 906, 908, 910,
170
- 912, 914, 916, 918, 920, 922, 924, 926,
171
- 928, 930, 932, 934, 936, 938, 940, 942,
172
- 944, 946, 947, 948, 949, 950, 951, 952,
173
- 953, 954, 955, 956, 957, 958, 959, 960,
174
- 961, 962, 963, 964, 965, 966, 967, 968,
175
- 969, 970, 971, 972, 973, 974, 975, 976,
176
- 977, 978, 979, 980, 989, 1000, 1002, 1004,
177
- 1007, 1009, 1011, 1013, 1015, 1017, 1019, 1021,
178
- 1023, 1025, 1027, 1029, 1031, 1033, 1035, 1037,
179
- 1039, 1041, 1043, 1045, 1047, 1049, 1051, 1054,
180
- 1056, 1058, 1060, 1062, 1064, 1066, 1068, 1070,
181
- 1072, 1074, 1076, 1078, 1080, 1082, 1084, 1086,
182
- 1088, 1090, 1092, 1094, 1096, 1098, 1100, 1102,
183
- 1104, 1106, 1108, 1110, 1113, 1115, 1117, 1119,
184
- 1121, 1123, 1125, 1127, 1129, 1131, 1133, 1135,
185
- 1137, 1139, 1141, 1143, 1145, 1147, 1149, 1151,
186
- 1153, 1155, 1157, 1159, 1161, 1163, 1165, 1167,
187
- 1169, 1172, 1174, 1176, 1179, 1181, 1183, 1185,
188
- 1187, 1189, 1191, 1193, 1195, 1197, 1199, 1202,
189
- 1204, 1206, 1208, 1210, 1212, 1214, 1216, 1218,
190
- 1220, 1222, 1224, 1226, 1228, 1230, 1232, 1234,
191
- 1236, 1238, 1240, 1242, 1244, 1246, 1247, 1248,
192
- 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256,
193
- 1257, 1258, 1259, 1260, 1261, 1270, 1281, 1283,
194
- 1285, 1288, 1290, 1292, 1294, 1296, 1298, 1300,
195
- 1302, 1304, 1306, 1308, 1310, 1312, 1314, 1316,
196
- 1318, 1320, 1322, 1324, 1326, 1328, 1330, 1332,
197
- 1335, 1337, 1339, 1342, 1344, 1346, 1348, 1350,
198
- 1352, 1354, 1356, 1358, 1360, 1362, 1364, 1366,
199
- 1368, 1370, 1372, 1374, 1376, 1378, 1380, 1382,
200
- 1384, 1386, 1388, 1390, 1392, 1394, 1396, 1398,
201
- 1400, 1403, 1405, 1407, 1409, 1411, 1413, 1415,
202
- 1417, 1419, 1421, 1423, 1425, 1427, 1429, 1431,
203
- 1433, 1435, 1437, 1439, 1441, 1443, 1445, 1447,
204
- 1449, 1451, 1454, 1456, 1458, 1460, 1462, 1464,
205
- 1466, 1468, 1470, 1472, 1474, 1476, 1478, 1480,
206
- 1483, 1485, 1487, 1489, 1491, 1493, 1495, 1497,
207
- 1499, 1501, 1503, 1505, 1507, 1509, 1511, 1513,
208
- 1515, 1517, 1519, 1521, 1523, 1525, 1527, 1529,
209
- 1531, 1533, 1535, 1537, 1539, 1541, 1543, 1545,
210
- 1547, 1549, 1551, 1553, 1555, 1557, 1559, 1562,
211
- 1564, 1566, 1569, 1571, 1573, 1575, 1577, 1579,
212
- 1581, 1583, 1585, 1587, 1589, 1591, 1594, 1596,
213
- 1598, 1600, 1602, 1604, 1606, 1608, 1610, 1612,
214
- 1614, 1616, 1618, 1620, 1622, 1624, 1626, 1628,
215
- 1630, 1632, 1634, 1636, 1637, 1639, 1640, 1641,
216
- 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650,
217
- 1651, 1652, 1653, 1654, 1656, 1657, 1658, 1659,
218
- 1660, 1661, 1662, 1663, 1664, 1665, 1666
219
- };
220
-
221
- static const char _lexer_trans_keys[] = {
222
- -48, -17, 10, 32, 34, 35, 37, 42,
223
- 64, 124, 9, 13, -112, -108, -107, -104,
224
- -102, -99, -97, -95, -94, -92, 32, 10,
225
- 13, 10, 13, -48, 10, 32, 34, 35,
226
- 37, 42, 64, 124, 9, 13, 34, 34,
227
- 10, 13, 10, 13, 10, 32, 34, 9,
228
- 13, 10, 32, 34, 9, 13, 10, 32,
229
- 34, 9, 13, 10, 32, 34, 9, 13,
230
- 10, 32, 9, 13, 10, 32, 9, 13,
231
- 10, 13, 10, 95, 70, 69, 65, 84,
232
- 85, 82, 69, 95, 69, 78, 68, 95,
233
- 37, 13, 32, 64, 9, 10, 9, 10,
234
- 13, 32, 64, 11, 12, 10, 32, 64,
235
- 9, 13, 32, 124, 9, 13, 10, 32,
236
- 92, 124, 9, 13, 10, 92, 124, 10,
237
- 92, 10, 32, 92, 124, 9, 13, -48,
238
- 10, 32, 34, 35, 37, 42, 64, 124,
239
- 9, 13, -48, -80, -66, -48, -67, -48,
240
- -66, -48, -65, -47, -125, -47, -127, -47,
241
- -126, -48, -72, -48, -68, -47, -127, -48,
242
- -69, -48, -72, -48, 32, -66, -48, -77,
243
- -67, -48, -76, -48, -80, -47, -126, -48,
244
- -75, -48, -70, -47, -127, -47, -126, 58,
245
- 10, 10, -48, 10, 32, 35, 37, 42,
246
- 64, 9, 13, -112, -108, -107, -104, -102,
247
- -99, -97, -95, -94, -92, 10, 10, 32,
248
- -48, 10, 32, 34, 35, 37, 42, 64,
249
- 124, 9, 13, -48, 10, -80, -66, 10,
250
- -48, 10, -67, 10, -48, 10, -66, 10,
251
- -48, 10, -65, 10, -47, 10, -125, 10,
252
- -47, 10, -127, 10, -47, 10, -126, 10,
253
- -48, 10, -72, 10, -48, 10, -68, 10,
254
- -47, 10, -127, 10, -48, 10, -69, 10,
255
- -48, 10, -72, 10, -48, 10, 32, -66,
256
- 10, -48, 10, -77, 10, -48, 10, -76,
257
- 10, -48, 10, -80, 10, -47, 10, -126,
258
- 10, -48, 10, -66, 10, -48, 10, -68,
259
- 10, -47, 10, -125, 10, 10, 32, -48,
260
- 10, -74, 10, -48, 10, -75, 10, -47,
261
- 10, -125, 10, -47, 10, -127, 10, -47,
262
- 10, -126, 10, -47, 10, -116, 10, -48,
263
- -47, 10, -78, 10, -48, 10, -66, 10,
264
- -48, 10, -71, 10, -47, 10, -127, 10,
265
- -47, 10, -126, 10, -48, 10, -78, 10,
266
- -48, 10, -66, 10, 10, 58, -126, -122,
267
- 10, -47, 10, -128, 10, -47, 10, -125,
268
- 10, -48, 10, -70, 10, -47, 10, -126,
269
- 10, -47, 10, -125, 10, -47, 10, -128,
270
- 10, -48, 10, -80, 10, 10, 32, -47,
271
- 10, -127, 10, -47, 10, -122, 10, -48,
272
- 10, -75, 10, -48, 10, -67, 10, -48,
273
- 10, -80, 10, -47, 10, -128, 10, -48,
274
- 10, -72, 10, -47, 10, -113, 10, -48,
275
- 10, -75, 10, -48, 10, -67, 10, -48,
276
- 10, -80, 10, -47, 10, -128, 10, -48,
277
- 10, -72, 10, -48, 10, -71, 10, -48,
278
- 10, -80, -66, 10, -48, 10, -70, 10,
279
- -48, 10, 32, -47, 10, -125, 10, -48,
280
- 10, -67, 10, -48, 10, -70, 10, -47,
281
- 10, -122, 10, -48, 10, -72, 10, -48,
282
- -47, 10, -66, 10, -48, 10, -67, 10,
283
- -48, 10, -80, 10, -48, 10, -69, 10,
284
- 10, 95, 10, 70, 10, 69, 10, 65,
285
- 10, 84, 10, 85, 10, 82, 10, 69,
286
- 10, 95, 10, 69, 10, 78, 10, 68,
287
- 10, 95, 10, 37, -47, -126, -48, -66,
288
- -48, -68, -47, -125, 32, -48, -74, -48,
289
- -75, -47, -128, -125, -48, -75, -72, -48,
290
- -76, -47, -117, -47, -127, -47, -126, -48,
291
- -66, -47, -128, -48, -72, -47, -113, -48,
292
- -68, -48, -75, -47, -128, -47, -117, 58,
293
- 10, 10, -48, 10, 32, 35, 124, 9,
294
- 13, -95, -92, 10, -48, 10, -78, 10,
295
- -48, 10, -66, 10, -48, 10, -71, 10,
296
- -47, 10, -127, 10, -47, 10, -126, 10,
297
- -48, 10, -78, 10, -48, 10, -66, 10,
298
- 10, 58, -47, 10, -125, 10, -48, 10,
299
- -67, 10, -48, 10, -70, 10, -47, 10,
300
- -122, 10, -48, 10, -72, 10, -48, -47,
301
- 10, -66, 10, -48, 10, -67, 10, -48,
302
- 10, -80, 10, -48, 10, -69, 10, -113,
303
- 10, -47, -127, -47, -126, -47, -116, -48,
304
- -47, -78, -48, -66, -48, -71, -47, -127,
305
- -47, -126, -48, -78, -48, -66, 58, 10,
306
- 10, -48, 10, 32, 35, 37, 64, 9,
307
- 13, -102, -97, -95, -92, 10, -48, 10,
308
- -66, 10, -48, 10, -67, 10, -47, 10,
309
- -126, 10, -48, 10, -75, 10, -48, 10,
310
- -70, 10, -47, 10, -127, 10, -47, 10,
311
- -126, 10, 10, 58, -47, 10, -128, 10,
312
- -48, 10, -75, -72, 10, -48, 10, -76,
313
- 10, -47, 10, -117, 10, -47, 10, -127,
314
- 10, -47, 10, -126, 10, -48, 10, -66,
315
- 10, -47, 10, -128, 10, -48, 10, -72,
316
- 10, -47, 10, -113, 10, -48, 10, -68,
317
- 10, -48, 10, -75, 10, -47, 10, -128,
318
- 10, -47, 10, -117, 10, -48, -47, 10,
319
- -78, 10, -48, 10, -66, 10, -48, 10,
320
- -71, 10, -47, 10, -127, 10, -47, 10,
321
- -126, 10, -48, 10, -78, 10, -48, 10,
322
- -66, 10, -126, -122, 10, -47, 10, -128,
323
- 10, -47, 10, -125, 10, -48, 10, -70,
324
- 10, -47, 10, -126, 10, -47, 10, -125,
325
- 10, -47, 10, -128, 10, -48, 10, -80,
326
- 10, 10, 32, -47, 10, -127, 10, -47,
327
- 10, -122, 10, -48, 10, -75, 10, -48,
328
- 10, -67, 10, -48, 10, -80, 10, -48,
329
- 10, -75, 10, -48, 10, -67, 10, -48,
330
- 10, -80, 10, -47, 10, -128, 10, -48,
331
- 10, -72, 10, -48, 10, -71, 10, -47,
332
- 10, -125, 10, -48, 10, -67, 10, -48,
333
- 10, -70, 10, -47, 10, -122, 10, -48,
334
- 10, -72, 10, -48, -47, 10, -66, 10,
335
- -48, 10, -67, 10, -48, 10, -80, 10,
336
- -48, 10, -69, 10, 10, 95, 10, 70,
337
- 10, 69, 10, 65, 10, 84, 10, 85,
338
- 10, 82, 10, 69, 10, 95, 10, 69,
339
- 10, 78, 10, 68, 10, 95, 10, 37,
340
- -126, -122, -47, -128, -47, -125, -48, -70,
341
- -47, -126, -47, -125, -47, -128, -48, -80,
342
- 32, -47, -127, -47, -122, -48, -75, -48,
343
- -67, -48, -80, -47, -128, -48, -72, -47,
344
- -113, 58, 10, 10, -48, 10, 32, 35,
345
- 37, 42, 64, 9, 13, -112, -108, -107,
346
- -104, -102, -99, -97, -95, -94, -92, 10,
347
- 10, 32, -48, 10, -80, -66, 10, -48,
348
- 10, -67, 10, -48, 10, -66, 10, -48,
349
- 10, -65, 10, -47, 10, -125, 10, -47,
350
- 10, -127, 10, -47, 10, -126, 10, -48,
351
- 10, -72, 10, -48, 10, -68, 10, -47,
352
- 10, -127, 10, -48, 10, -69, 10, -48,
353
- 10, -72, 10, -48, 10, 32, -66, 10,
354
- -48, 10, -77, 10, -48, 10, -76, 10,
355
- -48, 10, -80, 10, -47, 10, -126, 10,
356
- -48, 10, -66, 10, -48, 10, -68, 10,
357
- -47, 10, -125, 10, 10, 32, -48, 10,
358
- -74, 10, -48, 10, -75, 10, -47, 10,
359
- -125, 10, -47, 10, -127, 10, -47, 10,
360
- -126, 10, -47, 10, -116, 10, -48, -47,
361
- 10, -78, 10, -48, 10, -66, 10, -48,
362
- 10, -71, 10, -47, 10, -127, 10, -47,
363
- 10, -126, 10, -48, 10, -78, 10, -48,
364
- 10, -66, 10, 10, 58, -122, 10, -48,
365
- 10, -75, 10, -48, 10, -67, 10, -48,
366
- 10, -80, 10, -47, 10, -128, 10, -48,
367
- 10, -72, 10, -48, 10, -71, 10, -48,
368
- 10, -80, -66, 10, -48, 10, -70, 10,
369
- -48, 10, 32, -47, 10, -125, 10, -48,
370
- 10, -67, 10, -48, 10, -70, 10, -47,
371
- 10, -122, 10, -48, 10, -72, 10, -48,
372
- -47, 10, -66, 10, -48, 10, -67, 10,
373
- -48, 10, -80, 10, -48, 10, -69, 10,
374
- -113, 10, 10, 95, 10, 70, 10, 69,
375
- 10, 65, 10, 84, 10, 85, 10, 82,
376
- 10, 69, 10, 95, 10, 69, 10, 78,
377
- 10, 68, 10, 95, 10, 37, -48, -75,
378
- -48, -67, -48, -80, -47, -128, -48, -72,
379
- -48, -71, 58, 10, 10, -48, 10, 32,
380
- 35, 37, 42, 64, 9, 13, -112, -108,
381
- -107, -104, -102, -99, -97, -95, -94, -92,
382
- 10, 10, 32, -48, 10, -80, -66, 10,
383
- -48, 10, -67, 10, -48, 10, -66, 10,
384
- -48, 10, -65, 10, -47, 10, -125, 10,
385
- -47, 10, -127, 10, -47, 10, -126, 10,
386
- -48, 10, -72, 10, -48, 10, -68, 10,
387
- -47, 10, -127, 10, -48, 10, -69, 10,
388
- -48, 10, -72, 10, -48, 10, 32, -66,
389
- 10, -48, 10, -77, -67, 10, -48, 10,
390
- -76, 10, -48, 10, -80, 10, -47, 10,
391
- -126, 10, -48, 10, -75, 10, -48, 10,
392
- -70, 10, -47, 10, -127, 10, -47, 10,
393
- -126, 10, 10, 58, -47, 10, -126, 10,
394
- -48, 10, -66, 10, -48, 10, -68, 10,
395
- -47, 10, -125, 10, 10, 32, -48, 10,
396
- -74, 10, -48, 10, -75, 10, -47, 10,
397
- -128, -125, 10, -48, 10, -75, 10, -48,
398
- 10, -76, 10, -47, 10, -117, 10, -47,
399
- 10, -127, 10, -47, 10, -126, 10, -48,
400
- 10, -66, 10, -47, 10, -128, 10, -48,
401
- 10, -72, 10, -47, 10, -113, 10, -47,
402
- 10, -127, 10, -47, 10, -126, 10, -47,
403
- 10, -116, 10, -48, -47, 10, -78, 10,
404
- -48, 10, -66, 10, -48, 10, -71, 10,
405
- -47, 10, -127, 10, -47, 10, -126, 10,
406
- -48, 10, -78, 10, -48, 10, -66, 10,
407
- -126, -122, 10, -47, 10, -128, 10, -47,
408
- 10, -125, 10, -48, 10, -70, 10, -47,
409
- 10, -126, 10, -47, 10, -125, 10, -47,
410
- 10, -128, 10, -48, 10, -80, 10, 10,
411
- 32, -47, 10, -127, 10, -47, 10, -122,
412
- 10, -48, 10, -75, 10, -48, 10, -67,
413
- 10, -48, 10, -80, 10, -48, 10, -75,
414
- 10, -48, 10, -67, 10, -48, 10, -80,
415
- 10, -47, 10, -128, 10, -48, 10, -72,
416
- 10, -48, 10, -71, 10, -48, 10, -80,
417
- -66, 10, -48, 10, -70, 10, -48, 10,
418
- 32, -77, 10, -47, 10, -125, 10, -48,
419
- 10, -67, 10, -48, 10, -70, 10, -47,
420
- 10, -122, 10, -48, 10, -72, 10, -48,
421
- -47, 10, -66, 10, -48, 10, -67, 10,
422
- -48, 10, -80, 10, -48, 10, -69, 10,
423
- 10, 95, 10, 70, 10, 69, 10, 65,
424
- 10, 84, 10, 85, 10, 82, 10, 69,
425
- 10, 95, 10, 69, 10, 78, 10, 68,
426
- 10, 95, 10, 37, -48, -80, -66, -48,
427
- -70, -48, 32, -77, -47, -125, -48, -67,
428
- -48, -70, -47, -122, -48, -72, -48, -47,
429
- -66, -48, -67, -48, -80, -48, -69, -113,
430
- -69, -65, 0
431
- };
432
-
433
- static const char _lexer_single_lengths[] = {
434
- 0, 10, 10, 1, 2, 2, 9, 1,
435
- 1, 2, 2, 3, 3, 3, 3, 2,
436
- 2, 2, 1, 1, 1, 1, 1, 1,
437
- 1, 1, 1, 1, 1, 1, 1, 1,
438
- 1, 3, 5, 3, 2, 4, 3, 2,
439
- 4, 9, 1, 2, 1, 1, 1, 1,
440
- 1, 1, 1, 1, 1, 1, 1, 1,
441
- 1, 1, 1, 1, 1, 1, 1, 1,
442
- 1, 1, 2, 1, 1, 2, 1, 1,
443
- 1, 1, 1, 1, 1, 1, 1, 1,
444
- 1, 1, 1, 1, 1, 1, 1, 7,
445
- 11, 2, 9, 2, 3, 2, 2, 2,
446
- 2, 2, 2, 2, 2, 2, 2, 2,
447
- 2, 2, 2, 2, 2, 2, 2, 2,
448
- 2, 2, 2, 3, 2, 2, 2, 2,
449
- 2, 2, 2, 2, 2, 2, 2, 2,
450
- 2, 2, 2, 2, 2, 2, 2, 2,
451
- 2, 2, 2, 2, 2, 2, 2, 2,
452
- 3, 2, 2, 2, 2, 2, 2, 2,
453
- 2, 2, 2, 2, 2, 2, 2, 3,
454
- 2, 2, 2, 2, 2, 2, 2, 2,
455
- 2, 2, 2, 2, 2, 2, 2, 2,
456
- 2, 2, 2, 2, 2, 2, 2, 2,
457
- 2, 2, 2, 2, 2, 2, 2, 2,
458
- 2, 2, 2, 2, 2, 2, 2, 2,
459
- 2, 2, 2, 2, 3, 2, 2, 3,
460
- 2, 2, 2, 2, 2, 2, 2, 2,
461
- 2, 2, 3, 2, 2, 2, 2, 2,
462
- 2, 2, 2, 2, 2, 2, 2, 2,
463
- 2, 2, 2, 2, 2, 2, 2, 2,
464
- 1, 1, 1, 1, 1, 1, 1, 1,
465
- 1, 1, 1, 1, 1, 1, 2, 1,
466
- 2, 1, 1, 1, 1, 1, 1, 1,
467
- 1, 1, 1, 1, 1, 1, 1, 1,
468
- 1, 1, 1, 1, 1, 1, 1, 1,
469
- 1, 1, 1, 1, 5, 3, 2, 2,
470
- 2, 2, 2, 2, 2, 2, 2, 2,
471
- 2, 2, 2, 2, 2, 2, 2, 2,
472
- 2, 2, 2, 2, 2, 2, 2, 3,
473
- 2, 2, 2, 2, 2, 2, 2, 2,
474
- 1, 1, 1, 1, 1, 1, 2, 1,
475
- 1, 1, 1, 1, 1, 1, 1, 1,
476
- 1, 1, 1, 1, 1, 1, 1, 6,
477
- 5, 2, 2, 2, 2, 2, 2, 2,
478
- 2, 2, 2, 2, 2, 2, 2, 2,
479
- 2, 2, 2, 3, 2, 2, 2, 2,
480
- 2, 2, 2, 2, 2, 2, 2, 2,
481
- 2, 2, 2, 2, 2, 2, 2, 2,
482
- 2, 2, 2, 2, 3, 2, 2, 2,
483
- 2, 2, 2, 2, 2, 2, 2, 2,
484
- 2, 2, 3, 2, 2, 2, 2, 2,
485
- 2, 2, 2, 2, 2, 2, 2, 2,
486
- 2, 2, 2, 2, 2, 2, 2, 2,
487
- 2, 2, 2, 2, 2, 2, 2, 2,
488
- 2, 2, 2, 2, 2, 2, 2, 2,
489
- 2, 2, 2, 2, 2, 2, 2, 2,
490
- 2, 2, 3, 2, 2, 2, 2, 2,
491
- 2, 2, 2, 2, 2, 2, 2, 2,
492
- 2, 2, 2, 2, 2, 2, 2, 2,
493
- 2, 1, 1, 1, 1, 1, 1, 1,
494
- 1, 1, 1, 1, 1, 1, 1, 1,
495
- 1, 1, 1, 1, 1, 1, 1, 1,
496
- 1, 1, 1, 1, 1, 1, 1, 1,
497
- 1, 1, 1, 7, 11, 2, 2, 3,
498
- 2, 2, 2, 2, 2, 2, 2, 2,
499
- 2, 2, 2, 2, 2, 2, 2, 2,
500
- 2, 2, 2, 2, 2, 2, 3, 2,
501
- 2, 2, 2, 2, 2, 2, 2, 2,
502
- 2, 2, 2, 2, 2, 2, 2, 2,
503
- 2, 2, 2, 2, 2, 2, 2, 2,
504
- 2, 2, 2, 3, 2, 2, 2, 2,
505
- 2, 2, 2, 2, 2, 2, 2, 2,
506
- 2, 2, 2, 2, 2, 2, 2, 2,
507
- 2, 2, 2, 2, 2, 2, 2, 2,
508
- 3, 2, 2, 3, 2, 2, 2, 2,
509
- 2, 2, 2, 2, 2, 2, 3, 2,
510
- 2, 2, 2, 2, 2, 2, 2, 2,
511
- 2, 2, 2, 2, 2, 2, 2, 2,
512
- 2, 2, 2, 2, 2, 1, 1, 1,
513
- 1, 1, 1, 1, 1, 1, 1, 1,
514
- 1, 1, 1, 1, 7, 11, 2, 2,
515
- 3, 2, 2, 2, 2, 2, 2, 2,
516
- 2, 2, 2, 2, 2, 2, 2, 2,
517
- 2, 2, 2, 2, 2, 2, 2, 3,
518
- 2, 2, 3, 2, 2, 2, 2, 2,
519
- 2, 2, 2, 2, 2, 2, 2, 2,
520
- 2, 2, 2, 2, 2, 2, 2, 2,
521
- 2, 2, 2, 2, 2, 2, 2, 2,
522
- 3, 2, 2, 2, 2, 2, 2, 2,
523
- 2, 2, 2, 2, 2, 2, 2, 2,
524
- 2, 2, 2, 2, 2, 2, 2, 2,
525
- 2, 3, 2, 2, 2, 2, 2, 2,
526
- 2, 2, 2, 2, 2, 2, 2, 3,
527
- 2, 2, 2, 2, 2, 2, 2, 2,
528
- 2, 2, 2, 2, 2, 2, 2, 2,
529
- 2, 2, 2, 2, 2, 2, 2, 2,
530
- 2, 2, 2, 2, 2, 2, 2, 2,
531
- 2, 2, 2, 2, 2, 2, 3, 2,
532
- 2, 3, 2, 2, 2, 2, 2, 2,
533
- 2, 2, 2, 2, 2, 3, 2, 2,
534
- 2, 2, 2, 2, 2, 2, 2, 2,
535
- 2, 2, 2, 2, 2, 2, 2, 2,
536
- 2, 2, 2, 1, 2, 1, 1, 2,
537
- 1, 1, 1, 1, 1, 1, 1, 1,
538
- 1, 1, 1, 2, 1, 1, 1, 1,
539
- 1, 1, 1, 1, 1, 1, 0
540
- };
541
-
542
- static const char _lexer_range_lengths[] = {
543
- 0, 1, 0, 0, 0, 0, 1, 0,
544
- 0, 0, 0, 1, 1, 1, 1, 1,
545
- 1, 0, 0, 0, 0, 0, 0, 0,
546
- 0, 0, 0, 0, 0, 0, 0, 0,
547
- 0, 1, 1, 1, 1, 1, 0, 0,
548
- 1, 1, 0, 0, 0, 0, 0, 0,
549
- 0, 0, 0, 0, 0, 0, 0, 0,
550
- 0, 0, 0, 0, 0, 0, 0, 0,
551
- 0, 0, 0, 0, 0, 0, 0, 0,
552
- 0, 0, 0, 0, 0, 0, 0, 0,
553
- 0, 0, 0, 0, 0, 0, 0, 1,
554
- 0, 0, 1, 0, 0, 0, 0, 0,
555
- 0, 0, 0, 0, 0, 0, 0, 0,
556
- 0, 0, 0, 0, 0, 0, 0, 0,
557
- 0, 0, 0, 0, 0, 0, 0, 0,
558
- 0, 0, 0, 0, 0, 0, 0, 0,
559
- 0, 0, 0, 0, 0, 0, 0, 0,
560
- 0, 0, 0, 0, 0, 0, 0, 0,
561
- 0, 0, 0, 0, 0, 0, 0, 0,
562
- 0, 0, 0, 0, 0, 0, 0, 0,
563
- 0, 0, 0, 0, 0, 0, 0, 0,
564
- 0, 0, 0, 0, 0, 0, 0, 0,
565
- 0, 0, 0, 0, 0, 0, 0, 0,
566
- 0, 0, 0, 0, 0, 0, 0, 0,
567
- 0, 0, 0, 0, 0, 0, 0, 0,
568
- 0, 0, 0, 0, 0, 0, 0, 0,
569
- 0, 0, 0, 0, 0, 0, 0, 0,
570
- 0, 0, 0, 0, 0, 0, 0, 0,
571
- 0, 0, 0, 0, 0, 0, 0, 0,
572
- 0, 0, 0, 0, 0, 0, 0, 0,
573
- 0, 0, 0, 0, 0, 0, 0, 0,
574
- 0, 0, 0, 0, 0, 0, 0, 0,
575
- 0, 0, 0, 0, 0, 0, 0, 0,
576
- 0, 0, 0, 0, 0, 0, 0, 0,
577
- 0, 0, 0, 0, 0, 0, 0, 0,
578
- 0, 0, 0, 0, 1, 0, 0, 0,
579
- 0, 0, 0, 0, 0, 0, 0, 0,
580
- 0, 0, 0, 0, 0, 0, 0, 0,
581
- 0, 0, 0, 0, 0, 0, 0, 0,
582
- 0, 0, 0, 0, 0, 0, 0, 0,
583
- 0, 0, 0, 0, 0, 0, 0, 0,
584
- 0, 0, 0, 0, 0, 0, 0, 0,
585
- 0, 0, 0, 0, 0, 0, 0, 1,
586
- 0, 0, 0, 0, 0, 0, 0, 0,
587
- 0, 0, 0, 0, 0, 0, 0, 0,
588
- 0, 0, 0, 0, 0, 0, 0, 0,
589
- 0, 0, 0, 0, 0, 0, 0, 0,
590
- 0, 0, 0, 0, 0, 0, 0, 0,
591
- 0, 0, 0, 0, 0, 0, 0, 0,
592
- 0, 0, 0, 0, 0, 0, 0, 0,
593
- 0, 0, 0, 0, 0, 0, 0, 0,
594
- 0, 0, 0, 0, 0, 0, 0, 0,
595
- 0, 0, 0, 0, 0, 0, 0, 0,
596
- 0, 0, 0, 0, 0, 0, 0, 0,
597
- 0, 0, 0, 0, 0, 0, 0, 0,
598
- 0, 0, 0, 0, 0, 0, 0, 0,
599
- 0, 0, 0, 0, 0, 0, 0, 0,
600
- 0, 0, 0, 0, 0, 0, 0, 0,
601
- 0, 0, 0, 0, 0, 0, 0, 0,
602
- 0, 0, 0, 0, 0, 0, 0, 0,
603
- 0, 0, 0, 0, 0, 0, 0, 0,
604
- 0, 0, 0, 0, 0, 0, 0, 0,
605
- 0, 0, 0, 0, 0, 0, 0, 0,
606
- 0, 0, 0, 1, 0, 0, 0, 0,
607
- 0, 0, 0, 0, 0, 0, 0, 0,
608
- 0, 0, 0, 0, 0, 0, 0, 0,
609
- 0, 0, 0, 0, 0, 0, 0, 0,
610
- 0, 0, 0, 0, 0, 0, 0, 0,
611
- 0, 0, 0, 0, 0, 0, 0, 0,
612
- 0, 0, 0, 0, 0, 0, 0, 0,
613
- 0, 0, 0, 0, 0, 0, 0, 0,
614
- 0, 0, 0, 0, 0, 0, 0, 0,
615
- 0, 0, 0, 0, 0, 0, 0, 0,
616
- 0, 0, 0, 0, 0, 0, 0, 0,
617
- 0, 0, 0, 0, 0, 0, 0, 0,
618
- 0, 0, 0, 0, 0, 0, 0, 0,
619
- 0, 0, 0, 0, 0, 0, 0, 0,
620
- 0, 0, 0, 0, 0, 0, 0, 0,
621
- 0, 0, 0, 0, 0, 0, 0, 0,
622
- 0, 0, 0, 0, 0, 0, 0, 0,
623
- 0, 0, 0, 0, 1, 0, 0, 0,
624
- 0, 0, 0, 0, 0, 0, 0, 0,
625
- 0, 0, 0, 0, 0, 0, 0, 0,
626
- 0, 0, 0, 0, 0, 0, 0, 0,
627
- 0, 0, 0, 0, 0, 0, 0, 0,
628
- 0, 0, 0, 0, 0, 0, 0, 0,
629
- 0, 0, 0, 0, 0, 0, 0, 0,
630
- 0, 0, 0, 0, 0, 0, 0, 0,
631
- 0, 0, 0, 0, 0, 0, 0, 0,
632
- 0, 0, 0, 0, 0, 0, 0, 0,
633
- 0, 0, 0, 0, 0, 0, 0, 0,
634
- 0, 0, 0, 0, 0, 0, 0, 0,
635
- 0, 0, 0, 0, 0, 0, 0, 0,
636
- 0, 0, 0, 0, 0, 0, 0, 0,
637
- 0, 0, 0, 0, 0, 0, 0, 0,
638
- 0, 0, 0, 0, 0, 0, 0, 0,
639
- 0, 0, 0, 0, 0, 0, 0, 0,
640
- 0, 0, 0, 0, 0, 0, 0, 0,
641
- 0, 0, 0, 0, 0, 0, 0, 0,
642
- 0, 0, 0, 0, 0, 0, 0, 0,
643
- 0, 0, 0, 0, 0, 0, 0, 0,
644
- 0, 0, 0, 0, 0, 0, 0, 0,
645
- 0, 0, 0, 0, 0, 0, 0, 0,
646
- 0, 0, 0, 0, 0, 0, 0, 0,
647
- 0, 0, 0, 0, 0, 0, 0, 0,
648
- 0, 0, 0, 0, 0, 0, 0
649
- };
650
-
651
- static const short _lexer_index_offsets[] = {
652
- 0, 0, 12, 23, 25, 28, 31, 42,
653
- 44, 46, 49, 52, 57, 62, 67, 72,
654
- 76, 80, 83, 85, 87, 89, 91, 93,
655
- 95, 97, 99, 101, 103, 105, 107, 109,
656
- 111, 113, 118, 125, 130, 134, 140, 144,
657
- 147, 153, 164, 166, 169, 171, 173, 175,
658
- 177, 179, 181, 183, 185, 187, 189, 191,
659
- 193, 195, 197, 199, 201, 203, 205, 207,
660
- 209, 211, 213, 216, 218, 220, 223, 225,
661
- 227, 229, 231, 233, 235, 237, 239, 241,
662
- 243, 245, 247, 249, 251, 253, 255, 257,
663
- 266, 278, 281, 292, 295, 299, 302, 305,
664
- 308, 311, 314, 317, 320, 323, 326, 329,
665
- 332, 335, 338, 341, 344, 347, 350, 353,
666
- 356, 359, 362, 365, 369, 372, 375, 378,
667
- 381, 384, 387, 390, 393, 396, 399, 402,
668
- 405, 408, 411, 414, 417, 420, 423, 426,
669
- 429, 432, 435, 438, 441, 444, 447, 450,
670
- 453, 457, 460, 463, 466, 469, 472, 475,
671
- 478, 481, 484, 487, 490, 493, 496, 499,
672
- 503, 506, 509, 512, 515, 518, 521, 524,
673
- 527, 530, 533, 536, 539, 542, 545, 548,
674
- 551, 554, 557, 560, 563, 566, 569, 572,
675
- 575, 578, 581, 584, 587, 590, 593, 596,
676
- 599, 602, 605, 608, 611, 614, 617, 620,
677
- 623, 626, 629, 632, 635, 639, 642, 645,
678
- 649, 652, 655, 658, 661, 664, 667, 670,
679
- 673, 676, 679, 683, 686, 689, 692, 695,
680
- 698, 701, 704, 707, 710, 713, 716, 719,
681
- 722, 725, 728, 731, 734, 737, 740, 743,
682
- 746, 748, 750, 752, 754, 756, 758, 760,
683
- 762, 764, 766, 768, 770, 772, 774, 777,
684
- 779, 782, 784, 786, 788, 790, 792, 794,
685
- 796, 798, 800, 802, 804, 806, 808, 810,
686
- 812, 814, 816, 818, 820, 822, 824, 826,
687
- 828, 830, 832, 834, 836, 843, 847, 850,
688
- 853, 856, 859, 862, 865, 868, 871, 874,
689
- 877, 880, 883, 886, 889, 892, 895, 898,
690
- 901, 904, 907, 910, 913, 916, 919, 922,
691
- 926, 929, 932, 935, 938, 941, 944, 947,
692
- 950, 952, 954, 956, 958, 960, 962, 965,
693
- 967, 969, 971, 973, 975, 977, 979, 981,
694
- 983, 985, 987, 989, 991, 993, 995, 997,
695
- 1005, 1011, 1014, 1017, 1020, 1023, 1026, 1029,
696
- 1032, 1035, 1038, 1041, 1044, 1047, 1050, 1053,
697
- 1056, 1059, 1062, 1065, 1069, 1072, 1075, 1078,
698
- 1081, 1084, 1087, 1090, 1093, 1096, 1099, 1102,
699
- 1105, 1108, 1111, 1114, 1117, 1120, 1123, 1126,
700
- 1129, 1132, 1135, 1138, 1141, 1145, 1148, 1151,
701
- 1154, 1157, 1160, 1163, 1166, 1169, 1172, 1175,
702
- 1178, 1181, 1184, 1188, 1191, 1194, 1197, 1200,
703
- 1203, 1206, 1209, 1212, 1215, 1218, 1221, 1224,
704
- 1227, 1230, 1233, 1236, 1239, 1242, 1245, 1248,
705
- 1251, 1254, 1257, 1260, 1263, 1266, 1269, 1272,
706
- 1275, 1278, 1281, 1284, 1287, 1290, 1293, 1296,
707
- 1299, 1302, 1305, 1308, 1311, 1314, 1317, 1320,
708
- 1323, 1326, 1329, 1333, 1336, 1339, 1342, 1345,
709
- 1348, 1351, 1354, 1357, 1360, 1363, 1366, 1369,
710
- 1372, 1375, 1378, 1381, 1384, 1387, 1390, 1393,
711
- 1396, 1399, 1401, 1403, 1405, 1407, 1409, 1411,
712
- 1413, 1415, 1417, 1419, 1421, 1423, 1425, 1427,
713
- 1429, 1431, 1433, 1435, 1437, 1439, 1441, 1443,
714
- 1445, 1447, 1449, 1451, 1453, 1455, 1457, 1459,
715
- 1461, 1463, 1465, 1467, 1476, 1488, 1491, 1494,
716
- 1498, 1501, 1504, 1507, 1510, 1513, 1516, 1519,
717
- 1522, 1525, 1528, 1531, 1534, 1537, 1540, 1543,
718
- 1546, 1549, 1552, 1555, 1558, 1561, 1564, 1568,
719
- 1571, 1574, 1577, 1580, 1583, 1586, 1589, 1592,
720
- 1595, 1598, 1601, 1604, 1607, 1610, 1613, 1616,
721
- 1619, 1622, 1625, 1628, 1631, 1634, 1637, 1640,
722
- 1643, 1646, 1649, 1652, 1656, 1659, 1662, 1665,
723
- 1668, 1671, 1674, 1677, 1680, 1683, 1686, 1689,
724
- 1692, 1695, 1698, 1701, 1704, 1707, 1710, 1713,
725
- 1716, 1719, 1722, 1725, 1728, 1731, 1734, 1737,
726
- 1740, 1744, 1747, 1750, 1754, 1757, 1760, 1763,
727
- 1766, 1769, 1772, 1775, 1778, 1781, 1784, 1788,
728
- 1791, 1794, 1797, 1800, 1803, 1806, 1809, 1812,
729
- 1815, 1818, 1821, 1824, 1827, 1830, 1833, 1836,
730
- 1839, 1842, 1845, 1848, 1851, 1854, 1856, 1858,
731
- 1860, 1862, 1864, 1866, 1868, 1870, 1872, 1874,
732
- 1876, 1878, 1880, 1882, 1884, 1893, 1905, 1908,
733
- 1911, 1915, 1918, 1921, 1924, 1927, 1930, 1933,
734
- 1936, 1939, 1942, 1945, 1948, 1951, 1954, 1957,
735
- 1960, 1963, 1966, 1969, 1972, 1975, 1978, 1981,
736
- 1985, 1988, 1991, 1995, 1998, 2001, 2004, 2007,
737
- 2010, 2013, 2016, 2019, 2022, 2025, 2028, 2031,
738
- 2034, 2037, 2040, 2043, 2046, 2049, 2052, 2055,
739
- 2058, 2061, 2064, 2067, 2070, 2073, 2076, 2079,
740
- 2082, 2086, 2089, 2092, 2095, 2098, 2101, 2104,
741
- 2107, 2110, 2113, 2116, 2119, 2122, 2125, 2128,
742
- 2131, 2134, 2137, 2140, 2143, 2146, 2149, 2152,
743
- 2155, 2158, 2162, 2165, 2168, 2171, 2174, 2177,
744
- 2180, 2183, 2186, 2189, 2192, 2195, 2198, 2201,
745
- 2205, 2208, 2211, 2214, 2217, 2220, 2223, 2226,
746
- 2229, 2232, 2235, 2238, 2241, 2244, 2247, 2250,
747
- 2253, 2256, 2259, 2262, 2265, 2268, 2271, 2274,
748
- 2277, 2280, 2283, 2286, 2289, 2292, 2295, 2298,
749
- 2301, 2304, 2307, 2310, 2313, 2316, 2319, 2323,
750
- 2326, 2329, 2333, 2336, 2339, 2342, 2345, 2348,
751
- 2351, 2354, 2357, 2360, 2363, 2366, 2370, 2373,
752
- 2376, 2379, 2382, 2385, 2388, 2391, 2394, 2397,
753
- 2400, 2403, 2406, 2409, 2412, 2415, 2418, 2421,
754
- 2424, 2427, 2430, 2433, 2435, 2438, 2440, 2442,
755
- 2445, 2447, 2449, 2451, 2453, 2455, 2457, 2459,
756
- 2461, 2463, 2465, 2467, 2470, 2472, 2474, 2476,
757
- 2478, 2480, 2482, 2484, 2486, 2488, 2490
758
- };
759
-
760
- static const short _lexer_trans_targs[] = {
761
- 2, 844, 6, 6, 7, 17, 19, 3,
762
- 33, 36, 6, 0, 3, 42, 60, 3,
763
- 66, 46, 253, 326, 819, 825, 0, 4,
764
- 0, 6, 18, 5, 6, 18, 5, 2,
765
- 6, 6, 7, 17, 19, 3, 33, 36,
766
- 6, 0, 8, 0, 9, 0, 11, 10,
767
- 10, 11, 10, 10, 12, 12, 13, 12,
768
- 12, 12, 12, 13, 12, 12, 12, 12,
769
- 14, 12, 12, 12, 12, 15, 12, 12,
770
- 6, 16, 16, 0, 6, 16, 16, 0,
771
- 6, 18, 17, 6, 0, 20, 0, 21,
772
- 0, 22, 0, 23, 0, 24, 0, 25,
773
- 0, 26, 0, 27, 0, 28, 0, 29,
774
- 0, 30, 0, 31, 0, 32, 0, 846,
775
- 0, 0, 0, 0, 0, 34, 35, 6,
776
- 35, 35, 33, 34, 34, 6, 35, 33,
777
- 35, 0, 36, 37, 36, 0, 41, 40,
778
- 39, 37, 40, 38, 0, 39, 37, 38,
779
- 0, 39, 38, 41, 40, 39, 37, 40,
780
- 38, 2, 41, 41, 7, 17, 19, 3,
781
- 33, 36, 41, 0, 43, 0, 44, 48,
782
- 0, 45, 0, 46, 0, 47, 0, 3,
783
- 0, 49, 0, 50, 0, 51, 0, 52,
784
- 0, 53, 0, 54, 0, 55, 0, 56,
785
- 0, 57, 0, 58, 0, 59, 0, 3,
786
- 0, 61, 0, 62, 0, 63, 0, 64,
787
- 0, 65, 0, 3, 0, 67, 240, 0,
788
- 68, 0, 69, 0, 70, 74, 0, 71,
789
- 0, 72, 0, 73, 0, 3, 0, 75,
790
- 0, 76, 0, 77, 0, 78, 0, 79,
791
- 0, 80, 0, 81, 0, 82, 0, 83,
792
- 0, 84, 0, 85, 0, 87, 86, 87,
793
- 86, 88, 87, 87, 6, 226, 89, 6,
794
- 87, 86, 89, 91, 109, 89, 115, 95,
795
- 136, 144, 203, 208, 87, 86, 87, 90,
796
- 86, 2, 6, 6, 7, 17, 19, 3,
797
- 33, 36, 6, 0, 92, 87, 86, 93,
798
- 97, 87, 86, 94, 87, 86, 95, 87,
799
- 86, 96, 87, 86, 89, 87, 86, 98,
800
- 87, 86, 99, 87, 86, 100, 87, 86,
801
- 101, 87, 86, 102, 87, 86, 103, 87,
802
- 86, 104, 87, 86, 105, 87, 86, 106,
803
- 87, 86, 107, 87, 86, 108, 87, 86,
804
- 89, 87, 86, 110, 87, 86, 111, 87,
805
- 86, 112, 87, 86, 113, 87, 86, 114,
806
- 87, 86, 89, 87, 86, 116, 87, 123,
807
- 86, 117, 87, 86, 118, 87, 86, 119,
808
- 87, 86, 120, 87, 86, 121, 87, 86,
809
- 122, 87, 86, 89, 87, 86, 124, 87,
810
- 86, 125, 87, 86, 126, 87, 86, 127,
811
- 87, 86, 128, 87, 86, 129, 87, 86,
812
- 130, 87, 86, 131, 87, 86, 87, 132,
813
- 86, 133, 87, 86, 134, 87, 86, 135,
814
- 87, 86, 89, 87, 86, 137, 87, 86,
815
- 138, 87, 86, 139, 87, 86, 140, 87,
816
- 86, 141, 87, 86, 142, 87, 86, 143,
817
- 87, 86, 89, 87, 86, 145, 159, 87,
818
- 86, 146, 87, 86, 147, 87, 86, 148,
819
- 87, 86, 149, 87, 86, 150, 87, 86,
820
- 151, 87, 86, 152, 87, 86, 153, 87,
821
- 86, 154, 87, 86, 155, 87, 86, 156,
822
- 87, 86, 157, 87, 86, 158, 87, 86,
823
- 87, 90, 86, 160, 191, 87, 86, 161,
824
- 87, 86, 162, 87, 86, 163, 87, 86,
825
- 164, 87, 86, 165, 87, 86, 166, 87,
826
- 86, 167, 87, 86, 168, 87, 86, 169,
827
- 87, 86, 170, 87, 86, 171, 87, 86,
828
- 172, 87, 86, 173, 87, 86, 174, 87,
829
- 86, 87, 175, 86, 176, 87, 86, 177,
830
- 87, 86, 178, 87, 86, 179, 87, 86,
831
- 180, 87, 86, 181, 87, 86, 182, 87,
832
- 86, 183, 87, 86, 184, 87, 86, 185,
833
- 87, 86, 186, 87, 86, 187, 87, 86,
834
- 188, 87, 86, 189, 87, 86, 190, 87,
835
- 86, 158, 87, 86, 192, 87, 86, 193,
836
- 87, 86, 194, 87, 86, 195, 87, 86,
837
- 196, 87, 86, 197, 87, 86, 198, 87,
838
- 86, 199, 87, 86, 200, 87, 86, 201,
839
- 87, 86, 202, 87, 86, 158, 87, 86,
840
- 204, 87, 86, 205, 207, 87, 86, 206,
841
- 87, 86, 132, 87, 86, 118, 87, 90,
842
- 86, 209, 87, 86, 210, 87, 86, 211,
843
- 87, 86, 212, 87, 86, 213, 87, 86,
844
- 214, 87, 86, 215, 87, 86, 216, 87,
845
- 86, 217, 87, 86, 218, 87, 86, 219,
846
- 190, 87, 86, 220, 87, 86, 221, 87,
847
- 86, 222, 87, 86, 223, 87, 86, 224,
848
- 87, 86, 225, 87, 86, 158, 87, 86,
849
- 87, 227, 86, 87, 228, 86, 87, 229,
850
- 86, 87, 230, 86, 87, 231, 86, 87,
851
- 232, 86, 87, 233, 86, 87, 234, 86,
852
- 87, 235, 86, 87, 236, 86, 87, 237,
853
- 86, 87, 238, 86, 87, 239, 86, 87,
854
- 6, 86, 241, 0, 242, 0, 243, 0,
855
- 244, 0, 245, 0, 246, 0, 247, 0,
856
- 248, 0, 249, 0, 250, 0, 251, 0,
857
- 252, 0, 3, 0, 254, 0, 255, 320,
858
- 0, 256, 0, 257, 273, 0, 258, 0,
859
- 259, 0, 260, 0, 261, 0, 262, 0,
860
- 263, 0, 264, 0, 265, 0, 266, 0,
861
- 267, 0, 268, 0, 269, 0, 270, 0,
862
- 271, 0, 272, 0, 84, 0, 274, 0,
863
- 275, 0, 276, 0, 277, 0, 278, 0,
864
- 279, 0, 280, 0, 281, 0, 282, 0,
865
- 284, 283, 284, 283, 285, 284, 284, 6,
866
- 6, 284, 283, 286, 301, 284, 283, 287,
867
- 284, 283, 288, 284, 283, 289, 284, 283,
868
- 290, 284, 283, 291, 284, 283, 292, 284,
869
- 283, 293, 284, 283, 294, 284, 283, 295,
870
- 284, 283, 296, 284, 283, 297, 284, 283,
871
- 298, 284, 283, 299, 284, 283, 300, 284,
872
- 283, 284, 90, 283, 302, 284, 283, 303,
873
- 284, 283, 304, 284, 283, 305, 284, 283,
874
- 306, 284, 283, 307, 284, 283, 308, 284,
875
- 283, 309, 284, 283, 310, 284, 283, 311,
876
- 284, 283, 312, 319, 284, 283, 313, 284,
877
- 283, 314, 284, 283, 315, 284, 283, 316,
878
- 284, 283, 317, 284, 283, 318, 284, 283,
879
- 300, 284, 283, 300, 284, 283, 321, 0,
880
- 322, 0, 323, 0, 324, 0, 325, 0,
881
- 3, 0, 327, 472, 0, 328, 0, 329,
882
- 0, 330, 0, 331, 0, 332, 0, 333,
883
- 0, 334, 0, 335, 0, 336, 0, 337,
884
- 0, 338, 0, 339, 0, 340, 0, 341,
885
- 0, 343, 342, 343, 342, 344, 343, 343,
886
- 6, 458, 6, 343, 342, 345, 360, 388,
887
- 440, 343, 342, 346, 343, 342, 347, 343,
888
- 342, 348, 343, 342, 349, 343, 342, 350,
889
- 343, 342, 351, 343, 342, 352, 343, 342,
890
- 353, 343, 342, 354, 343, 342, 355, 343,
891
- 342, 356, 343, 342, 357, 343, 342, 358,
892
- 343, 342, 359, 343, 342, 343, 90, 342,
893
- 361, 343, 342, 362, 343, 342, 363, 343,
894
- 342, 364, 380, 343, 342, 365, 343, 342,
895
- 366, 343, 342, 367, 343, 342, 368, 343,
896
- 342, 369, 343, 342, 370, 343, 342, 371,
897
- 343, 342, 372, 343, 342, 373, 343, 342,
898
- 374, 343, 342, 375, 343, 342, 376, 343,
899
- 342, 377, 343, 342, 378, 343, 342, 379,
900
- 343, 342, 359, 343, 342, 381, 343, 342,
901
- 382, 343, 342, 383, 343, 342, 384, 343,
902
- 342, 385, 343, 342, 386, 343, 342, 387,
903
- 343, 342, 359, 343, 342, 389, 402, 343,
904
- 342, 390, 343, 342, 391, 343, 342, 392,
905
- 343, 342, 393, 343, 342, 394, 343, 342,
906
- 395, 343, 342, 396, 343, 342, 397, 343,
907
- 342, 398, 343, 342, 399, 343, 342, 400,
908
- 343, 342, 401, 343, 342, 359, 343, 342,
909
- 403, 428, 343, 342, 404, 343, 342, 405,
910
- 343, 342, 406, 343, 342, 407, 343, 342,
911
- 408, 343, 342, 409, 343, 342, 410, 343,
912
- 342, 411, 343, 342, 412, 343, 342, 413,
913
- 343, 342, 414, 343, 342, 415, 343, 342,
914
- 416, 343, 342, 417, 343, 342, 343, 418,
915
- 342, 419, 343, 342, 420, 343, 342, 421,
916
- 343, 342, 422, 343, 342, 423, 343, 342,
917
- 424, 343, 342, 425, 343, 342, 426, 343,
918
- 342, 427, 343, 342, 374, 343, 342, 429,
919
- 343, 342, 430, 343, 342, 431, 343, 342,
920
- 432, 343, 342, 433, 343, 342, 434, 343,
921
- 342, 435, 343, 342, 436, 343, 342, 437,
922
- 343, 342, 438, 343, 342, 439, 343, 342,
923
- 359, 343, 342, 441, 343, 342, 442, 343,
924
- 342, 443, 343, 342, 444, 343, 342, 445,
925
- 343, 342, 446, 343, 342, 447, 343, 342,
926
- 448, 343, 342, 449, 343, 342, 450, 343,
927
- 342, 451, 379, 343, 342, 452, 343, 342,
928
- 453, 343, 342, 454, 343, 342, 455, 343,
929
- 342, 456, 343, 342, 457, 343, 342, 359,
930
- 343, 342, 343, 459, 342, 343, 460, 342,
931
- 343, 461, 342, 343, 462, 342, 343, 463,
932
- 342, 343, 464, 342, 343, 465, 342, 343,
933
- 466, 342, 343, 467, 342, 343, 468, 342,
934
- 343, 469, 342, 343, 470, 342, 343, 471,
935
- 342, 343, 6, 342, 473, 629, 0, 474,
936
- 0, 475, 0, 476, 0, 477, 0, 478,
937
- 0, 479, 0, 480, 0, 481, 0, 482,
938
- 0, 483, 0, 484, 0, 485, 0, 486,
939
- 0, 487, 0, 488, 0, 489, 0, 490,
940
- 0, 491, 0, 492, 0, 493, 0, 494,
941
- 0, 495, 0, 496, 0, 497, 0, 498,
942
- 0, 499, 0, 500, 0, 501, 0, 502,
943
- 0, 503, 0, 504, 0, 505, 0, 507,
944
- 506, 507, 506, 508, 507, 507, 6, 615,
945
- 509, 6, 507, 506, 509, 510, 528, 509,
946
- 534, 514, 555, 563, 591, 596, 507, 506,
947
- 507, 90, 506, 511, 507, 506, 512, 516,
948
- 507, 506, 513, 507, 506, 514, 507, 506,
949
- 515, 507, 506, 509, 507, 506, 517, 507,
950
- 506, 518, 507, 506, 519, 507, 506, 520,
951
- 507, 506, 521, 507, 506, 522, 507, 506,
952
- 523, 507, 506, 524, 507, 506, 525, 507,
953
- 506, 526, 507, 506, 527, 507, 506, 509,
954
- 507, 506, 529, 507, 506, 530, 507, 506,
955
- 531, 507, 506, 532, 507, 506, 533, 507,
956
- 506, 509, 507, 506, 535, 507, 542, 506,
957
- 536, 507, 506, 537, 507, 506, 538, 507,
958
- 506, 539, 507, 506, 540, 507, 506, 541,
959
- 507, 506, 509, 507, 506, 543, 507, 506,
960
- 544, 507, 506, 545, 507, 506, 546, 507,
961
- 506, 547, 507, 506, 548, 507, 506, 549,
962
- 507, 506, 550, 507, 506, 507, 551, 506,
963
- 552, 507, 506, 553, 507, 506, 554, 507,
964
- 506, 509, 507, 506, 556, 507, 506, 557,
965
- 507, 506, 558, 507, 506, 559, 507, 506,
966
- 560, 507, 506, 561, 507, 506, 562, 507,
967
- 506, 509, 507, 506, 564, 578, 507, 506,
968
- 565, 507, 506, 566, 507, 506, 567, 507,
969
- 506, 568, 507, 506, 569, 507, 506, 570,
970
- 507, 506, 571, 507, 506, 572, 507, 506,
971
- 573, 507, 506, 574, 507, 506, 575, 507,
972
- 506, 576, 507, 506, 577, 507, 506, 507,
973
- 90, 506, 579, 507, 506, 580, 507, 506,
974
- 581, 507, 506, 582, 507, 506, 583, 507,
975
- 506, 584, 507, 506, 585, 507, 506, 586,
976
- 507, 506, 587, 507, 506, 588, 507, 506,
977
- 589, 507, 506, 590, 507, 506, 577, 507,
978
- 506, 592, 507, 506, 593, 595, 507, 506,
979
- 594, 507, 506, 551, 507, 506, 537, 507,
980
- 90, 506, 597, 507, 506, 598, 507, 506,
981
- 599, 507, 506, 600, 507, 506, 601, 507,
982
- 506, 602, 507, 506, 603, 507, 506, 604,
983
- 507, 506, 605, 507, 506, 606, 507, 506,
984
- 607, 614, 507, 506, 608, 507, 506, 609,
985
- 507, 506, 610, 507, 506, 611, 507, 506,
986
- 612, 507, 506, 613, 507, 506, 577, 507,
987
- 506, 577, 507, 506, 507, 616, 506, 507,
988
- 617, 506, 507, 618, 506, 507, 619, 506,
989
- 507, 620, 506, 507, 621, 506, 507, 622,
990
- 506, 507, 623, 506, 507, 624, 506, 507,
991
- 625, 506, 507, 626, 506, 507, 627, 506,
992
- 507, 628, 506, 507, 6, 506, 630, 0,
993
- 631, 0, 632, 0, 633, 0, 634, 0,
994
- 635, 0, 636, 0, 637, 0, 638, 0,
995
- 639, 0, 640, 0, 641, 0, 642, 0,
996
- 644, 643, 644, 643, 645, 644, 644, 6,
997
- 805, 646, 6, 644, 643, 646, 647, 665,
998
- 646, 671, 651, 703, 729, 781, 787, 644,
999
- 643, 644, 90, 643, 648, 644, 643, 649,
1000
- 653, 644, 643, 650, 644, 643, 651, 644,
1001
- 643, 652, 644, 643, 646, 644, 643, 654,
1002
- 644, 643, 655, 644, 643, 656, 644, 643,
1003
- 657, 644, 643, 658, 644, 643, 659, 644,
1004
- 643, 660, 644, 643, 661, 644, 643, 662,
1005
- 644, 643, 663, 644, 643, 664, 644, 643,
1006
- 646, 644, 643, 666, 644, 643, 667, 644,
1007
- 643, 668, 644, 643, 669, 644, 643, 670,
1008
- 644, 643, 646, 644, 643, 672, 644, 690,
1009
- 643, 673, 644, 643, 674, 644, 643, 675,
1010
- 679, 644, 643, 676, 644, 643, 677, 644,
1011
- 643, 678, 644, 643, 646, 644, 643, 680,
1012
- 644, 643, 681, 644, 643, 682, 644, 643,
1013
- 683, 644, 643, 684, 644, 643, 685, 644,
1014
- 643, 686, 644, 643, 687, 644, 643, 688,
1015
- 644, 643, 689, 644, 643, 644, 90, 643,
1016
- 691, 644, 643, 692, 644, 643, 693, 644,
1017
- 643, 694, 644, 643, 695, 644, 643, 696,
1018
- 644, 643, 697, 644, 643, 698, 644, 643,
1019
- 644, 699, 643, 700, 644, 643, 701, 644,
1020
- 643, 702, 644, 643, 646, 644, 643, 704,
1021
- 644, 643, 705, 723, 644, 643, 706, 644,
1022
- 643, 707, 644, 643, 708, 644, 643, 709,
1023
- 644, 643, 710, 644, 643, 711, 644, 643,
1024
- 712, 644, 643, 713, 644, 643, 714, 644,
1025
- 643, 715, 644, 643, 716, 644, 643, 717,
1026
- 644, 643, 718, 644, 643, 719, 644, 643,
1027
- 720, 644, 643, 721, 644, 643, 722, 644,
1028
- 643, 689, 644, 643, 724, 644, 643, 725,
1029
- 644, 643, 726, 644, 643, 727, 644, 643,
1030
- 728, 644, 643, 646, 644, 643, 730, 743,
1031
- 644, 643, 731, 644, 643, 732, 644, 643,
1032
- 733, 644, 643, 734, 644, 643, 735, 644,
1033
- 643, 736, 644, 643, 737, 644, 643, 738,
1034
- 644, 643, 739, 644, 643, 740, 644, 643,
1035
- 741, 644, 643, 742, 644, 643, 689, 644,
1036
- 643, 744, 769, 644, 643, 745, 644, 643,
1037
- 746, 644, 643, 747, 644, 643, 748, 644,
1038
- 643, 749, 644, 643, 750, 644, 643, 751,
1039
- 644, 643, 752, 644, 643, 753, 644, 643,
1040
- 754, 644, 643, 755, 644, 643, 756, 644,
1041
- 643, 757, 644, 643, 758, 644, 643, 644,
1042
- 759, 643, 760, 644, 643, 761, 644, 643,
1043
- 762, 644, 643, 763, 644, 643, 764, 644,
1044
- 643, 765, 644, 643, 766, 644, 643, 767,
1045
- 644, 643, 768, 644, 643, 717, 644, 643,
1046
- 770, 644, 643, 771, 644, 643, 772, 644,
1047
- 643, 773, 644, 643, 774, 644, 643, 775,
1048
- 644, 643, 776, 644, 643, 777, 644, 643,
1049
- 778, 644, 643, 779, 644, 643, 780, 644,
1050
- 643, 689, 644, 643, 782, 644, 643, 783,
1051
- 785, 644, 643, 784, 644, 643, 699, 644,
1052
- 643, 786, 644, 90, 643, 675, 644, 643,
1053
- 788, 644, 643, 789, 644, 643, 790, 644,
1054
- 643, 791, 644, 643, 792, 644, 643, 793,
1055
- 644, 643, 794, 644, 643, 795, 644, 643,
1056
- 796, 644, 643, 797, 644, 643, 798, 722,
1057
- 644, 643, 799, 644, 643, 800, 644, 643,
1058
- 801, 644, 643, 802, 644, 643, 803, 644,
1059
- 643, 804, 644, 643, 689, 644, 643, 644,
1060
- 806, 643, 644, 807, 643, 644, 808, 643,
1061
- 644, 809, 643, 644, 810, 643, 644, 811,
1062
- 643, 644, 812, 643, 644, 813, 643, 644,
1063
- 814, 643, 644, 815, 643, 644, 816, 643,
1064
- 644, 817, 643, 644, 818, 643, 644, 6,
1065
- 643, 820, 0, 821, 823, 0, 822, 0,
1066
- 249, 0, 824, 4, 0, 70, 0, 826,
1067
- 0, 827, 0, 828, 0, 829, 0, 830,
1068
- 0, 831, 0, 832, 0, 833, 0, 834,
1069
- 0, 835, 0, 836, 843, 0, 837, 0,
1070
- 838, 0, 839, 0, 840, 0, 841, 0,
1071
- 842, 0, 340, 0, 340, 0, 845, 0,
1072
- 6, 0, 0, 0
1073
- };
1074
-
1075
- static const unsigned char _lexer_trans_actions[] = {
1076
- 29, 0, 54, 0, 5, 1, 0, 29,
1077
- 1, 35, 0, 43, 0, 0, 0, 0,
1078
- 0, 0, 0, 0, 0, 0, 43, 0,
1079
- 43, 149, 126, 57, 110, 23, 0, 29,
1080
- 54, 0, 5, 1, 0, 29, 1, 35,
1081
- 0, 43, 0, 43, 0, 43, 139, 48,
1082
- 9, 106, 11, 0, 134, 45, 45, 45,
1083
- 3, 122, 33, 33, 33, 0, 122, 33,
1084
- 33, 33, 0, 122, 33, 0, 33, 0,
1085
- 102, 7, 7, 43, 54, 0, 0, 43,
1086
- 114, 25, 0, 54, 43, 0, 43, 0,
1087
- 43, 0, 43, 0, 43, 0, 43, 0,
1088
- 43, 0, 43, 0, 43, 0, 43, 0,
1089
- 43, 0, 43, 0, 43, 0, 43, 0,
1090
- 43, 43, 43, 43, 43, 0, 27, 118,
1091
- 27, 27, 51, 27, 0, 54, 0, 1,
1092
- 0, 43, 0, 0, 0, 43, 54, 37,
1093
- 37, 87, 37, 37, 43, 0, 39, 0,
1094
- 43, 0, 0, 54, 0, 0, 39, 0,
1095
- 0, 96, 54, 0, 93, 90, 41, 96,
1096
- 90, 99, 0, 43, 0, 43, 0, 0,
1097
- 43, 0, 43, 0, 43, 0, 43, 0,
1098
- 43, 0, 43, 0, 43, 0, 43, 0,
1099
- 43, 0, 43, 0, 43, 0, 43, 0,
1100
- 43, 0, 43, 0, 43, 0, 43, 0,
1101
- 43, 0, 43, 0, 43, 0, 43, 0,
1102
- 43, 0, 43, 0, 43, 0, 0, 43,
1103
- 0, 43, 0, 43, 0, 0, 43, 0,
1104
- 43, 0, 43, 0, 43, 0, 43, 0,
1105
- 43, 0, 43, 0, 43, 0, 43, 0,
1106
- 43, 0, 43, 0, 43, 0, 43, 0,
1107
- 43, 0, 43, 0, 43, 144, 57, 54,
1108
- 0, 84, 54, 0, 72, 33, 84, 72,
1109
- 0, 0, 0, 0, 0, 0, 0, 0,
1110
- 0, 0, 0, 0, 54, 0, 54, 15,
1111
- 0, 63, 130, 31, 60, 57, 31, 63,
1112
- 57, 66, 31, 43, 0, 54, 0, 0,
1113
- 0, 54, 0, 0, 54, 0, 0, 54,
1114
- 0, 0, 54, 0, 0, 54, 0, 0,
1115
- 54, 0, 0, 54, 0, 0, 54, 0,
1116
- 0, 54, 0, 0, 54, 0, 0, 54,
1117
- 0, 0, 54, 0, 0, 54, 0, 0,
1118
- 54, 0, 0, 54, 0, 0, 54, 0,
1119
- 0, 54, 0, 0, 54, 0, 0, 54,
1120
- 0, 0, 54, 0, 0, 54, 0, 0,
1121
- 54, 0, 0, 54, 0, 0, 54, 0,
1122
- 0, 0, 54, 0, 0, 54, 0, 0,
1123
- 54, 0, 0, 54, 0, 0, 54, 0,
1124
- 0, 54, 0, 0, 54, 0, 0, 54,
1125
- 0, 0, 54, 0, 0, 54, 0, 0,
1126
- 54, 0, 0, 54, 0, 0, 54, 0,
1127
- 0, 54, 0, 0, 54, 0, 54, 0,
1128
- 0, 0, 54, 0, 0, 54, 0, 0,
1129
- 54, 0, 0, 54, 0, 0, 54, 0,
1130
- 0, 54, 0, 0, 54, 0, 0, 54,
1131
- 0, 0, 54, 0, 0, 54, 0, 0,
1132
- 54, 0, 0, 54, 0, 0, 0, 54,
1133
- 0, 0, 54, 0, 0, 54, 0, 0,
1134
- 54, 0, 0, 54, 0, 0, 54, 0,
1135
- 0, 54, 0, 0, 54, 0, 0, 54,
1136
- 0, 0, 54, 0, 0, 54, 0, 0,
1137
- 54, 0, 0, 54, 0, 0, 54, 0,
1138
- 54, 15, 0, 0, 0, 54, 0, 0,
1139
- 54, 0, 0, 54, 0, 0, 54, 0,
1140
- 0, 54, 0, 0, 54, 0, 0, 54,
1141
- 0, 0, 54, 0, 0, 54, 0, 0,
1142
- 54, 0, 0, 54, 0, 0, 54, 0,
1143
- 0, 54, 0, 0, 54, 0, 0, 54,
1144
- 0, 54, 0, 0, 0, 54, 0, 0,
1145
- 54, 0, 0, 54, 0, 0, 54, 0,
1146
- 0, 54, 0, 0, 54, 0, 0, 54,
1147
- 0, 0, 54, 0, 0, 54, 0, 0,
1148
- 54, 0, 0, 54, 0, 0, 54, 0,
1149
- 0, 54, 0, 0, 54, 0, 0, 54,
1150
- 0, 0, 54, 0, 0, 54, 0, 0,
1151
- 54, 0, 0, 54, 0, 0, 54, 0,
1152
- 0, 54, 0, 0, 54, 0, 0, 54,
1153
- 0, 0, 54, 0, 0, 54, 0, 0,
1154
- 54, 0, 0, 54, 0, 0, 54, 0,
1155
- 0, 54, 0, 0, 0, 54, 0, 0,
1156
- 54, 0, 0, 54, 0, 0, 54, 15,
1157
- 0, 0, 54, 0, 0, 54, 0, 0,
1158
- 54, 0, 0, 54, 0, 0, 54, 0,
1159
- 0, 54, 0, 0, 54, 0, 0, 54,
1160
- 0, 0, 54, 0, 0, 54, 0, 0,
1161
- 0, 54, 0, 0, 54, 0, 0, 54,
1162
- 0, 0, 54, 0, 0, 54, 0, 0,
1163
- 54, 0, 0, 54, 0, 0, 54, 0,
1164
- 54, 0, 0, 54, 0, 0, 54, 0,
1165
- 0, 54, 0, 0, 54, 0, 0, 54,
1166
- 0, 0, 54, 0, 0, 54, 0, 0,
1167
- 54, 0, 0, 54, 0, 0, 54, 0,
1168
- 0, 54, 0, 0, 54, 0, 0, 54,
1169
- 15, 0, 0, 43, 0, 43, 0, 43,
1170
- 0, 43, 0, 43, 0, 43, 0, 43,
1171
- 0, 43, 0, 43, 0, 43, 0, 43,
1172
- 0, 43, 0, 43, 0, 43, 0, 0,
1173
- 43, 0, 43, 0, 0, 43, 0, 43,
1174
- 0, 43, 0, 43, 0, 43, 0, 43,
1175
- 0, 43, 0, 43, 0, 43, 0, 43,
1176
- 0, 43, 0, 43, 0, 43, 0, 43,
1177
- 0, 43, 0, 43, 0, 43, 0, 43,
1178
- 0, 43, 0, 43, 0, 43, 0, 43,
1179
- 0, 43, 0, 43, 0, 43, 0, 43,
1180
- 144, 57, 54, 0, 84, 54, 0, 81,
1181
- 81, 0, 0, 0, 0, 54, 0, 0,
1182
- 54, 0, 0, 54, 0, 0, 54, 0,
1183
- 0, 54, 0, 0, 54, 0, 0, 54,
1184
- 0, 0, 54, 0, 0, 54, 0, 0,
1185
- 54, 0, 0, 54, 0, 0, 54, 0,
1186
- 0, 54, 0, 0, 54, 0, 0, 54,
1187
- 0, 54, 21, 0, 0, 54, 0, 0,
1188
- 54, 0, 0, 54, 0, 0, 54, 0,
1189
- 0, 54, 0, 0, 54, 0, 0, 54,
1190
- 0, 0, 54, 0, 0, 54, 0, 0,
1191
- 54, 0, 0, 0, 54, 0, 0, 54,
1192
- 0, 0, 54, 0, 0, 54, 0, 0,
1193
- 54, 0, 0, 54, 0, 0, 54, 0,
1194
- 0, 54, 0, 0, 54, 0, 0, 43,
1195
- 0, 43, 0, 43, 0, 43, 0, 43,
1196
- 0, 43, 0, 0, 43, 0, 43, 0,
1197
- 43, 0, 43, 0, 43, 0, 43, 0,
1198
- 43, 0, 43, 0, 43, 0, 43, 0,
1199
- 43, 0, 43, 0, 43, 0, 43, 0,
1200
- 43, 144, 57, 54, 0, 84, 54, 0,
1201
- 69, 33, 69, 0, 0, 0, 0, 0,
1202
- 0, 54, 0, 0, 54, 0, 0, 54,
1203
- 0, 0, 54, 0, 0, 54, 0, 0,
1204
- 54, 0, 0, 54, 0, 0, 54, 0,
1205
- 0, 54, 0, 0, 54, 0, 0, 54,
1206
- 0, 0, 54, 0, 0, 54, 0, 0,
1207
- 54, 0, 0, 54, 0, 54, 13, 0,
1208
- 0, 54, 0, 0, 54, 0, 0, 54,
1209
- 0, 0, 0, 54, 0, 0, 54, 0,
1210
- 0, 54, 0, 0, 54, 0, 0, 54,
1211
- 0, 0, 54, 0, 0, 54, 0, 0,
1212
- 54, 0, 0, 54, 0, 0, 54, 0,
1213
- 0, 54, 0, 0, 54, 0, 0, 54,
1214
- 0, 0, 54, 0, 0, 54, 0, 0,
1215
- 54, 0, 0, 54, 0, 0, 54, 0,
1216
- 0, 54, 0, 0, 54, 0, 0, 54,
1217
- 0, 0, 54, 0, 0, 54, 0, 0,
1218
- 54, 0, 0, 54, 0, 0, 0, 54,
1219
- 0, 0, 54, 0, 0, 54, 0, 0,
1220
- 54, 0, 0, 54, 0, 0, 54, 0,
1221
- 0, 54, 0, 0, 54, 0, 0, 54,
1222
- 0, 0, 54, 0, 0, 54, 0, 0,
1223
- 54, 0, 0, 54, 0, 0, 54, 0,
1224
- 0, 0, 54, 0, 0, 54, 0, 0,
1225
- 54, 0, 0, 54, 0, 0, 54, 0,
1226
- 0, 54, 0, 0, 54, 0, 0, 54,
1227
- 0, 0, 54, 0, 0, 54, 0, 0,
1228
- 54, 0, 0, 54, 0, 0, 54, 0,
1229
- 0, 54, 0, 0, 54, 0, 54, 0,
1230
- 0, 0, 54, 0, 0, 54, 0, 0,
1231
- 54, 0, 0, 54, 0, 0, 54, 0,
1232
- 0, 54, 0, 0, 54, 0, 0, 54,
1233
- 0, 0, 54, 0, 0, 54, 0, 0,
1234
- 54, 0, 0, 54, 0, 0, 54, 0,
1235
- 0, 54, 0, 0, 54, 0, 0, 54,
1236
- 0, 0, 54, 0, 0, 54, 0, 0,
1237
- 54, 0, 0, 54, 0, 0, 54, 0,
1238
- 0, 54, 0, 0, 54, 0, 0, 54,
1239
- 0, 0, 54, 0, 0, 54, 0, 0,
1240
- 54, 0, 0, 54, 0, 0, 54, 0,
1241
- 0, 54, 0, 0, 54, 0, 0, 54,
1242
- 0, 0, 0, 54, 0, 0, 54, 0,
1243
- 0, 54, 0, 0, 54, 0, 0, 54,
1244
- 0, 0, 54, 0, 0, 54, 0, 0,
1245
- 54, 0, 54, 0, 0, 54, 0, 0,
1246
- 54, 0, 0, 54, 0, 0, 54, 0,
1247
- 0, 54, 0, 0, 54, 0, 0, 54,
1248
- 0, 0, 54, 0, 0, 54, 0, 0,
1249
- 54, 0, 0, 54, 0, 0, 54, 0,
1250
- 0, 54, 13, 0, 0, 0, 43, 0,
1251
- 43, 0, 43, 0, 43, 0, 43, 0,
1252
- 43, 0, 43, 0, 43, 0, 43, 0,
1253
- 43, 0, 43, 0, 43, 0, 43, 0,
1254
- 43, 0, 43, 0, 43, 0, 43, 0,
1255
- 43, 0, 43, 0, 43, 0, 43, 0,
1256
- 43, 0, 43, 0, 43, 0, 43, 0,
1257
- 43, 0, 43, 0, 43, 0, 43, 0,
1258
- 43, 0, 43, 0, 43, 0, 43, 144,
1259
- 57, 54, 0, 84, 54, 0, 78, 33,
1260
- 84, 78, 0, 0, 0, 0, 0, 0,
1261
- 0, 0, 0, 0, 0, 0, 54, 0,
1262
- 54, 19, 0, 0, 54, 0, 0, 0,
1263
- 54, 0, 0, 54, 0, 0, 54, 0,
1264
- 0, 54, 0, 0, 54, 0, 0, 54,
1265
- 0, 0, 54, 0, 0, 54, 0, 0,
1266
- 54, 0, 0, 54, 0, 0, 54, 0,
1267
- 0, 54, 0, 0, 54, 0, 0, 54,
1268
- 0, 0, 54, 0, 0, 54, 0, 0,
1269
- 54, 0, 0, 54, 0, 0, 54, 0,
1270
- 0, 54, 0, 0, 54, 0, 0, 54,
1271
- 0, 0, 54, 0, 0, 54, 0, 0,
1272
- 0, 54, 0, 0, 54, 0, 0, 54,
1273
- 0, 0, 54, 0, 0, 54, 0, 0,
1274
- 54, 0, 0, 54, 0, 0, 54, 0,
1275
- 0, 54, 0, 0, 54, 0, 0, 54,
1276
- 0, 0, 54, 0, 0, 54, 0, 0,
1277
- 54, 0, 0, 54, 0, 54, 0, 0,
1278
- 0, 54, 0, 0, 54, 0, 0, 54,
1279
- 0, 0, 54, 0, 0, 54, 0, 0,
1280
- 54, 0, 0, 54, 0, 0, 54, 0,
1281
- 0, 54, 0, 0, 54, 0, 0, 54,
1282
- 0, 0, 54, 0, 0, 0, 54, 0,
1283
- 0, 54, 0, 0, 54, 0, 0, 54,
1284
- 0, 0, 54, 0, 0, 54, 0, 0,
1285
- 54, 0, 0, 54, 0, 0, 54, 0,
1286
- 0, 54, 0, 0, 54, 0, 0, 54,
1287
- 0, 0, 54, 0, 0, 54, 0, 54,
1288
- 19, 0, 0, 54, 0, 0, 54, 0,
1289
- 0, 54, 0, 0, 54, 0, 0, 54,
1290
- 0, 0, 54, 0, 0, 54, 0, 0,
1291
- 54, 0, 0, 54, 0, 0, 54, 0,
1292
- 0, 54, 0, 0, 54, 0, 0, 54,
1293
- 0, 0, 54, 0, 0, 0, 54, 0,
1294
- 0, 54, 0, 0, 54, 0, 0, 54,
1295
- 19, 0, 0, 54, 0, 0, 54, 0,
1296
- 0, 54, 0, 0, 54, 0, 0, 54,
1297
- 0, 0, 54, 0, 0, 54, 0, 0,
1298
- 54, 0, 0, 54, 0, 0, 54, 0,
1299
- 0, 0, 54, 0, 0, 54, 0, 0,
1300
- 54, 0, 0, 54, 0, 0, 54, 0,
1301
- 0, 54, 0, 0, 54, 0, 0, 54,
1302
- 0, 0, 54, 0, 54, 0, 0, 54,
1303
- 0, 0, 54, 0, 0, 54, 0, 0,
1304
- 54, 0, 0, 54, 0, 0, 54, 0,
1305
- 0, 54, 0, 0, 54, 0, 0, 54,
1306
- 0, 0, 54, 0, 0, 54, 0, 0,
1307
- 54, 0, 0, 54, 19, 0, 0, 43,
1308
- 0, 43, 0, 43, 0, 43, 0, 43,
1309
- 0, 43, 0, 43, 0, 43, 0, 43,
1310
- 0, 43, 0, 43, 0, 43, 0, 43,
1311
- 144, 57, 54, 0, 84, 54, 0, 75,
1312
- 33, 84, 75, 0, 0, 0, 0, 0,
1313
- 0, 0, 0, 0, 0, 0, 0, 54,
1314
- 0, 54, 17, 0, 0, 54, 0, 0,
1315
- 0, 54, 0, 0, 54, 0, 0, 54,
1316
- 0, 0, 54, 0, 0, 54, 0, 0,
1317
- 54, 0, 0, 54, 0, 0, 54, 0,
1318
- 0, 54, 0, 0, 54, 0, 0, 54,
1319
- 0, 0, 54, 0, 0, 54, 0, 0,
1320
- 54, 0, 0, 54, 0, 0, 54, 0,
1321
- 0, 54, 0, 0, 54, 0, 0, 54,
1322
- 0, 0, 54, 0, 0, 54, 0, 0,
1323
- 54, 0, 0, 54, 0, 0, 54, 0,
1324
- 0, 0, 54, 0, 0, 54, 0, 0,
1325
- 0, 54, 0, 0, 54, 0, 0, 54,
1326
- 0, 0, 54, 0, 0, 54, 0, 0,
1327
- 54, 0, 0, 54, 0, 0, 54, 0,
1328
- 0, 54, 0, 0, 54, 0, 0, 54,
1329
- 0, 0, 54, 0, 0, 54, 0, 0,
1330
- 54, 0, 0, 54, 0, 54, 17, 0,
1331
- 0, 54, 0, 0, 54, 0, 0, 54,
1332
- 0, 0, 54, 0, 0, 54, 0, 0,
1333
- 54, 0, 0, 54, 0, 0, 54, 0,
1334
- 54, 0, 0, 0, 54, 0, 0, 54,
1335
- 0, 0, 54, 0, 0, 54, 0, 0,
1336
- 54, 0, 0, 0, 54, 0, 0, 54,
1337
- 0, 0, 54, 0, 0, 54, 0, 0,
1338
- 54, 0, 0, 54, 0, 0, 54, 0,
1339
- 0, 54, 0, 0, 54, 0, 0, 54,
1340
- 0, 0, 54, 0, 0, 54, 0, 0,
1341
- 54, 0, 0, 54, 0, 0, 54, 0,
1342
- 0, 54, 0, 0, 54, 0, 0, 54,
1343
- 0, 0, 54, 0, 0, 54, 0, 0,
1344
- 54, 0, 0, 54, 0, 0, 54, 0,
1345
- 0, 54, 0, 0, 54, 0, 0, 0,
1346
- 54, 0, 0, 54, 0, 0, 54, 0,
1347
- 0, 54, 0, 0, 54, 0, 0, 54,
1348
- 0, 0, 54, 0, 0, 54, 0, 0,
1349
- 54, 0, 0, 54, 0, 0, 54, 0,
1350
- 0, 54, 0, 0, 54, 0, 0, 54,
1351
- 0, 0, 0, 54, 0, 0, 54, 0,
1352
- 0, 54, 0, 0, 54, 0, 0, 54,
1353
- 0, 0, 54, 0, 0, 54, 0, 0,
1354
- 54, 0, 0, 54, 0, 0, 54, 0,
1355
- 0, 54, 0, 0, 54, 0, 0, 54,
1356
- 0, 0, 54, 0, 0, 54, 0, 54,
1357
- 0, 0, 0, 54, 0, 0, 54, 0,
1358
- 0, 54, 0, 0, 54, 0, 0, 54,
1359
- 0, 0, 54, 0, 0, 54, 0, 0,
1360
- 54, 0, 0, 54, 0, 0, 54, 0,
1361
- 0, 54, 0, 0, 54, 0, 0, 54,
1362
- 0, 0, 54, 0, 0, 54, 0, 0,
1363
- 54, 0, 0, 54, 0, 0, 54, 0,
1364
- 0, 54, 0, 0, 54, 0, 0, 54,
1365
- 0, 0, 54, 0, 0, 54, 0, 0,
1366
- 0, 54, 0, 0, 54, 0, 0, 54,
1367
- 0, 0, 54, 17, 0, 0, 54, 0,
1368
- 0, 54, 0, 0, 54, 0, 0, 54,
1369
- 0, 0, 54, 0, 0, 54, 0, 0,
1370
- 54, 0, 0, 54, 0, 0, 54, 0,
1371
- 0, 54, 0, 0, 54, 0, 0, 0,
1372
- 54, 0, 0, 54, 0, 0, 54, 0,
1373
- 0, 54, 0, 0, 54, 0, 0, 54,
1374
- 0, 0, 54, 0, 0, 54, 0, 54,
1375
- 0, 0, 54, 0, 0, 54, 0, 0,
1376
- 54, 0, 0, 54, 0, 0, 54, 0,
1377
- 0, 54, 0, 0, 54, 0, 0, 54,
1378
- 0, 0, 54, 0, 0, 54, 0, 0,
1379
- 54, 0, 0, 54, 0, 0, 54, 17,
1380
- 0, 0, 43, 0, 0, 43, 0, 43,
1381
- 0, 43, 0, 0, 43, 0, 43, 0,
1382
- 43, 0, 43, 0, 43, 0, 43, 0,
1383
- 43, 0, 43, 0, 43, 0, 43, 0,
1384
- 43, 0, 43, 0, 0, 43, 0, 43,
1385
- 0, 43, 0, 43, 0, 43, 0, 43,
1386
- 0, 43, 0, 43, 0, 43, 0, 43,
1387
- 0, 43, 0, 0
1388
- };
1389
-
1390
- static const unsigned char _lexer_eof_actions[] = {
1391
- 0, 43, 43, 43, 43, 43, 43, 43,
1392
- 43, 43, 43, 43, 43, 43, 43, 43,
1393
- 43, 43, 43, 43, 43, 43, 43, 43,
1394
- 43, 43, 43, 43, 43, 43, 43, 43,
1395
- 43, 43, 43, 43, 43, 43, 43, 43,
1396
- 43, 43, 43, 43, 43, 43, 43, 43,
1397
- 43, 43, 43, 43, 43, 43, 43, 43,
1398
- 43, 43, 43, 43, 43, 43, 43, 43,
1399
- 43, 43, 43, 43, 43, 43, 43, 43,
1400
- 43, 43, 43, 43, 43, 43, 43, 43,
1401
- 43, 43, 43, 43, 43, 43, 43, 43,
1402
- 43, 43, 43, 43, 43, 43, 43, 43,
1403
- 43, 43, 43, 43, 43, 43, 43, 43,
1404
- 43, 43, 43, 43, 43, 43, 43, 43,
1405
- 43, 43, 43, 43, 43, 43, 43, 43,
1406
- 43, 43, 43, 43, 43, 43, 43, 43,
1407
- 43, 43, 43, 43, 43, 43, 43, 43,
1408
- 43, 43, 43, 43, 43, 43, 43, 43,
1409
- 43, 43, 43, 43, 43, 43, 43, 43,
1410
- 43, 43, 43, 43, 43, 43, 43, 43,
1411
- 43, 43, 43, 43, 43, 43, 43, 43,
1412
- 43, 43, 43, 43, 43, 43, 43, 43,
1413
- 43, 43, 43, 43, 43, 43, 43, 43,
1414
- 43, 43, 43, 43, 43, 43, 43, 43,
1415
- 43, 43, 43, 43, 43, 43, 43, 43,
1416
- 43, 43, 43, 43, 43, 43, 43, 43,
1417
- 43, 43, 43, 43, 43, 43, 43, 43,
1418
- 43, 43, 43, 43, 43, 43, 43, 43,
1419
- 43, 43, 43, 43, 43, 43, 43, 43,
1420
- 43, 43, 43, 43, 43, 43, 43, 43,
1421
- 43, 43, 43, 43, 43, 43, 43, 43,
1422
- 43, 43, 43, 43, 43, 43, 43, 43,
1423
- 43, 43, 43, 43, 43, 43, 43, 43,
1424
- 43, 43, 43, 43, 43, 43, 43, 43,
1425
- 43, 43, 43, 43, 43, 43, 43, 43,
1426
- 43, 43, 43, 43, 43, 43, 43, 43,
1427
- 43, 43, 43, 43, 43, 43, 43, 43,
1428
- 43, 43, 43, 43, 43, 43, 43, 43,
1429
- 43, 43, 43, 43, 43, 43, 43, 43,
1430
- 43, 43, 43, 43, 43, 43, 43, 43,
1431
- 43, 43, 43, 43, 43, 43, 43, 43,
1432
- 43, 43, 43, 43, 43, 43, 43, 43,
1433
- 43, 43, 43, 43, 43, 43, 43, 43,
1434
- 43, 43, 43, 43, 43, 43, 43, 43,
1435
- 43, 43, 43, 43, 43, 43, 43, 43,
1436
- 43, 43, 43, 43, 43, 43, 43, 43,
1437
- 43, 43, 43, 43, 43, 43, 43, 43,
1438
- 43, 43, 43, 43, 43, 43, 43, 43,
1439
- 43, 43, 43, 43, 43, 43, 43, 43,
1440
- 43, 43, 43, 43, 43, 43, 43, 43,
1441
- 43, 43, 43, 43, 43, 43, 43, 43,
1442
- 43, 43, 43, 43, 43, 43, 43, 43,
1443
- 43, 43, 43, 43, 43, 43, 43, 43,
1444
- 43, 43, 43, 43, 43, 43, 43, 43,
1445
- 43, 43, 43, 43, 43, 43, 43, 43,
1446
- 43, 43, 43, 43, 43, 43, 43, 43,
1447
- 43, 43, 43, 43, 43, 43, 43, 43,
1448
- 43, 43, 43, 43, 43, 43, 43, 43,
1449
- 43, 43, 43, 43, 43, 43, 43, 43,
1450
- 43, 43, 43, 43, 43, 43, 43, 43,
1451
- 43, 43, 43, 43, 43, 43, 43, 43,
1452
- 43, 43, 43, 43, 43, 43, 43, 43,
1453
- 43, 43, 43, 43, 43, 43, 43, 43,
1454
- 43, 43, 43, 43, 43, 43, 43, 43,
1455
- 43, 43, 43, 43, 43, 43, 43, 43,
1456
- 43, 43, 43, 43, 43, 43, 43, 43,
1457
- 43, 43, 43, 43, 43, 43, 43, 43,
1458
- 43, 43, 43, 43, 43, 43, 43, 43,
1459
- 43, 43, 43, 43, 43, 43, 43, 43,
1460
- 43, 43, 43, 43, 43, 43, 43, 43,
1461
- 43, 43, 43, 43, 43, 43, 43, 43,
1462
- 43, 43, 43, 43, 43, 43, 43, 43,
1463
- 43, 43, 43, 43, 43, 43, 43, 43,
1464
- 43, 43, 43, 43, 43, 43, 43, 43,
1465
- 43, 43, 43, 43, 43, 43, 43, 43,
1466
- 43, 43, 43, 43, 43, 43, 43, 43,
1467
- 43, 43, 43, 43, 43, 43, 43, 43,
1468
- 43, 43, 43, 43, 43, 43, 43, 43,
1469
- 43, 43, 43, 43, 43, 43, 43, 43,
1470
- 43, 43, 43, 43, 43, 43, 43, 43,
1471
- 43, 43, 43, 43, 43, 43, 43, 43,
1472
- 43, 43, 43, 43, 43, 43, 43, 43,
1473
- 43, 43, 43, 43, 43, 43, 43, 43,
1474
- 43, 43, 43, 43, 43, 43, 43, 43,
1475
- 43, 43, 43, 43, 43, 43, 43, 43,
1476
- 43, 43, 43, 43, 43, 43, 43, 43,
1477
- 43, 43, 43, 43, 43, 43, 43, 43,
1478
- 43, 43, 43, 43, 43, 43, 43, 43,
1479
- 43, 43, 43, 43, 43, 43, 43, 43,
1480
- 43, 43, 43, 43, 43, 43, 43, 43,
1481
- 43, 43, 43, 43, 43, 43, 43, 43,
1482
- 43, 43, 43, 43, 43, 43, 43, 43,
1483
- 43, 43, 43, 43, 43, 43, 43, 43,
1484
- 43, 43, 43, 43, 43, 43, 43, 43,
1485
- 43, 43, 43, 43, 43, 43, 43, 43,
1486
- 43, 43, 43, 43, 43, 43, 43, 43,
1487
- 43, 43, 43, 43, 43, 43, 43, 43,
1488
- 43, 43, 43, 43, 43, 43, 43, 43,
1489
- 43, 43, 43, 43, 43, 43, 43, 43,
1490
- 43, 43, 43, 43, 43, 43, 43, 43,
1491
- 43, 43, 43, 43, 43, 43, 43, 43,
1492
- 43, 43, 43, 43, 43, 43, 43, 43,
1493
- 43, 43, 43, 43, 43, 43, 43, 43,
1494
- 43, 43, 43, 43, 43, 43, 43, 43,
1495
- 43, 43, 43, 43, 43, 43, 43, 43,
1496
- 43, 43, 43, 43, 43, 43, 43
1497
- };
1498
-
1499
- static const int lexer_start = 1;
1500
- static const int lexer_first_final = 846;
1501
- static const int lexer_error = 0;
1502
-
1503
- static const int lexer_en_main = 1;
1504
-
1505
-
1506
- #line 258 "ragel/i18n/ru.c.rl"
1507
-
1508
- static VALUE
1509
- unindent(VALUE con, int start_col)
1510
- {
1511
- VALUE re;
1512
- /* Gherkin will crash gracefully if the string representation of start_col pushes the pattern past 32 characters */
1513
- char pat[32];
1514
- snprintf(pat, 32, "^[\t ]{0,%d}", start_col);
1515
- re = rb_reg_regcomp(rb_str_new2(pat));
1516
- rb_funcall(con, rb_intern("gsub!"), 2, re, rb_str_new2(""));
1517
-
1518
- return Qnil;
1519
-
1520
- }
1521
-
1522
- static void
1523
- store_kw_con(VALUE listener, const char * event_name,
1524
- const char * keyword_at, size_t keyword_length,
1525
- const char * at, size_t length,
1526
- int current_line)
1527
- {
1528
- VALUE con = Qnil, kw = Qnil;
1529
- kw = ENCODED_STR_NEW(keyword_at, keyword_length);
1530
- con = ENCODED_STR_NEW(at, length);
1531
- rb_funcall(con, rb_intern("strip!"), 0);
1532
- rb_funcall(listener, rb_intern(event_name), 3, kw, con, INT2FIX(current_line));
1533
- }
1534
-
1535
- static void
1536
- store_multiline_kw_con(VALUE listener, const char * event_name,
1537
- const char * keyword_at, size_t keyword_length,
1538
- const char * at, size_t length,
1539
- int current_line, int start_col)
1540
- {
1541
- VALUE split;
1542
- VALUE con = Qnil, kw = Qnil, name = Qnil, desc = Qnil;
1543
-
1544
- kw = ENCODED_STR_NEW(keyword_at, keyword_length);
1545
- con = ENCODED_STR_NEW(at, length);
1546
-
1547
- unindent(con, start_col);
1548
-
1549
- split = rb_str_split(con, "\n");
1550
-
1551
- name = rb_funcall(split, rb_intern("shift"), 0);
1552
- desc = rb_ary_join(split, rb_str_new2( "\n" ));
1553
-
1554
- if( name == Qnil )
1555
- {
1556
- name = rb_str_new2("");
1557
- }
1558
- if( rb_funcall(desc, rb_intern("size"), 0) == 0)
1559
- {
1560
- desc = rb_str_new2("");
1561
- }
1562
- rb_funcall(name, rb_intern("strip!"), 0);
1563
- rb_funcall(desc, rb_intern("rstrip!"), 0);
1564
- rb_funcall(listener, rb_intern(event_name), 4, kw, name, desc, INT2FIX(current_line));
1565
- }
1566
-
1567
- static void
1568
- store_attr(VALUE listener, const char * attr_type,
1569
- const char * at, size_t length,
1570
- int line)
1571
- {
1572
- VALUE val = ENCODED_STR_NEW(at, length);
1573
- rb_funcall(listener, rb_intern(attr_type), 2, val, INT2FIX(line));
1574
- }
1575
- static void
1576
- store_docstring_content(VALUE listener,
1577
- int start_col,
1578
- const char *type_at, size_t type_length,
1579
- const char *at, size_t length,
1580
- int current_line)
1581
- {
1582
- VALUE re2;
1583
- VALUE unescape_escaped_quotes;
1584
- VALUE con = ENCODED_STR_NEW(at, length);
1585
- VALUE con_type = ENCODED_STR_NEW(type_at, type_length);
1586
-
1587
- unindent(con, start_col);
1588
-
1589
- re2 = rb_reg_regcomp(rb_str_new2("\r\\Z"));
1590
- unescape_escaped_quotes = rb_reg_regcomp(rb_str_new2("\\\\\"\\\\\"\\\\\""));
1591
- rb_funcall(con, rb_intern("sub!"), 2, re2, rb_str_new2(""));
1592
- rb_funcall(con_type, rb_intern("strip!"), 0);
1593
- rb_funcall(con, rb_intern("gsub!"), 2, unescape_escaped_quotes, rb_str_new2("\"\"\""));
1594
- rb_funcall(listener, rb_intern("doc_string"), 3, con_type, con, INT2FIX(current_line));
1595
- }
1596
- static void
1597
- raise_lexer_error(const char * at, int line)
1598
- {
1599
- rb_raise(rb_eGherkinLexingError, "Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.", line, at);
1600
- }
1601
-
1602
- static void lexer_init(lexer_state *lexer) {
1603
- lexer->content_start = 0;
1604
- lexer->content_end = 0;
1605
- lexer->content_len = 0;
1606
- lexer->docstring_content_type_start = 0;
1607
- lexer->docstring_content_type_end = 0;
1608
- lexer->mark = 0;
1609
- lexer->keyword_start = 0;
1610
- lexer->keyword_end = 0;
1611
- lexer->next_keyword_start = 0;
1612
- lexer->line_number = 1;
1613
- lexer->last_newline = 0;
1614
- lexer->final_newline = 0;
1615
- lexer->start_col = 0;
1616
- }
1617
-
1618
- static VALUE CLexer_alloc(VALUE klass)
1619
- {
1620
- VALUE obj;
1621
- lexer_state *lxr = ALLOC(lexer_state);
1622
- lexer_init(lxr);
1623
-
1624
- obj = Data_Wrap_Struct(klass, NULL, -1, lxr);
1625
-
1626
- return obj;
1627
- }
1628
-
1629
- static VALUE CLexer_init(VALUE self, VALUE listener)
1630
- {
1631
- lexer_state *lxr;
1632
- rb_iv_set(self, "@listener", listener);
1633
-
1634
- lxr = NULL;
1635
- DATA_GET(self, lexer_state, lxr);
1636
- lexer_init(lxr);
1637
-
1638
- return self;
1639
- }
1640
-
1641
- static VALUE CLexer_scan(VALUE self, VALUE input)
1642
- {
1643
- VALUE input_copy;
1644
- char *data;
1645
- size_t len;
1646
- VALUE listener = rb_iv_get(self, "@listener");
1647
-
1648
- lexer_state *lexer;
1649
- lexer = NULL;
1650
- DATA_GET(self, lexer_state, lexer);
1651
-
1652
- input_copy = rb_str_dup(input);
1653
-
1654
- rb_str_append(input_copy, rb_str_new2("\n%_FEATURE_END_%"));
1655
- data = RSTRING_PTR(input_copy);
1656
- len = RSTRING_LEN(input_copy);
1657
-
1658
- if (len == 0) {
1659
- rb_raise(rb_eGherkinLexingError, "No content to lex.");
1660
- } else {
1661
-
1662
- const char *p, *pe, *eof;
1663
- int cs = 0;
1664
-
1665
- VALUE current_row = Qnil;
1666
-
1667
- p = data;
1668
- pe = data + len;
1669
- eof = pe;
1670
-
1671
- assert(*pe == '\0' && "pointer does not end on NULL");
1672
-
1673
-
1674
- #line 1675 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
1675
- {
1676
- cs = lexer_start;
1677
- }
1678
-
1679
- #line 425 "ragel/i18n/ru.c.rl"
1680
-
1681
- #line 1682 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
1682
- {
1683
- int _klen;
1684
- unsigned int _trans;
1685
- const char *_acts;
1686
- unsigned int _nacts;
1687
- const char *_keys;
1688
-
1689
- if ( p == pe )
1690
- goto _test_eof;
1691
- if ( cs == 0 )
1692
- goto _out;
1693
- _resume:
1694
- _keys = _lexer_trans_keys + _lexer_key_offsets[cs];
1695
- _trans = _lexer_index_offsets[cs];
1696
-
1697
- _klen = _lexer_single_lengths[cs];
1698
- if ( _klen > 0 ) {
1699
- const char *_lower = _keys;
1700
- const char *_mid;
1701
- const char *_upper = _keys + _klen - 1;
1702
- while (1) {
1703
- if ( _upper < _lower )
1704
- break;
1705
-
1706
- _mid = _lower + ((_upper-_lower) >> 1);
1707
- if ( (*p) < *_mid )
1708
- _upper = _mid - 1;
1709
- else if ( (*p) > *_mid )
1710
- _lower = _mid + 1;
1711
- else {
1712
- _trans += (unsigned int)(_mid - _keys);
1713
- goto _match;
1714
- }
1715
- }
1716
- _keys += _klen;
1717
- _trans += _klen;
1718
- }
1719
-
1720
- _klen = _lexer_range_lengths[cs];
1721
- if ( _klen > 0 ) {
1722
- const char *_lower = _keys;
1723
- const char *_mid;
1724
- const char *_upper = _keys + (_klen<<1) - 2;
1725
- while (1) {
1726
- if ( _upper < _lower )
1727
- break;
1728
-
1729
- _mid = _lower + (((_upper-_lower) >> 1) & ~1);
1730
- if ( (*p) < _mid[0] )
1731
- _upper = _mid - 2;
1732
- else if ( (*p) > _mid[1] )
1733
- _lower = _mid + 2;
1734
- else {
1735
- _trans += (unsigned int)((_mid - _keys)>>1);
1736
- goto _match;
1737
- }
1738
- }
1739
- _trans += _klen;
1740
- }
1741
-
1742
- _match:
1743
- cs = _lexer_trans_targs[_trans];
1744
-
1745
- if ( _lexer_trans_actions[_trans] == 0 )
1746
- goto _again;
1747
-
1748
- _acts = _lexer_actions + _lexer_trans_actions[_trans];
1749
- _nacts = (unsigned int) *_acts++;
1750
- while ( _nacts-- > 0 )
1751
- {
1752
- switch ( *_acts++ )
1753
- {
1754
- case 0:
1755
- #line 83 "ragel/i18n/ru.c.rl"
1756
- {
1757
- MARK(content_start, p);
1758
- lexer->current_line = lexer->line_number;
1759
- lexer->start_col = lexer->content_start - lexer->last_newline - (lexer->keyword_end - lexer->keyword_start) + 2;
1760
- }
1761
- break;
1762
- case 1:
1763
- #line 89 "ragel/i18n/ru.c.rl"
1764
- {
1765
- MARK(content_start, p);
1766
- }
1767
- break;
1768
- case 2:
1769
- #line 93 "ragel/i18n/ru.c.rl"
1770
- {
1771
- lexer->current_line = lexer->line_number;
1772
- lexer->start_col = p - data - lexer->last_newline;
1773
- }
1774
- break;
1775
- case 3:
1776
- #line 98 "ragel/i18n/ru.c.rl"
1777
- {
1778
- int len = LEN(content_start, PTR_TO(final_newline));
1779
- int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
1780
-
1781
- if (len < 0) len = 0;
1782
- if (type_len < 0) len = 0;
1783
-
1784
- store_docstring_content(listener, lexer->start_col, PTR_TO(docstring_content_type_start), type_len, PTR_TO(content_start), len, lexer->current_line);
1785
- }
1786
- break;
1787
- case 4:
1788
- #line 108 "ragel/i18n/ru.c.rl"
1789
- {
1790
- MARK(docstring_content_type_start, p);
1791
- }
1792
- break;
1793
- case 5:
1794
- #line 112 "ragel/i18n/ru.c.rl"
1795
- {
1796
- MARK(docstring_content_type_end, p);
1797
- }
1798
- break;
1799
- case 6:
1800
- #line 116 "ragel/i18n/ru.c.rl"
1801
- {
1802
- STORE_KW_END_CON(feature);
1803
- }
1804
- break;
1805
- case 7:
1806
- #line 120 "ragel/i18n/ru.c.rl"
1807
- {
1808
- STORE_KW_END_CON(background);
1809
- }
1810
- break;
1811
- case 8:
1812
- #line 124 "ragel/i18n/ru.c.rl"
1813
- {
1814
- STORE_KW_END_CON(scenario);
1815
- }
1816
- break;
1817
- case 9:
1818
- #line 128 "ragel/i18n/ru.c.rl"
1819
- {
1820
- STORE_KW_END_CON(scenario_outline);
1821
- }
1822
- break;
1823
- case 10:
1824
- #line 132 "ragel/i18n/ru.c.rl"
1825
- {
1826
- STORE_KW_END_CON(examples);
1827
- }
1828
- break;
1829
- case 11:
1830
- #line 136 "ragel/i18n/ru.c.rl"
1831
- {
1832
- store_kw_con(listener, "step",
1833
- PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
1834
- PTR_TO(content_start), LEN(content_start, p),
1835
- lexer->current_line);
1836
- }
1837
- break;
1838
- case 12:
1839
- #line 143 "ragel/i18n/ru.c.rl"
1840
- {
1841
- STORE_ATTR(comment);
1842
- lexer->mark = 0;
1843
- }
1844
- break;
1845
- case 13:
1846
- #line 148 "ragel/i18n/ru.c.rl"
1847
- {
1848
- STORE_ATTR(tag);
1849
- lexer->mark = 0;
1850
- }
1851
- break;
1852
- case 14:
1853
- #line 153 "ragel/i18n/ru.c.rl"
1854
- {
1855
- lexer->line_number += 1;
1856
- MARK(final_newline, p);
1857
- }
1858
- break;
1859
- case 15:
1860
- #line 158 "ragel/i18n/ru.c.rl"
1861
- {
1862
- MARK(last_newline, p + 1);
1863
- }
1864
- break;
1865
- case 16:
1866
- #line 162 "ragel/i18n/ru.c.rl"
1867
- {
1868
- if (lexer->mark == 0) {
1869
- MARK(mark, p);
1870
- }
1871
- }
1872
- break;
1873
- case 17:
1874
- #line 168 "ragel/i18n/ru.c.rl"
1875
- {
1876
- MARK(keyword_end, p);
1877
- MARK(keyword_start, PTR_TO(mark));
1878
- MARK(content_start, p + 1);
1879
- lexer->mark = 0;
1880
- }
1881
- break;
1882
- case 18:
1883
- #line 175 "ragel/i18n/ru.c.rl"
1884
- {
1885
- MARK(content_end, p);
1886
- }
1887
- break;
1888
- case 19:
1889
- #line 179 "ragel/i18n/ru.c.rl"
1890
- {
1891
- p = p - 1;
1892
- lexer->current_line = lexer->line_number;
1893
- current_row = rb_ary_new();
1894
- }
1895
- break;
1896
- case 20:
1897
- #line 185 "ragel/i18n/ru.c.rl"
1898
- {
1899
- MARK(content_start, p);
1900
- }
1901
- break;
1902
- case 21:
1903
- #line 189 "ragel/i18n/ru.c.rl"
1904
- {
1905
- VALUE re_pipe, re_newline, re_backslash;
1906
- VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
1907
- rb_funcall(con, rb_intern("strip!"), 0);
1908
- re_pipe = rb_reg_regcomp(rb_str_new2("\\\\\\|"));
1909
- re_newline = rb_reg_regcomp(rb_str_new2("\\\\n"));
1910
- re_backslash = rb_reg_regcomp(rb_str_new2("\\\\\\\\"));
1911
- rb_funcall(con, rb_intern("gsub!"), 2, re_pipe, rb_str_new2("|"));
1912
- rb_funcall(con, rb_intern("gsub!"), 2, re_newline, rb_str_new2("\n"));
1913
- rb_funcall(con, rb_intern("gsub!"), 2, re_backslash, rb_str_new2("\\"));
1914
-
1915
- rb_ary_push(current_row, con);
1916
- }
1917
- break;
1918
- case 22:
1919
- #line 203 "ragel/i18n/ru.c.rl"
1920
- {
1921
- rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1922
- }
1923
- break;
1924
- case 23:
1925
- #line 207 "ragel/i18n/ru.c.rl"
1926
- {
1927
- int line;
1928
- if (cs < lexer_first_final) {
1929
- size_t count = 0;
1930
- VALUE newstr_val;
1931
- char *newstr;
1932
- int newstr_count = 0;
1933
- size_t len;
1934
- const char *buff;
1935
- if (lexer->last_newline != 0) {
1936
- len = LEN(last_newline, eof);
1937
- buff = PTR_TO(last_newline);
1938
- } else {
1939
- len = strlen(data);
1940
- buff = data;
1941
- }
1942
-
1943
- /* Allocate as a ruby string so that it gets cleaned up by GC */
1944
- newstr_val = rb_str_new(buff, len);
1945
- newstr = RSTRING_PTR(newstr_val);
1946
-
1947
-
1948
- for (count = 0; count < len; count++) {
1949
- if(buff[count] == 10) {
1950
- newstr[newstr_count] = '\0'; /* terminate new string at first newline found */
1951
- break;
1952
- } else {
1953
- if (buff[count] == '%') {
1954
- newstr[newstr_count++] = buff[count];
1955
- newstr[newstr_count] = buff[count];
1956
- } else {
1957
- newstr[newstr_count] = buff[count];
1958
- }
1959
- }
1960
- newstr_count++;
1961
- }
1962
-
1963
- line = lexer->line_number;
1964
- lexer_init(lexer); /* Re-initialize so we can scan again with the same lexer */
1965
- raise_lexer_error(newstr, line);
1966
- } else {
1967
- rb_funcall(listener, rb_intern("eof"), 0);
1968
- }
1969
- }
1970
- break;
1971
- #line 1972 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
1972
- }
1973
- }
1974
-
1975
- _again:
1976
- if ( cs == 0 )
1977
- goto _out;
1978
- if ( ++p != pe )
1979
- goto _resume;
1980
- _test_eof: {}
1981
- if ( p == eof )
1982
- {
1983
- const char *__acts = _lexer_actions + _lexer_eof_actions[cs];
1984
- unsigned int __nacts = (unsigned int) *__acts++;
1985
- while ( __nacts-- > 0 ) {
1986
- switch ( *__acts++ ) {
1987
- case 23:
1988
- #line 207 "ragel/i18n/ru.c.rl"
1989
- {
1990
- int line;
1991
- if (cs < lexer_first_final) {
1992
- size_t count = 0;
1993
- VALUE newstr_val;
1994
- char *newstr;
1995
- int newstr_count = 0;
1996
- size_t len;
1997
- const char *buff;
1998
- if (lexer->last_newline != 0) {
1999
- len = LEN(last_newline, eof);
2000
- buff = PTR_TO(last_newline);
2001
- } else {
2002
- len = strlen(data);
2003
- buff = data;
2004
- }
2005
-
2006
- /* Allocate as a ruby string so that it gets cleaned up by GC */
2007
- newstr_val = rb_str_new(buff, len);
2008
- newstr = RSTRING_PTR(newstr_val);
2009
-
2010
-
2011
- for (count = 0; count < len; count++) {
2012
- if(buff[count] == 10) {
2013
- newstr[newstr_count] = '\0'; /* terminate new string at first newline found */
2014
- break;
2015
- } else {
2016
- if (buff[count] == '%') {
2017
- newstr[newstr_count++] = buff[count];
2018
- newstr[newstr_count] = buff[count];
2019
- } else {
2020
- newstr[newstr_count] = buff[count];
2021
- }
2022
- }
2023
- newstr_count++;
2024
- }
2025
-
2026
- line = lexer->line_number;
2027
- lexer_init(lexer); /* Re-initialize so we can scan again with the same lexer */
2028
- raise_lexer_error(newstr, line);
2029
- } else {
2030
- rb_funcall(listener, rb_intern("eof"), 0);
2031
- }
2032
- }
2033
- break;
2034
- #line 2035 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
2035
- }
2036
- }
2037
- }
2038
-
2039
- _out: {}
2040
- }
2041
-
2042
- #line 426 "ragel/i18n/ru.c.rl"
2043
-
2044
- assert(p <= pe && "data overflow after parsing execute");
2045
- assert(lexer->content_start <= len && "content starts after data end");
2046
- assert(lexer->mark < len && "mark is after data end");
2047
-
2048
- /* Reset lexer by re-initializing the whole thing */
2049
- lexer_init(lexer);
2050
-
2051
- if (cs == lexer_error) {
2052
- rb_raise(rb_eGherkinLexingError, "Invalid format, lexing fails.");
2053
- } else {
2054
- return Qtrue;
2055
- }
2056
- }
2057
- }
2058
-
2059
- void Init_gherkin_lexer_ru()
2060
- {
2061
- mGherkin = rb_define_module("Gherkin");
2062
- mGherkinLexer = rb_define_module_under(mGherkin, "Lexer");
2063
- rb_eGherkinLexingError = rb_const_get(mGherkinLexer, rb_intern("LexingError"));
2064
-
2065
- mCLexer = rb_define_module_under(mGherkin, "CLexer");
2066
- cI18nLexer = rb_define_class_under(mCLexer, "Ru", rb_cObject);
2067
- rb_define_alloc_func(cI18nLexer, CLexer_alloc);
2068
- rb_define_method(cI18nLexer, "initialize", CLexer_init, 1);
2069
- rb_define_method(cI18nLexer, "scan", CLexer_scan, 1);
2070
- }
2071
-