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