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,1766 +0,0 @@
1
-
2
- # line 1 "ragel/i18n/ru.rb.rl"
3
- require 'gherkin/native'
4
-
5
- module Gherkin
6
- module Lexer
7
- class Ru #:nodoc:
8
- native_impl('gherkin')
9
-
10
-
11
- # line 125 "ragel/i18n/ru.rb.rl"
12
-
13
-
14
- def initialize(listener)
15
- @listener = listener
16
-
17
- # Initialize ivars to avoid warnings
18
- @keyword = nil
19
-
20
- # line 21 "lib/gherkin/lexer/ru.rb"
21
- class << self
22
- attr_accessor :_lexer_actions
23
- private :_lexer_actions, :_lexer_actions=
24
- end
25
- self._lexer_actions = [
26
- 0, 1, 0, 1, 1, 1, 2, 1,
27
- 3, 1, 4, 1, 5, 1, 6, 1,
28
- 7, 1, 8, 1, 9, 1, 10, 1,
29
- 11, 1, 12, 1, 13, 1, 16, 1,
30
- 17, 1, 18, 1, 19, 1, 20, 1,
31
- 21, 1, 22, 1, 23, 2, 2, 18,
32
- 2, 3, 4, 2, 13, 0, 2, 14,
33
- 15, 2, 17, 0, 2, 17, 1, 2,
34
- 17, 16, 2, 17, 19, 2, 18, 6,
35
- 2, 18, 7, 2, 18, 8, 2, 18,
36
- 9, 2, 18, 10, 2, 18, 16, 2,
37
- 20, 21, 2, 22, 0, 2, 22, 1,
38
- 2, 22, 16, 2, 22, 19, 3, 4,
39
- 14, 15, 3, 5, 14, 15, 3, 11,
40
- 14, 15, 3, 12, 14, 15, 3, 13,
41
- 14, 15, 3, 14, 15, 18, 3, 17,
42
- 0, 11, 3, 17, 14, 15, 4, 2,
43
- 14, 15, 18, 4, 3, 4, 14, 15,
44
- 4, 17, 0, 14, 15, 5, 17, 0,
45
- 11, 14, 15
46
- ]
47
-
48
- class << self
49
- attr_accessor :_lexer_key_offsets
50
- private :_lexer_key_offsets, :_lexer_key_offsets=
51
- end
52
- self._lexer_key_offsets = [
53
- 0, 0, 12, 22, 23, 25, 27, 38,
54
- 39, 40, 42, 44, 49, 54, 59, 64,
55
- 68, 72, 74, 75, 76, 77, 78, 79,
56
- 80, 81, 82, 83, 84, 85, 86, 87,
57
- 88, 89, 94, 101, 106, 110, 116, 119,
58
- 121, 127, 138, 139, 141, 142, 143, 144,
59
- 145, 146, 147, 148, 149, 150, 151, 152,
60
- 153, 154, 155, 156, 157, 158, 159, 160,
61
- 161, 162, 163, 165, 166, 167, 169, 170,
62
- 171, 172, 173, 174, 175, 176, 177, 178,
63
- 179, 180, 181, 182, 183, 184, 185, 186,
64
- 195, 206, 208, 219, 221, 224, 226, 228,
65
- 230, 232, 234, 236, 238, 240, 242, 244,
66
- 246, 248, 250, 252, 254, 256, 258, 260,
67
- 262, 264, 266, 268, 271, 273, 275, 277,
68
- 279, 281, 283, 285, 287, 289, 291, 293,
69
- 295, 297, 299, 301, 303, 305, 307, 309,
70
- 311, 313, 315, 317, 319, 321, 323, 325,
71
- 327, 330, 332, 334, 336, 338, 340, 342,
72
- 344, 346, 348, 350, 352, 354, 356, 358,
73
- 361, 363, 365, 367, 369, 371, 373, 375,
74
- 377, 379, 381, 383, 385, 387, 389, 391,
75
- 393, 395, 397, 399, 401, 403, 405, 407,
76
- 409, 411, 413, 415, 417, 419, 421, 423,
77
- 425, 427, 429, 431, 433, 435, 437, 439,
78
- 441, 443, 445, 447, 449, 452, 454, 456,
79
- 459, 461, 463, 465, 467, 469, 471, 473,
80
- 475, 477, 479, 482, 484, 486, 488, 490,
81
- 492, 494, 496, 498, 500, 502, 504, 506,
82
- 508, 510, 512, 514, 516, 518, 520, 522,
83
- 524, 525, 526, 527, 528, 529, 530, 531,
84
- 532, 533, 534, 535, 536, 537, 538, 540,
85
- 541, 543, 544, 545, 546, 547, 548, 549,
86
- 550, 551, 552, 553, 554, 555, 556, 557,
87
- 558, 559, 560, 561, 562, 563, 564, 565,
88
- 566, 567, 568, 569, 570, 577, 580, 582,
89
- 584, 586, 588, 590, 592, 594, 596, 598,
90
- 600, 602, 604, 606, 608, 610, 612, 614,
91
- 616, 618, 620, 622, 624, 626, 628, 630,
92
- 633, 635, 637, 639, 641, 643, 645, 647,
93
- 649, 650, 651, 652, 653, 654, 655, 657,
94
- 658, 659, 660, 661, 662, 663, 664, 665,
95
- 666, 667, 668, 669, 670, 671, 672, 673,
96
- 681, 686, 688, 690, 692, 694, 696, 698,
97
- 700, 702, 704, 706, 708, 710, 712, 714,
98
- 716, 718, 720, 722, 725, 727, 729, 731,
99
- 733, 735, 737, 739, 741, 743, 745, 747,
100
- 749, 751, 753, 755, 757, 759, 761, 763,
101
- 765, 767, 769, 771, 773, 776, 778, 780,
102
- 782, 784, 786, 788, 790, 792, 794, 796,
103
- 798, 800, 802, 805, 807, 809, 811, 813,
104
- 815, 817, 819, 821, 823, 825, 827, 829,
105
- 831, 833, 835, 837, 839, 841, 843, 845,
106
- 847, 849, 851, 853, 855, 857, 859, 861,
107
- 863, 865, 867, 869, 871, 873, 875, 877,
108
- 879, 881, 883, 885, 887, 889, 891, 893,
109
- 895, 897, 899, 902, 904, 906, 908, 910,
110
- 912, 914, 916, 918, 920, 922, 924, 926,
111
- 928, 930, 932, 934, 936, 938, 940, 942,
112
- 944, 946, 947, 948, 949, 950, 951, 952,
113
- 953, 954, 955, 956, 957, 958, 959, 960,
114
- 961, 962, 963, 964, 965, 966, 967, 968,
115
- 969, 970, 971, 972, 973, 974, 975, 976,
116
- 977, 978, 979, 980, 989, 1000, 1002, 1004,
117
- 1007, 1009, 1011, 1013, 1015, 1017, 1019, 1021,
118
- 1023, 1025, 1027, 1029, 1031, 1033, 1035, 1037,
119
- 1039, 1041, 1043, 1045, 1047, 1049, 1051, 1054,
120
- 1056, 1058, 1060, 1062, 1064, 1066, 1068, 1070,
121
- 1072, 1074, 1076, 1078, 1080, 1082, 1084, 1086,
122
- 1088, 1090, 1092, 1094, 1096, 1098, 1100, 1102,
123
- 1104, 1106, 1108, 1110, 1113, 1115, 1117, 1119,
124
- 1121, 1123, 1125, 1127, 1129, 1131, 1133, 1135,
125
- 1137, 1139, 1141, 1143, 1145, 1147, 1149, 1151,
126
- 1153, 1155, 1157, 1159, 1161, 1163, 1165, 1167,
127
- 1169, 1172, 1174, 1176, 1179, 1181, 1183, 1185,
128
- 1187, 1189, 1191, 1193, 1195, 1197, 1199, 1202,
129
- 1204, 1206, 1208, 1210, 1212, 1214, 1216, 1218,
130
- 1220, 1222, 1224, 1226, 1228, 1230, 1232, 1234,
131
- 1236, 1238, 1240, 1242, 1244, 1246, 1247, 1248,
132
- 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256,
133
- 1257, 1258, 1259, 1260, 1261, 1270, 1281, 1283,
134
- 1285, 1288, 1290, 1292, 1294, 1296, 1298, 1300,
135
- 1302, 1304, 1306, 1308, 1310, 1312, 1314, 1316,
136
- 1318, 1320, 1322, 1324, 1326, 1328, 1330, 1332,
137
- 1335, 1337, 1339, 1342, 1344, 1346, 1348, 1350,
138
- 1352, 1354, 1356, 1358, 1360, 1362, 1364, 1366,
139
- 1368, 1370, 1372, 1374, 1376, 1378, 1380, 1382,
140
- 1384, 1386, 1388, 1390, 1392, 1394, 1396, 1398,
141
- 1400, 1403, 1405, 1407, 1409, 1411, 1413, 1415,
142
- 1417, 1419, 1421, 1423, 1425, 1427, 1429, 1431,
143
- 1433, 1435, 1437, 1439, 1441, 1443, 1445, 1447,
144
- 1449, 1451, 1454, 1456, 1458, 1460, 1462, 1464,
145
- 1466, 1468, 1470, 1472, 1474, 1476, 1478, 1480,
146
- 1483, 1485, 1487, 1489, 1491, 1493, 1495, 1497,
147
- 1499, 1501, 1503, 1505, 1507, 1509, 1511, 1513,
148
- 1515, 1517, 1519, 1521, 1523, 1525, 1527, 1529,
149
- 1531, 1533, 1535, 1537, 1539, 1541, 1543, 1545,
150
- 1547, 1549, 1551, 1553, 1555, 1557, 1559, 1562,
151
- 1564, 1566, 1569, 1571, 1573, 1575, 1577, 1579,
152
- 1581, 1583, 1585, 1587, 1589, 1591, 1594, 1596,
153
- 1598, 1600, 1602, 1604, 1606, 1608, 1610, 1612,
154
- 1614, 1616, 1618, 1620, 1622, 1624, 1626, 1628,
155
- 1630, 1632, 1634, 1636, 1637, 1639, 1640, 1641,
156
- 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650,
157
- 1651, 1652, 1653, 1654, 1656, 1657, 1658, 1659,
158
- 1660, 1661, 1662, 1663, 1664, 1665, 1666
159
- ]
160
-
161
- class << self
162
- attr_accessor :_lexer_trans_keys
163
- private :_lexer_trans_keys, :_lexer_trans_keys=
164
- end
165
- self._lexer_trans_keys = [
166
- -48, -17, 10, 32, 34, 35, 37, 42,
167
- 64, 124, 9, 13, -112, -108, -107, -104,
168
- -102, -99, -97, -95, -94, -92, 32, 10,
169
- 13, 10, 13, -48, 10, 32, 34, 35,
170
- 37, 42, 64, 124, 9, 13, 34, 34,
171
- 10, 13, 10, 13, 10, 32, 34, 9,
172
- 13, 10, 32, 34, 9, 13, 10, 32,
173
- 34, 9, 13, 10, 32, 34, 9, 13,
174
- 10, 32, 9, 13, 10, 32, 9, 13,
175
- 10, 13, 10, 95, 70, 69, 65, 84,
176
- 85, 82, 69, 95, 69, 78, 68, 95,
177
- 37, 13, 32, 64, 9, 10, 9, 10,
178
- 13, 32, 64, 11, 12, 10, 32, 64,
179
- 9, 13, 32, 124, 9, 13, 10, 32,
180
- 92, 124, 9, 13, 10, 92, 124, 10,
181
- 92, 10, 32, 92, 124, 9, 13, -48,
182
- 10, 32, 34, 35, 37, 42, 64, 124,
183
- 9, 13, -48, -80, -66, -48, -67, -48,
184
- -66, -48, -65, -47, -125, -47, -127, -47,
185
- -126, -48, -72, -48, -68, -47, -127, -48,
186
- -69, -48, -72, -48, 32, -66, -48, -77,
187
- -67, -48, -76, -48, -80, -47, -126, -48,
188
- -75, -48, -70, -47, -127, -47, -126, 58,
189
- 10, 10, -48, 10, 32, 35, 37, 42,
190
- 64, 9, 13, -112, -108, -107, -104, -102,
191
- -99, -97, -95, -94, -92, 10, 10, 32,
192
- -48, 10, 32, 34, 35, 37, 42, 64,
193
- 124, 9, 13, -48, 10, -80, -66, 10,
194
- -48, 10, -67, 10, -48, 10, -66, 10,
195
- -48, 10, -65, 10, -47, 10, -125, 10,
196
- -47, 10, -127, 10, -47, 10, -126, 10,
197
- -48, 10, -72, 10, -48, 10, -68, 10,
198
- -47, 10, -127, 10, -48, 10, -69, 10,
199
- -48, 10, -72, 10, -48, 10, 32, -66,
200
- 10, -48, 10, -77, 10, -48, 10, -76,
201
- 10, -48, 10, -80, 10, -47, 10, -126,
202
- 10, -48, 10, -66, 10, -48, 10, -68,
203
- 10, -47, 10, -125, 10, 10, 32, -48,
204
- 10, -74, 10, -48, 10, -75, 10, -47,
205
- 10, -125, 10, -47, 10, -127, 10, -47,
206
- 10, -126, 10, -47, 10, -116, 10, -48,
207
- -47, 10, -78, 10, -48, 10, -66, 10,
208
- -48, 10, -71, 10, -47, 10, -127, 10,
209
- -47, 10, -126, 10, -48, 10, -78, 10,
210
- -48, 10, -66, 10, 10, 58, -126, -122,
211
- 10, -47, 10, -128, 10, -47, 10, -125,
212
- 10, -48, 10, -70, 10, -47, 10, -126,
213
- 10, -47, 10, -125, 10, -47, 10, -128,
214
- 10, -48, 10, -80, 10, 10, 32, -47,
215
- 10, -127, 10, -47, 10, -122, 10, -48,
216
- 10, -75, 10, -48, 10, -67, 10, -48,
217
- 10, -80, 10, -47, 10, -128, 10, -48,
218
- 10, -72, 10, -47, 10, -113, 10, -48,
219
- 10, -75, 10, -48, 10, -67, 10, -48,
220
- 10, -80, 10, -47, 10, -128, 10, -48,
221
- 10, -72, 10, -48, 10, -71, 10, -48,
222
- 10, -80, -66, 10, -48, 10, -70, 10,
223
- -48, 10, 32, -47, 10, -125, 10, -48,
224
- 10, -67, 10, -48, 10, -70, 10, -47,
225
- 10, -122, 10, -48, 10, -72, 10, -48,
226
- -47, 10, -66, 10, -48, 10, -67, 10,
227
- -48, 10, -80, 10, -48, 10, -69, 10,
228
- 10, 95, 10, 70, 10, 69, 10, 65,
229
- 10, 84, 10, 85, 10, 82, 10, 69,
230
- 10, 95, 10, 69, 10, 78, 10, 68,
231
- 10, 95, 10, 37, -47, -126, -48, -66,
232
- -48, -68, -47, -125, 32, -48, -74, -48,
233
- -75, -47, -128, -125, -48, -75, -72, -48,
234
- -76, -47, -117, -47, -127, -47, -126, -48,
235
- -66, -47, -128, -48, -72, -47, -113, -48,
236
- -68, -48, -75, -47, -128, -47, -117, 58,
237
- 10, 10, -48, 10, 32, 35, 124, 9,
238
- 13, -95, -92, 10, -48, 10, -78, 10,
239
- -48, 10, -66, 10, -48, 10, -71, 10,
240
- -47, 10, -127, 10, -47, 10, -126, 10,
241
- -48, 10, -78, 10, -48, 10, -66, 10,
242
- 10, 58, -47, 10, -125, 10, -48, 10,
243
- -67, 10, -48, 10, -70, 10, -47, 10,
244
- -122, 10, -48, 10, -72, 10, -48, -47,
245
- 10, -66, 10, -48, 10, -67, 10, -48,
246
- 10, -80, 10, -48, 10, -69, 10, -113,
247
- 10, -47, -127, -47, -126, -47, -116, -48,
248
- -47, -78, -48, -66, -48, -71, -47, -127,
249
- -47, -126, -48, -78, -48, -66, 58, 10,
250
- 10, -48, 10, 32, 35, 37, 64, 9,
251
- 13, -102, -97, -95, -92, 10, -48, 10,
252
- -66, 10, -48, 10, -67, 10, -47, 10,
253
- -126, 10, -48, 10, -75, 10, -48, 10,
254
- -70, 10, -47, 10, -127, 10, -47, 10,
255
- -126, 10, 10, 58, -47, 10, -128, 10,
256
- -48, 10, -75, -72, 10, -48, 10, -76,
257
- 10, -47, 10, -117, 10, -47, 10, -127,
258
- 10, -47, 10, -126, 10, -48, 10, -66,
259
- 10, -47, 10, -128, 10, -48, 10, -72,
260
- 10, -47, 10, -113, 10, -48, 10, -68,
261
- 10, -48, 10, -75, 10, -47, 10, -128,
262
- 10, -47, 10, -117, 10, -48, -47, 10,
263
- -78, 10, -48, 10, -66, 10, -48, 10,
264
- -71, 10, -47, 10, -127, 10, -47, 10,
265
- -126, 10, -48, 10, -78, 10, -48, 10,
266
- -66, 10, -126, -122, 10, -47, 10, -128,
267
- 10, -47, 10, -125, 10, -48, 10, -70,
268
- 10, -47, 10, -126, 10, -47, 10, -125,
269
- 10, -47, 10, -128, 10, -48, 10, -80,
270
- 10, 10, 32, -47, 10, -127, 10, -47,
271
- 10, -122, 10, -48, 10, -75, 10, -48,
272
- 10, -67, 10, -48, 10, -80, 10, -48,
273
- 10, -75, 10, -48, 10, -67, 10, -48,
274
- 10, -80, 10, -47, 10, -128, 10, -48,
275
- 10, -72, 10, -48, 10, -71, 10, -47,
276
- 10, -125, 10, -48, 10, -67, 10, -48,
277
- 10, -70, 10, -47, 10, -122, 10, -48,
278
- 10, -72, 10, -48, -47, 10, -66, 10,
279
- -48, 10, -67, 10, -48, 10, -80, 10,
280
- -48, 10, -69, 10, 10, 95, 10, 70,
281
- 10, 69, 10, 65, 10, 84, 10, 85,
282
- 10, 82, 10, 69, 10, 95, 10, 69,
283
- 10, 78, 10, 68, 10, 95, 10, 37,
284
- -126, -122, -47, -128, -47, -125, -48, -70,
285
- -47, -126, -47, -125, -47, -128, -48, -80,
286
- 32, -47, -127, -47, -122, -48, -75, -48,
287
- -67, -48, -80, -47, -128, -48, -72, -47,
288
- -113, 58, 10, 10, -48, 10, 32, 35,
289
- 37, 42, 64, 9, 13, -112, -108, -107,
290
- -104, -102, -99, -97, -95, -94, -92, 10,
291
- 10, 32, -48, 10, -80, -66, 10, -48,
292
- 10, -67, 10, -48, 10, -66, 10, -48,
293
- 10, -65, 10, -47, 10, -125, 10, -47,
294
- 10, -127, 10, -47, 10, -126, 10, -48,
295
- 10, -72, 10, -48, 10, -68, 10, -47,
296
- 10, -127, 10, -48, 10, -69, 10, -48,
297
- 10, -72, 10, -48, 10, 32, -66, 10,
298
- -48, 10, -77, 10, -48, 10, -76, 10,
299
- -48, 10, -80, 10, -47, 10, -126, 10,
300
- -48, 10, -66, 10, -48, 10, -68, 10,
301
- -47, 10, -125, 10, 10, 32, -48, 10,
302
- -74, 10, -48, 10, -75, 10, -47, 10,
303
- -125, 10, -47, 10, -127, 10, -47, 10,
304
- -126, 10, -47, 10, -116, 10, -48, -47,
305
- 10, -78, 10, -48, 10, -66, 10, -48,
306
- 10, -71, 10, -47, 10, -127, 10, -47,
307
- 10, -126, 10, -48, 10, -78, 10, -48,
308
- 10, -66, 10, 10, 58, -122, 10, -48,
309
- 10, -75, 10, -48, 10, -67, 10, -48,
310
- 10, -80, 10, -47, 10, -128, 10, -48,
311
- 10, -72, 10, -48, 10, -71, 10, -48,
312
- 10, -80, -66, 10, -48, 10, -70, 10,
313
- -48, 10, 32, -47, 10, -125, 10, -48,
314
- 10, -67, 10, -48, 10, -70, 10, -47,
315
- 10, -122, 10, -48, 10, -72, 10, -48,
316
- -47, 10, -66, 10, -48, 10, -67, 10,
317
- -48, 10, -80, 10, -48, 10, -69, 10,
318
- -113, 10, 10, 95, 10, 70, 10, 69,
319
- 10, 65, 10, 84, 10, 85, 10, 82,
320
- 10, 69, 10, 95, 10, 69, 10, 78,
321
- 10, 68, 10, 95, 10, 37, -48, -75,
322
- -48, -67, -48, -80, -47, -128, -48, -72,
323
- -48, -71, 58, 10, 10, -48, 10, 32,
324
- 35, 37, 42, 64, 9, 13, -112, -108,
325
- -107, -104, -102, -99, -97, -95, -94, -92,
326
- 10, 10, 32, -48, 10, -80, -66, 10,
327
- -48, 10, -67, 10, -48, 10, -66, 10,
328
- -48, 10, -65, 10, -47, 10, -125, 10,
329
- -47, 10, -127, 10, -47, 10, -126, 10,
330
- -48, 10, -72, 10, -48, 10, -68, 10,
331
- -47, 10, -127, 10, -48, 10, -69, 10,
332
- -48, 10, -72, 10, -48, 10, 32, -66,
333
- 10, -48, 10, -77, -67, 10, -48, 10,
334
- -76, 10, -48, 10, -80, 10, -47, 10,
335
- -126, 10, -48, 10, -75, 10, -48, 10,
336
- -70, 10, -47, 10, -127, 10, -47, 10,
337
- -126, 10, 10, 58, -47, 10, -126, 10,
338
- -48, 10, -66, 10, -48, 10, -68, 10,
339
- -47, 10, -125, 10, 10, 32, -48, 10,
340
- -74, 10, -48, 10, -75, 10, -47, 10,
341
- -128, -125, 10, -48, 10, -75, 10, -48,
342
- 10, -76, 10, -47, 10, -117, 10, -47,
343
- 10, -127, 10, -47, 10, -126, 10, -48,
344
- 10, -66, 10, -47, 10, -128, 10, -48,
345
- 10, -72, 10, -47, 10, -113, 10, -47,
346
- 10, -127, 10, -47, 10, -126, 10, -47,
347
- 10, -116, 10, -48, -47, 10, -78, 10,
348
- -48, 10, -66, 10, -48, 10, -71, 10,
349
- -47, 10, -127, 10, -47, 10, -126, 10,
350
- -48, 10, -78, 10, -48, 10, -66, 10,
351
- -126, -122, 10, -47, 10, -128, 10, -47,
352
- 10, -125, 10, -48, 10, -70, 10, -47,
353
- 10, -126, 10, -47, 10, -125, 10, -47,
354
- 10, -128, 10, -48, 10, -80, 10, 10,
355
- 32, -47, 10, -127, 10, -47, 10, -122,
356
- 10, -48, 10, -75, 10, -48, 10, -67,
357
- 10, -48, 10, -80, 10, -48, 10, -75,
358
- 10, -48, 10, -67, 10, -48, 10, -80,
359
- 10, -47, 10, -128, 10, -48, 10, -72,
360
- 10, -48, 10, -71, 10, -48, 10, -80,
361
- -66, 10, -48, 10, -70, 10, -48, 10,
362
- 32, -77, 10, -47, 10, -125, 10, -48,
363
- 10, -67, 10, -48, 10, -70, 10, -47,
364
- 10, -122, 10, -48, 10, -72, 10, -48,
365
- -47, 10, -66, 10, -48, 10, -67, 10,
366
- -48, 10, -80, 10, -48, 10, -69, 10,
367
- 10, 95, 10, 70, 10, 69, 10, 65,
368
- 10, 84, 10, 85, 10, 82, 10, 69,
369
- 10, 95, 10, 69, 10, 78, 10, 68,
370
- 10, 95, 10, 37, -48, -80, -66, -48,
371
- -70, -48, 32, -77, -47, -125, -48, -67,
372
- -48, -70, -47, -122, -48, -72, -48, -47,
373
- -66, -48, -67, -48, -80, -48, -69, -113,
374
- -69, -65, 0
375
- ]
376
-
377
- class << self
378
- attr_accessor :_lexer_single_lengths
379
- private :_lexer_single_lengths, :_lexer_single_lengths=
380
- end
381
- self._lexer_single_lengths = [
382
- 0, 10, 10, 1, 2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 2, 2,
456
- 3, 2, 2, 3, 2, 2, 2, 2,
457
- 2, 2, 2, 2, 2, 2, 3, 2,
458
- 2, 2, 2, 2, 2, 2, 2, 2,
459
- 2, 2, 2, 2, 2, 2, 2, 2,
460
- 2, 2, 2, 2, 2, 1, 1, 1,
461
- 1, 1, 1, 1, 1, 1, 1, 1,
462
- 1, 1, 1, 1, 7, 11, 2, 2,
463
- 3, 2, 2, 2, 2, 2, 2, 2,
464
- 2, 2, 2, 2, 2, 2, 2, 2,
465
- 2, 2, 2, 2, 2, 2, 2, 3,
466
- 2, 2, 3, 2, 2, 2, 2, 2,
467
- 2, 2, 2, 2, 2, 2, 2, 2,
468
- 2, 2, 2, 2, 2, 2, 2, 2,
469
- 2, 2, 2, 2, 2, 2, 2, 2,
470
- 3, 2, 2, 2, 2, 2, 2, 2,
471
- 2, 2, 2, 2, 2, 2, 2, 2,
472
- 2, 2, 2, 2, 2, 2, 2, 2,
473
- 2, 3, 2, 2, 2, 2, 2, 2,
474
- 2, 2, 2, 2, 2, 2, 2, 3,
475
- 2, 2, 2, 2, 2, 2, 2, 2,
476
- 2, 2, 2, 2, 2, 2, 2, 2,
477
- 2, 2, 2, 2, 2, 2, 2, 2,
478
- 2, 2, 2, 2, 2, 2, 2, 2,
479
- 2, 2, 2, 2, 2, 2, 3, 2,
480
- 2, 3, 2, 2, 2, 2, 2, 2,
481
- 2, 2, 2, 2, 2, 3, 2, 2,
482
- 2, 2, 2, 2, 2, 2, 2, 2,
483
- 2, 2, 2, 2, 2, 2, 2, 2,
484
- 2, 2, 2, 1, 2, 1, 1, 2,
485
- 1, 1, 1, 1, 1, 1, 1, 1,
486
- 1, 1, 1, 2, 1, 1, 1, 1,
487
- 1, 1, 1, 1, 1, 1, 0
488
- ]
489
-
490
- class << self
491
- attr_accessor :_lexer_range_lengths
492
- private :_lexer_range_lengths, :_lexer_range_lengths=
493
- end
494
- self._lexer_range_lengths = [
495
- 0, 1, 0, 0, 0, 0, 1, 0,
496
- 0, 0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 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, 1, 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, 0, 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, 0,
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
601
- ]
602
-
603
- class << self
604
- attr_accessor :_lexer_index_offsets
605
- private :_lexer_index_offsets, :_lexer_index_offsets=
606
- end
607
- self._lexer_index_offsets = [
608
- 0, 0, 12, 23, 25, 28, 31, 42,
609
- 44, 46, 49, 52, 57, 62, 67, 72,
610
- 76, 80, 83, 85, 87, 89, 91, 93,
611
- 95, 97, 99, 101, 103, 105, 107, 109,
612
- 111, 113, 118, 125, 130, 134, 140, 144,
613
- 147, 153, 164, 166, 169, 171, 173, 175,
614
- 177, 179, 181, 183, 185, 187, 189, 191,
615
- 193, 195, 197, 199, 201, 203, 205, 207,
616
- 209, 211, 213, 216, 218, 220, 223, 225,
617
- 227, 229, 231, 233, 235, 237, 239, 241,
618
- 243, 245, 247, 249, 251, 253, 255, 257,
619
- 266, 278, 281, 292, 295, 299, 302, 305,
620
- 308, 311, 314, 317, 320, 323, 326, 329,
621
- 332, 335, 338, 341, 344, 347, 350, 353,
622
- 356, 359, 362, 365, 369, 372, 375, 378,
623
- 381, 384, 387, 390, 393, 396, 399, 402,
624
- 405, 408, 411, 414, 417, 420, 423, 426,
625
- 429, 432, 435, 438, 441, 444, 447, 450,
626
- 453, 457, 460, 463, 466, 469, 472, 475,
627
- 478, 481, 484, 487, 490, 493, 496, 499,
628
- 503, 506, 509, 512, 515, 518, 521, 524,
629
- 527, 530, 533, 536, 539, 542, 545, 548,
630
- 551, 554, 557, 560, 563, 566, 569, 572,
631
- 575, 578, 581, 584, 587, 590, 593, 596,
632
- 599, 602, 605, 608, 611, 614, 617, 620,
633
- 623, 626, 629, 632, 635, 639, 642, 645,
634
- 649, 652, 655, 658, 661, 664, 667, 670,
635
- 673, 676, 679, 683, 686, 689, 692, 695,
636
- 698, 701, 704, 707, 710, 713, 716, 719,
637
- 722, 725, 728, 731, 734, 737, 740, 743,
638
- 746, 748, 750, 752, 754, 756, 758, 760,
639
- 762, 764, 766, 768, 770, 772, 774, 777,
640
- 779, 782, 784, 786, 788, 790, 792, 794,
641
- 796, 798, 800, 802, 804, 806, 808, 810,
642
- 812, 814, 816, 818, 820, 822, 824, 826,
643
- 828, 830, 832, 834, 836, 843, 847, 850,
644
- 853, 856, 859, 862, 865, 868, 871, 874,
645
- 877, 880, 883, 886, 889, 892, 895, 898,
646
- 901, 904, 907, 910, 913, 916, 919, 922,
647
- 926, 929, 932, 935, 938, 941, 944, 947,
648
- 950, 952, 954, 956, 958, 960, 962, 965,
649
- 967, 969, 971, 973, 975, 977, 979, 981,
650
- 983, 985, 987, 989, 991, 993, 995, 997,
651
- 1005, 1011, 1014, 1017, 1020, 1023, 1026, 1029,
652
- 1032, 1035, 1038, 1041, 1044, 1047, 1050, 1053,
653
- 1056, 1059, 1062, 1065, 1069, 1072, 1075, 1078,
654
- 1081, 1084, 1087, 1090, 1093, 1096, 1099, 1102,
655
- 1105, 1108, 1111, 1114, 1117, 1120, 1123, 1126,
656
- 1129, 1132, 1135, 1138, 1141, 1145, 1148, 1151,
657
- 1154, 1157, 1160, 1163, 1166, 1169, 1172, 1175,
658
- 1178, 1181, 1184, 1188, 1191, 1194, 1197, 1200,
659
- 1203, 1206, 1209, 1212, 1215, 1218, 1221, 1224,
660
- 1227, 1230, 1233, 1236, 1239, 1242, 1245, 1248,
661
- 1251, 1254, 1257, 1260, 1263, 1266, 1269, 1272,
662
- 1275, 1278, 1281, 1284, 1287, 1290, 1293, 1296,
663
- 1299, 1302, 1305, 1308, 1311, 1314, 1317, 1320,
664
- 1323, 1326, 1329, 1333, 1336, 1339, 1342, 1345,
665
- 1348, 1351, 1354, 1357, 1360, 1363, 1366, 1369,
666
- 1372, 1375, 1378, 1381, 1384, 1387, 1390, 1393,
667
- 1396, 1399, 1401, 1403, 1405, 1407, 1409, 1411,
668
- 1413, 1415, 1417, 1419, 1421, 1423, 1425, 1427,
669
- 1429, 1431, 1433, 1435, 1437, 1439, 1441, 1443,
670
- 1445, 1447, 1449, 1451, 1453, 1455, 1457, 1459,
671
- 1461, 1463, 1465, 1467, 1476, 1488, 1491, 1494,
672
- 1498, 1501, 1504, 1507, 1510, 1513, 1516, 1519,
673
- 1522, 1525, 1528, 1531, 1534, 1537, 1540, 1543,
674
- 1546, 1549, 1552, 1555, 1558, 1561, 1564, 1568,
675
- 1571, 1574, 1577, 1580, 1583, 1586, 1589, 1592,
676
- 1595, 1598, 1601, 1604, 1607, 1610, 1613, 1616,
677
- 1619, 1622, 1625, 1628, 1631, 1634, 1637, 1640,
678
- 1643, 1646, 1649, 1652, 1656, 1659, 1662, 1665,
679
- 1668, 1671, 1674, 1677, 1680, 1683, 1686, 1689,
680
- 1692, 1695, 1698, 1701, 1704, 1707, 1710, 1713,
681
- 1716, 1719, 1722, 1725, 1728, 1731, 1734, 1737,
682
- 1740, 1744, 1747, 1750, 1754, 1757, 1760, 1763,
683
- 1766, 1769, 1772, 1775, 1778, 1781, 1784, 1788,
684
- 1791, 1794, 1797, 1800, 1803, 1806, 1809, 1812,
685
- 1815, 1818, 1821, 1824, 1827, 1830, 1833, 1836,
686
- 1839, 1842, 1845, 1848, 1851, 1854, 1856, 1858,
687
- 1860, 1862, 1864, 1866, 1868, 1870, 1872, 1874,
688
- 1876, 1878, 1880, 1882, 1884, 1893, 1905, 1908,
689
- 1911, 1915, 1918, 1921, 1924, 1927, 1930, 1933,
690
- 1936, 1939, 1942, 1945, 1948, 1951, 1954, 1957,
691
- 1960, 1963, 1966, 1969, 1972, 1975, 1978, 1981,
692
- 1985, 1988, 1991, 1995, 1998, 2001, 2004, 2007,
693
- 2010, 2013, 2016, 2019, 2022, 2025, 2028, 2031,
694
- 2034, 2037, 2040, 2043, 2046, 2049, 2052, 2055,
695
- 2058, 2061, 2064, 2067, 2070, 2073, 2076, 2079,
696
- 2082, 2086, 2089, 2092, 2095, 2098, 2101, 2104,
697
- 2107, 2110, 2113, 2116, 2119, 2122, 2125, 2128,
698
- 2131, 2134, 2137, 2140, 2143, 2146, 2149, 2152,
699
- 2155, 2158, 2162, 2165, 2168, 2171, 2174, 2177,
700
- 2180, 2183, 2186, 2189, 2192, 2195, 2198, 2201,
701
- 2205, 2208, 2211, 2214, 2217, 2220, 2223, 2226,
702
- 2229, 2232, 2235, 2238, 2241, 2244, 2247, 2250,
703
- 2253, 2256, 2259, 2262, 2265, 2268, 2271, 2274,
704
- 2277, 2280, 2283, 2286, 2289, 2292, 2295, 2298,
705
- 2301, 2304, 2307, 2310, 2313, 2316, 2319, 2323,
706
- 2326, 2329, 2333, 2336, 2339, 2342, 2345, 2348,
707
- 2351, 2354, 2357, 2360, 2363, 2366, 2370, 2373,
708
- 2376, 2379, 2382, 2385, 2388, 2391, 2394, 2397,
709
- 2400, 2403, 2406, 2409, 2412, 2415, 2418, 2421,
710
- 2424, 2427, 2430, 2433, 2435, 2438, 2440, 2442,
711
- 2445, 2447, 2449, 2451, 2453, 2455, 2457, 2459,
712
- 2461, 2463, 2465, 2467, 2470, 2472, 2474, 2476,
713
- 2478, 2480, 2482, 2484, 2486, 2488, 2490
714
- ]
715
-
716
- class << self
717
- attr_accessor :_lexer_indicies
718
- private :_lexer_indicies, :_lexer_indicies=
719
- end
720
- self._lexer_indicies = [
721
- 1, 2, 4, 3, 5, 6, 7, 8,
722
- 9, 10, 3, 0, 11, 12, 13, 11,
723
- 14, 15, 16, 17, 18, 19, 0, 20,
724
- 0, 22, 23, 21, 25, 26, 24, 1,
725
- 4, 3, 5, 6, 7, 8, 9, 10,
726
- 3, 0, 27, 0, 28, 0, 30, 31,
727
- 29, 33, 34, 32, 37, 36, 38, 36,
728
- 35, 41, 40, 42, 40, 39, 41, 40,
729
- 43, 40, 39, 41, 40, 44, 40, 39,
730
- 46, 45, 45, 0, 4, 47, 47, 0,
731
- 49, 50, 48, 4, 0, 51, 0, 52,
732
- 0, 53, 0, 54, 0, 55, 0, 56,
733
- 0, 57, 0, 58, 0, 59, 0, 60,
734
- 0, 61, 0, 62, 0, 63, 0, 64,
735
- 0, 0, 0, 0, 0, 65, 66, 67,
736
- 66, 66, 69, 68, 65, 4, 70, 9,
737
- 70, 0, 71, 72, 71, 0, 75, 74,
738
- 76, 77, 74, 73, 0, 79, 80, 78,
739
- 0, 79, 78, 75, 81, 79, 80, 81,
740
- 78, 82, 75, 83, 84, 85, 86, 87,
741
- 88, 89, 83, 0, 90, 0, 91, 92,
742
- 0, 93, 0, 15, 0, 94, 0, 11,
743
- 0, 95, 0, 96, 0, 97, 0, 98,
744
- 0, 99, 0, 100, 0, 101, 0, 102,
745
- 0, 103, 0, 104, 0, 105, 0, 11,
746
- 0, 106, 0, 107, 0, 108, 0, 109,
747
- 0, 110, 0, 11, 0, 111, 112, 0,
748
- 113, 0, 114, 0, 115, 116, 0, 117,
749
- 0, 118, 0, 119, 0, 11, 0, 120,
750
- 0, 121, 0, 122, 0, 123, 0, 124,
751
- 0, 125, 0, 126, 0, 127, 0, 128,
752
- 0, 129, 0, 130, 0, 132, 131, 134,
753
- 133, 135, 134, 136, 137, 138, 139, 137,
754
- 136, 133, 140, 141, 142, 140, 143, 144,
755
- 145, 146, 147, 148, 134, 133, 134, 149,
756
- 133, 150, 152, 151, 153, 154, 155, 156,
757
- 157, 158, 151, 0, 159, 134, 133, 160,
758
- 161, 134, 133, 162, 134, 133, 144, 134,
759
- 133, 163, 134, 133, 140, 134, 133, 164,
760
- 134, 133, 165, 134, 133, 166, 134, 133,
761
- 167, 134, 133, 168, 134, 133, 169, 134,
762
- 133, 170, 134, 133, 171, 134, 133, 172,
763
- 134, 133, 173, 134, 133, 174, 134, 133,
764
- 140, 134, 133, 175, 134, 133, 176, 134,
765
- 133, 177, 134, 133, 178, 134, 133, 179,
766
- 134, 133, 140, 134, 133, 180, 134, 181,
767
- 133, 182, 134, 133, 183, 134, 133, 184,
768
- 134, 133, 185, 134, 133, 186, 134, 133,
769
- 187, 134, 133, 140, 134, 133, 188, 134,
770
- 133, 189, 134, 133, 190, 134, 133, 191,
771
- 134, 133, 192, 134, 133, 193, 134, 133,
772
- 194, 134, 133, 195, 134, 133, 134, 196,
773
- 133, 197, 134, 133, 198, 134, 133, 199,
774
- 134, 133, 140, 134, 133, 200, 134, 133,
775
- 201, 134, 133, 202, 134, 133, 203, 134,
776
- 133, 204, 134, 133, 205, 134, 133, 206,
777
- 134, 133, 140, 134, 133, 207, 208, 134,
778
- 133, 209, 134, 133, 210, 134, 133, 211,
779
- 134, 133, 212, 134, 133, 213, 134, 133,
780
- 214, 134, 133, 215, 134, 133, 216, 134,
781
- 133, 217, 134, 133, 218, 134, 133, 219,
782
- 134, 133, 220, 134, 133, 221, 134, 133,
783
- 134, 149, 133, 222, 223, 134, 133, 224,
784
- 134, 133, 225, 134, 133, 226, 134, 133,
785
- 227, 134, 133, 228, 134, 133, 229, 134,
786
- 133, 230, 134, 133, 231, 134, 133, 232,
787
- 134, 133, 233, 134, 133, 234, 134, 133,
788
- 235, 134, 133, 236, 134, 133, 237, 134,
789
- 133, 134, 238, 133, 239, 134, 133, 240,
790
- 134, 133, 241, 134, 133, 242, 134, 133,
791
- 243, 134, 133, 244, 134, 133, 245, 134,
792
- 133, 246, 134, 133, 247, 134, 133, 248,
793
- 134, 133, 249, 134, 133, 250, 134, 133,
794
- 251, 134, 133, 252, 134, 133, 253, 134,
795
- 133, 221, 134, 133, 254, 134, 133, 255,
796
- 134, 133, 256, 134, 133, 257, 134, 133,
797
- 258, 134, 133, 259, 134, 133, 260, 134,
798
- 133, 261, 134, 133, 262, 134, 133, 263,
799
- 134, 133, 264, 134, 133, 221, 134, 133,
800
- 265, 134, 133, 266, 267, 134, 133, 268,
801
- 134, 133, 196, 134, 133, 183, 134, 149,
802
- 133, 269, 134, 133, 270, 134, 133, 271,
803
- 134, 133, 272, 134, 133, 273, 134, 133,
804
- 274, 134, 133, 275, 134, 133, 276, 134,
805
- 133, 277, 134, 133, 278, 134, 133, 279,
806
- 253, 134, 133, 280, 134, 133, 281, 134,
807
- 133, 282, 134, 133, 283, 134, 133, 284,
808
- 134, 133, 285, 134, 133, 221, 134, 133,
809
- 134, 286, 133, 134, 287, 133, 134, 288,
810
- 133, 134, 289, 133, 134, 290, 133, 134,
811
- 291, 133, 134, 292, 133, 134, 293, 133,
812
- 134, 294, 133, 134, 295, 133, 134, 296,
813
- 133, 134, 297, 133, 134, 298, 133, 134,
814
- 299, 133, 300, 0, 301, 0, 302, 0,
815
- 303, 0, 304, 0, 305, 0, 306, 0,
816
- 307, 0, 308, 0, 309, 0, 310, 0,
817
- 311, 0, 11, 0, 312, 0, 313, 314,
818
- 0, 315, 0, 316, 317, 0, 318, 0,
819
- 319, 0, 320, 0, 321, 0, 322, 0,
820
- 323, 0, 324, 0, 325, 0, 326, 0,
821
- 327, 0, 328, 0, 329, 0, 330, 0,
822
- 331, 0, 332, 0, 129, 0, 333, 0,
823
- 334, 0, 335, 0, 336, 0, 337, 0,
824
- 338, 0, 339, 0, 340, 0, 341, 0,
825
- 343, 342, 345, 344, 346, 345, 347, 348,
826
- 348, 347, 344, 349, 350, 345, 344, 351,
827
- 345, 344, 352, 345, 344, 353, 345, 344,
828
- 354, 345, 344, 355, 345, 344, 356, 345,
829
- 344, 357, 345, 344, 358, 345, 344, 359,
830
- 345, 344, 360, 345, 344, 361, 345, 344,
831
- 362, 345, 344, 363, 345, 344, 364, 345,
832
- 344, 345, 365, 344, 366, 345, 344, 367,
833
- 345, 344, 368, 345, 344, 369, 345, 344,
834
- 370, 345, 344, 371, 345, 344, 372, 345,
835
- 344, 373, 345, 344, 374, 345, 344, 375,
836
- 345, 344, 376, 377, 345, 344, 378, 345,
837
- 344, 379, 345, 344, 380, 345, 344, 381,
838
- 345, 344, 382, 345, 344, 383, 345, 344,
839
- 364, 345, 344, 364, 345, 344, 384, 0,
840
- 385, 0, 386, 0, 387, 0, 388, 0,
841
- 11, 0, 389, 390, 0, 391, 0, 392,
842
- 0, 393, 0, 394, 0, 395, 0, 396,
843
- 0, 397, 0, 398, 0, 399, 0, 400,
844
- 0, 401, 0, 402, 0, 403, 0, 404,
845
- 0, 406, 405, 408, 407, 409, 408, 410,
846
- 411, 412, 411, 410, 407, 413, 414, 415,
847
- 416, 408, 407, 417, 408, 407, 418, 408,
848
- 407, 419, 408, 407, 420, 408, 407, 421,
849
- 408, 407, 422, 408, 407, 423, 408, 407,
850
- 424, 408, 407, 425, 408, 407, 426, 408,
851
- 407, 427, 408, 407, 428, 408, 407, 429,
852
- 408, 407, 430, 408, 407, 408, 431, 407,
853
- 432, 408, 407, 433, 408, 407, 434, 408,
854
- 407, 435, 436, 408, 407, 437, 408, 407,
855
- 438, 408, 407, 439, 408, 407, 440, 408,
856
- 407, 441, 408, 407, 442, 408, 407, 443,
857
- 408, 407, 444, 408, 407, 445, 408, 407,
858
- 446, 408, 407, 447, 408, 407, 448, 408,
859
- 407, 449, 408, 407, 450, 408, 407, 451,
860
- 408, 407, 430, 408, 407, 452, 408, 407,
861
- 453, 408, 407, 454, 408, 407, 455, 408,
862
- 407, 456, 408, 407, 457, 408, 407, 458,
863
- 408, 407, 430, 408, 407, 459, 460, 408,
864
- 407, 461, 408, 407, 462, 408, 407, 463,
865
- 408, 407, 464, 408, 407, 465, 408, 407,
866
- 466, 408, 407, 467, 408, 407, 468, 408,
867
- 407, 469, 408, 407, 470, 408, 407, 471,
868
- 408, 407, 472, 408, 407, 430, 408, 407,
869
- 473, 474, 408, 407, 475, 408, 407, 476,
870
- 408, 407, 477, 408, 407, 478, 408, 407,
871
- 479, 408, 407, 480, 408, 407, 481, 408,
872
- 407, 482, 408, 407, 483, 408, 407, 484,
873
- 408, 407, 485, 408, 407, 486, 408, 407,
874
- 487, 408, 407, 488, 408, 407, 408, 489,
875
- 407, 490, 408, 407, 491, 408, 407, 492,
876
- 408, 407, 493, 408, 407, 494, 408, 407,
877
- 495, 408, 407, 496, 408, 407, 497, 408,
878
- 407, 498, 408, 407, 446, 408, 407, 499,
879
- 408, 407, 500, 408, 407, 501, 408, 407,
880
- 502, 408, 407, 503, 408, 407, 504, 408,
881
- 407, 505, 408, 407, 506, 408, 407, 507,
882
- 408, 407, 508, 408, 407, 509, 408, 407,
883
- 430, 408, 407, 510, 408, 407, 511, 408,
884
- 407, 512, 408, 407, 513, 408, 407, 514,
885
- 408, 407, 515, 408, 407, 516, 408, 407,
886
- 517, 408, 407, 518, 408, 407, 519, 408,
887
- 407, 520, 451, 408, 407, 521, 408, 407,
888
- 522, 408, 407, 523, 408, 407, 524, 408,
889
- 407, 525, 408, 407, 526, 408, 407, 430,
890
- 408, 407, 408, 527, 407, 408, 528, 407,
891
- 408, 529, 407, 408, 530, 407, 408, 531,
892
- 407, 408, 532, 407, 408, 533, 407, 408,
893
- 534, 407, 408, 535, 407, 408, 536, 407,
894
- 408, 537, 407, 408, 538, 407, 408, 539,
895
- 407, 408, 540, 407, 541, 542, 0, 543,
896
- 0, 544, 0, 545, 0, 546, 0, 547,
897
- 0, 548, 0, 549, 0, 550, 0, 551,
898
- 0, 552, 0, 553, 0, 554, 0, 555,
899
- 0, 556, 0, 557, 0, 558, 0, 559,
900
- 0, 560, 0, 561, 0, 562, 0, 563,
901
- 0, 564, 0, 565, 0, 566, 0, 567,
902
- 0, 568, 0, 569, 0, 570, 0, 571,
903
- 0, 572, 0, 573, 0, 574, 0, 576,
904
- 575, 578, 577, 579, 578, 580, 581, 582,
905
- 583, 581, 580, 577, 584, 585, 586, 584,
906
- 587, 588, 589, 590, 591, 592, 578, 577,
907
- 578, 593, 577, 594, 578, 577, 595, 596,
908
- 578, 577, 597, 578, 577, 588, 578, 577,
909
- 598, 578, 577, 584, 578, 577, 599, 578,
910
- 577, 600, 578, 577, 601, 578, 577, 602,
911
- 578, 577, 603, 578, 577, 604, 578, 577,
912
- 605, 578, 577, 606, 578, 577, 607, 578,
913
- 577, 608, 578, 577, 609, 578, 577, 584,
914
- 578, 577, 610, 578, 577, 611, 578, 577,
915
- 612, 578, 577, 613, 578, 577, 614, 578,
916
- 577, 584, 578, 577, 615, 578, 616, 577,
917
- 617, 578, 577, 618, 578, 577, 619, 578,
918
- 577, 620, 578, 577, 621, 578, 577, 622,
919
- 578, 577, 584, 578, 577, 623, 578, 577,
920
- 624, 578, 577, 625, 578, 577, 626, 578,
921
- 577, 627, 578, 577, 628, 578, 577, 629,
922
- 578, 577, 630, 578, 577, 578, 631, 577,
923
- 632, 578, 577, 633, 578, 577, 634, 578,
924
- 577, 584, 578, 577, 635, 578, 577, 636,
925
- 578, 577, 637, 578, 577, 638, 578, 577,
926
- 639, 578, 577, 640, 578, 577, 641, 578,
927
- 577, 584, 578, 577, 642, 643, 578, 577,
928
- 644, 578, 577, 645, 578, 577, 646, 578,
929
- 577, 647, 578, 577, 648, 578, 577, 649,
930
- 578, 577, 650, 578, 577, 651, 578, 577,
931
- 652, 578, 577, 653, 578, 577, 654, 578,
932
- 577, 655, 578, 577, 656, 578, 577, 578,
933
- 593, 577, 657, 578, 577, 658, 578, 577,
934
- 659, 578, 577, 660, 578, 577, 661, 578,
935
- 577, 662, 578, 577, 663, 578, 577, 664,
936
- 578, 577, 665, 578, 577, 666, 578, 577,
937
- 667, 578, 577, 668, 578, 577, 656, 578,
938
- 577, 669, 578, 577, 670, 671, 578, 577,
939
- 672, 578, 577, 631, 578, 577, 618, 578,
940
- 593, 577, 673, 578, 577, 674, 578, 577,
941
- 675, 578, 577, 676, 578, 577, 677, 578,
942
- 577, 678, 578, 577, 679, 578, 577, 680,
943
- 578, 577, 681, 578, 577, 682, 578, 577,
944
- 683, 684, 578, 577, 685, 578, 577, 686,
945
- 578, 577, 687, 578, 577, 688, 578, 577,
946
- 689, 578, 577, 690, 578, 577, 656, 578,
947
- 577, 656, 578, 577, 578, 691, 577, 578,
948
- 692, 577, 578, 693, 577, 578, 694, 577,
949
- 578, 695, 577, 578, 696, 577, 578, 697,
950
- 577, 578, 698, 577, 578, 699, 577, 578,
951
- 700, 577, 578, 701, 577, 578, 702, 577,
952
- 578, 703, 577, 578, 704, 577, 705, 0,
953
- 706, 0, 707, 0, 708, 0, 709, 0,
954
- 710, 0, 711, 0, 712, 0, 713, 0,
955
- 714, 0, 715, 0, 716, 0, 717, 0,
956
- 719, 718, 721, 720, 722, 721, 723, 724,
957
- 725, 726, 724, 723, 720, 727, 728, 729,
958
- 727, 730, 731, 732, 733, 734, 735, 721,
959
- 720, 721, 736, 720, 737, 721, 720, 738,
960
- 739, 721, 720, 740, 721, 720, 731, 721,
961
- 720, 741, 721, 720, 727, 721, 720, 742,
962
- 721, 720, 743, 721, 720, 744, 721, 720,
963
- 745, 721, 720, 746, 721, 720, 747, 721,
964
- 720, 748, 721, 720, 749, 721, 720, 750,
965
- 721, 720, 751, 721, 720, 752, 721, 720,
966
- 727, 721, 720, 753, 721, 720, 754, 721,
967
- 720, 755, 721, 720, 756, 721, 720, 757,
968
- 721, 720, 727, 721, 720, 758, 721, 759,
969
- 720, 760, 721, 720, 761, 721, 720, 762,
970
- 763, 721, 720, 764, 721, 720, 765, 721,
971
- 720, 766, 721, 720, 727, 721, 720, 767,
972
- 721, 720, 768, 721, 720, 769, 721, 720,
973
- 770, 721, 720, 771, 721, 720, 772, 721,
974
- 720, 773, 721, 720, 774, 721, 720, 775,
975
- 721, 720, 776, 721, 720, 721, 736, 720,
976
- 777, 721, 720, 778, 721, 720, 779, 721,
977
- 720, 780, 721, 720, 781, 721, 720, 782,
978
- 721, 720, 783, 721, 720, 784, 721, 720,
979
- 721, 785, 720, 786, 721, 720, 787, 721,
980
- 720, 788, 721, 720, 727, 721, 720, 789,
981
- 721, 720, 790, 791, 721, 720, 792, 721,
982
- 720, 793, 721, 720, 794, 721, 720, 795,
983
- 721, 720, 796, 721, 720, 797, 721, 720,
984
- 798, 721, 720, 799, 721, 720, 800, 721,
985
- 720, 801, 721, 720, 802, 721, 720, 803,
986
- 721, 720, 804, 721, 720, 805, 721, 720,
987
- 806, 721, 720, 807, 721, 720, 808, 721,
988
- 720, 776, 721, 720, 809, 721, 720, 810,
989
- 721, 720, 811, 721, 720, 812, 721, 720,
990
- 813, 721, 720, 727, 721, 720, 814, 815,
991
- 721, 720, 816, 721, 720, 817, 721, 720,
992
- 818, 721, 720, 819, 721, 720, 820, 721,
993
- 720, 821, 721, 720, 822, 721, 720, 823,
994
- 721, 720, 824, 721, 720, 825, 721, 720,
995
- 826, 721, 720, 827, 721, 720, 776, 721,
996
- 720, 828, 829, 721, 720, 830, 721, 720,
997
- 831, 721, 720, 832, 721, 720, 833, 721,
998
- 720, 834, 721, 720, 835, 721, 720, 836,
999
- 721, 720, 837, 721, 720, 838, 721, 720,
1000
- 839, 721, 720, 840, 721, 720, 841, 721,
1001
- 720, 842, 721, 720, 843, 721, 720, 721,
1002
- 844, 720, 845, 721, 720, 846, 721, 720,
1003
- 847, 721, 720, 848, 721, 720, 849, 721,
1004
- 720, 850, 721, 720, 851, 721, 720, 852,
1005
- 721, 720, 853, 721, 720, 803, 721, 720,
1006
- 854, 721, 720, 855, 721, 720, 856, 721,
1007
- 720, 857, 721, 720, 858, 721, 720, 859,
1008
- 721, 720, 860, 721, 720, 861, 721, 720,
1009
- 862, 721, 720, 863, 721, 720, 864, 721,
1010
- 720, 776, 721, 720, 865, 721, 720, 866,
1011
- 867, 721, 720, 868, 721, 720, 785, 721,
1012
- 720, 869, 721, 736, 720, 762, 721, 720,
1013
- 870, 721, 720, 871, 721, 720, 872, 721,
1014
- 720, 873, 721, 720, 874, 721, 720, 875,
1015
- 721, 720, 876, 721, 720, 877, 721, 720,
1016
- 878, 721, 720, 879, 721, 720, 880, 808,
1017
- 721, 720, 881, 721, 720, 882, 721, 720,
1018
- 883, 721, 720, 884, 721, 720, 885, 721,
1019
- 720, 886, 721, 720, 776, 721, 720, 721,
1020
- 887, 720, 721, 888, 720, 721, 889, 720,
1021
- 721, 890, 720, 721, 891, 720, 721, 892,
1022
- 720, 721, 893, 720, 721, 894, 720, 721,
1023
- 895, 720, 721, 896, 720, 721, 897, 720,
1024
- 721, 898, 720, 721, 899, 720, 721, 900,
1025
- 720, 901, 0, 902, 903, 0, 904, 0,
1026
- 308, 0, 905, 20, 0, 115, 0, 906,
1027
- 0, 907, 0, 908, 0, 909, 0, 910,
1028
- 0, 911, 0, 912, 0, 913, 0, 914,
1029
- 0, 915, 0, 916, 917, 0, 918, 0,
1030
- 919, 0, 920, 0, 921, 0, 922, 0,
1031
- 923, 0, 403, 0, 403, 0, 924, 0,
1032
- 3, 0, 925, 0
1033
- ]
1034
-
1035
- class << self
1036
- attr_accessor :_lexer_trans_targs
1037
- private :_lexer_trans_targs, :_lexer_trans_targs=
1038
- end
1039
- self._lexer_trans_targs = [
1040
- 0, 2, 844, 6, 6, 7, 17, 19,
1041
- 3, 33, 36, 3, 42, 60, 66, 46,
1042
- 253, 326, 819, 825, 4, 5, 6, 18,
1043
- 5, 6, 18, 8, 9, 10, 11, 10,
1044
- 10, 11, 10, 12, 12, 12, 13, 12,
1045
- 12, 12, 13, 14, 15, 16, 6, 16,
1046
- 17, 6, 18, 20, 21, 22, 23, 24,
1047
- 25, 26, 27, 28, 29, 30, 31, 32,
1048
- 846, 34, 35, 6, 34, 33, 35, 36,
1049
- 37, 38, 40, 41, 39, 37, 38, 39,
1050
- 37, 40, 2, 41, 7, 17, 19, 3,
1051
- 33, 36, 43, 44, 48, 45, 47, 49,
1052
- 50, 51, 52, 53, 54, 55, 56, 57,
1053
- 58, 59, 61, 62, 63, 64, 65, 67,
1054
- 240, 68, 69, 70, 74, 71, 72, 73,
1055
- 75, 76, 77, 78, 79, 80, 81, 82,
1056
- 83, 84, 85, 86, 87, 86, 87, 88,
1057
- 87, 6, 226, 89, 89, 91, 109, 115,
1058
- 95, 136, 144, 203, 208, 90, 2, 6,
1059
- 6, 7, 17, 19, 3, 33, 36, 92,
1060
- 93, 97, 94, 96, 98, 99, 100, 101,
1061
- 102, 103, 104, 105, 106, 107, 108, 110,
1062
- 111, 112, 113, 114, 116, 123, 117, 118,
1063
- 119, 120, 121, 122, 124, 125, 126, 127,
1064
- 128, 129, 130, 131, 132, 133, 134, 135,
1065
- 137, 138, 139, 140, 141, 142, 143, 145,
1066
- 159, 146, 147, 148, 149, 150, 151, 152,
1067
- 153, 154, 155, 156, 157, 158, 160, 191,
1068
- 161, 162, 163, 164, 165, 166, 167, 168,
1069
- 169, 170, 171, 172, 173, 174, 175, 176,
1070
- 177, 178, 179, 180, 181, 182, 183, 184,
1071
- 185, 186, 187, 188, 189, 190, 192, 193,
1072
- 194, 195, 196, 197, 198, 199, 200, 201,
1073
- 202, 204, 205, 207, 206, 209, 210, 211,
1074
- 212, 213, 214, 215, 216, 217, 218, 219,
1075
- 220, 221, 222, 223, 224, 225, 227, 228,
1076
- 229, 230, 231, 232, 233, 234, 235, 236,
1077
- 237, 238, 239, 6, 241, 242, 243, 244,
1078
- 245, 246, 247, 248, 249, 250, 251, 252,
1079
- 254, 255, 320, 256, 257, 273, 258, 259,
1080
- 260, 261, 262, 263, 264, 265, 266, 267,
1081
- 268, 269, 270, 271, 272, 274, 275, 276,
1082
- 277, 278, 279, 280, 281, 282, 283, 284,
1083
- 283, 284, 285, 284, 6, 286, 301, 287,
1084
- 288, 289, 290, 291, 292, 293, 294, 295,
1085
- 296, 297, 298, 299, 300, 90, 302, 303,
1086
- 304, 305, 306, 307, 308, 309, 310, 311,
1087
- 312, 319, 313, 314, 315, 316, 317, 318,
1088
- 321, 322, 323, 324, 325, 327, 472, 328,
1089
- 329, 330, 331, 332, 333, 334, 335, 336,
1090
- 337, 338, 339, 340, 341, 342, 343, 342,
1091
- 343, 344, 343, 6, 458, 345, 360, 388,
1092
- 440, 346, 347, 348, 349, 350, 351, 352,
1093
- 353, 354, 355, 356, 357, 358, 359, 90,
1094
- 361, 362, 363, 364, 380, 365, 366, 367,
1095
- 368, 369, 370, 371, 372, 373, 374, 375,
1096
- 376, 377, 378, 379, 381, 382, 383, 384,
1097
- 385, 386, 387, 389, 402, 390, 391, 392,
1098
- 393, 394, 395, 396, 397, 398, 399, 400,
1099
- 401, 403, 428, 404, 405, 406, 407, 408,
1100
- 409, 410, 411, 412, 413, 414, 415, 416,
1101
- 417, 418, 419, 420, 421, 422, 423, 424,
1102
- 425, 426, 427, 429, 430, 431, 432, 433,
1103
- 434, 435, 436, 437, 438, 439, 441, 442,
1104
- 443, 444, 445, 446, 447, 448, 449, 450,
1105
- 451, 452, 453, 454, 455, 456, 457, 459,
1106
- 460, 461, 462, 463, 464, 465, 466, 467,
1107
- 468, 469, 470, 471, 6, 473, 629, 474,
1108
- 475, 476, 477, 478, 479, 480, 481, 482,
1109
- 483, 484, 485, 486, 487, 488, 489, 490,
1110
- 491, 492, 493, 494, 495, 496, 497, 498,
1111
- 499, 500, 501, 502, 503, 504, 505, 506,
1112
- 507, 506, 507, 508, 507, 6, 615, 509,
1113
- 509, 510, 528, 534, 514, 555, 563, 591,
1114
- 596, 90, 511, 512, 516, 513, 515, 517,
1115
- 518, 519, 520, 521, 522, 523, 524, 525,
1116
- 526, 527, 529, 530, 531, 532, 533, 535,
1117
- 542, 536, 537, 538, 539, 540, 541, 543,
1118
- 544, 545, 546, 547, 548, 549, 550, 551,
1119
- 552, 553, 554, 556, 557, 558, 559, 560,
1120
- 561, 562, 564, 578, 565, 566, 567, 568,
1121
- 569, 570, 571, 572, 573, 574, 575, 576,
1122
- 577, 579, 580, 581, 582, 583, 584, 585,
1123
- 586, 587, 588, 589, 590, 592, 593, 595,
1124
- 594, 597, 598, 599, 600, 601, 602, 603,
1125
- 604, 605, 606, 607, 614, 608, 609, 610,
1126
- 611, 612, 613, 616, 617, 618, 619, 620,
1127
- 621, 622, 623, 624, 625, 626, 627, 628,
1128
- 6, 630, 631, 632, 633, 634, 635, 636,
1129
- 637, 638, 639, 640, 641, 642, 643, 644,
1130
- 643, 644, 645, 644, 6, 805, 646, 646,
1131
- 647, 665, 671, 651, 703, 729, 781, 787,
1132
- 90, 648, 649, 653, 650, 652, 654, 655,
1133
- 656, 657, 658, 659, 660, 661, 662, 663,
1134
- 664, 666, 667, 668, 669, 670, 672, 690,
1135
- 673, 674, 675, 679, 676, 677, 678, 680,
1136
- 681, 682, 683, 684, 685, 686, 687, 688,
1137
- 689, 691, 692, 693, 694, 695, 696, 697,
1138
- 698, 699, 700, 701, 702, 704, 705, 723,
1139
- 706, 707, 708, 709, 710, 711, 712, 713,
1140
- 714, 715, 716, 717, 718, 719, 720, 721,
1141
- 722, 724, 725, 726, 727, 728, 730, 743,
1142
- 731, 732, 733, 734, 735, 736, 737, 738,
1143
- 739, 740, 741, 742, 744, 769, 745, 746,
1144
- 747, 748, 749, 750, 751, 752, 753, 754,
1145
- 755, 756, 757, 758, 759, 760, 761, 762,
1146
- 763, 764, 765, 766, 767, 768, 770, 771,
1147
- 772, 773, 774, 775, 776, 777, 778, 779,
1148
- 780, 782, 783, 785, 784, 786, 788, 789,
1149
- 790, 791, 792, 793, 794, 795, 796, 797,
1150
- 798, 799, 800, 801, 802, 803, 804, 806,
1151
- 807, 808, 809, 810, 811, 812, 813, 814,
1152
- 815, 816, 817, 818, 6, 820, 821, 823,
1153
- 822, 824, 826, 827, 828, 829, 830, 831,
1154
- 832, 833, 834, 835, 836, 843, 837, 838,
1155
- 839, 840, 841, 842, 845, 0
1156
- ]
1157
-
1158
- class << self
1159
- attr_accessor :_lexer_trans_actions
1160
- private :_lexer_trans_actions, :_lexer_trans_actions=
1161
- end
1162
- self._lexer_trans_actions = [
1163
- 43, 29, 0, 0, 54, 3, 1, 0,
1164
- 29, 1, 35, 0, 0, 0, 0, 0,
1165
- 0, 0, 0, 0, 0, 57, 149, 126,
1166
- 0, 110, 23, 0, 0, 7, 139, 48,
1167
- 0, 102, 9, 5, 45, 134, 45, 0,
1168
- 33, 122, 33, 33, 0, 11, 106, 0,
1169
- 0, 114, 25, 0, 0, 0, 0, 0,
1170
- 0, 0, 0, 0, 0, 0, 0, 0,
1171
- 0, 0, 27, 118, 27, 51, 0, 0,
1172
- 0, 37, 37, 54, 37, 87, 0, 0,
1173
- 39, 0, 96, 0, 93, 90, 41, 96,
1174
- 90, 99, 0, 0, 0, 0, 0, 0,
1175
- 0, 0, 0, 0, 0, 0, 0, 0,
1176
- 0, 0, 0, 0, 0, 0, 0, 0,
1177
- 0, 0, 0, 0, 0, 0, 0, 0,
1178
- 0, 0, 0, 0, 0, 0, 0, 0,
1179
- 0, 0, 0, 57, 144, 0, 54, 84,
1180
- 0, 72, 33, 84, 0, 0, 0, 0,
1181
- 0, 0, 0, 0, 0, 15, 63, 31,
1182
- 130, 60, 57, 31, 63, 57, 66, 0,
1183
- 0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, 0,
1254
- 0, 0, 0, 0, 0, 0, 0, 0,
1255
- 17, 0, 0, 0, 0, 0, 0, 0,
1256
- 0, 0, 0, 0, 0, 0, 0, 0,
1257
- 0, 0, 0, 0, 0, 0, 0, 0,
1258
- 0, 0, 0, 0, 0, 0, 0, 0,
1259
- 0, 0, 0, 0, 0, 0, 0, 0,
1260
- 0, 0, 0, 0, 0, 0, 0, 0,
1261
- 0, 0, 0, 0, 0, 0, 0, 0,
1262
- 0, 0, 0, 0, 0, 0, 0, 0,
1263
- 0, 0, 0, 0, 0, 0, 0, 0,
1264
- 0, 0, 0, 0, 0, 0, 0, 0,
1265
- 0, 0, 0, 0, 0, 0, 0, 0,
1266
- 0, 0, 0, 0, 0, 0, 0, 0,
1267
- 0, 0, 0, 0, 0, 0, 0, 0,
1268
- 0, 0, 0, 0, 0, 0, 0, 0,
1269
- 0, 0, 0, 0, 0, 0, 0, 0,
1270
- 0, 0, 0, 0, 0, 0, 0, 0,
1271
- 0, 0, 0, 0, 0, 0, 0, 0,
1272
- 0, 0, 0, 0, 0, 0, 0, 0,
1273
- 0, 0, 0, 0, 0, 0, 0, 0,
1274
- 0, 0, 0, 0, 0, 0, 0, 0,
1275
- 0, 0, 0, 0, 17, 0, 0, 0,
1276
- 0, 0, 0, 0, 0, 0, 0, 0,
1277
- 0, 0, 0, 0, 0, 0, 0, 0,
1278
- 0, 0, 0, 0, 0, 0
1279
- ]
1280
-
1281
- class << self
1282
- attr_accessor :_lexer_eof_actions
1283
- private :_lexer_eof_actions, :_lexer_eof_actions=
1284
- end
1285
- self._lexer_eof_actions = [
1286
- 0, 43, 43, 43, 43, 43, 43, 43,
1287
- 43, 43, 43, 43, 43, 43, 43, 43,
1288
- 43, 43, 43, 43, 43, 43, 43, 43,
1289
- 43, 43, 43, 43, 43, 43, 43, 43,
1290
- 43, 43, 43, 43, 43, 43, 43, 43,
1291
- 43, 43, 43, 43, 43, 43, 43, 43,
1292
- 43, 43, 43, 43, 43, 43, 43, 43,
1293
- 43, 43, 43, 43, 43, 43, 43, 43,
1294
- 43, 43, 43, 43, 43, 43, 43, 43,
1295
- 43, 43, 43, 43, 43, 43, 43, 43,
1296
- 43, 43, 43, 43, 43, 43, 43, 43,
1297
- 43, 43, 43, 43, 43, 43, 43, 43,
1298
- 43, 43, 43, 43, 43, 43, 43, 43,
1299
- 43, 43, 43, 43, 43, 43, 43, 43,
1300
- 43, 43, 43, 43, 43, 43, 43, 43,
1301
- 43, 43, 43, 43, 43, 43, 43, 43,
1302
- 43, 43, 43, 43, 43, 43, 43, 43,
1303
- 43, 43, 43, 43, 43, 43, 43, 43,
1304
- 43, 43, 43, 43, 43, 43, 43, 43,
1305
- 43, 43, 43, 43, 43, 43, 43, 43,
1306
- 43, 43, 43, 43, 43, 43, 43, 43,
1307
- 43, 43, 43, 43, 43, 43, 43, 43,
1308
- 43, 43, 43, 43, 43, 43, 43, 43,
1309
- 43, 43, 43, 43, 43, 43, 43, 43,
1310
- 43, 43, 43, 43, 43, 43, 43, 43,
1311
- 43, 43, 43, 43, 43, 43, 43, 43,
1312
- 43, 43, 43, 43, 43, 43, 43, 43,
1313
- 43, 43, 43, 43, 43, 43, 43, 43,
1314
- 43, 43, 43, 43, 43, 43, 43, 43,
1315
- 43, 43, 43, 43, 43, 43, 43, 43,
1316
- 43, 43, 43, 43, 43, 43, 43, 43,
1317
- 43, 43, 43, 43, 43, 43, 43, 43,
1318
- 43, 43, 43, 43, 43, 43, 43, 43,
1319
- 43, 43, 43, 43, 43, 43, 43, 43,
1320
- 43, 43, 43, 43, 43, 43, 43, 43,
1321
- 43, 43, 43, 43, 43, 43, 43, 43,
1322
- 43, 43, 43, 43, 43, 43, 43, 43,
1323
- 43, 43, 43, 43, 43, 43, 43, 43,
1324
- 43, 43, 43, 43, 43, 43, 43, 43,
1325
- 43, 43, 43, 43, 43, 43, 43, 43,
1326
- 43, 43, 43, 43, 43, 43, 43, 43,
1327
- 43, 43, 43, 43, 43, 43, 43, 43,
1328
- 43, 43, 43, 43, 43, 43, 43, 43,
1329
- 43, 43, 43, 43, 43, 43, 43, 43,
1330
- 43, 43, 43, 43, 43, 43, 43, 43,
1331
- 43, 43, 43, 43, 43, 43, 43, 43,
1332
- 43, 43, 43, 43, 43, 43, 43, 43,
1333
- 43, 43, 43, 43, 43, 43, 43, 43,
1334
- 43, 43, 43, 43, 43, 43, 43, 43,
1335
- 43, 43, 43, 43, 43, 43, 43, 43,
1336
- 43, 43, 43, 43, 43, 43, 43, 43,
1337
- 43, 43, 43, 43, 43, 43, 43, 43,
1338
- 43, 43, 43, 43, 43, 43, 43, 43,
1339
- 43, 43, 43, 43, 43, 43, 43, 43,
1340
- 43, 43, 43, 43, 43, 43, 43, 43,
1341
- 43, 43, 43, 43, 43, 43, 43, 43,
1342
- 43, 43, 43, 43, 43, 43, 43, 43,
1343
- 43, 43, 43, 43, 43, 43, 43, 43,
1344
- 43, 43, 43, 43, 43, 43, 43, 43,
1345
- 43, 43, 43, 43, 43, 43, 43, 43,
1346
- 43, 43, 43, 43, 43, 43, 43, 43,
1347
- 43, 43, 43, 43, 43, 43, 43, 43,
1348
- 43, 43, 43, 43, 43, 43, 43, 43,
1349
- 43, 43, 43, 43, 43, 43, 43, 43,
1350
- 43, 43, 43, 43, 43, 43, 43, 43,
1351
- 43, 43, 43, 43, 43, 43, 43, 43,
1352
- 43, 43, 43, 43, 43, 43, 43, 43,
1353
- 43, 43, 43, 43, 43, 43, 43, 43,
1354
- 43, 43, 43, 43, 43, 43, 43, 43,
1355
- 43, 43, 43, 43, 43, 43, 43, 43,
1356
- 43, 43, 43, 43, 43, 43, 43, 43,
1357
- 43, 43, 43, 43, 43, 43, 43, 43,
1358
- 43, 43, 43, 43, 43, 43, 43, 43,
1359
- 43, 43, 43, 43, 43, 43, 43, 43,
1360
- 43, 43, 43, 43, 43, 43, 43, 43,
1361
- 43, 43, 43, 43, 43, 43, 43, 43,
1362
- 43, 43, 43, 43, 43, 43, 43, 43,
1363
- 43, 43, 43, 43, 43, 43, 43, 43,
1364
- 43, 43, 43, 43, 43, 43, 43, 43,
1365
- 43, 43, 43, 43, 43, 43, 43, 43,
1366
- 43, 43, 43, 43, 43, 43, 43, 43,
1367
- 43, 43, 43, 43, 43, 43, 43, 43,
1368
- 43, 43, 43, 43, 43, 43, 43, 43,
1369
- 43, 43, 43, 43, 43, 43, 43, 43,
1370
- 43, 43, 43, 43, 43, 43, 43, 43,
1371
- 43, 43, 43, 43, 43, 43, 43, 43,
1372
- 43, 43, 43, 43, 43, 43, 43, 43,
1373
- 43, 43, 43, 43, 43, 43, 43, 43,
1374
- 43, 43, 43, 43, 43, 43, 43, 43,
1375
- 43, 43, 43, 43, 43, 43, 43, 43,
1376
- 43, 43, 43, 43, 43, 43, 43, 43,
1377
- 43, 43, 43, 43, 43, 43, 43, 43,
1378
- 43, 43, 43, 43, 43, 43, 43, 43,
1379
- 43, 43, 43, 43, 43, 43, 43, 43,
1380
- 43, 43, 43, 43, 43, 43, 43, 43,
1381
- 43, 43, 43, 43, 43, 43, 43, 43,
1382
- 43, 43, 43, 43, 43, 43, 43, 43,
1383
- 43, 43, 43, 43, 43, 43, 43, 43,
1384
- 43, 43, 43, 43, 43, 43, 43, 43,
1385
- 43, 43, 43, 43, 43, 43, 43, 43,
1386
- 43, 43, 43, 43, 43, 43, 43, 43,
1387
- 43, 43, 43, 43, 43, 43, 43, 43,
1388
- 43, 43, 43, 43, 43, 43, 43, 43,
1389
- 43, 43, 43, 43, 43, 43, 43, 43,
1390
- 43, 43, 43, 43, 43, 43, 43, 43,
1391
- 43, 43, 43, 43, 43, 43, 43
1392
- ]
1393
-
1394
- class << self
1395
- attr_accessor :lexer_start
1396
- end
1397
- self.lexer_start = 1;
1398
- class << self
1399
- attr_accessor :lexer_first_final
1400
- end
1401
- self.lexer_first_final = 846;
1402
- class << self
1403
- attr_accessor :lexer_error
1404
- end
1405
- self.lexer_error = 0;
1406
-
1407
- class << self
1408
- attr_accessor :lexer_en_main
1409
- end
1410
- self.lexer_en_main = 1;
1411
-
1412
-
1413
- # line 133 "ragel/i18n/ru.rb.rl"
1414
- end
1415
-
1416
- def scan(data)
1417
- data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
1418
- eof = pe = data.length
1419
-
1420
- @line_number = 1
1421
- @last_newline = 0
1422
-
1423
-
1424
- # line 1425 "lib/gherkin/lexer/ru.rb"
1425
- begin
1426
- p ||= 0
1427
- pe ||= data.length
1428
- cs = lexer_start
1429
- end
1430
-
1431
- # line 143 "ragel/i18n/ru.rb.rl"
1432
-
1433
- # line 1434 "lib/gherkin/lexer/ru.rb"
1434
- begin
1435
- _klen, _trans, _keys, _acts, _nacts = nil
1436
- _goto_level = 0
1437
- _resume = 10
1438
- _eof_trans = 15
1439
- _again = 20
1440
- _test_eof = 30
1441
- _out = 40
1442
- while true
1443
- _trigger_goto = false
1444
- if _goto_level <= 0
1445
- if p == pe
1446
- _goto_level = _test_eof
1447
- next
1448
- end
1449
- if cs == 0
1450
- _goto_level = _out
1451
- next
1452
- end
1453
- end
1454
- if _goto_level <= _resume
1455
- _keys = _lexer_key_offsets[cs]
1456
- _trans = _lexer_index_offsets[cs]
1457
- _klen = _lexer_single_lengths[cs]
1458
- _break_match = false
1459
-
1460
- begin
1461
- if _klen > 0
1462
- _lower = _keys
1463
- _upper = _keys + _klen - 1
1464
-
1465
- loop do
1466
- break if _upper < _lower
1467
- _mid = _lower + ( (_upper - _lower) >> 1 )
1468
-
1469
- if data[p].ord < _lexer_trans_keys[_mid]
1470
- _upper = _mid - 1
1471
- elsif data[p].ord > _lexer_trans_keys[_mid]
1472
- _lower = _mid + 1
1473
- else
1474
- _trans += (_mid - _keys)
1475
- _break_match = true
1476
- break
1477
- end
1478
- end # loop
1479
- break if _break_match
1480
- _keys += _klen
1481
- _trans += _klen
1482
- end
1483
- _klen = _lexer_range_lengths[cs]
1484
- if _klen > 0
1485
- _lower = _keys
1486
- _upper = _keys + (_klen << 1) - 2
1487
- loop do
1488
- break if _upper < _lower
1489
- _mid = _lower + (((_upper-_lower) >> 1) & ~1)
1490
- if data[p].ord < _lexer_trans_keys[_mid]
1491
- _upper = _mid - 2
1492
- elsif data[p].ord > _lexer_trans_keys[_mid+1]
1493
- _lower = _mid + 2
1494
- else
1495
- _trans += ((_mid - _keys) >> 1)
1496
- _break_match = true
1497
- break
1498
- end
1499
- end # loop
1500
- break if _break_match
1501
- _trans += _klen
1502
- end
1503
- end while false
1504
- _trans = _lexer_indicies[_trans]
1505
- cs = _lexer_trans_targs[_trans]
1506
- if _lexer_trans_actions[_trans] != 0
1507
- _acts = _lexer_trans_actions[_trans]
1508
- _nacts = _lexer_actions[_acts]
1509
- _acts += 1
1510
- while _nacts > 0
1511
- _nacts -= 1
1512
- _acts += 1
1513
- case _lexer_actions[_acts - 1]
1514
- when 0 then
1515
- # line 11 "ragel/i18n/ru.rb.rl"
1516
- begin
1517
-
1518
- @content_start = p
1519
- @current_line = @line_number
1520
- @start_col = p - @last_newline - "#{@keyword}:".length
1521
- end
1522
- when 1 then
1523
- # line 17 "ragel/i18n/ru.rb.rl"
1524
- begin
1525
-
1526
- @current_line = @line_number
1527
- @start_col = p - @last_newline
1528
- end
1529
- when 2 then
1530
- # line 22 "ragel/i18n/ru.rb.rl"
1531
- begin
1532
-
1533
- @content_start = p
1534
- end
1535
- when 3 then
1536
- # line 26 "ragel/i18n/ru.rb.rl"
1537
- begin
1538
-
1539
- @docstring_content_type_start = p
1540
- end
1541
- when 4 then
1542
- # line 29 "ragel/i18n/ru.rb.rl"
1543
- begin
1544
-
1545
- @docstring_content_type_end = p
1546
- end
1547
- when 5 then
1548
- # line 33 "ragel/i18n/ru.rb.rl"
1549
- begin
1550
-
1551
- con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
1552
- con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
1553
- @listener.doc_string(con_type, con, @current_line)
1554
- end
1555
- when 6 then
1556
- # line 38 "ragel/i18n/ru.rb.rl"
1557
- begin
1558
-
1559
- p = store_keyword_content(:feature, data, p, eof)
1560
- end
1561
- when 7 then
1562
- # line 42 "ragel/i18n/ru.rb.rl"
1563
- begin
1564
-
1565
- p = store_keyword_content(:background, data, p, eof)
1566
- end
1567
- when 8 then
1568
- # line 46 "ragel/i18n/ru.rb.rl"
1569
- begin
1570
-
1571
- p = store_keyword_content(:scenario, data, p, eof)
1572
- end
1573
- when 9 then
1574
- # line 50 "ragel/i18n/ru.rb.rl"
1575
- begin
1576
-
1577
- p = store_keyword_content(:scenario_outline, data, p, eof)
1578
- end
1579
- when 10 then
1580
- # line 54 "ragel/i18n/ru.rb.rl"
1581
- begin
1582
-
1583
- p = store_keyword_content(:examples, data, p, eof)
1584
- end
1585
- when 11 then
1586
- # line 58 "ragel/i18n/ru.rb.rl"
1587
- begin
1588
-
1589
- con = utf8_pack(data[@content_start...p]).strip
1590
- @listener.step(@keyword, con, @current_line)
1591
- end
1592
- when 12 then
1593
- # line 63 "ragel/i18n/ru.rb.rl"
1594
- begin
1595
-
1596
- con = utf8_pack(data[@content_start...p]).strip
1597
- @listener.comment(con, @line_number)
1598
- @keyword_start = nil
1599
- end
1600
- when 13 then
1601
- # line 69 "ragel/i18n/ru.rb.rl"
1602
- begin
1603
-
1604
- con = utf8_pack(data[@content_start...p]).strip
1605
- @listener.tag(con, @current_line)
1606
- @keyword_start = nil
1607
- end
1608
- when 14 then
1609
- # line 75 "ragel/i18n/ru.rb.rl"
1610
- begin
1611
-
1612
- @line_number += 1
1613
- end
1614
- when 15 then
1615
- # line 79 "ragel/i18n/ru.rb.rl"
1616
- begin
1617
-
1618
- @last_newline = p + 1
1619
- end
1620
- when 16 then
1621
- # line 83 "ragel/i18n/ru.rb.rl"
1622
- begin
1623
-
1624
- @keyword_start ||= p
1625
- end
1626
- when 17 then
1627
- # line 87 "ragel/i18n/ru.rb.rl"
1628
- begin
1629
-
1630
- @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
1631
- @keyword_start = nil
1632
- end
1633
- when 18 then
1634
- # line 92 "ragel/i18n/ru.rb.rl"
1635
- begin
1636
-
1637
- @next_keyword_start = p
1638
- end
1639
- when 19 then
1640
- # line 96 "ragel/i18n/ru.rb.rl"
1641
- begin
1642
-
1643
- p = p - 1
1644
- current_row = []
1645
- @current_line = @line_number
1646
- end
1647
- when 20 then
1648
- # line 102 "ragel/i18n/ru.rb.rl"
1649
- begin
1650
-
1651
- @content_start = p
1652
- end
1653
- when 21 then
1654
- # line 106 "ragel/i18n/ru.rb.rl"
1655
- begin
1656
-
1657
- con = utf8_pack(data[@content_start...p]).strip
1658
- current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1659
- end
1660
- when 22 then
1661
- # line 111 "ragel/i18n/ru.rb.rl"
1662
- begin
1663
-
1664
- @listener.row(current_row, @current_line)
1665
- end
1666
- when 23 then
1667
- # line 115 "ragel/i18n/ru.rb.rl"
1668
- begin
1669
-
1670
- if cs < lexer_first_final
1671
- content = current_line_content(data, p)
1672
- 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])
1673
- else
1674
- @listener.eof
1675
- end
1676
- end
1677
- # line 1678 "lib/gherkin/lexer/ru.rb"
1678
- end # action switch
1679
- end
1680
- end
1681
- if _trigger_goto
1682
- next
1683
- end
1684
- end
1685
- if _goto_level <= _again
1686
- if cs == 0
1687
- _goto_level = _out
1688
- next
1689
- end
1690
- p += 1
1691
- if p != pe
1692
- _goto_level = _resume
1693
- next
1694
- end
1695
- end
1696
- if _goto_level <= _test_eof
1697
- if p == eof
1698
- __acts = _lexer_eof_actions[cs]
1699
- __nacts = _lexer_actions[__acts]
1700
- __acts += 1
1701
- while __nacts > 0
1702
- __nacts -= 1
1703
- __acts += 1
1704
- case _lexer_actions[__acts - 1]
1705
- when 23 then
1706
- # line 115 "ragel/i18n/ru.rb.rl"
1707
- begin
1708
-
1709
- if cs < lexer_first_final
1710
- content = current_line_content(data, p)
1711
- 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])
1712
- else
1713
- @listener.eof
1714
- end
1715
- end
1716
- # line 1717 "lib/gherkin/lexer/ru.rb"
1717
- end # eof action switch
1718
- end
1719
- if _trigger_goto
1720
- next
1721
- end
1722
- end
1723
- end
1724
- if _goto_level <= _out
1725
- break
1726
- end
1727
- end
1728
- end
1729
-
1730
- # line 144 "ragel/i18n/ru.rb.rl"
1731
- end
1732
-
1733
- def unindent(startcol, text)
1734
- text.gsub(/^[\t ]{0,#{startcol}}/, "")
1735
- end
1736
-
1737
- def store_keyword_content(event, data, p, eof)
1738
- end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1739
- content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1740
- content_lines = content.split("\n")
1741
- name = content_lines.shift || ""
1742
- name.strip!
1743
- description = content_lines.join("\n")
1744
- @listener.__send__(event, @keyword, name, description, @current_line)
1745
- @next_keyword_start ? @next_keyword_start - 1 : p
1746
- ensure
1747
- @next_keyword_start = nil
1748
- end
1749
-
1750
- def current_line_content(data, p)
1751
- rest = data[@last_newline..-1]
1752
- utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1753
- end
1754
-
1755
- if (RUBY_VERSION =~ /^1\.9|2\.0/)
1756
- def utf8_pack(array)
1757
- array.pack("c*").force_encoding("UTF-8")
1758
- end
1759
- else
1760
- def utf8_pack(array)
1761
- array.pack("c*")
1762
- end
1763
- end
1764
- end
1765
- end
1766
- end