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