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