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