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