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