gherkin 2.12.2 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -15
- data/CONTRIBUTING.md +23 -0
- data/Gemfile +0 -3
- data/LICENSE +18 -17
- data/Makefile +65 -0
- data/README.md +9 -268
- data/Rakefile +17 -19
- data/bin/gherkin-generate-ast +21 -0
- data/bin/gherkin-generate-pickles +25 -0
- data/bin/gherkin-generate-tokens +12 -0
- data/gherkin-ruby.razor +218 -0
- data/gherkin.gemspec +22 -76
- data/lib/gherkin/ast_builder.rb +243 -0
- data/lib/gherkin/ast_node.rb +30 -0
- data/lib/gherkin/dialect.rb +58 -0
- data/lib/gherkin/errors.rb +45 -0
- data/lib/gherkin/gherkin-languages.json +2968 -0
- data/lib/gherkin/gherkin_line.rb +95 -0
- data/lib/gherkin/parser.rb +1910 -0
- data/lib/gherkin/pickles/compiler.rb +164 -0
- data/lib/gherkin/token.rb +18 -0
- data/lib/gherkin/token_formatter_builder.rb +39 -0
- data/lib/gherkin/token_matcher.rb +169 -0
- data/lib/gherkin/token_scanner.rb +40 -0
- data/spec/capture_warnings.rb +68 -0
- data/spec/coverage.rb +10 -0
- data/spec/gherkin/parser_spec.rb +146 -0
- metadata +60 -567
- data/.gitattributes +0 -2
- data/.mailmap +0 -2
- data/.rbenv-gemsets +0 -1
- data/.rspec +0 -1
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.yardopts +0 -5
- data/History.md +0 -881
- data/build_native_gems.sh +0 -7
- data/cucumber.yml +0 -5
- data/examples/parse_and_output_json.rb +0 -19
- data/ext/gherkin_lexer_ar/extconf.rb +0 -6
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +0 -1432
- data/ext/gherkin_lexer_bg/extconf.rb +0 -6
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +0 -1655
- data/ext/gherkin_lexer_bm/extconf.rb +0 -6
- data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +0 -1516
- data/ext/gherkin_lexer_ca/extconf.rb +0 -6
- data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +0 -1581
- data/ext/gherkin_lexer_cs/extconf.rb +0 -6
- data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +0 -1515
- data/ext/gherkin_lexer_cy_gb/extconf.rb +0 -6
- data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +0 -1282
- data/ext/gherkin_lexer_da/extconf.rb +0 -6
- data/ext/gherkin_lexer_da/gherkin_lexer_da.c +0 -1298
- data/ext/gherkin_lexer_de/extconf.rb +0 -6
- data/ext/gherkin_lexer_de/gherkin_lexer_de.c +0 -1425
- data/ext/gherkin_lexer_el/extconf.rb +0 -6
- data/ext/gherkin_lexer_el/gherkin_lexer_el.c +0 -1919
- data/ext/gherkin_lexer_en/extconf.rb +0 -6
- data/ext/gherkin_lexer_en/gherkin_lexer_en.c +0 -1418
- data/ext/gherkin_lexer_en_au/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +0 -1765
- data/ext/gherkin_lexer_en_lol/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +0 -1177
- data/ext/gherkin_lexer_en_old/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +0 -1309
- data/ext/gherkin_lexer_en_pirate/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +0 -1471
- data/ext/gherkin_lexer_en_scouse/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +0 -1634
- data/ext/gherkin_lexer_en_tx/extconf.rb +0 -6
- data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +0 -1265
- data/ext/gherkin_lexer_eo/extconf.rb +0 -6
- data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +0 -1241
- data/ext/gherkin_lexer_es/extconf.rb +0 -6
- data/ext/gherkin_lexer_es/gherkin_lexer_es.c +0 -1399
- data/ext/gherkin_lexer_et/extconf.rb +0 -6
- data/ext/gherkin_lexer_et/gherkin_lexer_et.c +0 -1236
- data/ext/gherkin_lexer_fa/extconf.rb +0 -6
- data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +0 -1475
- data/ext/gherkin_lexer_fi/extconf.rb +0 -6
- data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +0 -1215
- data/ext/gherkin_lexer_fr/extconf.rb +0 -6
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +0 -1493
- data/ext/gherkin_lexer_gl/extconf.rb +0 -6
- data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +0 -1374
- data/ext/gherkin_lexer_he/extconf.rb +0 -6
- data/ext/gherkin_lexer_he/gherkin_lexer_he.c +0 -1374
- data/ext/gherkin_lexer_hi/extconf.rb +0 -6
- data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +0 -1848
- data/ext/gherkin_lexer_hr/extconf.rb +0 -6
- data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +0 -1323
- data/ext/gherkin_lexer_hu/extconf.rb +0 -6
- data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +0 -1376
- data/ext/gherkin_lexer_id/extconf.rb +0 -6
- data/ext/gherkin_lexer_id/gherkin_lexer_id.c +0 -1208
- data/ext/gherkin_lexer_is/extconf.rb +0 -6
- data/ext/gherkin_lexer_is/gherkin_lexer_is.c +0 -1376
- data/ext/gherkin_lexer_it/extconf.rb +0 -6
- data/ext/gherkin_lexer_it/gherkin_lexer_it.c +0 -1340
- data/ext/gherkin_lexer_ja/extconf.rb +0 -6
- data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +0 -1699
- data/ext/gherkin_lexer_kn/extconf.rb +0 -6
- data/ext/gherkin_lexer_kn/gherkin_lexer_kn.c +0 -1965
- data/ext/gherkin_lexer_ko/extconf.rb +0 -6
- data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +0 -1360
- data/ext/gherkin_lexer_lt/extconf.rb +0 -6
- data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +0 -1296
- data/ext/gherkin_lexer_lu/extconf.rb +0 -6
- data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +0 -1389
- data/ext/gherkin_lexer_lv/extconf.rb +0 -6
- data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +0 -1425
- data/ext/gherkin_lexer_nl/extconf.rb +0 -6
- data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +0 -1368
- data/ext/gherkin_lexer_no/extconf.rb +0 -6
- data/ext/gherkin_lexer_no/gherkin_lexer_no.c +0 -1311
- data/ext/gherkin_lexer_pa/extconf.rb +0 -6
- data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +0 -2160
- data/ext/gherkin_lexer_pl/extconf.rb +0 -6
- data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +0 -1738
- data/ext/gherkin_lexer_pt/extconf.rb +0 -6
- data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +0 -1711
- data/ext/gherkin_lexer_ro/extconf.rb +0 -6
- data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +0 -1427
- data/ext/gherkin_lexer_ru/extconf.rb +0 -6
- data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +0 -2071
- data/ext/gherkin_lexer_sk/extconf.rb +0 -6
- data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +0 -1739
- data/ext/gherkin_lexer_sr_cyrl/extconf.rb +0 -6
- data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +0 -2112
- data/ext/gherkin_lexer_sr_latn/extconf.rb +0 -6
- data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +0 -1567
- data/ext/gherkin_lexer_sv/extconf.rb +0 -6
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +0 -1324
- data/ext/gherkin_lexer_th/extconf.rb +0 -6
- data/ext/gherkin_lexer_th/gherkin_lexer_th.c +0 -2840
- data/ext/gherkin_lexer_tl/extconf.rb +0 -6
- data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +0 -2021
- data/ext/gherkin_lexer_tr/extconf.rb +0 -6
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +0 -1347
- data/ext/gherkin_lexer_tt/extconf.rb +0 -6
- data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +0 -1936
- data/ext/gherkin_lexer_uk/extconf.rb +0 -6
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +0 -1941
- data/ext/gherkin_lexer_uz/extconf.rb +0 -6
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +0 -1651
- data/ext/gherkin_lexer_vi/extconf.rb +0 -6
- data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +0 -1458
- data/ext/gherkin_lexer_zh_cn/extconf.rb +0 -6
- data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +0 -1314
- data/ext/gherkin_lexer_zh_tw/extconf.rb +0 -6
- data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +0 -1307
- data/features/.cucumber/stepdefs.json +0 -244
- data/features/escaped_pipes.feature +0 -8
- data/features/feature_parser.feature +0 -237
- data/features/json_formatter.feature +0 -498
- data/features/json_parser.feature +0 -331
- data/features/native_lexer.feature +0 -19
- data/features/parser_with_native_lexer.feature +0 -205
- data/features/pretty_formatter.feature +0 -17
- data/features/step_definitions/eyeball_steps.rb +0 -3
- data/features/step_definitions/gherkin_steps.rb +0 -29
- data/features/step_definitions/json_formatter_steps.rb +0 -30
- data/features/step_definitions/json_parser_steps.rb +0 -21
- data/features/step_definitions/pretty_formatter_steps.rb +0 -85
- data/features/steps_parser.feature +0 -46
- data/features/support/env.rb +0 -41
- data/install_mingw_os_x.sh +0 -5
- data/js/.npmignore +0 -1
- data/js/lib/gherkin/lexer/.npmignore +0 -0
- data/lib/gherkin.rb +0 -2
- data/lib/gherkin/README.md +0 -7
- data/lib/gherkin/c_lexer.rb +0 -17
- data/lib/gherkin/formatter/ansi_escapes.rb +0 -97
- data/lib/gherkin/formatter/argument.rb +0 -16
- data/lib/gherkin/formatter/escaping.rb +0 -15
- data/lib/gherkin/formatter/filter_formatter.rb +0 -150
- data/lib/gherkin/formatter/hashable.rb +0 -25
- data/lib/gherkin/formatter/json_formatter.rb +0 -133
- data/lib/gherkin/formatter/line_filter.rb +0 -26
- data/lib/gherkin/formatter/model.rb +0 -281
- data/lib/gherkin/formatter/pretty_formatter.rb +0 -245
- data/lib/gherkin/formatter/regexp_filter.rb +0 -21
- data/lib/gherkin/formatter/step_printer.rb +0 -21
- data/lib/gherkin/formatter/tag_count_formatter.rb +0 -47
- data/lib/gherkin/formatter/tag_filter.rb +0 -19
- data/lib/gherkin/i18n.json +0 -786
- data/lib/gherkin/i18n.rb +0 -176
- data/lib/gherkin/json_parser.rb +0 -177
- data/lib/gherkin/lexer/ar.rb +0 -1170
- data/lib/gherkin/lexer/bg.rb +0 -1382
- data/lib/gherkin/lexer/bm.rb +0 -1250
- data/lib/gherkin/lexer/ca.rb +0 -1310
- data/lib/gherkin/lexer/cs.rb +0 -1246
- data/lib/gherkin/lexer/cy_gb.rb +0 -1032
- data/lib/gherkin/lexer/da.rb +0 -1048
- data/lib/gherkin/lexer/de.rb +0 -1166
- data/lib/gherkin/lexer/el.rb +0 -1628
- data/lib/gherkin/lexer/en.rb +0 -1156
- data/lib/gherkin/lexer/en_au.rb +0 -1486
- data/lib/gherkin/lexer/en_lol.rb +0 -934
- data/lib/gherkin/lexer/en_old.rb +0 -1037
- data/lib/gherkin/lexer/en_pirate.rb +0 -1210
- data/lib/gherkin/lexer/en_scouse.rb +0 -1362
- data/lib/gherkin/lexer/en_tx.rb +0 -1016
- data/lib/gherkin/lexer/encoding.rb +0 -41
- data/lib/gherkin/lexer/eo.rb +0 -995
- data/lib/gherkin/lexer/es.rb +0 -1140
- data/lib/gherkin/lexer/et.rb +0 -990
- data/lib/gherkin/lexer/fa.rb +0 -1214
- data/lib/gherkin/lexer/fi.rb +0 -969
- data/lib/gherkin/lexer/fr.rb +0 -1228
- data/lib/gherkin/lexer/gl.rb +0 -1117
- data/lib/gherkin/lexer/he.rb +0 -1118
- data/lib/gherkin/lexer/hi.rb +0 -1559
- data/lib/gherkin/lexer/hr.rb +0 -1066
- data/lib/gherkin/lexer/hu.rb +0 -1118
- data/lib/gherkin/lexer/i18n_lexer.rb +0 -48
- data/lib/gherkin/lexer/id.rb +0 -963
- data/lib/gherkin/lexer/is.rb +0 -1120
- data/lib/gherkin/lexer/it.rb +0 -1086
- data/lib/gherkin/lexer/ja.rb +0 -1418
- data/lib/gherkin/lexer/kn.rb +0 -1672
- data/lib/gherkin/lexer/ko.rb +0 -1102
- data/lib/gherkin/lexer/lt.rb +0 -1045
- data/lib/gherkin/lexer/lu.rb +0 -1132
- data/lib/gherkin/lexer/lv.rb +0 -1166
- data/lib/gherkin/lexer/nl.rb +0 -1115
- data/lib/gherkin/lexer/no.rb +0 -1060
- data/lib/gherkin/lexer/pa.rb +0 -1852
- data/lib/gherkin/lexer/pl.rb +0 -1457
- data/lib/gherkin/lexer/pt.rb +0 -1430
- data/lib/gherkin/lexer/ro.rb +0 -1164
- data/lib/gherkin/lexer/ru.rb +0 -1766
- data/lib/gherkin/lexer/sk.rb +0 -1452
- data/lib/gherkin/lexer/sr_cyrl.rb +0 -1803
- data/lib/gherkin/lexer/sr_latn.rb +0 -1294
- data/lib/gherkin/lexer/sv.rb +0 -1070
- data/lib/gherkin/lexer/th.rb +0 -2492
- data/lib/gherkin/lexer/tl.rb +0 -1726
- data/lib/gherkin/lexer/tr.rb +0 -1092
- data/lib/gherkin/lexer/tt.rb +0 -1643
- data/lib/gherkin/lexer/uk.rb +0 -1646
- data/lib/gherkin/lexer/uz.rb +0 -1376
- data/lib/gherkin/lexer/vi.rb +0 -1198
- data/lib/gherkin/lexer/zh_cn.rb +0 -1058
- data/lib/gherkin/lexer/zh_tw.rb +0 -1052
- data/lib/gherkin/listener/event.rb +0 -45
- data/lib/gherkin/listener/formatter_listener.rb +0 -150
- data/lib/gherkin/native.rb +0 -7
- data/lib/gherkin/native/java.rb +0 -72
- data/lib/gherkin/native/null.rb +0 -5
- data/lib/gherkin/native/therubyracer.rb +0 -41
- data/lib/gherkin/parser/meta.txt +0 -5
- data/lib/gherkin/parser/parser.rb +0 -166
- data/lib/gherkin/parser/root.txt +0 -11
- data/lib/gherkin/parser/steps.txt +0 -4
- data/lib/gherkin/platform.rb +0 -13
- data/lib/gherkin/rubify.rb +0 -31
- data/lib/gherkin/tag_expression.rb +0 -63
- data/ragel/lexer.c.rl.erb +0 -454
- data/ragel/lexer.java.rl.erb +0 -219
- data/ragel/lexer.js.rl.erb +0 -322
- data/ragel/lexer.rb.rl.erb +0 -179
- data/ragel/lexer_common.rl.erb +0 -50
- data/spec/gherkin/c_lexer_spec.rb +0 -22
- data/spec/gherkin/fixtures/1.feature +0 -8
- data/spec/gherkin/fixtures/comments_in_table.feature +0 -9
- data/spec/gherkin/fixtures/complex.feature +0 -45
- data/spec/gherkin/fixtures/complex.json +0 -139
- data/spec/gherkin/fixtures/complex_for_filtering.feature +0 -60
- data/spec/gherkin/fixtures/complex_with_tags.feature +0 -61
- data/spec/gherkin/fixtures/dos_line_endings.feature +0 -45
- data/spec/gherkin/fixtures/examples_with_only_header.feature +0 -14
- data/spec/gherkin/fixtures/hantu_pisang.feature +0 -35
- data/spec/gherkin/fixtures/i18n_fr.feature +0 -14
- data/spec/gherkin/fixtures/i18n_fr2.feature +0 -8
- data/spec/gherkin/fixtures/i18n_no.feature +0 -7
- data/spec/gherkin/fixtures/i18n_pt1.feature +0 -44
- data/spec/gherkin/fixtures/i18n_pt2.feature +0 -4
- data/spec/gherkin/fixtures/i18n_pt3.feature +0 -4
- data/spec/gherkin/fixtures/i18n_pt4.feature +0 -4
- data/spec/gherkin/fixtures/i18n_zh-CN.feature +0 -9
- data/spec/gherkin/fixtures/iso-8859-1.feature +0 -6
- data/spec/gherkin/fixtures/issue_145.feature +0 -22
- data/spec/gherkin/fixtures/scenario_outline_with_tags.feature +0 -13
- data/spec/gherkin/fixtures/scenario_without_steps.feature +0 -5
- data/spec/gherkin/fixtures/simple_with_comments.feature +0 -7
- data/spec/gherkin/fixtures/simple_with_tags.feature +0 -11
- data/spec/gherkin/fixtures/with_bom.feature +0 -3
- data/spec/gherkin/fixtures/with_bom_and_language_spec.feature +0 -4
- data/spec/gherkin/formatter/ansi_escapes_spec.rb +0 -32
- data/spec/gherkin/formatter/filter_formatter_spec.rb +0 -204
- data/spec/gherkin/formatter/json_formatter_spec.rb +0 -179
- data/spec/gherkin/formatter/model_spec.rb +0 -28
- data/spec/gherkin/formatter/pretty_formatter_spec.rb +0 -184
- data/spec/gherkin/formatter/spaces.feature +0 -9
- data/spec/gherkin/formatter/step_printer_spec.rb +0 -55
- data/spec/gherkin/formatter/tabs.feature +0 -9
- data/spec/gherkin/formatter/tag_count_formatter_spec.rb +0 -30
- data/spec/gherkin/i18n_spec.rb +0 -256
- data/spec/gherkin/java_lexer_spec.rb +0 -20
- data/spec/gherkin/json_parser_spec.rb +0 -165
- data/spec/gherkin/lexer/i18n_lexer_spec.rb +0 -65
- data/spec/gherkin/native_lexer_spec.rb +0 -29
- data/spec/gherkin/parser/parser_spec.rb +0 -16
- data/spec/gherkin/rubify_spec.rb +0 -23
- data/spec/gherkin/sexp_recorder.rb +0 -59
- data/spec/gherkin/shared/doc_string_group.rb +0 -161
- data/spec/gherkin/shared/encoding_group.rb +0 -48
- data/spec/gherkin/shared/lexer_group.rb +0 -589
- data/spec/gherkin/shared/row_group.rb +0 -123
- data/spec/gherkin/shared/tags_group.rb +0 -52
- data/spec/gherkin/tag_expression_spec.rb +0 -146
- data/spec/spec_helper.rb +0 -94
- data/tasks/apidoc.rake +0 -32
- data/tasks/bench.rake +0 -184
- data/tasks/bench/feature_builder.rb +0 -49
- data/tasks/bench/null_listener.rb +0 -4
- data/tasks/compile.rake +0 -83
- data/tasks/cucumber.rake +0 -23
- data/tasks/gems.rake +0 -46
- data/tasks/ikvm.rake +0 -126
- data/tasks/ragel_task.rb +0 -124
- data/tasks/release.rake +0 -34
- data/tasks/rspec.rake +0 -6
- data/tasks/yard/default/layout/html/bubble_32x32.png +0 -0
- data/tasks/yard/default/layout/html/bubble_48x48.png +0 -0
- data/tasks/yard/default/layout/html/footer.erb +0 -5
- data/tasks/yard/default/layout/html/index.erb +0 -1
- data/tasks/yard/default/layout/html/layout.erb +0 -25
- data/tasks/yard/default/layout/html/logo.erb +0 -1
- data/tasks/yard/default/layout/html/setup.rb +0 -4
data/lib/gherkin/lexer/zh_tw.rb
DELETED
@@ -1,1052 +0,0 @@
|
|
1
|
-
|
2
|
-
# line 1 "ragel/i18n/zh_tw.rb.rl"
|
3
|
-
require 'gherkin/native'
|
4
|
-
|
5
|
-
module Gherkin
|
6
|
-
module Lexer
|
7
|
-
class Zh_tw #:nodoc:
|
8
|
-
native_impl('gherkin')
|
9
|
-
|
10
|
-
|
11
|
-
# line 125 "ragel/i18n/zh_tw.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/zh_tw.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, 16, 19, 20, 21, 22, 23,
|
54
|
-
25, 27, 42, 46, 47, 49, 51, 52,
|
55
|
-
53, 54, 55, 57, 58, 59, 60, 62,
|
56
|
-
63, 64, 65, 66, 67, 68, 69, 70,
|
57
|
-
83, 86, 88, 90, 92, 94, 109, 110,
|
58
|
-
111, 113, 114, 115, 116, 117, 118, 119,
|
59
|
-
120, 121, 134, 137, 139, 141, 143, 145,
|
60
|
-
147, 149, 151, 153, 158, 160, 163, 166,
|
61
|
-
168, 170, 172, 174, 177, 179, 181, 183,
|
62
|
-
186, 188, 190, 192, 194, 196, 198, 200,
|
63
|
-
202, 204, 206, 208, 210, 212, 214, 216,
|
64
|
-
218, 220, 222, 224, 226, 228, 230, 232,
|
65
|
-
234, 236, 238, 240, 242, 244, 246, 248,
|
66
|
-
250, 252, 254, 256, 258, 260, 262, 264,
|
67
|
-
266, 267, 268, 269, 270, 271, 272, 273,
|
68
|
-
275, 277, 282, 287, 292, 297, 301, 305,
|
69
|
-
307, 308, 309, 310, 311, 312, 313, 314,
|
70
|
-
315, 316, 317, 318, 319, 320, 321, 322,
|
71
|
-
323, 328, 335, 340, 344, 350, 353, 355,
|
72
|
-
361, 376, 378, 380, 382, 384, 389, 391,
|
73
|
-
394, 397, 399, 401, 403, 405, 408, 410,
|
74
|
-
412, 414, 416, 418, 420, 422, 424, 426,
|
75
|
-
428, 430, 432, 434, 436, 438, 440, 442,
|
76
|
-
444, 446, 448, 450, 452, 454, 456, 458,
|
77
|
-
460, 462, 464, 466, 468, 470, 472, 474,
|
78
|
-
476, 478, 480, 482, 484, 485, 486, 499,
|
79
|
-
502, 504, 506, 508, 510, 512, 514, 516,
|
80
|
-
518, 523, 525, 528, 531, 533, 535, 537,
|
81
|
-
539, 542, 544, 546, 548, 551, 553, 555,
|
82
|
-
557, 559, 561, 563, 565, 567, 569, 571,
|
83
|
-
573, 575, 577, 579, 581, 583, 585, 587,
|
84
|
-
590, 592, 594, 596, 598, 600, 602, 604,
|
85
|
-
606, 608, 610, 612, 614, 616, 618, 620,
|
86
|
-
622, 624, 626, 628, 630, 632, 634, 636,
|
87
|
-
638, 640, 641, 642, 643, 644, 645, 646,
|
88
|
-
656, 658, 660, 662, 664, 666, 668, 671,
|
89
|
-
674, 676, 678, 680, 683, 685, 687, 689,
|
90
|
-
691, 693, 695, 697, 699, 701, 703, 705,
|
91
|
-
707, 709, 711, 713, 715, 717, 719, 721,
|
92
|
-
723, 725, 727, 729, 731, 733, 735, 737,
|
93
|
-
739, 741, 743, 745, 746, 747, 748, 749,
|
94
|
-
750, 751, 752, 753, 754, 755, 756, 757,
|
95
|
-
758, 759, 760, 761, 762, 763, 770, 772,
|
96
|
-
774, 776, 778, 780, 782, 783, 784
|
97
|
-
]
|
98
|
-
|
99
|
-
class << self
|
100
|
-
attr_accessor :_lexer_trans_keys
|
101
|
-
private :_lexer_trans_keys, :_lexer_trans_keys=
|
102
|
-
end
|
103
|
-
self._lexer_trans_keys = [
|
104
|
-
-28, -27, -25, -24, -23, -17, 10, 32,
|
105
|
-
34, 35, 37, 42, 64, 124, 9, 13,
|
106
|
-
-72, -67, -66, -90, -28, -72, -108, 10,
|
107
|
-
13, 10, 13, -28, -27, -25, -24, -23,
|
108
|
-
10, 32, 34, 35, 37, 42, 64, 124,
|
109
|
-
9, 13, -127, -118, -112, -96, -121, -27,
|
110
|
-
-24, -90, -82, -126, -102, -88, -83, -121,
|
111
|
-
-97, -26, -100, -84, -27, 58, -92, -89,
|
112
|
-
-25, -74, -79, 58, 10, 10, -28, -27,
|
113
|
-
-25, -24, -23, 10, 32, 35, 37, 42,
|
114
|
-
64, 9, 13, -72, -67, 10, -90, 10,
|
115
|
-
-28, 10, -72, 10, -108, 10, -28, -27,
|
116
|
-
-25, -24, -23, 10, 32, 34, 35, 37,
|
117
|
-
42, 64, 124, 9, 13, -107, -74, -128,
|
118
|
-
-125, -116, -116, -26, -103, -81, 58, 10,
|
119
|
-
10, -28, -27, -25, -24, -23, 10, 32,
|
120
|
-
35, 37, 42, 64, 9, 13, -72, -67,
|
121
|
-
10, -90, 10, -28, 10, -72, 10, -108,
|
122
|
-
10, -122, 10, -26, 10, -104, 10, -81,
|
123
|
-
10, -127, -118, -112, -96, 10, -121, 10,
|
124
|
-
-27, -24, 10, -90, -82, 10, -126, 10,
|
125
|
-
-102, 10, -88, 10, -83, 10, -121, -97,
|
126
|
-
10, -26, 10, -100, 10, -84, 10, -27,
|
127
|
-
10, 58, -92, 10, -89, 10, -25, 10,
|
128
|
-
-74, 10, -79, 10, 10, 58, -24, 10,
|
129
|
-
-125, 10, -67, 10, -116, 10, -26, 10,
|
130
|
-
-103, 10, -76, 10, -26, 10, -103, 10,
|
131
|
-
-81, 10, -107, 10, -74, 10, -128, 10,
|
132
|
-
-116, 10, -126, 10, -93, 10, -23, 10,
|
133
|
-
-70, 10, -68, 10, 10, 95, 10, 70,
|
134
|
-
10, 69, 10, 65, 10, 84, 10, 85,
|
135
|
-
10, 82, 10, 69, 10, 95, 10, 69,
|
136
|
-
10, 78, 10, 68, 10, 95, 10, 37,
|
137
|
-
10, 32, -126, -93, -23, -70, -68, 34,
|
138
|
-
34, 10, 13, 10, 13, 10, 32, 34,
|
139
|
-
9, 13, 10, 32, 34, 9, 13, 10,
|
140
|
-
32, 34, 9, 13, 10, 32, 34, 9,
|
141
|
-
13, 10, 32, 9, 13, 10, 32, 9,
|
142
|
-
13, 10, 13, 10, 95, 70, 69, 65,
|
143
|
-
84, 85, 82, 69, 95, 69, 78, 68,
|
144
|
-
95, 37, 32, 13, 32, 64, 9, 10,
|
145
|
-
9, 10, 13, 32, 64, 11, 12, 10,
|
146
|
-
32, 64, 9, 13, 32, 124, 9, 13,
|
147
|
-
10, 32, 92, 124, 9, 13, 10, 92,
|
148
|
-
124, 10, 92, 10, 32, 92, 124, 9,
|
149
|
-
13, -28, -27, -25, -24, -23, 10, 32,
|
150
|
-
34, 35, 37, 42, 64, 124, 9, 13,
|
151
|
-
-122, 10, -26, 10, -104, 10, -81, 10,
|
152
|
-
-127, -118, -112, -96, 10, -121, 10, -27,
|
153
|
-
-24, 10, -90, -82, 10, -126, 10, -102,
|
154
|
-
10, -88, 10, -83, 10, -121, -97, 10,
|
155
|
-
-26, 10, -100, 10, -84, 10, 10, 58,
|
156
|
-
-24, 10, -125, 10, -67, 10, -116, 10,
|
157
|
-
-26, 10, -103, 10, -76, 10, -26, 10,
|
158
|
-
-103, 10, -81, 10, -107, 10, -74, 10,
|
159
|
-
-128, 10, -116, 10, -126, 10, -93, 10,
|
160
|
-
-23, 10, -70, 10, -68, 10, 10, 95,
|
161
|
-
10, 70, 10, 69, 10, 65, 10, 84,
|
162
|
-
10, 85, 10, 82, 10, 69, 10, 95,
|
163
|
-
10, 69, 10, 78, 10, 68, 10, 95,
|
164
|
-
10, 37, 10, 32, 10, 10, -28, -27,
|
165
|
-
-25, -24, -23, 10, 32, 35, 37, 42,
|
166
|
-
64, 9, 13, -72, -67, 10, -90, 10,
|
167
|
-
-28, 10, -72, 10, -108, 10, -122, 10,
|
168
|
-
-26, 10, -104, 10, -81, 10, -127, -118,
|
169
|
-
-112, -96, 10, -121, 10, -27, -24, 10,
|
170
|
-
-90, -82, 10, -126, 10, -102, 10, -88,
|
171
|
-
10, -83, 10, -121, -97, 10, -26, 10,
|
172
|
-
-100, 10, -84, 10, -27, 10, 58, -92,
|
173
|
-
10, -89, 10, -25, 10, -74, 10, -79,
|
174
|
-
10, 10, 58, -24, 10, -125, 10, -67,
|
175
|
-
10, -116, 10, -26, 10, -103, 10, -76,
|
176
|
-
10, -26, 10, -103, 10, -81, 10, -107,
|
177
|
-
10, -74, 10, -128, -125, 10, -116, 10,
|
178
|
-
-116, 10, -26, 10, -103, 10, -81, 10,
|
179
|
-
-126, 10, -93, 10, -23, 10, -70, 10,
|
180
|
-
-68, 10, 10, 95, 10, 70, 10, 69,
|
181
|
-
10, 65, 10, 84, 10, 85, 10, 82,
|
182
|
-
10, 69, 10, 95, 10, 69, 10, 78,
|
183
|
-
10, 68, 10, 95, 10, 37, 10, 32,
|
184
|
-
-24, -125, -67, 58, 10, 10, -28, -27,
|
185
|
-
-24, 10, 32, 35, 37, 64, 9, 13,
|
186
|
-
-66, 10, -117, 10, -27, 10, -83, 10,
|
187
|
-
-112, 10, 10, 58, -118, -96, 10, -121,
|
188
|
-
-97, 10, -26, 10, -100, 10, -84, 10,
|
189
|
-
-27, 10, 58, -92, 10, -89, 10, -25,
|
190
|
-
10, -74, 10, -79, 10, -24, 10, -125,
|
191
|
-
10, -67, 10, -76, 10, -26, 10, -103,
|
192
|
-
10, -81, 10, -125, 10, -116, 10, -26,
|
193
|
-
10, -103, 10, -81, 10, 10, 95, 10,
|
194
|
-
70, 10, 69, 10, 65, 10, 84, 10,
|
195
|
-
85, 10, 82, 10, 69, 10, 95, 10,
|
196
|
-
69, 10, 78, 10, 68, 10, 95, 10,
|
197
|
-
37, -116, -26, -103, -76, -26, -103, -81,
|
198
|
-
-122, -26, -104, -81, -117, -27, -83, -112,
|
199
|
-
58, 10, 10, -27, 10, 32, 35, 124,
|
200
|
-
9, 13, -118, 10, -97, 10, -24, 10,
|
201
|
-
-125, 10, -67, 10, 10, 58, -69, -65,
|
202
|
-
0
|
203
|
-
]
|
204
|
-
|
205
|
-
class << self
|
206
|
-
attr_accessor :_lexer_single_lengths
|
207
|
-
private :_lexer_single_lengths, :_lexer_single_lengths=
|
208
|
-
end
|
209
|
-
self._lexer_single_lengths = [
|
210
|
-
0, 14, 3, 1, 1, 1, 1, 2,
|
211
|
-
2, 13, 4, 1, 2, 2, 1, 1,
|
212
|
-
1, 1, 2, 1, 1, 1, 2, 1,
|
213
|
-
1, 1, 1, 1, 1, 1, 1, 11,
|
214
|
-
3, 2, 2, 2, 2, 13, 1, 1,
|
215
|
-
2, 1, 1, 1, 1, 1, 1, 1,
|
216
|
-
1, 11, 3, 2, 2, 2, 2, 2,
|
217
|
-
2, 2, 2, 5, 2, 3, 3, 2,
|
218
|
-
2, 2, 2, 3, 2, 2, 2, 3,
|
219
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
220
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
221
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
222
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
223
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
224
|
-
1, 1, 1, 1, 1, 1, 1, 2,
|
225
|
-
2, 3, 3, 3, 3, 2, 2, 2,
|
226
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
227
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
228
|
-
3, 5, 3, 2, 4, 3, 2, 4,
|
229
|
-
13, 2, 2, 2, 2, 5, 2, 3,
|
230
|
-
3, 2, 2, 2, 2, 3, 2, 2,
|
231
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
232
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
233
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
234
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
235
|
-
2, 2, 2, 2, 1, 1, 11, 3,
|
236
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
237
|
-
5, 2, 3, 3, 2, 2, 2, 2,
|
238
|
-
3, 2, 2, 2, 3, 2, 2, 2,
|
239
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
240
|
-
2, 2, 2, 2, 2, 2, 2, 3,
|
241
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
242
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
243
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
244
|
-
2, 1, 1, 1, 1, 1, 1, 8,
|
245
|
-
2, 2, 2, 2, 2, 2, 3, 3,
|
246
|
-
2, 2, 2, 3, 2, 2, 2, 2,
|
247
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
248
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
249
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
250
|
-
2, 2, 2, 1, 1, 1, 1, 1,
|
251
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
252
|
-
1, 1, 1, 1, 1, 5, 2, 2,
|
253
|
-
2, 2, 2, 2, 1, 1, 0
|
254
|
-
]
|
255
|
-
|
256
|
-
class << self
|
257
|
-
attr_accessor :_lexer_range_lengths
|
258
|
-
private :_lexer_range_lengths, :_lexer_range_lengths=
|
259
|
-
end
|
260
|
-
self._lexer_range_lengths = [
|
261
|
-
0, 1, 0, 0, 0, 0, 0, 0,
|
262
|
-
0, 1, 0, 0, 0, 0, 0, 0,
|
263
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
264
|
-
0, 0, 0, 0, 0, 0, 0, 1,
|
265
|
-
0, 0, 0, 0, 0, 1, 0, 0,
|
266
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
267
|
-
0, 1, 0, 0, 0, 0, 0, 0,
|
268
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
269
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
270
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
271
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
272
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
273
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
274
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
275
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
276
|
-
0, 1, 1, 1, 1, 1, 1, 0,
|
277
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
278
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
279
|
-
1, 1, 1, 1, 1, 0, 0, 1,
|
280
|
-
1, 0, 0, 0, 0, 0, 0, 0,
|
281
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
282
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
283
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
284
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
285
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
286
|
-
0, 0, 0, 0, 0, 0, 1, 0,
|
287
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
288
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
289
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
290
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
291
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
292
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
293
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
294
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
295
|
-
0, 0, 0, 0, 0, 0, 0, 1,
|
296
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
297
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
298
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
299
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
300
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
301
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
302
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
303
|
-
0, 0, 0, 0, 0, 1, 0, 0,
|
304
|
-
0, 0, 0, 0, 0, 0, 0
|
305
|
-
]
|
306
|
-
|
307
|
-
class << self
|
308
|
-
attr_accessor :_lexer_index_offsets
|
309
|
-
private :_lexer_index_offsets, :_lexer_index_offsets=
|
310
|
-
end
|
311
|
-
self._lexer_index_offsets = [
|
312
|
-
0, 0, 16, 20, 22, 24, 26, 28,
|
313
|
-
31, 34, 49, 54, 56, 59, 62, 64,
|
314
|
-
66, 68, 70, 73, 75, 77, 79, 82,
|
315
|
-
84, 86, 88, 90, 92, 94, 96, 98,
|
316
|
-
111, 115, 118, 121, 124, 127, 142, 144,
|
317
|
-
146, 149, 151, 153, 155, 157, 159, 161,
|
318
|
-
163, 165, 178, 182, 185, 188, 191, 194,
|
319
|
-
197, 200, 203, 206, 212, 215, 219, 223,
|
320
|
-
226, 229, 232, 235, 239, 242, 245, 248,
|
321
|
-
252, 255, 258, 261, 264, 267, 270, 273,
|
322
|
-
276, 279, 282, 285, 288, 291, 294, 297,
|
323
|
-
300, 303, 306, 309, 312, 315, 318, 321,
|
324
|
-
324, 327, 330, 333, 336, 339, 342, 345,
|
325
|
-
348, 351, 354, 357, 360, 363, 366, 369,
|
326
|
-
372, 374, 376, 378, 380, 382, 384, 386,
|
327
|
-
389, 392, 397, 402, 407, 412, 416, 420,
|
328
|
-
423, 425, 427, 429, 431, 433, 435, 437,
|
329
|
-
439, 441, 443, 445, 447, 449, 451, 453,
|
330
|
-
455, 460, 467, 472, 476, 482, 486, 489,
|
331
|
-
495, 510, 513, 516, 519, 522, 528, 531,
|
332
|
-
535, 539, 542, 545, 548, 551, 555, 558,
|
333
|
-
561, 564, 567, 570, 573, 576, 579, 582,
|
334
|
-
585, 588, 591, 594, 597, 600, 603, 606,
|
335
|
-
609, 612, 615, 618, 621, 624, 627, 630,
|
336
|
-
633, 636, 639, 642, 645, 648, 651, 654,
|
337
|
-
657, 660, 663, 666, 669, 671, 673, 686,
|
338
|
-
690, 693, 696, 699, 702, 705, 708, 711,
|
339
|
-
714, 720, 723, 727, 731, 734, 737, 740,
|
340
|
-
743, 747, 750, 753, 756, 760, 763, 766,
|
341
|
-
769, 772, 775, 778, 781, 784, 787, 790,
|
342
|
-
793, 796, 799, 802, 805, 808, 811, 814,
|
343
|
-
818, 821, 824, 827, 830, 833, 836, 839,
|
344
|
-
842, 845, 848, 851, 854, 857, 860, 863,
|
345
|
-
866, 869, 872, 875, 878, 881, 884, 887,
|
346
|
-
890, 893, 895, 897, 899, 901, 903, 905,
|
347
|
-
915, 918, 921, 924, 927, 930, 933, 937,
|
348
|
-
941, 944, 947, 950, 954, 957, 960, 963,
|
349
|
-
966, 969, 972, 975, 978, 981, 984, 987,
|
350
|
-
990, 993, 996, 999, 1002, 1005, 1008, 1011,
|
351
|
-
1014, 1017, 1020, 1023, 1026, 1029, 1032, 1035,
|
352
|
-
1038, 1041, 1044, 1047, 1049, 1051, 1053, 1055,
|
353
|
-
1057, 1059, 1061, 1063, 1065, 1067, 1069, 1071,
|
354
|
-
1073, 1075, 1077, 1079, 1081, 1083, 1090, 1093,
|
355
|
-
1096, 1099, 1102, 1105, 1108, 1110, 1112
|
356
|
-
]
|
357
|
-
|
358
|
-
class << self
|
359
|
-
attr_accessor :_lexer_indicies
|
360
|
-
private :_lexer_indicies, :_lexer_indicies=
|
361
|
-
end
|
362
|
-
self._lexer_indicies = [
|
363
|
-
1, 2, 3, 4, 5, 6, 8, 7,
|
364
|
-
9, 10, 11, 12, 13, 14, 7, 0,
|
365
|
-
15, 16, 17, 0, 18, 0, 19, 0,
|
366
|
-
20, 0, 21, 0, 23, 24, 22, 26,
|
367
|
-
27, 25, 1, 2, 3, 4, 5, 8,
|
368
|
-
7, 9, 10, 11, 12, 13, 14, 7,
|
369
|
-
0, 28, 29, 30, 31, 0, 32, 0,
|
370
|
-
33, 34, 0, 35, 36, 0, 21, 0,
|
371
|
-
21, 0, 37, 0, 21, 0, 38, 39,
|
372
|
-
0, 40, 0, 41, 0, 42, 0, 43,
|
373
|
-
44, 0, 45, 0, 46, 0, 47, 0,
|
374
|
-
48, 0, 49, 0, 50, 0, 52, 51,
|
375
|
-
54, 53, 55, 56, 57, 58, 59, 54,
|
376
|
-
60, 61, 62, 63, 61, 60, 53, 64,
|
377
|
-
65, 54, 53, 66, 54, 53, 67, 54,
|
378
|
-
53, 68, 54, 53, 69, 54, 53, 70,
|
379
|
-
71, 72, 73, 74, 76, 75, 77, 78,
|
380
|
-
79, 80, 81, 82, 75, 0, 83, 0,
|
381
|
-
21, 0, 84, 85, 0, 18, 0, 86,
|
382
|
-
0, 87, 0, 88, 0, 89, 0, 90,
|
383
|
-
0, 92, 91, 94, 93, 95, 96, 97,
|
384
|
-
98, 99, 94, 100, 101, 102, 103, 101,
|
385
|
-
100, 93, 104, 105, 94, 93, 106, 94,
|
386
|
-
93, 107, 94, 93, 108, 94, 93, 109,
|
387
|
-
94, 93, 110, 94, 93, 111, 94, 93,
|
388
|
-
112, 94, 93, 109, 94, 93, 113, 114,
|
389
|
-
115, 116, 94, 93, 117, 94, 93, 118,
|
390
|
-
119, 94, 93, 120, 121, 94, 93, 109,
|
391
|
-
94, 93, 109, 94, 93, 122, 94, 93,
|
392
|
-
109, 94, 93, 123, 124, 94, 93, 125,
|
393
|
-
94, 93, 126, 94, 93, 127, 94, 93,
|
394
|
-
128, 94, 109, 93, 129, 94, 93, 130,
|
395
|
-
94, 93, 131, 94, 93, 132, 94, 93,
|
396
|
-
133, 94, 93, 94, 109, 93, 134, 94,
|
397
|
-
93, 135, 94, 93, 133, 94, 93, 136,
|
398
|
-
94, 93, 137, 94, 93, 120, 94, 93,
|
399
|
-
138, 94, 93, 139, 94, 93, 140, 94,
|
400
|
-
93, 127, 94, 93, 141, 94, 93, 109,
|
401
|
-
94, 93, 142, 94, 93, 106, 94, 93,
|
402
|
-
143, 94, 93, 144, 94, 93, 145, 94,
|
403
|
-
93, 146, 94, 93, 109, 94, 93, 94,
|
404
|
-
147, 93, 94, 148, 93, 94, 149, 93,
|
405
|
-
94, 150, 93, 94, 151, 93, 94, 152,
|
406
|
-
93, 94, 153, 93, 94, 154, 93, 94,
|
407
|
-
155, 93, 94, 156, 93, 94, 157, 93,
|
408
|
-
94, 158, 93, 94, 159, 93, 94, 160,
|
409
|
-
93, 94, 109, 93, 161, 0, 162, 0,
|
410
|
-
163, 0, 164, 0, 21, 0, 165, 0,
|
411
|
-
166, 0, 168, 169, 167, 171, 172, 170,
|
412
|
-
175, 174, 176, 174, 173, 179, 178, 180,
|
413
|
-
178, 177, 179, 178, 181, 178, 177, 179,
|
414
|
-
178, 182, 178, 177, 184, 183, 183, 0,
|
415
|
-
8, 185, 185, 0, 187, 188, 186, 8,
|
416
|
-
0, 189, 0, 190, 0, 191, 0, 192,
|
417
|
-
0, 193, 0, 194, 0, 195, 0, 196,
|
418
|
-
0, 197, 0, 198, 0, 199, 0, 200,
|
419
|
-
0, 201, 0, 202, 0, 21, 0, 0,
|
420
|
-
0, 0, 0, 203, 204, 205, 204, 204,
|
421
|
-
207, 206, 203, 8, 208, 13, 208, 0,
|
422
|
-
209, 210, 209, 0, 213, 212, 214, 215,
|
423
|
-
212, 211, 0, 217, 218, 216, 0, 217,
|
424
|
-
216, 213, 219, 217, 218, 219, 216, 220,
|
425
|
-
221, 222, 223, 224, 213, 225, 226, 227,
|
426
|
-
228, 229, 230, 231, 225, 0, 232, 54,
|
427
|
-
53, 233, 54, 53, 234, 54, 53, 69,
|
428
|
-
54, 53, 235, 236, 237, 238, 54, 53,
|
429
|
-
239, 54, 53, 240, 241, 54, 53, 242,
|
430
|
-
243, 54, 53, 69, 54, 53, 69, 54,
|
431
|
-
53, 244, 54, 53, 69, 54, 53, 245,
|
432
|
-
246, 54, 53, 247, 54, 53, 248, 54,
|
433
|
-
53, 249, 54, 53, 54, 69, 53, 250,
|
434
|
-
54, 53, 251, 54, 53, 249, 54, 53,
|
435
|
-
252, 54, 53, 253, 54, 53, 242, 54,
|
436
|
-
53, 254, 54, 53, 255, 54, 53, 256,
|
437
|
-
54, 53, 249, 54, 53, 257, 54, 53,
|
438
|
-
69, 54, 53, 258, 54, 53, 66, 54,
|
439
|
-
53, 259, 54, 53, 260, 54, 53, 261,
|
440
|
-
54, 53, 262, 54, 53, 69, 54, 53,
|
441
|
-
54, 263, 53, 54, 264, 53, 54, 265,
|
442
|
-
53, 54, 266, 53, 54, 267, 53, 54,
|
443
|
-
268, 53, 54, 269, 53, 54, 270, 53,
|
444
|
-
54, 271, 53, 54, 272, 53, 54, 273,
|
445
|
-
53, 54, 274, 53, 54, 275, 53, 54,
|
446
|
-
276, 53, 54, 69, 53, 278, 277, 280,
|
447
|
-
279, 281, 282, 283, 284, 285, 280, 286,
|
448
|
-
287, 288, 289, 287, 286, 279, 290, 291,
|
449
|
-
280, 279, 292, 280, 279, 293, 280, 279,
|
450
|
-
294, 280, 279, 295, 280, 279, 296, 280,
|
451
|
-
279, 297, 280, 279, 298, 280, 279, 295,
|
452
|
-
280, 279, 299, 300, 301, 302, 280, 279,
|
453
|
-
303, 280, 279, 304, 305, 280, 279, 306,
|
454
|
-
307, 280, 279, 295, 280, 279, 295, 280,
|
455
|
-
279, 308, 280, 279, 295, 280, 279, 309,
|
456
|
-
310, 280, 279, 311, 280, 279, 312, 280,
|
457
|
-
279, 313, 280, 279, 314, 280, 295, 279,
|
458
|
-
315, 280, 279, 316, 280, 279, 317, 280,
|
459
|
-
279, 318, 280, 279, 319, 280, 279, 280,
|
460
|
-
295, 279, 320, 280, 279, 321, 280, 279,
|
461
|
-
319, 280, 279, 322, 280, 279, 323, 280,
|
462
|
-
279, 306, 280, 279, 324, 280, 279, 325,
|
463
|
-
280, 279, 326, 280, 279, 313, 280, 279,
|
464
|
-
327, 280, 279, 295, 280, 279, 328, 329,
|
465
|
-
280, 279, 292, 280, 279, 330, 280, 279,
|
466
|
-
331, 280, 279, 332, 280, 279, 319, 280,
|
467
|
-
279, 333, 280, 279, 334, 280, 279, 335,
|
468
|
-
280, 279, 336, 280, 279, 295, 280, 279,
|
469
|
-
280, 337, 279, 280, 338, 279, 280, 339,
|
470
|
-
279, 280, 340, 279, 280, 341, 279, 280,
|
471
|
-
342, 279, 280, 343, 279, 280, 344, 279,
|
472
|
-
280, 345, 279, 280, 346, 279, 280, 347,
|
473
|
-
279, 280, 348, 279, 280, 349, 279, 280,
|
474
|
-
350, 279, 280, 295, 279, 351, 0, 352,
|
475
|
-
0, 353, 0, 354, 0, 356, 355, 358,
|
476
|
-
357, 359, 360, 361, 358, 362, 363, 364,
|
477
|
-
363, 362, 357, 365, 358, 357, 366, 358,
|
478
|
-
357, 367, 358, 357, 368, 358, 357, 369,
|
479
|
-
358, 357, 358, 370, 357, 371, 372, 358,
|
480
|
-
357, 373, 374, 358, 357, 375, 358, 357,
|
481
|
-
376, 358, 357, 377, 358, 357, 378, 358,
|
482
|
-
370, 357, 379, 358, 357, 380, 358, 357,
|
483
|
-
381, 358, 357, 382, 358, 357, 369, 358,
|
484
|
-
357, 383, 358, 357, 384, 358, 357, 369,
|
485
|
-
358, 357, 385, 358, 357, 386, 358, 357,
|
486
|
-
387, 358, 357, 377, 358, 357, 388, 358,
|
487
|
-
357, 389, 358, 357, 390, 358, 357, 391,
|
488
|
-
358, 357, 369, 358, 357, 358, 392, 357,
|
489
|
-
358, 393, 357, 358, 394, 357, 358, 395,
|
490
|
-
357, 358, 396, 357, 358, 397, 357, 358,
|
491
|
-
398, 357, 358, 399, 357, 358, 400, 357,
|
492
|
-
358, 401, 357, 358, 402, 357, 358, 403,
|
493
|
-
357, 358, 404, 357, 358, 405, 357, 406,
|
494
|
-
0, 407, 0, 35, 0, 408, 0, 409,
|
495
|
-
0, 410, 0, 42, 0, 411, 0, 412,
|
496
|
-
0, 413, 0, 21, 0, 414, 0, 415,
|
497
|
-
0, 416, 0, 417, 0, 418, 0, 420,
|
498
|
-
419, 422, 421, 423, 422, 424, 425, 425,
|
499
|
-
424, 421, 426, 422, 421, 427, 422, 421,
|
500
|
-
428, 422, 421, 429, 422, 421, 430, 422,
|
501
|
-
421, 422, 431, 421, 432, 0, 7, 0,
|
502
|
-
433, 0
|
503
|
-
]
|
504
|
-
|
505
|
-
class << self
|
506
|
-
attr_accessor :_lexer_trans_targs
|
507
|
-
private :_lexer_trans_targs, :_lexer_trans_targs=
|
508
|
-
end
|
509
|
-
self._lexer_trans_targs = [
|
510
|
-
0, 2, 10, 38, 40, 112, 348, 9,
|
511
|
-
9, 117, 127, 129, 143, 144, 147, 3,
|
512
|
-
330, 334, 4, 5, 6, 7, 8, 9,
|
513
|
-
128, 8, 9, 128, 11, 18, 323, 326,
|
514
|
-
12, 13, 16, 14, 15, 17, 19, 273,
|
515
|
-
20, 21, 22, 23, 204, 24, 25, 26,
|
516
|
-
27, 28, 29, 30, 31, 30, 31, 32,
|
517
|
-
157, 180, 182, 184, 31, 9, 189, 203,
|
518
|
-
33, 153, 34, 35, 36, 37, 2, 10,
|
519
|
-
38, 40, 112, 9, 9, 117, 127, 129,
|
520
|
-
143, 144, 147, 39, 41, 42, 43, 44,
|
521
|
-
45, 46, 47, 48, 49, 48, 49, 50,
|
522
|
-
59, 88, 90, 92, 49, 9, 97, 111,
|
523
|
-
51, 55, 52, 53, 54, 37, 56, 57,
|
524
|
-
58, 60, 67, 81, 84, 61, 62, 65,
|
525
|
-
63, 64, 66, 68, 78, 69, 70, 71,
|
526
|
-
72, 73, 74, 75, 76, 77, 79, 80,
|
527
|
-
82, 83, 85, 86, 87, 89, 91, 93,
|
528
|
-
94, 95, 96, 98, 99, 100, 101, 102,
|
529
|
-
103, 104, 105, 106, 107, 108, 109, 110,
|
530
|
-
9, 113, 114, 115, 116, 118, 119, 120,
|
531
|
-
121, 120, 120, 121, 120, 122, 122, 122,
|
532
|
-
123, 122, 122, 122, 123, 124, 125, 126,
|
533
|
-
9, 126, 127, 9, 128, 130, 131, 132,
|
534
|
-
133, 134, 135, 136, 137, 138, 139, 140,
|
535
|
-
141, 142, 350, 145, 146, 9, 145, 144,
|
536
|
-
146, 147, 148, 149, 151, 152, 150, 148,
|
537
|
-
149, 150, 148, 151, 2, 10, 38, 40,
|
538
|
-
112, 152, 117, 127, 129, 143, 144, 147,
|
539
|
-
154, 155, 156, 158, 165, 173, 176, 159,
|
540
|
-
160, 163, 161, 162, 164, 166, 170, 167,
|
541
|
-
168, 169, 171, 172, 174, 175, 177, 178,
|
542
|
-
179, 181, 183, 185, 186, 187, 188, 190,
|
543
|
-
191, 192, 193, 194, 195, 196, 197, 198,
|
544
|
-
199, 200, 201, 202, 9, 205, 206, 205,
|
545
|
-
206, 207, 216, 245, 247, 253, 206, 9,
|
546
|
-
258, 272, 208, 212, 209, 210, 211, 37,
|
547
|
-
213, 214, 215, 217, 224, 238, 241, 218,
|
548
|
-
219, 222, 220, 221, 223, 225, 235, 226,
|
549
|
-
227, 228, 229, 230, 231, 232, 233, 234,
|
550
|
-
236, 237, 239, 240, 242, 243, 244, 246,
|
551
|
-
248, 249, 250, 251, 252, 254, 255, 256,
|
552
|
-
257, 259, 260, 261, 262, 263, 264, 265,
|
553
|
-
266, 267, 268, 269, 270, 271, 9, 274,
|
554
|
-
275, 276, 277, 278, 279, 278, 279, 280,
|
555
|
-
286, 304, 279, 9, 309, 281, 282, 283,
|
556
|
-
284, 285, 37, 287, 300, 288, 297, 289,
|
557
|
-
290, 291, 292, 293, 294, 295, 296, 298,
|
558
|
-
299, 301, 302, 303, 305, 306, 307, 308,
|
559
|
-
310, 311, 312, 313, 314, 315, 316, 317,
|
560
|
-
318, 319, 320, 321, 322, 9, 324, 325,
|
561
|
-
327, 328, 329, 331, 332, 333, 335, 336,
|
562
|
-
337, 338, 339, 340, 341, 340, 341, 342,
|
563
|
-
341, 9, 343, 344, 345, 346, 347, 37,
|
564
|
-
349, 0
|
565
|
-
]
|
566
|
-
|
567
|
-
class << self
|
568
|
-
attr_accessor :_lexer_trans_actions
|
569
|
-
private :_lexer_trans_actions, :_lexer_trans_actions=
|
570
|
-
end
|
571
|
-
self._lexer_trans_actions = [
|
572
|
-
43, 29, 29, 29, 29, 29, 0, 0,
|
573
|
-
54, 3, 1, 0, 29, 1, 35, 0,
|
574
|
-
0, 0, 0, 0, 0, 0, 57, 149,
|
575
|
-
126, 0, 110, 23, 0, 0, 0, 0,
|
576
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
577
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
578
|
-
0, 0, 0, 57, 144, 0, 54, 84,
|
579
|
-
84, 84, 84, 84, 0, 78, 33, 84,
|
580
|
-
0, 0, 0, 0, 0, 19, 63, 63,
|
581
|
-
63, 63, 63, 31, 130, 60, 57, 31,
|
582
|
-
63, 57, 66, 0, 0, 0, 0, 0,
|
583
|
-
0, 0, 0, 57, 144, 0, 54, 84,
|
584
|
-
84, 84, 84, 84, 0, 72, 33, 84,
|
585
|
-
0, 0, 0, 0, 0, 15, 0, 0,
|
586
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
587
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
588
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
589
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
590
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
591
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
592
|
-
15, 0, 0, 0, 0, 0, 0, 7,
|
593
|
-
139, 48, 0, 102, 9, 5, 45, 134,
|
594
|
-
45, 0, 33, 122, 33, 33, 0, 11,
|
595
|
-
106, 0, 0, 114, 25, 0, 0, 0,
|
596
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
597
|
-
0, 0, 0, 0, 27, 118, 27, 51,
|
598
|
-
0, 0, 0, 37, 37, 54, 37, 87,
|
599
|
-
0, 0, 39, 0, 96, 96, 96, 96,
|
600
|
-
96, 0, 93, 90, 41, 96, 90, 99,
|
601
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
602
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
603
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
604
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
605
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
606
|
-
0, 0, 0, 0, 19, 57, 144, 0,
|
607
|
-
54, 84, 84, 84, 84, 84, 0, 75,
|
608
|
-
33, 84, 0, 0, 0, 0, 0, 17,
|
609
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
610
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
611
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
612
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
613
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
614
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
615
|
-
0, 0, 0, 0, 0, 0, 17, 0,
|
616
|
-
0, 0, 0, 57, 144, 0, 54, 84,
|
617
|
-
84, 84, 0, 69, 33, 0, 0, 0,
|
618
|
-
0, 0, 13, 0, 0, 0, 0, 0,
|
619
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
620
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
621
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
622
|
-
0, 0, 0, 0, 0, 13, 0, 0,
|
623
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
624
|
-
0, 0, 0, 57, 144, 0, 54, 84,
|
625
|
-
0, 81, 0, 0, 0, 0, 0, 21,
|
626
|
-
0, 0
|
627
|
-
]
|
628
|
-
|
629
|
-
class << self
|
630
|
-
attr_accessor :_lexer_eof_actions
|
631
|
-
private :_lexer_eof_actions, :_lexer_eof_actions=
|
632
|
-
end
|
633
|
-
self._lexer_eof_actions = [
|
634
|
-
0, 43, 43, 43, 43, 43, 43, 43,
|
635
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
636
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
637
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
638
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
639
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
640
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
641
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
642
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
643
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
644
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
645
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
646
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
647
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
648
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
649
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
650
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
651
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
652
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
653
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
654
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
655
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
656
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
657
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
658
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
659
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
660
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
661
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
662
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
663
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
664
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
665
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
666
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
667
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
668
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
669
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
670
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
671
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
672
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
673
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
674
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
675
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
676
|
-
43, 43, 43, 43, 43, 43, 43, 43,
|
677
|
-
43, 43, 43, 43, 43, 43, 43
|
678
|
-
]
|
679
|
-
|
680
|
-
class << self
|
681
|
-
attr_accessor :lexer_start
|
682
|
-
end
|
683
|
-
self.lexer_start = 1;
|
684
|
-
class << self
|
685
|
-
attr_accessor :lexer_first_final
|
686
|
-
end
|
687
|
-
self.lexer_first_final = 350;
|
688
|
-
class << self
|
689
|
-
attr_accessor :lexer_error
|
690
|
-
end
|
691
|
-
self.lexer_error = 0;
|
692
|
-
|
693
|
-
class << self
|
694
|
-
attr_accessor :lexer_en_main
|
695
|
-
end
|
696
|
-
self.lexer_en_main = 1;
|
697
|
-
|
698
|
-
|
699
|
-
# line 133 "ragel/i18n/zh_tw.rb.rl"
|
700
|
-
end
|
701
|
-
|
702
|
-
def scan(data)
|
703
|
-
data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
|
704
|
-
eof = pe = data.length
|
705
|
-
|
706
|
-
@line_number = 1
|
707
|
-
@last_newline = 0
|
708
|
-
|
709
|
-
|
710
|
-
# line 711 "lib/gherkin/lexer/zh_tw.rb"
|
711
|
-
begin
|
712
|
-
p ||= 0
|
713
|
-
pe ||= data.length
|
714
|
-
cs = lexer_start
|
715
|
-
end
|
716
|
-
|
717
|
-
# line 143 "ragel/i18n/zh_tw.rb.rl"
|
718
|
-
|
719
|
-
# line 720 "lib/gherkin/lexer/zh_tw.rb"
|
720
|
-
begin
|
721
|
-
_klen, _trans, _keys, _acts, _nacts = nil
|
722
|
-
_goto_level = 0
|
723
|
-
_resume = 10
|
724
|
-
_eof_trans = 15
|
725
|
-
_again = 20
|
726
|
-
_test_eof = 30
|
727
|
-
_out = 40
|
728
|
-
while true
|
729
|
-
_trigger_goto = false
|
730
|
-
if _goto_level <= 0
|
731
|
-
if p == pe
|
732
|
-
_goto_level = _test_eof
|
733
|
-
next
|
734
|
-
end
|
735
|
-
if cs == 0
|
736
|
-
_goto_level = _out
|
737
|
-
next
|
738
|
-
end
|
739
|
-
end
|
740
|
-
if _goto_level <= _resume
|
741
|
-
_keys = _lexer_key_offsets[cs]
|
742
|
-
_trans = _lexer_index_offsets[cs]
|
743
|
-
_klen = _lexer_single_lengths[cs]
|
744
|
-
_break_match = false
|
745
|
-
|
746
|
-
begin
|
747
|
-
if _klen > 0
|
748
|
-
_lower = _keys
|
749
|
-
_upper = _keys + _klen - 1
|
750
|
-
|
751
|
-
loop do
|
752
|
-
break if _upper < _lower
|
753
|
-
_mid = _lower + ( (_upper - _lower) >> 1 )
|
754
|
-
|
755
|
-
if data[p].ord < _lexer_trans_keys[_mid]
|
756
|
-
_upper = _mid - 1
|
757
|
-
elsif data[p].ord > _lexer_trans_keys[_mid]
|
758
|
-
_lower = _mid + 1
|
759
|
-
else
|
760
|
-
_trans += (_mid - _keys)
|
761
|
-
_break_match = true
|
762
|
-
break
|
763
|
-
end
|
764
|
-
end # loop
|
765
|
-
break if _break_match
|
766
|
-
_keys += _klen
|
767
|
-
_trans += _klen
|
768
|
-
end
|
769
|
-
_klen = _lexer_range_lengths[cs]
|
770
|
-
if _klen > 0
|
771
|
-
_lower = _keys
|
772
|
-
_upper = _keys + (_klen << 1) - 2
|
773
|
-
loop do
|
774
|
-
break if _upper < _lower
|
775
|
-
_mid = _lower + (((_upper-_lower) >> 1) & ~1)
|
776
|
-
if data[p].ord < _lexer_trans_keys[_mid]
|
777
|
-
_upper = _mid - 2
|
778
|
-
elsif data[p].ord > _lexer_trans_keys[_mid+1]
|
779
|
-
_lower = _mid + 2
|
780
|
-
else
|
781
|
-
_trans += ((_mid - _keys) >> 1)
|
782
|
-
_break_match = true
|
783
|
-
break
|
784
|
-
end
|
785
|
-
end # loop
|
786
|
-
break if _break_match
|
787
|
-
_trans += _klen
|
788
|
-
end
|
789
|
-
end while false
|
790
|
-
_trans = _lexer_indicies[_trans]
|
791
|
-
cs = _lexer_trans_targs[_trans]
|
792
|
-
if _lexer_trans_actions[_trans] != 0
|
793
|
-
_acts = _lexer_trans_actions[_trans]
|
794
|
-
_nacts = _lexer_actions[_acts]
|
795
|
-
_acts += 1
|
796
|
-
while _nacts > 0
|
797
|
-
_nacts -= 1
|
798
|
-
_acts += 1
|
799
|
-
case _lexer_actions[_acts - 1]
|
800
|
-
when 0 then
|
801
|
-
# line 11 "ragel/i18n/zh_tw.rb.rl"
|
802
|
-
begin
|
803
|
-
|
804
|
-
@content_start = p
|
805
|
-
@current_line = @line_number
|
806
|
-
@start_col = p - @last_newline - "#{@keyword}:".length
|
807
|
-
end
|
808
|
-
when 1 then
|
809
|
-
# line 17 "ragel/i18n/zh_tw.rb.rl"
|
810
|
-
begin
|
811
|
-
|
812
|
-
@current_line = @line_number
|
813
|
-
@start_col = p - @last_newline
|
814
|
-
end
|
815
|
-
when 2 then
|
816
|
-
# line 22 "ragel/i18n/zh_tw.rb.rl"
|
817
|
-
begin
|
818
|
-
|
819
|
-
@content_start = p
|
820
|
-
end
|
821
|
-
when 3 then
|
822
|
-
# line 26 "ragel/i18n/zh_tw.rb.rl"
|
823
|
-
begin
|
824
|
-
|
825
|
-
@docstring_content_type_start = p
|
826
|
-
end
|
827
|
-
when 4 then
|
828
|
-
# line 29 "ragel/i18n/zh_tw.rb.rl"
|
829
|
-
begin
|
830
|
-
|
831
|
-
@docstring_content_type_end = p
|
832
|
-
end
|
833
|
-
when 5 then
|
834
|
-
# line 33 "ragel/i18n/zh_tw.rb.rl"
|
835
|
-
begin
|
836
|
-
|
837
|
-
con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
|
838
|
-
con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
|
839
|
-
@listener.doc_string(con_type, con, @current_line)
|
840
|
-
end
|
841
|
-
when 6 then
|
842
|
-
# line 38 "ragel/i18n/zh_tw.rb.rl"
|
843
|
-
begin
|
844
|
-
|
845
|
-
p = store_keyword_content(:feature, data, p, eof)
|
846
|
-
end
|
847
|
-
when 7 then
|
848
|
-
# line 42 "ragel/i18n/zh_tw.rb.rl"
|
849
|
-
begin
|
850
|
-
|
851
|
-
p = store_keyword_content(:background, data, p, eof)
|
852
|
-
end
|
853
|
-
when 8 then
|
854
|
-
# line 46 "ragel/i18n/zh_tw.rb.rl"
|
855
|
-
begin
|
856
|
-
|
857
|
-
p = store_keyword_content(:scenario, data, p, eof)
|
858
|
-
end
|
859
|
-
when 9 then
|
860
|
-
# line 50 "ragel/i18n/zh_tw.rb.rl"
|
861
|
-
begin
|
862
|
-
|
863
|
-
p = store_keyword_content(:scenario_outline, data, p, eof)
|
864
|
-
end
|
865
|
-
when 10 then
|
866
|
-
# line 54 "ragel/i18n/zh_tw.rb.rl"
|
867
|
-
begin
|
868
|
-
|
869
|
-
p = store_keyword_content(:examples, data, p, eof)
|
870
|
-
end
|
871
|
-
when 11 then
|
872
|
-
# line 58 "ragel/i18n/zh_tw.rb.rl"
|
873
|
-
begin
|
874
|
-
|
875
|
-
con = utf8_pack(data[@content_start...p]).strip
|
876
|
-
@listener.step(@keyword, con, @current_line)
|
877
|
-
end
|
878
|
-
when 12 then
|
879
|
-
# line 63 "ragel/i18n/zh_tw.rb.rl"
|
880
|
-
begin
|
881
|
-
|
882
|
-
con = utf8_pack(data[@content_start...p]).strip
|
883
|
-
@listener.comment(con, @line_number)
|
884
|
-
@keyword_start = nil
|
885
|
-
end
|
886
|
-
when 13 then
|
887
|
-
# line 69 "ragel/i18n/zh_tw.rb.rl"
|
888
|
-
begin
|
889
|
-
|
890
|
-
con = utf8_pack(data[@content_start...p]).strip
|
891
|
-
@listener.tag(con, @current_line)
|
892
|
-
@keyword_start = nil
|
893
|
-
end
|
894
|
-
when 14 then
|
895
|
-
# line 75 "ragel/i18n/zh_tw.rb.rl"
|
896
|
-
begin
|
897
|
-
|
898
|
-
@line_number += 1
|
899
|
-
end
|
900
|
-
when 15 then
|
901
|
-
# line 79 "ragel/i18n/zh_tw.rb.rl"
|
902
|
-
begin
|
903
|
-
|
904
|
-
@last_newline = p + 1
|
905
|
-
end
|
906
|
-
when 16 then
|
907
|
-
# line 83 "ragel/i18n/zh_tw.rb.rl"
|
908
|
-
begin
|
909
|
-
|
910
|
-
@keyword_start ||= p
|
911
|
-
end
|
912
|
-
when 17 then
|
913
|
-
# line 87 "ragel/i18n/zh_tw.rb.rl"
|
914
|
-
begin
|
915
|
-
|
916
|
-
@keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
|
917
|
-
@keyword_start = nil
|
918
|
-
end
|
919
|
-
when 18 then
|
920
|
-
# line 92 "ragel/i18n/zh_tw.rb.rl"
|
921
|
-
begin
|
922
|
-
|
923
|
-
@next_keyword_start = p
|
924
|
-
end
|
925
|
-
when 19 then
|
926
|
-
# line 96 "ragel/i18n/zh_tw.rb.rl"
|
927
|
-
begin
|
928
|
-
|
929
|
-
p = p - 1
|
930
|
-
current_row = []
|
931
|
-
@current_line = @line_number
|
932
|
-
end
|
933
|
-
when 20 then
|
934
|
-
# line 102 "ragel/i18n/zh_tw.rb.rl"
|
935
|
-
begin
|
936
|
-
|
937
|
-
@content_start = p
|
938
|
-
end
|
939
|
-
when 21 then
|
940
|
-
# line 106 "ragel/i18n/zh_tw.rb.rl"
|
941
|
-
begin
|
942
|
-
|
943
|
-
con = utf8_pack(data[@content_start...p]).strip
|
944
|
-
current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
|
945
|
-
end
|
946
|
-
when 22 then
|
947
|
-
# line 111 "ragel/i18n/zh_tw.rb.rl"
|
948
|
-
begin
|
949
|
-
|
950
|
-
@listener.row(current_row, @current_line)
|
951
|
-
end
|
952
|
-
when 23 then
|
953
|
-
# line 115 "ragel/i18n/zh_tw.rb.rl"
|
954
|
-
begin
|
955
|
-
|
956
|
-
if cs < lexer_first_final
|
957
|
-
content = current_line_content(data, p)
|
958
|
-
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])
|
959
|
-
else
|
960
|
-
@listener.eof
|
961
|
-
end
|
962
|
-
end
|
963
|
-
# line 964 "lib/gherkin/lexer/zh_tw.rb"
|
964
|
-
end # action switch
|
965
|
-
end
|
966
|
-
end
|
967
|
-
if _trigger_goto
|
968
|
-
next
|
969
|
-
end
|
970
|
-
end
|
971
|
-
if _goto_level <= _again
|
972
|
-
if cs == 0
|
973
|
-
_goto_level = _out
|
974
|
-
next
|
975
|
-
end
|
976
|
-
p += 1
|
977
|
-
if p != pe
|
978
|
-
_goto_level = _resume
|
979
|
-
next
|
980
|
-
end
|
981
|
-
end
|
982
|
-
if _goto_level <= _test_eof
|
983
|
-
if p == eof
|
984
|
-
__acts = _lexer_eof_actions[cs]
|
985
|
-
__nacts = _lexer_actions[__acts]
|
986
|
-
__acts += 1
|
987
|
-
while __nacts > 0
|
988
|
-
__nacts -= 1
|
989
|
-
__acts += 1
|
990
|
-
case _lexer_actions[__acts - 1]
|
991
|
-
when 23 then
|
992
|
-
# line 115 "ragel/i18n/zh_tw.rb.rl"
|
993
|
-
begin
|
994
|
-
|
995
|
-
if cs < lexer_first_final
|
996
|
-
content = current_line_content(data, p)
|
997
|
-
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])
|
998
|
-
else
|
999
|
-
@listener.eof
|
1000
|
-
end
|
1001
|
-
end
|
1002
|
-
# line 1003 "lib/gherkin/lexer/zh_tw.rb"
|
1003
|
-
end # eof action switch
|
1004
|
-
end
|
1005
|
-
if _trigger_goto
|
1006
|
-
next
|
1007
|
-
end
|
1008
|
-
end
|
1009
|
-
end
|
1010
|
-
if _goto_level <= _out
|
1011
|
-
break
|
1012
|
-
end
|
1013
|
-
end
|
1014
|
-
end
|
1015
|
-
|
1016
|
-
# line 144 "ragel/i18n/zh_tw.rb.rl"
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
def unindent(startcol, text)
|
1020
|
-
text.gsub(/^[\t ]{0,#{startcol}}/, "")
|
1021
|
-
end
|
1022
|
-
|
1023
|
-
def store_keyword_content(event, data, p, eof)
|
1024
|
-
end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
|
1025
|
-
content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
|
1026
|
-
content_lines = content.split("\n")
|
1027
|
-
name = content_lines.shift || ""
|
1028
|
-
name.strip!
|
1029
|
-
description = content_lines.join("\n")
|
1030
|
-
@listener.__send__(event, @keyword, name, description, @current_line)
|
1031
|
-
@next_keyword_start ? @next_keyword_start - 1 : p
|
1032
|
-
ensure
|
1033
|
-
@next_keyword_start = nil
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
def current_line_content(data, p)
|
1037
|
-
rest = data[@last_newline..-1]
|
1038
|
-
utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
|
1039
|
-
end
|
1040
|
-
|
1041
|
-
if (RUBY_VERSION =~ /^1\.9|2\.0/)
|
1042
|
-
def utf8_pack(array)
|
1043
|
-
array.pack("c*").force_encoding("UTF-8")
|
1044
|
-
end
|
1045
|
-
else
|
1046
|
-
def utf8_pack(array)
|
1047
|
-
array.pack("c*")
|
1048
|
-
end
|
1049
|
-
end
|
1050
|
-
end
|
1051
|
-
end
|
1052
|
-
end
|