benhamill-gherkin 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitattributes +2 -0
- data/.gitignore +11 -0
- data/.mailmap +2 -0
- data/.rspec +1 -0
- data/.rvmrc +1 -0
- data/Gemfile +7 -0
- data/History.txt +363 -0
- data/LICENSE +20 -0
- data/README.rdoc +149 -0
- data/Rakefile +19 -0
- data/VERSION +1 -0
- data/build_native_gems.sh +8 -0
- data/cucumber.yml +3 -0
- data/features/escaped_pipes.feature +8 -0
- data/features/feature_parser.feature +237 -0
- data/features/json_formatter.feature +377 -0
- data/features/json_parser.feature +318 -0
- data/features/native_lexer.feature +19 -0
- data/features/parser_with_native_lexer.feature +205 -0
- data/features/pretty_formatter.feature +15 -0
- data/features/step_definitions/eyeball_steps.rb +3 -0
- data/features/step_definitions/gherkin_steps.rb +29 -0
- data/features/step_definitions/json_formatter_steps.rb +28 -0
- data/features/step_definitions/json_parser_steps.rb +20 -0
- data/features/step_definitions/pretty_formatter_steps.rb +84 -0
- data/features/steps_parser.feature +46 -0
- data/features/support/env.rb +38 -0
- data/gherkin.gemspec +61 -0
- data/ikvm/.gitignore +3 -0
- data/java/.gitignore +5 -0
- data/java/src/main/java/gherkin/lexer/i18n/.gitignore +1 -0
- data/java/src/main/resources/gherkin/.gitignore +1 -0
- data/js/lib/gherkin/lexer/i18n/ar.js +1094 -0
- data/js/lib/gherkin/lexer/i18n/bg.js +1308 -0
- data/js/lib/gherkin/lexer/i18n/ca.js +1236 -0
- data/js/lib/gherkin/lexer/i18n/cs.js +1090 -0
- data/js/lib/gherkin/lexer/i18n/cy_gb.js +958 -0
- data/js/lib/gherkin/lexer/i18n/da.js +974 -0
- data/js/lib/gherkin/lexer/i18n/de.js +1082 -0
- data/js/lib/gherkin/lexer/i18n/en.js +965 -0
- data/js/lib/gherkin/lexer/i18n/en_au.js +902 -0
- data/js/lib/gherkin/lexer/i18n/en_lol.js +859 -0
- data/js/lib/gherkin/lexer/i18n/en_pirate.js +1136 -0
- data/js/lib/gherkin/lexer/i18n/en_scouse.js +1289 -0
- data/js/lib/gherkin/lexer/i18n/en_tx.js +942 -0
- data/js/lib/gherkin/lexer/i18n/eo.js +916 -0
- data/js/lib/gherkin/lexer/i18n/es.js +1049 -0
- data/js/lib/gherkin/lexer/i18n/et.js +915 -0
- data/js/lib/gherkin/lexer/i18n/fi.js +894 -0
- data/js/lib/gherkin/lexer/i18n/fr.js +1116 -0
- data/js/lib/gherkin/lexer/i18n/he.js +1044 -0
- data/js/lib/gherkin/lexer/i18n/hr.js +994 -0
- data/js/lib/gherkin/lexer/i18n/hu.js +1043 -0
- data/js/lib/gherkin/lexer/i18n/id.js +884 -0
- data/js/lib/gherkin/lexer/i18n/it.js +1007 -0
- data/js/lib/gherkin/lexer/i18n/ja.js +1344 -0
- data/js/lib/gherkin/lexer/i18n/ko.js +1028 -0
- data/js/lib/gherkin/lexer/i18n/lt.js +972 -0
- data/js/lib/gherkin/lexer/i18n/lu.js +1057 -0
- data/js/lib/gherkin/lexer/i18n/lv.js +1092 -0
- data/js/lib/gherkin/lexer/i18n/nl.js +1036 -0
- data/js/lib/gherkin/lexer/i18n/no.js +986 -0
- data/js/lib/gherkin/lexer/i18n/pl.js +1140 -0
- data/js/lib/gherkin/lexer/i18n/pt.js +1000 -0
- data/js/lib/gherkin/lexer/i18n/ro.js +1089 -0
- data/js/lib/gherkin/lexer/i18n/ru.js +1560 -0
- data/js/lib/gherkin/lexer/i18n/sk.js +972 -0
- data/js/lib/gherkin/lexer/i18n/sr_cyrl.js +1728 -0
- data/js/lib/gherkin/lexer/i18n/sr_latn.js +1220 -0
- data/js/lib/gherkin/lexer/i18n/sv.js +997 -0
- data/js/lib/gherkin/lexer/i18n/tr.js +1014 -0
- data/js/lib/gherkin/lexer/i18n/uk.js +1572 -0
- data/js/lib/gherkin/lexer/i18n/uz.js +1302 -0
- data/js/lib/gherkin/lexer/i18n/vi.js +1124 -0
- data/js/lib/gherkin/lexer/i18n/zh_cn.js +902 -0
- data/js/lib/gherkin/lexer/i18n/zh_tw.js +940 -0
- data/lib/.gitignore +4 -0
- data/lib/gherkin.rb +2 -0
- data/lib/gherkin/c_lexer.rb +17 -0
- data/lib/gherkin/formatter/ansi_escapes.rb +95 -0
- data/lib/gherkin/formatter/argument.rb +16 -0
- data/lib/gherkin/formatter/escaping.rb +15 -0
- data/lib/gherkin/formatter/filter_formatter.rb +136 -0
- data/lib/gherkin/formatter/hashable.rb +19 -0
- data/lib/gherkin/formatter/json_formatter.rb +102 -0
- data/lib/gherkin/formatter/line_filter.rb +26 -0
- data/lib/gherkin/formatter/model.rb +236 -0
- data/lib/gherkin/formatter/pretty_formatter.rb +243 -0
- data/lib/gherkin/formatter/regexp_filter.rb +21 -0
- data/lib/gherkin/formatter/step_printer.rb +17 -0
- data/lib/gherkin/formatter/tag_count_formatter.rb +47 -0
- data/lib/gherkin/formatter/tag_filter.rb +19 -0
- data/lib/gherkin/i18n.rb +175 -0
- data/lib/gherkin/i18n.yml +588 -0
- data/lib/gherkin/json_parser.rb +137 -0
- data/lib/gherkin/lexer/i18n_lexer.rb +47 -0
- data/lib/gherkin/listener/event.rb +45 -0
- data/lib/gherkin/listener/formatter_listener.rb +113 -0
- data/lib/gherkin/native.rb +7 -0
- data/lib/gherkin/native/ikvm.rb +55 -0
- data/lib/gherkin/native/java.rb +55 -0
- data/lib/gherkin/native/null.rb +9 -0
- data/lib/gherkin/parser/meta.txt +5 -0
- data/lib/gherkin/parser/parser.rb +164 -0
- data/lib/gherkin/parser/root.txt +11 -0
- data/lib/gherkin/parser/steps.txt +4 -0
- data/lib/gherkin/rb_lexer.rb +8 -0
- data/lib/gherkin/rb_lexer/.gitignore +1 -0
- data/lib/gherkin/rb_lexer/README.rdoc +8 -0
- data/lib/gherkin/rubify.rb +24 -0
- data/lib/gherkin/tag_expression.rb +62 -0
- data/lib/gherkin/version.rb +3 -0
- data/ragel/i18n/.gitignore +1 -0
- data/ragel/lexer.c.rl.erb +439 -0
- data/ragel/lexer.java.rl.erb +208 -0
- data/ragel/lexer.rb.rl.erb +167 -0
- data/ragel/lexer_common.rl.erb +50 -0
- data/spec/gherkin/c_lexer_spec.rb +21 -0
- data/spec/gherkin/fixtures/1.feature +8 -0
- data/spec/gherkin/fixtures/comments_in_table.feature +9 -0
- data/spec/gherkin/fixtures/complex.feature +45 -0
- data/spec/gherkin/fixtures/complex.json +143 -0
- data/spec/gherkin/fixtures/complex_for_filtering.feature +60 -0
- data/spec/gherkin/fixtures/complex_with_tags.feature +61 -0
- data/spec/gherkin/fixtures/dos_line_endings.feature +45 -0
- data/spec/gherkin/fixtures/hantu_pisang.feature +35 -0
- data/spec/gherkin/fixtures/i18n_fr.feature +14 -0
- data/spec/gherkin/fixtures/i18n_no.feature +7 -0
- data/spec/gherkin/fixtures/i18n_zh-CN.feature +9 -0
- data/spec/gherkin/fixtures/scenario_outline_with_tags.feature +13 -0
- data/spec/gherkin/fixtures/scenario_without_steps.feature +5 -0
- data/spec/gherkin/fixtures/simple_with_comments.feature +7 -0
- data/spec/gherkin/fixtures/simple_with_tags.feature +11 -0
- data/spec/gherkin/fixtures/with_bom.feature +3 -0
- data/spec/gherkin/formatter/ansi_escapes_spec.rb +19 -0
- data/spec/gherkin/formatter/filter_formatter_spec.rb +165 -0
- data/spec/gherkin/formatter/model_spec.rb +28 -0
- data/spec/gherkin/formatter/pretty_formatter_spec.rb +158 -0
- data/spec/gherkin/formatter/spaces.feature +9 -0
- data/spec/gherkin/formatter/step_printer_spec.rb +55 -0
- data/spec/gherkin/formatter/tabs.feature +9 -0
- data/spec/gherkin/formatter/tag_count_formatter_spec.rb +30 -0
- data/spec/gherkin/i18n_spec.rb +152 -0
- data/spec/gherkin/java_lexer_spec.rb +20 -0
- data/spec/gherkin/java_libs.rb +20 -0
- data/spec/gherkin/json_parser_spec.rb +113 -0
- data/spec/gherkin/lexer/i18n_lexer_spec.rb +43 -0
- data/spec/gherkin/output_stream_string_io.rb +20 -0
- data/spec/gherkin/parser/parser_spec.rb +16 -0
- data/spec/gherkin/rb_lexer_spec.rb +19 -0
- data/spec/gherkin/sexp_recorder.rb +56 -0
- data/spec/gherkin/shared/lexer_group.rb +593 -0
- data/spec/gherkin/shared/py_string_group.rb +153 -0
- data/spec/gherkin/shared/row_group.rb +125 -0
- data/spec/gherkin/shared/tags_group.rb +54 -0
- data/spec/gherkin/tag_expression_spec.rb +137 -0
- data/spec/spec_helper.rb +69 -0
- data/tasks/bench.rake +184 -0
- data/tasks/bench/feature_builder.rb +49 -0
- data/tasks/bench/generated/.gitignore +1 -0
- data/tasks/bench/null_listener.rb +4 -0
- data/tasks/compile.rake +102 -0
- data/tasks/cucumber.rake +20 -0
- data/tasks/gems.rake +35 -0
- data/tasks/ikvm.rake +79 -0
- data/tasks/ragel_task.rb +70 -0
- data/tasks/rdoc.rake +9 -0
- data/tasks/release.rake +30 -0
- data/tasks/rspec.rake +8 -0
- metadata +609 -0
@@ -0,0 +1,1289 @@
|
|
1
|
+
|
2
|
+
/* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
3
|
+
;(function() {
|
4
|
+
|
5
|
+
|
6
|
+
/* line 107 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
/* line 11 "js/lib/gherkin/lexer/i18n/en_scouse.js" */
|
11
|
+
const _lexer_actions = [
|
12
|
+
0, 1, 0, 1, 1, 1, 2, 1,
|
13
|
+
3, 1, 4, 1, 5, 1, 6, 1,
|
14
|
+
7, 1, 8, 1, 9, 1, 10, 1,
|
15
|
+
11, 1, 14, 1, 15, 1, 16, 1,
|
16
|
+
17, 1, 18, 1, 19, 1, 20, 1,
|
17
|
+
21, 2, 2, 16, 2, 11, 0, 2,
|
18
|
+
12, 13, 2, 15, 0, 2, 15, 1,
|
19
|
+
2, 15, 14, 2, 15, 17, 2, 16,
|
20
|
+
4, 2, 16, 5, 2, 16, 6, 2,
|
21
|
+
16, 7, 2, 16, 8, 2, 16, 14,
|
22
|
+
2, 18, 19, 2, 20, 0, 2, 20,
|
23
|
+
1, 2, 20, 14, 2, 20, 17, 3,
|
24
|
+
3, 12, 13, 3, 9, 12, 13, 3,
|
25
|
+
10, 12, 13, 3, 11, 12, 13, 3,
|
26
|
+
12, 13, 16, 3, 15, 12, 13, 4,
|
27
|
+
2, 12, 13, 16, 4, 15, 0, 12,
|
28
|
+
13
|
29
|
+
];
|
30
|
+
|
31
|
+
const _lexer_key_offsets = [
|
32
|
+
0, 0, 20, 39, 40, 41, 45, 50,
|
33
|
+
55, 60, 65, 69, 73, 75, 76, 77,
|
34
|
+
78, 79, 80, 81, 82, 83, 84, 85,
|
35
|
+
86, 87, 88, 89, 90, 91, 92, 94,
|
36
|
+
99, 106, 111, 112, 113, 114, 117, 118,
|
37
|
+
119, 120, 121, 122, 123, 124, 125, 126,
|
38
|
+
127, 128, 129, 130, 131, 132, 133, 134,
|
39
|
+
135, 136, 137, 138, 139, 140, 141, 142,
|
40
|
+
143, 144, 145, 146, 147, 148, 149, 150,
|
41
|
+
151, 152, 168, 170, 172, 174, 176, 178,
|
42
|
+
180, 182, 184, 186, 188, 190, 192, 194,
|
43
|
+
196, 198, 217, 218, 219, 220, 221, 222,
|
44
|
+
223, 224, 225, 226, 227, 234, 236, 238,
|
45
|
+
240, 242, 244, 246, 248, 249, 250, 251,
|
46
|
+
252, 253, 254, 255, 256, 257, 269, 271,
|
47
|
+
273, 275, 277, 279, 281, 283, 285, 287,
|
48
|
+
289, 291, 293, 295, 297, 299, 301, 303,
|
49
|
+
305, 307, 309, 311, 313, 315, 317, 319,
|
50
|
+
321, 323, 325, 327, 329, 331, 333, 335,
|
51
|
+
337, 339, 341, 343, 345, 347, 349, 351,
|
52
|
+
353, 355, 357, 359, 361, 363, 365, 367,
|
53
|
+
369, 371, 373, 375, 377, 379, 381, 383,
|
54
|
+
385, 387, 389, 391, 393, 395, 397, 399,
|
55
|
+
401, 403, 405, 407, 409, 411, 413, 415,
|
56
|
+
416, 417, 418, 419, 420, 421, 422, 423,
|
57
|
+
424, 425, 426, 427, 428, 429, 430, 431,
|
58
|
+
432, 433, 434, 435, 436, 437, 438, 454,
|
59
|
+
456, 458, 460, 462, 464, 466, 468, 470,
|
60
|
+
472, 474, 476, 478, 480, 482, 484, 486,
|
61
|
+
488, 490, 494, 496, 498, 500, 502, 504,
|
62
|
+
506, 508, 510, 512, 514, 516, 518, 520,
|
63
|
+
522, 524, 526, 528, 530, 532, 534, 536,
|
64
|
+
538, 540, 542, 544, 546, 548, 550, 552,
|
65
|
+
554, 556, 558, 560, 562, 564, 566, 568,
|
66
|
+
570, 572, 574, 576, 578, 580, 582, 584,
|
67
|
+
586, 588, 590, 592, 594, 596, 598, 600,
|
68
|
+
602, 604, 606, 608, 610, 612, 615, 617,
|
69
|
+
619, 621, 623, 625, 627, 629, 631, 633,
|
70
|
+
635, 637, 639, 641, 643, 645, 647, 649,
|
71
|
+
651, 654, 656, 658, 660, 662, 664, 666,
|
72
|
+
668, 670, 672, 674, 676, 678, 680, 682,
|
73
|
+
684, 686, 688, 690, 692, 694, 696, 697,
|
74
|
+
698, 699, 700, 701, 702, 703, 704, 705,
|
75
|
+
706, 707, 708, 709, 710, 726, 728, 730,
|
76
|
+
732, 734, 736, 738, 740, 742, 744, 746,
|
77
|
+
748, 750, 752, 754, 756, 758, 760, 762,
|
78
|
+
765, 767, 769, 771, 773, 775, 777, 779,
|
79
|
+
781, 783, 785, 787, 789, 791, 793, 795,
|
80
|
+
797, 799, 801, 803, 805, 807, 809, 811,
|
81
|
+
813, 815, 817, 819, 821, 823, 825, 827,
|
82
|
+
829, 831, 833, 835, 837, 839, 841, 843,
|
83
|
+
845, 847, 849, 851, 853, 855, 857, 859,
|
84
|
+
861, 863, 865, 868, 870, 872, 874, 876,
|
85
|
+
878, 880, 882, 884, 886, 888, 890, 892,
|
86
|
+
894, 896, 898, 900, 902, 904, 906, 908,
|
87
|
+
909, 910, 911, 912, 913, 914, 915, 916,
|
88
|
+
917, 918, 920, 921, 922, 923, 924, 925,
|
89
|
+
926, 927, 928, 929, 930, 931, 932, 933,
|
90
|
+
934, 935, 936, 937, 938, 939, 940, 944,
|
91
|
+
950, 953, 955, 961, 980, 982, 984, 986,
|
92
|
+
989, 991, 993, 995, 997, 999, 1001, 1003,
|
93
|
+
1005, 1007, 1009, 1011, 1013, 1015, 1017, 1019,
|
94
|
+
1021, 1023, 1025, 1027, 1029, 1031, 1033, 1035,
|
95
|
+
1037, 1039, 1041, 1043, 1045, 1047, 1049, 1051,
|
96
|
+
1053, 1055, 1057, 1059, 1061, 1063, 1065, 1067,
|
97
|
+
1069, 1072, 1074, 1076, 1078, 1080, 1082, 1084,
|
98
|
+
1086, 1088, 1090, 1092, 1094, 1096, 1098, 1100,
|
99
|
+
1102, 1104, 1106, 1108, 1111, 1113, 1115, 1117,
|
100
|
+
1119, 1121, 1123, 1125, 1127, 1129, 1131, 1133,
|
101
|
+
1135, 1137, 1139, 1141, 1143, 1145, 1147, 1149,
|
102
|
+
1151, 1152, 1153
|
103
|
+
];
|
104
|
+
|
105
|
+
const _lexer_trans_keys = [
|
106
|
+
10, 32, 34, 35, 37, 42, 64, 65,
|
107
|
+
66, 68, 69, 70, 71, 84, 87, 89,
|
108
|
+
124, 239, 9, 13, 10, 32, 34, 35,
|
109
|
+
37, 42, 64, 65, 66, 68, 69, 70,
|
110
|
+
71, 84, 87, 89, 124, 9, 13, 34,
|
111
|
+
34, 10, 32, 9, 13, 10, 32, 34,
|
112
|
+
9, 13, 10, 32, 34, 9, 13, 10,
|
113
|
+
32, 34, 9, 13, 10, 32, 34, 9,
|
114
|
+
13, 10, 32, 9, 13, 10, 32, 9,
|
115
|
+
13, 10, 13, 10, 95, 70, 69, 65,
|
116
|
+
84, 85, 82, 69, 95, 69, 78, 68,
|
117
|
+
95, 37, 32, 10, 10, 13, 13, 32,
|
118
|
+
64, 9, 10, 9, 10, 13, 32, 64,
|
119
|
+
11, 12, 10, 32, 64, 9, 13, 110,
|
120
|
+
117, 104, 101, 105, 117, 110, 32, 121,
|
121
|
+
111, 117, 115, 101, 32, 103, 111, 116,
|
122
|
+
116, 97, 115, 32, 105, 115, 32, 119,
|
123
|
+
104, 97, 116, 32, 119, 101, 110, 116,
|
124
|
+
32, 100, 111, 119, 110, 58, 10, 10,
|
125
|
+
10, 32, 35, 37, 42, 64, 65, 66,
|
126
|
+
68, 70, 71, 84, 87, 89, 9, 13,
|
127
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
128
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
129
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
130
|
+
10, 95, 10, 37, 10, 32, 10, 32,
|
131
|
+
34, 35, 37, 42, 64, 65, 66, 68,
|
132
|
+
69, 70, 71, 84, 87, 89, 124, 9,
|
133
|
+
13, 120, 97, 109, 112, 108, 101, 115,
|
134
|
+
58, 10, 10, 10, 32, 35, 70, 124,
|
135
|
+
9, 13, 10, 101, 10, 97, 10, 116,
|
136
|
+
10, 117, 10, 114, 10, 101, 10, 58,
|
137
|
+
101, 97, 116, 117, 114, 101, 58, 10,
|
138
|
+
10, 10, 32, 35, 37, 64, 68, 69,
|
139
|
+
70, 84, 87, 9, 13, 10, 95, 10,
|
140
|
+
70, 10, 69, 10, 65, 10, 84, 10,
|
141
|
+
85, 10, 82, 10, 69, 10, 95, 10,
|
142
|
+
69, 10, 78, 10, 68, 10, 95, 10,
|
143
|
+
37, 10, 105, 10, 115, 10, 32, 10,
|
144
|
+
105, 10, 115, 10, 32, 10, 119, 10,
|
145
|
+
104, 10, 97, 10, 116, 10, 32, 10,
|
146
|
+
119, 10, 101, 10, 110, 10, 116, 10,
|
147
|
+
32, 10, 100, 10, 111, 10, 119, 10,
|
148
|
+
110, 10, 58, 10, 120, 10, 97, 10,
|
149
|
+
109, 10, 112, 10, 108, 10, 101, 10,
|
150
|
+
115, 10, 101, 10, 97, 10, 116, 10,
|
151
|
+
117, 10, 114, 10, 101, 10, 104, 10,
|
152
|
+
101, 10, 32, 10, 116, 10, 104, 10,
|
153
|
+
105, 10, 110, 10, 103, 10, 32, 10,
|
154
|
+
111, 10, 102, 10, 32, 10, 105, 10,
|
155
|
+
116, 10, 32, 10, 105, 10, 104, 10,
|
156
|
+
97, 10, 114, 10, 114, 10, 105, 10,
|
157
|
+
109, 10, 101, 10, 97, 10, 110, 105,
|
158
|
+
118, 117, 104, 101, 32, 116, 104, 105,
|
159
|
+
110, 103, 32, 111, 102, 32, 105, 116,
|
160
|
+
32, 105, 115, 58, 10, 10, 10, 32,
|
161
|
+
35, 37, 42, 64, 65, 66, 68, 70,
|
162
|
+
71, 84, 87, 89, 9, 13, 10, 95,
|
163
|
+
10, 70, 10, 69, 10, 65, 10, 84,
|
164
|
+
10, 85, 10, 82, 10, 69, 10, 95,
|
165
|
+
10, 69, 10, 78, 10, 68, 10, 95,
|
166
|
+
10, 37, 10, 32, 10, 110, 10, 117,
|
167
|
+
10, 104, 10, 101, 105, 117, 10, 110,
|
168
|
+
10, 32, 10, 121, 10, 111, 10, 117,
|
169
|
+
10, 115, 10, 101, 10, 32, 10, 103,
|
170
|
+
10, 111, 10, 116, 10, 116, 10, 97,
|
171
|
+
10, 115, 10, 32, 10, 105, 10, 115,
|
172
|
+
10, 32, 10, 119, 10, 104, 10, 97,
|
173
|
+
10, 116, 10, 32, 10, 119, 10, 101,
|
174
|
+
10, 110, 10, 116, 10, 32, 10, 100,
|
175
|
+
10, 111, 10, 119, 10, 110, 10, 58,
|
176
|
+
10, 101, 10, 97, 10, 116, 10, 117,
|
177
|
+
10, 114, 10, 101, 10, 105, 10, 118,
|
178
|
+
10, 117, 10, 104, 10, 101, 10, 32,
|
179
|
+
10, 116, 10, 104, 10, 105, 10, 110,
|
180
|
+
10, 103, 10, 32, 10, 111, 10, 102,
|
181
|
+
10, 32, 10, 105, 10, 116, 10, 32,
|
182
|
+
10, 105, 10, 115, 10, 104, 117, 10,
|
183
|
+
97, 10, 114, 10, 114, 10, 105, 10,
|
184
|
+
109, 10, 101, 10, 97, 10, 110, 10,
|
185
|
+
111, 10, 117, 10, 115, 10, 101, 10,
|
186
|
+
32, 10, 107, 10, 110, 10, 111, 10,
|
187
|
+
119, 10, 32, 10, 108, 119, 10, 105,
|
188
|
+
10, 107, 10, 101, 10, 32, 10, 119,
|
189
|
+
10, 104, 10, 101, 10, 104, 10, 101,
|
190
|
+
10, 110, 10, 32, 10, 121, 10, 111,
|
191
|
+
10, 117, 10, 115, 10, 101, 10, 32,
|
192
|
+
10, 103, 10, 111, 10, 116, 104, 117,
|
193
|
+
97, 114, 114, 105, 109, 101, 97, 110,
|
194
|
+
32, 105, 115, 58, 10, 10, 10, 32,
|
195
|
+
35, 37, 42, 64, 65, 66, 68, 70,
|
196
|
+
71, 84, 87, 89, 9, 13, 10, 95,
|
197
|
+
10, 70, 10, 69, 10, 65, 10, 84,
|
198
|
+
10, 85, 10, 82, 10, 69, 10, 95,
|
199
|
+
10, 69, 10, 78, 10, 68, 10, 95,
|
200
|
+
10, 37, 10, 32, 10, 110, 10, 117,
|
201
|
+
10, 104, 10, 101, 117, 10, 110, 10,
|
202
|
+
32, 10, 121, 10, 111, 10, 117, 10,
|
203
|
+
115, 10, 101, 10, 32, 10, 103, 10,
|
204
|
+
111, 10, 116, 10, 116, 10, 97, 10,
|
205
|
+
101, 10, 97, 10, 116, 10, 117, 10,
|
206
|
+
114, 10, 101, 10, 58, 10, 105, 10,
|
207
|
+
118, 10, 117, 10, 104, 10, 101, 10,
|
208
|
+
32, 10, 116, 10, 104, 10, 105, 10,
|
209
|
+
110, 10, 103, 10, 32, 10, 111, 10,
|
210
|
+
102, 10, 32, 10, 105, 10, 116, 10,
|
211
|
+
32, 10, 105, 10, 115, 10, 111, 10,
|
212
|
+
117, 10, 115, 10, 101, 10, 32, 10,
|
213
|
+
107, 10, 110, 10, 111, 10, 119, 10,
|
214
|
+
32, 10, 108, 119, 10, 105, 10, 107,
|
215
|
+
10, 101, 10, 32, 10, 119, 10, 104,
|
216
|
+
10, 101, 10, 104, 10, 101, 10, 110,
|
217
|
+
10, 32, 10, 121, 10, 111, 10, 117,
|
218
|
+
10, 115, 10, 101, 10, 32, 10, 103,
|
219
|
+
10, 111, 10, 116, 111, 117, 115, 101,
|
220
|
+
32, 107, 110, 111, 119, 32, 108, 119,
|
221
|
+
105, 107, 101, 32, 119, 104, 101, 104,
|
222
|
+
101, 110, 32, 121, 111, 117, 115, 101,
|
223
|
+
32, 103, 111, 116, 32, 124, 9, 13,
|
224
|
+
10, 32, 92, 124, 9, 13, 10, 92,
|
225
|
+
124, 10, 92, 10, 32, 92, 124, 9,
|
226
|
+
13, 10, 32, 34, 35, 37, 42, 64,
|
227
|
+
65, 66, 68, 69, 70, 71, 84, 87,
|
228
|
+
89, 124, 9, 13, 10, 110, 10, 117,
|
229
|
+
10, 104, 10, 101, 117, 10, 110, 10,
|
230
|
+
32, 10, 121, 10, 111, 10, 117, 10,
|
231
|
+
115, 10, 101, 10, 32, 10, 103, 10,
|
232
|
+
111, 10, 116, 10, 116, 10, 97, 10,
|
233
|
+
101, 10, 97, 10, 116, 10, 117, 10,
|
234
|
+
114, 10, 101, 10, 58, 10, 105, 10,
|
235
|
+
118, 10, 117, 10, 104, 10, 101, 10,
|
236
|
+
32, 10, 116, 10, 104, 10, 105, 10,
|
237
|
+
110, 10, 103, 10, 32, 10, 111, 10,
|
238
|
+
102, 10, 32, 10, 105, 10, 116, 10,
|
239
|
+
32, 10, 105, 10, 115, 10, 104, 117,
|
240
|
+
10, 97, 10, 114, 10, 114, 10, 105,
|
241
|
+
10, 109, 10, 101, 10, 97, 10, 110,
|
242
|
+
10, 111, 10, 117, 10, 115, 10, 101,
|
243
|
+
10, 32, 10, 107, 10, 110, 10, 111,
|
244
|
+
10, 119, 10, 32, 10, 108, 119, 10,
|
245
|
+
105, 10, 107, 10, 101, 10, 32, 10,
|
246
|
+
119, 10, 104, 10, 101, 10, 104, 10,
|
247
|
+
101, 10, 110, 10, 32, 10, 121, 10,
|
248
|
+
111, 10, 117, 10, 115, 10, 101, 10,
|
249
|
+
32, 10, 103, 10, 111, 10, 116, 187,
|
250
|
+
191, 0
|
251
|
+
];
|
252
|
+
|
253
|
+
const _lexer_single_lengths = [
|
254
|
+
0, 18, 17, 1, 1, 2, 3, 3,
|
255
|
+
3, 3, 2, 2, 2, 1, 1, 1,
|
256
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
257
|
+
1, 1, 1, 1, 1, 1, 2, 3,
|
258
|
+
5, 3, 1, 1, 1, 3, 1, 1,
|
259
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
260
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
261
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
262
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
263
|
+
1, 14, 2, 2, 2, 2, 2, 2,
|
264
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
265
|
+
2, 17, 1, 1, 1, 1, 1, 1,
|
266
|
+
1, 1, 1, 1, 5, 2, 2, 2,
|
267
|
+
2, 2, 2, 2, 1, 1, 1, 1,
|
268
|
+
1, 1, 1, 1, 1, 10, 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, 2, 2, 2, 2, 2,
|
275
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
276
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
277
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
278
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
279
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
280
|
+
1, 1, 1, 1, 1, 1, 14, 2,
|
281
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
282
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
283
|
+
2, 4, 2, 2, 2, 2, 2, 2,
|
284
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
285
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
286
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
287
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
288
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
289
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
290
|
+
2, 2, 2, 2, 2, 3, 2, 2,
|
291
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
292
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
293
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
294
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
295
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
296
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
297
|
+
1, 1, 1, 1, 14, 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, 2, 2, 2, 2, 2,
|
301
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
302
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
303
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
304
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
305
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
306
|
+
2, 2, 3, 2, 2, 2, 2, 2,
|
307
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
308
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
309
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
310
|
+
1, 2, 1, 1, 1, 1, 1, 1,
|
311
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
312
|
+
1, 1, 1, 1, 1, 1, 2, 4,
|
313
|
+
3, 2, 4, 17, 2, 2, 2, 3,
|
314
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
315
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
316
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
317
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
318
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
319
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
320
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
321
|
+
2, 2, 2, 3, 2, 2, 2, 2,
|
322
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
323
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
324
|
+
1, 1, 0
|
325
|
+
];
|
326
|
+
|
327
|
+
const _lexer_range_lengths = [
|
328
|
+
0, 1, 1, 0, 0, 1, 1, 1,
|
329
|
+
1, 1, 1, 1, 0, 0, 0, 0,
|
330
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
331
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
332
|
+
1, 1, 0, 0, 0, 0, 0, 0,
|
333
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
334
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
335
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
336
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
337
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
338
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
339
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
340
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
341
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
342
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
343
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
344
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
345
|
+
0, 0, 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, 1, 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, 0, 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, 1, 0, 0, 0,
|
372
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
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, 0, 0, 0, 0,
|
385
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
386
|
+
0, 0, 0, 0, 0, 0, 1, 1,
|
387
|
+
0, 0, 1, 1, 0, 0, 0, 0,
|
388
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
389
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
390
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
391
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
392
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
393
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
394
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
395
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
396
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
397
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
398
|
+
0, 0, 0
|
399
|
+
];
|
400
|
+
|
401
|
+
const _lexer_index_offsets = [
|
402
|
+
0, 0, 20, 39, 41, 43, 47, 52,
|
403
|
+
57, 62, 67, 71, 75, 78, 80, 82,
|
404
|
+
84, 86, 88, 90, 92, 94, 96, 98,
|
405
|
+
100, 102, 104, 106, 108, 110, 112, 115,
|
406
|
+
120, 127, 132, 134, 136, 138, 142, 144,
|
407
|
+
146, 148, 150, 152, 154, 156, 158, 160,
|
408
|
+
162, 164, 166, 168, 170, 172, 174, 176,
|
409
|
+
178, 180, 182, 184, 186, 188, 190, 192,
|
410
|
+
194, 196, 198, 200, 202, 204, 206, 208,
|
411
|
+
210, 212, 228, 231, 234, 237, 240, 243,
|
412
|
+
246, 249, 252, 255, 258, 261, 264, 267,
|
413
|
+
270, 273, 292, 294, 296, 298, 300, 302,
|
414
|
+
304, 306, 308, 310, 312, 319, 322, 325,
|
415
|
+
328, 331, 334, 337, 340, 342, 344, 346,
|
416
|
+
348, 350, 352, 354, 356, 358, 370, 373,
|
417
|
+
376, 379, 382, 385, 388, 391, 394, 397,
|
418
|
+
400, 403, 406, 409, 412, 415, 418, 421,
|
419
|
+
424, 427, 430, 433, 436, 439, 442, 445,
|
420
|
+
448, 451, 454, 457, 460, 463, 466, 469,
|
421
|
+
472, 475, 478, 481, 484, 487, 490, 493,
|
422
|
+
496, 499, 502, 505, 508, 511, 514, 517,
|
423
|
+
520, 523, 526, 529, 532, 535, 538, 541,
|
424
|
+
544, 547, 550, 553, 556, 559, 562, 565,
|
425
|
+
568, 571, 574, 577, 580, 583, 586, 589,
|
426
|
+
591, 593, 595, 597, 599, 601, 603, 605,
|
427
|
+
607, 609, 611, 613, 615, 617, 619, 621,
|
428
|
+
623, 625, 627, 629, 631, 633, 635, 651,
|
429
|
+
654, 657, 660, 663, 666, 669, 672, 675,
|
430
|
+
678, 681, 684, 687, 690, 693, 696, 699,
|
431
|
+
702, 705, 710, 713, 716, 719, 722, 725,
|
432
|
+
728, 731, 734, 737, 740, 743, 746, 749,
|
433
|
+
752, 755, 758, 761, 764, 767, 770, 773,
|
434
|
+
776, 779, 782, 785, 788, 791, 794, 797,
|
435
|
+
800, 803, 806, 809, 812, 815, 818, 821,
|
436
|
+
824, 827, 830, 833, 836, 839, 842, 845,
|
437
|
+
848, 851, 854, 857, 860, 863, 866, 869,
|
438
|
+
872, 875, 878, 881, 884, 887, 891, 894,
|
439
|
+
897, 900, 903, 906, 909, 912, 915, 918,
|
440
|
+
921, 924, 927, 930, 933, 936, 939, 942,
|
441
|
+
945, 949, 952, 955, 958, 961, 964, 967,
|
442
|
+
970, 973, 976, 979, 982, 985, 988, 991,
|
443
|
+
994, 997, 1000, 1003, 1006, 1009, 1012, 1014,
|
444
|
+
1016, 1018, 1020, 1022, 1024, 1026, 1028, 1030,
|
445
|
+
1032, 1034, 1036, 1038, 1040, 1056, 1059, 1062,
|
446
|
+
1065, 1068, 1071, 1074, 1077, 1080, 1083, 1086,
|
447
|
+
1089, 1092, 1095, 1098, 1101, 1104, 1107, 1110,
|
448
|
+
1114, 1117, 1120, 1123, 1126, 1129, 1132, 1135,
|
449
|
+
1138, 1141, 1144, 1147, 1150, 1153, 1156, 1159,
|
450
|
+
1162, 1165, 1168, 1171, 1174, 1177, 1180, 1183,
|
451
|
+
1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207,
|
452
|
+
1210, 1213, 1216, 1219, 1222, 1225, 1228, 1231,
|
453
|
+
1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255,
|
454
|
+
1258, 1261, 1264, 1268, 1271, 1274, 1277, 1280,
|
455
|
+
1283, 1286, 1289, 1292, 1295, 1298, 1301, 1304,
|
456
|
+
1307, 1310, 1313, 1316, 1319, 1322, 1325, 1328,
|
457
|
+
1330, 1332, 1334, 1336, 1338, 1340, 1342, 1344,
|
458
|
+
1346, 1348, 1351, 1353, 1355, 1357, 1359, 1361,
|
459
|
+
1363, 1365, 1367, 1369, 1371, 1373, 1375, 1377,
|
460
|
+
1379, 1381, 1383, 1385, 1387, 1389, 1391, 1395,
|
461
|
+
1401, 1405, 1408, 1414, 1433, 1436, 1439, 1442,
|
462
|
+
1446, 1449, 1452, 1455, 1458, 1461, 1464, 1467,
|
463
|
+
1470, 1473, 1476, 1479, 1482, 1485, 1488, 1491,
|
464
|
+
1494, 1497, 1500, 1503, 1506, 1509, 1512, 1515,
|
465
|
+
1518, 1521, 1524, 1527, 1530, 1533, 1536, 1539,
|
466
|
+
1542, 1545, 1548, 1551, 1554, 1557, 1560, 1563,
|
467
|
+
1566, 1570, 1573, 1576, 1579, 1582, 1585, 1588,
|
468
|
+
1591, 1594, 1597, 1600, 1603, 1606, 1609, 1612,
|
469
|
+
1615, 1618, 1621, 1624, 1628, 1631, 1634, 1637,
|
470
|
+
1640, 1643, 1646, 1649, 1652, 1655, 1658, 1661,
|
471
|
+
1664, 1667, 1670, 1673, 1676, 1679, 1682, 1685,
|
472
|
+
1688, 1690, 1692
|
473
|
+
];
|
474
|
+
|
475
|
+
const _lexer_indicies = [
|
476
|
+
2, 1, 3, 4, 5, 6, 7, 8,
|
477
|
+
9, 10, 11, 12, 13, 14, 15, 16,
|
478
|
+
17, 18, 1, 0, 2, 1, 3, 4,
|
479
|
+
5, 6, 7, 8, 9, 10, 11, 12,
|
480
|
+
13, 14, 15, 16, 17, 1, 0, 19,
|
481
|
+
0, 20, 0, 21, 20, 20, 0, 24,
|
482
|
+
23, 25, 23, 22, 28, 27, 29, 27,
|
483
|
+
26, 28, 27, 30, 27, 26, 28, 27,
|
484
|
+
31, 27, 26, 33, 32, 32, 0, 2,
|
485
|
+
34, 34, 0, 36, 37, 35, 2, 0,
|
486
|
+
38, 0, 39, 0, 40, 0, 41, 0,
|
487
|
+
42, 0, 43, 0, 44, 0, 45, 0,
|
488
|
+
46, 0, 47, 0, 48, 0, 49, 0,
|
489
|
+
50, 0, 51, 0, 52, 0, 0, 53,
|
490
|
+
55, 56, 54, 0, 0, 0, 0, 57,
|
491
|
+
58, 59, 58, 58, 61, 60, 57, 2,
|
492
|
+
62, 7, 62, 0, 63, 0, 64, 0,
|
493
|
+
63, 0, 65, 66, 67, 0, 68, 0,
|
494
|
+
69, 0, 70, 0, 71, 0, 72, 0,
|
495
|
+
73, 0, 74, 0, 75, 0, 76, 0,
|
496
|
+
77, 0, 78, 0, 79, 0, 63, 0,
|
497
|
+
80, 0, 81, 0, 82, 0, 83, 0,
|
498
|
+
84, 0, 85, 0, 86, 0, 87, 0,
|
499
|
+
88, 0, 89, 0, 90, 0, 91, 0,
|
500
|
+
92, 0, 93, 0, 94, 0, 95, 0,
|
501
|
+
96, 0, 97, 0, 98, 0, 99, 0,
|
502
|
+
101, 100, 103, 102, 103, 104, 105, 106,
|
503
|
+
107, 105, 108, 109, 110, 111, 112, 113,
|
504
|
+
114, 115, 104, 102, 103, 116, 102, 103,
|
505
|
+
117, 102, 103, 118, 102, 103, 119, 102,
|
506
|
+
103, 120, 102, 103, 121, 102, 103, 122,
|
507
|
+
102, 103, 123, 102, 103, 124, 102, 103,
|
508
|
+
125, 102, 103, 126, 102, 103, 127, 102,
|
509
|
+
103, 128, 102, 103, 129, 102, 103, 130,
|
510
|
+
102, 132, 131, 133, 134, 135, 136, 137,
|
511
|
+
138, 139, 140, 141, 142, 143, 144, 145,
|
512
|
+
146, 147, 131, 0, 148, 0, 149, 0,
|
513
|
+
150, 0, 151, 0, 152, 0, 153, 0,
|
514
|
+
154, 0, 155, 0, 157, 156, 159, 158,
|
515
|
+
159, 160, 161, 162, 161, 160, 158, 159,
|
516
|
+
163, 158, 159, 164, 158, 159, 165, 158,
|
517
|
+
159, 166, 158, 159, 167, 158, 159, 168,
|
518
|
+
158, 159, 169, 158, 170, 0, 171, 0,
|
519
|
+
172, 0, 173, 0, 174, 0, 175, 0,
|
520
|
+
176, 0, 178, 177, 180, 179, 180, 181,
|
521
|
+
182, 183, 182, 184, 185, 186, 187, 188,
|
522
|
+
181, 179, 180, 189, 179, 180, 190, 179,
|
523
|
+
180, 191, 179, 180, 192, 179, 180, 193,
|
524
|
+
179, 180, 194, 179, 180, 195, 179, 180,
|
525
|
+
196, 179, 180, 197, 179, 180, 198, 179,
|
526
|
+
180, 199, 179, 180, 200, 179, 180, 201,
|
527
|
+
179, 180, 202, 179, 180, 203, 179, 180,
|
528
|
+
204, 179, 180, 205, 179, 180, 206, 179,
|
529
|
+
180, 207, 179, 180, 208, 179, 180, 209,
|
530
|
+
179, 180, 210, 179, 180, 211, 179, 180,
|
531
|
+
212, 179, 180, 213, 179, 180, 214, 179,
|
532
|
+
180, 215, 179, 180, 216, 179, 180, 217,
|
533
|
+
179, 180, 218, 179, 180, 219, 179, 180,
|
534
|
+
220, 179, 180, 221, 179, 180, 222, 179,
|
535
|
+
180, 223, 179, 180, 224, 179, 180, 225,
|
536
|
+
179, 180, 226, 179, 180, 227, 179, 180,
|
537
|
+
228, 179, 180, 229, 179, 180, 222, 179,
|
538
|
+
180, 230, 179, 180, 231, 179, 180, 232,
|
539
|
+
179, 180, 233, 179, 180, 234, 179, 180,
|
540
|
+
222, 179, 180, 235, 179, 180, 236, 179,
|
541
|
+
180, 237, 179, 180, 238, 179, 180, 239,
|
542
|
+
179, 180, 240, 179, 180, 241, 179, 180,
|
543
|
+
242, 179, 180, 243, 179, 180, 244, 179,
|
544
|
+
180, 245, 179, 180, 246, 179, 180, 247,
|
545
|
+
179, 180, 248, 179, 180, 249, 179, 180,
|
546
|
+
229, 179, 180, 250, 179, 180, 251, 179,
|
547
|
+
180, 252, 179, 180, 253, 179, 180, 254,
|
548
|
+
179, 180, 255, 179, 180, 256, 179, 180,
|
549
|
+
257, 179, 180, 248, 179, 258, 0, 259,
|
550
|
+
0, 67, 0, 260, 0, 261, 0, 262,
|
551
|
+
0, 263, 0, 264, 0, 265, 0, 266,
|
552
|
+
0, 267, 0, 268, 0, 269, 0, 270,
|
553
|
+
0, 271, 0, 272, 0, 273, 0, 274,
|
554
|
+
0, 275, 0, 276, 0, 277, 0, 279,
|
555
|
+
278, 281, 280, 281, 282, 283, 284, 285,
|
556
|
+
283, 286, 287, 288, 289, 290, 291, 292,
|
557
|
+
293, 282, 280, 281, 294, 280, 281, 295,
|
558
|
+
280, 281, 296, 280, 281, 297, 280, 281,
|
559
|
+
298, 280, 281, 299, 280, 281, 300, 280,
|
560
|
+
281, 301, 280, 281, 302, 280, 281, 303,
|
561
|
+
280, 281, 304, 280, 281, 305, 280, 281,
|
562
|
+
306, 280, 281, 307, 280, 281, 308, 280,
|
563
|
+
281, 309, 280, 281, 310, 280, 281, 309,
|
564
|
+
280, 281, 311, 312, 313, 280, 281, 314,
|
565
|
+
280, 281, 315, 280, 281, 316, 280, 281,
|
566
|
+
317, 280, 281, 318, 280, 281, 319, 280,
|
567
|
+
281, 320, 280, 281, 321, 280, 281, 322,
|
568
|
+
280, 281, 323, 280, 281, 324, 280, 281,
|
569
|
+
325, 280, 281, 309, 280, 281, 326, 280,
|
570
|
+
281, 327, 280, 281, 328, 280, 281, 329,
|
571
|
+
280, 281, 330, 280, 281, 331, 280, 281,
|
572
|
+
332, 280, 281, 333, 280, 281, 334, 280,
|
573
|
+
281, 335, 280, 281, 336, 280, 281, 337,
|
574
|
+
280, 281, 338, 280, 281, 339, 280, 281,
|
575
|
+
340, 280, 281, 341, 280, 281, 342, 280,
|
576
|
+
281, 343, 280, 281, 344, 280, 281, 308,
|
577
|
+
280, 281, 345, 280, 281, 346, 280, 281,
|
578
|
+
347, 280, 281, 348, 280, 281, 349, 280,
|
579
|
+
281, 344, 280, 281, 350, 280, 281, 351,
|
580
|
+
280, 281, 313, 280, 281, 352, 280, 281,
|
581
|
+
353, 280, 281, 354, 280, 281, 355, 280,
|
582
|
+
281, 356, 280, 281, 357, 280, 281, 358,
|
583
|
+
280, 281, 359, 280, 281, 360, 280, 281,
|
584
|
+
361, 280, 281, 362, 280, 281, 363, 280,
|
585
|
+
281, 364, 280, 281, 365, 280, 281, 366,
|
586
|
+
280, 281, 367, 280, 281, 344, 280, 281,
|
587
|
+
368, 313, 280, 281, 369, 280, 281, 370,
|
588
|
+
280, 281, 371, 280, 281, 372, 280, 281,
|
589
|
+
373, 280, 281, 374, 280, 281, 375, 280,
|
590
|
+
281, 365, 280, 281, 376, 280, 281, 377,
|
591
|
+
280, 281, 378, 280, 281, 379, 280, 281,
|
592
|
+
380, 280, 281, 381, 280, 281, 382, 280,
|
593
|
+
281, 383, 280, 281, 384, 280, 281, 385,
|
594
|
+
280, 281, 386, 387, 280, 281, 388, 280,
|
595
|
+
281, 389, 280, 281, 390, 280, 281, 391,
|
596
|
+
280, 281, 392, 280, 281, 393, 280, 281,
|
597
|
+
313, 280, 281, 394, 280, 281, 395, 280,
|
598
|
+
281, 396, 280, 281, 397, 280, 281, 398,
|
599
|
+
280, 281, 399, 280, 281, 400, 280, 281,
|
600
|
+
401, 280, 281, 402, 280, 281, 403, 280,
|
601
|
+
281, 404, 280, 281, 405, 280, 281, 309,
|
602
|
+
280, 406, 67, 0, 407, 0, 408, 0,
|
603
|
+
409, 0, 410, 0, 411, 0, 412, 0,
|
604
|
+
413, 0, 414, 0, 415, 0, 416, 0,
|
605
|
+
417, 0, 418, 0, 420, 419, 422, 421,
|
606
|
+
422, 423, 424, 425, 426, 424, 427, 428,
|
607
|
+
429, 430, 431, 432, 433, 434, 423, 421,
|
608
|
+
422, 435, 421, 422, 436, 421, 422, 437,
|
609
|
+
421, 422, 438, 421, 422, 439, 421, 422,
|
610
|
+
440, 421, 422, 441, 421, 422, 442, 421,
|
611
|
+
422, 443, 421, 422, 444, 421, 422, 445,
|
612
|
+
421, 422, 446, 421, 422, 447, 421, 422,
|
613
|
+
448, 421, 422, 449, 421, 422, 450, 421,
|
614
|
+
422, 451, 421, 422, 450, 421, 422, 452,
|
615
|
+
453, 421, 422, 454, 421, 422, 455, 421,
|
616
|
+
422, 456, 421, 422, 457, 421, 422, 458,
|
617
|
+
421, 422, 459, 421, 422, 460, 421, 422,
|
618
|
+
461, 421, 422, 462, 421, 422, 463, 421,
|
619
|
+
422, 464, 421, 422, 465, 421, 422, 450,
|
620
|
+
421, 422, 466, 421, 422, 467, 421, 422,
|
621
|
+
468, 421, 422, 469, 421, 422, 470, 421,
|
622
|
+
422, 471, 421, 422, 449, 421, 422, 472,
|
623
|
+
421, 422, 473, 421, 422, 453, 421, 422,
|
624
|
+
474, 421, 422, 475, 421, 422, 476, 421,
|
625
|
+
422, 477, 421, 422, 478, 421, 422, 479,
|
626
|
+
421, 422, 480, 421, 422, 481, 421, 422,
|
627
|
+
482, 421, 422, 483, 421, 422, 484, 421,
|
628
|
+
422, 485, 421, 422, 486, 421, 422, 487,
|
629
|
+
421, 422, 488, 421, 422, 489, 421, 422,
|
630
|
+
471, 421, 422, 490, 421, 422, 491, 421,
|
631
|
+
422, 492, 421, 422, 493, 421, 422, 494,
|
632
|
+
421, 422, 495, 421, 422, 496, 421, 422,
|
633
|
+
497, 421, 422, 498, 421, 422, 499, 421,
|
634
|
+
422, 500, 501, 421, 422, 502, 421, 422,
|
635
|
+
503, 421, 422, 504, 421, 422, 505, 421,
|
636
|
+
422, 506, 421, 422, 507, 421, 422, 453,
|
637
|
+
421, 422, 508, 421, 422, 509, 421, 422,
|
638
|
+
510, 421, 422, 511, 421, 422, 512, 421,
|
639
|
+
422, 513, 421, 422, 514, 421, 422, 515,
|
640
|
+
421, 422, 516, 421, 422, 517, 421, 422,
|
641
|
+
518, 421, 422, 519, 421, 422, 450, 421,
|
642
|
+
520, 0, 521, 0, 522, 0, 523, 0,
|
643
|
+
524, 0, 525, 0, 526, 0, 527, 0,
|
644
|
+
528, 0, 529, 0, 530, 531, 0, 532,
|
645
|
+
0, 533, 0, 534, 0, 535, 0, 536,
|
646
|
+
0, 537, 0, 67, 0, 538, 0, 539,
|
647
|
+
0, 540, 0, 541, 0, 542, 0, 543,
|
648
|
+
0, 544, 0, 545, 0, 546, 0, 547,
|
649
|
+
0, 548, 0, 549, 0, 63, 0, 550,
|
650
|
+
551, 550, 0, 554, 553, 555, 556, 553,
|
651
|
+
552, 0, 558, 559, 557, 0, 558, 557,
|
652
|
+
554, 560, 558, 559, 560, 557, 554, 561,
|
653
|
+
562, 563, 564, 565, 566, 567, 568, 569,
|
654
|
+
570, 571, 572, 573, 574, 575, 576, 561,
|
655
|
+
0, 103, 577, 102, 103, 578, 102, 103,
|
656
|
+
577, 102, 103, 579, 580, 102, 103, 581,
|
657
|
+
102, 103, 582, 102, 103, 583, 102, 103,
|
658
|
+
584, 102, 103, 585, 102, 103, 586, 102,
|
659
|
+
103, 587, 102, 103, 588, 102, 103, 589,
|
660
|
+
102, 103, 590, 102, 103, 591, 102, 103,
|
661
|
+
592, 102, 103, 577, 102, 103, 593, 102,
|
662
|
+
103, 594, 102, 103, 595, 102, 103, 596,
|
663
|
+
102, 103, 597, 102, 103, 598, 102, 103,
|
664
|
+
130, 102, 103, 599, 102, 103, 600, 102,
|
665
|
+
103, 580, 102, 103, 601, 102, 103, 602,
|
666
|
+
102, 103, 603, 102, 103, 604, 102, 103,
|
667
|
+
605, 102, 103, 606, 102, 103, 607, 102,
|
668
|
+
103, 608, 102, 103, 609, 102, 103, 610,
|
669
|
+
102, 103, 611, 102, 103, 612, 102, 103,
|
670
|
+
613, 102, 103, 614, 102, 103, 615, 102,
|
671
|
+
103, 616, 102, 103, 598, 102, 103, 617,
|
672
|
+
580, 102, 103, 618, 102, 103, 619, 102,
|
673
|
+
103, 620, 102, 103, 621, 102, 103, 622,
|
674
|
+
102, 103, 623, 102, 103, 624, 102, 103,
|
675
|
+
614, 102, 103, 625, 102, 103, 626, 102,
|
676
|
+
103, 627, 102, 103, 628, 102, 103, 629,
|
677
|
+
102, 103, 630, 102, 103, 631, 102, 103,
|
678
|
+
632, 102, 103, 633, 102, 103, 634, 102,
|
679
|
+
103, 635, 636, 102, 103, 637, 102, 103,
|
680
|
+
638, 102, 103, 639, 102, 103, 640, 102,
|
681
|
+
103, 641, 102, 103, 642, 102, 103, 580,
|
682
|
+
102, 103, 643, 102, 103, 644, 102, 103,
|
683
|
+
645, 102, 103, 646, 102, 103, 647, 102,
|
684
|
+
103, 648, 102, 103, 649, 102, 103, 650,
|
685
|
+
102, 103, 651, 102, 103, 652, 102, 103,
|
686
|
+
653, 102, 103, 654, 102, 103, 577, 102,
|
687
|
+
655, 0, 1, 0, 656, 0
|
688
|
+
];
|
689
|
+
|
690
|
+
const _lexer_trans_targs = [
|
691
|
+
0, 2, 2, 3, 12, 14, 28, 31,
|
692
|
+
34, 35, 37, 90, 108, 191, 194, 333,
|
693
|
+
439, 470, 560, 4, 5, 6, 7, 7,
|
694
|
+
7, 8, 7, 7, 7, 8, 9, 10,
|
695
|
+
11, 2, 11, 12, 2, 13, 15, 16,
|
696
|
+
17, 18, 19, 20, 21, 22, 23, 24,
|
697
|
+
25, 26, 27, 562, 29, 30, 30, 2,
|
698
|
+
13, 32, 33, 2, 32, 31, 33, 28,
|
699
|
+
36, 38, 51, 34, 39, 40, 41, 42,
|
700
|
+
43, 44, 45, 46, 47, 48, 49, 50,
|
701
|
+
52, 53, 54, 55, 56, 57, 58, 59,
|
702
|
+
60, 61, 62, 63, 64, 65, 66, 67,
|
703
|
+
68, 69, 70, 71, 72, 73, 72, 73,
|
704
|
+
73, 2, 74, 88, 476, 477, 479, 493,
|
705
|
+
500, 503, 520, 529, 75, 76, 77, 78,
|
706
|
+
79, 80, 81, 82, 83, 84, 85, 86,
|
707
|
+
87, 2, 89, 2, 2, 3, 12, 14,
|
708
|
+
28, 31, 34, 35, 37, 90, 108, 191,
|
709
|
+
194, 333, 439, 470, 91, 92, 93, 94,
|
710
|
+
95, 96, 97, 98, 99, 100, 99, 100,
|
711
|
+
100, 2, 101, 102, 103, 104, 105, 106,
|
712
|
+
107, 89, 109, 110, 111, 112, 113, 114,
|
713
|
+
115, 116, 117, 116, 117, 117, 2, 118,
|
714
|
+
132, 153, 160, 166, 182, 119, 120, 121,
|
715
|
+
122, 123, 124, 125, 126, 127, 128, 129,
|
716
|
+
130, 131, 2, 133, 134, 135, 136, 137,
|
717
|
+
138, 139, 140, 141, 142, 143, 144, 145,
|
718
|
+
146, 147, 148, 149, 150, 151, 152, 89,
|
719
|
+
154, 155, 156, 157, 158, 159, 161, 162,
|
720
|
+
163, 164, 165, 167, 168, 169, 170, 171,
|
721
|
+
172, 173, 174, 175, 176, 177, 178, 179,
|
722
|
+
180, 181, 183, 184, 185, 186, 187, 188,
|
723
|
+
189, 190, 192, 193, 195, 196, 197, 198,
|
724
|
+
199, 200, 201, 202, 203, 204, 205, 206,
|
725
|
+
207, 208, 209, 210, 211, 212, 213, 214,
|
726
|
+
213, 214, 214, 2, 215, 229, 230, 231,
|
727
|
+
233, 267, 273, 276, 293, 302, 216, 217,
|
728
|
+
218, 219, 220, 221, 222, 223, 224, 225,
|
729
|
+
226, 227, 228, 2, 89, 229, 232, 234,
|
730
|
+
247, 230, 235, 236, 237, 238, 239, 240,
|
731
|
+
241, 242, 243, 244, 245, 246, 248, 249,
|
732
|
+
250, 251, 252, 253, 254, 255, 256, 257,
|
733
|
+
258, 259, 260, 261, 262, 263, 264, 265,
|
734
|
+
266, 268, 269, 270, 271, 272, 274, 275,
|
735
|
+
277, 278, 279, 280, 281, 282, 283, 284,
|
736
|
+
285, 286, 287, 288, 289, 290, 291, 292,
|
737
|
+
294, 295, 296, 297, 298, 299, 300, 301,
|
738
|
+
303, 304, 305, 306, 307, 308, 309, 310,
|
739
|
+
311, 312, 313, 320, 314, 315, 316, 317,
|
740
|
+
318, 319, 321, 322, 323, 324, 325, 326,
|
741
|
+
327, 328, 329, 330, 331, 332, 334, 335,
|
742
|
+
336, 337, 338, 339, 340, 341, 342, 343,
|
743
|
+
344, 345, 346, 347, 348, 347, 348, 348,
|
744
|
+
2, 349, 363, 364, 365, 367, 381, 388,
|
745
|
+
391, 390, 408, 350, 351, 352, 353, 354,
|
746
|
+
355, 356, 357, 358, 359, 360, 361, 362,
|
747
|
+
2, 89, 363, 366, 368, 364, 369, 370,
|
748
|
+
371, 372, 373, 374, 375, 376, 377, 378,
|
749
|
+
379, 380, 382, 383, 384, 385, 386, 387,
|
750
|
+
389, 390, 392, 393, 394, 395, 396, 397,
|
751
|
+
398, 399, 400, 401, 402, 403, 404, 405,
|
752
|
+
406, 407, 409, 410, 411, 412, 413, 414,
|
753
|
+
415, 416, 417, 418, 419, 426, 420, 421,
|
754
|
+
422, 423, 424, 425, 427, 428, 429, 430,
|
755
|
+
431, 432, 433, 434, 435, 436, 437, 438,
|
756
|
+
440, 441, 442, 443, 444, 445, 446, 447,
|
757
|
+
448, 449, 450, 457, 451, 452, 453, 454,
|
758
|
+
455, 456, 458, 459, 460, 461, 462, 463,
|
759
|
+
464, 465, 466, 467, 468, 469, 470, 471,
|
760
|
+
472, 474, 475, 473, 471, 472, 473, 471,
|
761
|
+
474, 475, 3, 12, 14, 28, 31, 34,
|
762
|
+
35, 37, 90, 108, 191, 194, 333, 439,
|
763
|
+
470, 88, 478, 480, 476, 481, 482, 483,
|
764
|
+
484, 485, 486, 487, 488, 489, 490, 491,
|
765
|
+
492, 494, 495, 496, 497, 498, 499, 501,
|
766
|
+
502, 504, 505, 506, 507, 508, 509, 510,
|
767
|
+
511, 512, 513, 514, 515, 516, 517, 518,
|
768
|
+
519, 521, 522, 523, 524, 525, 526, 527,
|
769
|
+
528, 530, 531, 532, 533, 534, 535, 536,
|
770
|
+
537, 538, 539, 540, 547, 541, 542, 543,
|
771
|
+
544, 545, 546, 548, 549, 550, 551, 552,
|
772
|
+
553, 554, 555, 556, 557, 558, 559, 561,
|
773
|
+
0
|
774
|
+
];
|
775
|
+
|
776
|
+
const _lexer_trans_actions = [
|
777
|
+
39, 0, 47, 3, 1, 0, 25, 1,
|
778
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
779
|
+
25, 31, 0, 0, 0, 47, 5, 41,
|
780
|
+
119, 41, 0, 29, 111, 29, 29, 0,
|
781
|
+
7, 95, 0, 0, 103, 21, 0, 0,
|
782
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
783
|
+
0, 0, 0, 0, 0, 50, 0, 99,
|
784
|
+
19, 0, 23, 107, 23, 44, 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, 50, 124, 0, 47,
|
790
|
+
0, 65, 29, 77, 77, 77, 77, 77,
|
791
|
+
77, 77, 77, 77, 0, 0, 0, 0,
|
792
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
793
|
+
0, 11, 11, 27, 115, 53, 50, 27,
|
794
|
+
56, 50, 56, 56, 56, 56, 56, 56,
|
795
|
+
56, 56, 56, 59, 0, 0, 0, 0,
|
796
|
+
0, 0, 0, 0, 50, 124, 0, 47,
|
797
|
+
0, 74, 77, 0, 0, 0, 0, 0,
|
798
|
+
0, 17, 0, 0, 0, 0, 0, 0,
|
799
|
+
0, 50, 124, 0, 47, 0, 62, 29,
|
800
|
+
77, 77, 77, 77, 77, 0, 0, 0,
|
801
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
802
|
+
0, 0, 9, 0, 0, 0, 0, 0,
|
803
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
804
|
+
0, 0, 0, 0, 0, 0, 0, 9,
|
805
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
806
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
807
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
808
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
809
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
810
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
811
|
+
0, 0, 0, 0, 0, 0, 50, 124,
|
812
|
+
0, 47, 0, 68, 29, 77, 77, 77,
|
813
|
+
77, 77, 77, 77, 77, 77, 0, 0,
|
814
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
815
|
+
0, 0, 0, 13, 13, 0, 0, 0,
|
816
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
817
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
818
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
819
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
820
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
821
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
822
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
823
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
824
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
825
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
826
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
827
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
828
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
829
|
+
0, 0, 0, 50, 124, 0, 47, 0,
|
830
|
+
71, 29, 77, 77, 77, 77, 77, 77,
|
831
|
+
77, 77, 77, 0, 0, 0, 0, 0,
|
832
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
833
|
+
15, 15, 0, 0, 0, 0, 0, 0,
|
834
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
835
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
836
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
837
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
838
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
839
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
840
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
841
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
842
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
843
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
844
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
845
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
846
|
+
33, 33, 47, 33, 80, 0, 0, 35,
|
847
|
+
0, 0, 86, 83, 37, 89, 83, 89,
|
848
|
+
89, 89, 89, 89, 89, 89, 89, 89,
|
849
|
+
92, 0, 0, 0, 0, 0, 0, 0,
|
850
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
851
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
852
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
853
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
854
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
855
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
856
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
857
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
858
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
859
|
+
0
|
860
|
+
];
|
861
|
+
|
862
|
+
const _lexer_eof_actions = [
|
863
|
+
0, 39, 39, 39, 39, 39, 39, 39,
|
864
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
865
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
866
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
867
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
868
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
869
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
870
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
871
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
872
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
873
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
874
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
875
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
876
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
877
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
878
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
879
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
880
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
881
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
882
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
883
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
884
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
885
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
886
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
887
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
888
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
889
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
890
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
891
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
892
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
893
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
894
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
895
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
896
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
897
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
898
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
899
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
900
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
901
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
902
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
903
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
904
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
905
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
906
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
907
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
908
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
909
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
910
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
911
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
912
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
913
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
914
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
915
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
916
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
917
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
918
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
919
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
920
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
921
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
922
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
923
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
924
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
925
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
926
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
927
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
928
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
929
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
930
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
931
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
932
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
933
|
+
39, 39, 39
|
934
|
+
];
|
935
|
+
|
936
|
+
const lexer_start = 1;
|
937
|
+
const lexer_first_final = 562;
|
938
|
+
const lexer_error = 0;
|
939
|
+
|
940
|
+
const lexer_en_main = 1;
|
941
|
+
|
942
|
+
|
943
|
+
/* line 110 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
944
|
+
|
945
|
+
/* line 111 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
946
|
+
|
947
|
+
/* line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
948
|
+
|
949
|
+
var Lexer = function(listeners) {
|
950
|
+
// check that we have an 'on' method (for registering event listeners - Node has that)
|
951
|
+
// If not, make a trivial implementation that can register one listener. -Enough for testing.
|
952
|
+
|
953
|
+
if(!this.on) {
|
954
|
+
this._listeners = {};
|
955
|
+
|
956
|
+
this.on = function(event, cb) {
|
957
|
+
this._listeners[event] = cb;
|
958
|
+
};
|
959
|
+
|
960
|
+
this.emit = function() {
|
961
|
+
var event = arguments[0];
|
962
|
+
var args = [];
|
963
|
+
for(var i = 1; i < arguments.length; i++) {
|
964
|
+
args.push(arguments[i]);
|
965
|
+
}
|
966
|
+
var cb = this._listeners[event];
|
967
|
+
cb.apply(listeners, args);
|
968
|
+
};
|
969
|
+
}
|
970
|
+
|
971
|
+
var events = ['feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'py_string', 'row', 'end'];
|
972
|
+
for(e in events) {
|
973
|
+
var event = events[e];
|
974
|
+
var listener = listeners[event];
|
975
|
+
// if(!listener) {
|
976
|
+
// throw "No listener for " + event;
|
977
|
+
// }
|
978
|
+
this.on(event, listener);
|
979
|
+
}
|
980
|
+
|
981
|
+
|
982
|
+
/* line 983 "js/lib/gherkin/lexer/i18n/en_scouse.js" */
|
983
|
+
{
|
984
|
+
this.cs = lexer_start;
|
985
|
+
} /* JSCodeGen::writeInit */
|
986
|
+
|
987
|
+
/* line 146 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
988
|
+
};
|
989
|
+
|
990
|
+
if(typeof require == 'function') {
|
991
|
+
require('sys').inherits(Lexer, require('events').EventEmitter);
|
992
|
+
}
|
993
|
+
|
994
|
+
Lexer.prototype.scan = function(data) {
|
995
|
+
var p = 0;
|
996
|
+
var pe = data.length;
|
997
|
+
var eof = 0;
|
998
|
+
|
999
|
+
|
1000
|
+
/* line 1001 "js/lib/gherkin/lexer/i18n/en_scouse.js" */
|
1001
|
+
{
|
1002
|
+
var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
|
1003
|
+
var _goto_level, _resume, _eof_trans, _again, _test_eof;
|
1004
|
+
var _out;
|
1005
|
+
_klen = _trans = _keys = _acts = _nacts = null;
|
1006
|
+
_goto_level = 0;
|
1007
|
+
_resume = 10;
|
1008
|
+
_eof_trans = 15;
|
1009
|
+
_again = 20;
|
1010
|
+
_test_eof = 30;
|
1011
|
+
_out = 40;
|
1012
|
+
while (true) {
|
1013
|
+
_trigger_goto = false;
|
1014
|
+
if (_goto_level <= 0) {
|
1015
|
+
if (p == pe) {
|
1016
|
+
_goto_level = _test_eof;
|
1017
|
+
continue;
|
1018
|
+
}
|
1019
|
+
if ( this.cs == 0) {
|
1020
|
+
_goto_level = _out;
|
1021
|
+
continue;
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
if (_goto_level <= _resume) {
|
1025
|
+
_keys = _lexer_key_offsets[ this.cs];
|
1026
|
+
_trans = _lexer_index_offsets[ this.cs];
|
1027
|
+
_klen = _lexer_single_lengths[ this.cs];
|
1028
|
+
_break_match = false;
|
1029
|
+
|
1030
|
+
do {
|
1031
|
+
if (_klen > 0) {
|
1032
|
+
_lower = _keys;
|
1033
|
+
_upper = _keys + _klen - 1;
|
1034
|
+
|
1035
|
+
while (true) {
|
1036
|
+
if (_upper < _lower) { break; }
|
1037
|
+
_mid = _lower + ( (_upper - _lower) >> 1 );
|
1038
|
+
|
1039
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
1040
|
+
_upper = _mid - 1;
|
1041
|
+
} else if ( data[p] > _lexer_trans_keys[_mid]) {
|
1042
|
+
_lower = _mid + 1;
|
1043
|
+
} else {
|
1044
|
+
_trans += (_mid - _keys);
|
1045
|
+
_break_match = true;
|
1046
|
+
break;
|
1047
|
+
};
|
1048
|
+
} /* while */
|
1049
|
+
if (_break_match) { break; }
|
1050
|
+
_keys += _klen;
|
1051
|
+
_trans += _klen;
|
1052
|
+
}
|
1053
|
+
_klen = _lexer_range_lengths[ this.cs];
|
1054
|
+
if (_klen > 0) {
|
1055
|
+
_lower = _keys;
|
1056
|
+
_upper = _keys + (_klen << 1) - 2;
|
1057
|
+
while (true) {
|
1058
|
+
if (_upper < _lower) { break; }
|
1059
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
|
1060
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
1061
|
+
_upper = _mid - 2;
|
1062
|
+
} else if ( data[p] > _lexer_trans_keys[_mid+1]) {
|
1063
|
+
_lower = _mid + 2;
|
1064
|
+
} else {
|
1065
|
+
_trans += ((_mid - _keys) >> 1);
|
1066
|
+
_break_match = true;
|
1067
|
+
break;
|
1068
|
+
}
|
1069
|
+
} /* while */
|
1070
|
+
if (_break_match) { break; }
|
1071
|
+
_trans += _klen
|
1072
|
+
}
|
1073
|
+
} while (false);
|
1074
|
+
_trans = _lexer_indicies[_trans];
|
1075
|
+
this.cs = _lexer_trans_targs[_trans];
|
1076
|
+
if (_lexer_trans_actions[_trans] != 0) {
|
1077
|
+
_acts = _lexer_trans_actions[_trans];
|
1078
|
+
_nacts = _lexer_actions[_acts];
|
1079
|
+
_acts += 1;
|
1080
|
+
while (_nacts > 0) {
|
1081
|
+
_nacts -= 1;
|
1082
|
+
_acts += 1;
|
1083
|
+
switch (_lexer_actions[_acts - 1]) {
|
1084
|
+
case 0:
|
1085
|
+
/* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1086
|
+
|
1087
|
+
this.content_start = p;
|
1088
|
+
this.current_line = this.line_number;
|
1089
|
+
this.start_col = p - this.last_newline - (this.keyword+':').length;
|
1090
|
+
break;
|
1091
|
+
case 1:
|
1092
|
+
/* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1093
|
+
|
1094
|
+
this.current_line = this.line_number;
|
1095
|
+
this.start_col = p - this.last_newline;
|
1096
|
+
break;
|
1097
|
+
case 2:
|
1098
|
+
/* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1099
|
+
|
1100
|
+
this.content_start = p;
|
1101
|
+
break;
|
1102
|
+
case 3:
|
1103
|
+
/* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1104
|
+
|
1105
|
+
var con = this.unindent(
|
1106
|
+
this.start_col,
|
1107
|
+
this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*\Z/, '') // TODO .replace(/\"\"\"/mg, '"""')
|
1108
|
+
);
|
1109
|
+
this.emit('py_string', con, this.current_line);
|
1110
|
+
break;
|
1111
|
+
case 4:
|
1112
|
+
/* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1113
|
+
|
1114
|
+
p = this.store_keyword_content('feature', data, p, eof);
|
1115
|
+
break;
|
1116
|
+
case 5:
|
1117
|
+
/* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1118
|
+
|
1119
|
+
p = this.store_keyword_content('background', data, p, eof);
|
1120
|
+
break;
|
1121
|
+
case 6:
|
1122
|
+
/* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1123
|
+
|
1124
|
+
p = this.store_keyword_content('scenario', data, p, eof);
|
1125
|
+
break;
|
1126
|
+
case 7:
|
1127
|
+
/* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1128
|
+
|
1129
|
+
p = this.store_keyword_content('scenario_outline', data, p, eof);
|
1130
|
+
break;
|
1131
|
+
case 8:
|
1132
|
+
/* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1133
|
+
|
1134
|
+
p = this.store_keyword_content('examples', data, p, eof);
|
1135
|
+
break;
|
1136
|
+
case 9:
|
1137
|
+
/* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1138
|
+
|
1139
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
1140
|
+
this.emit('step', this.keyword, con, this.current_line);
|
1141
|
+
break;
|
1142
|
+
case 10:
|
1143
|
+
/* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1144
|
+
|
1145
|
+
console.log('TODO: store_comment_content');
|
1146
|
+
break;
|
1147
|
+
case 11:
|
1148
|
+
/* line 58 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1149
|
+
|
1150
|
+
console.log('TODO: store_tag_content');
|
1151
|
+
break;
|
1152
|
+
case 12:
|
1153
|
+
/* line 62 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1154
|
+
|
1155
|
+
this.line_number++;
|
1156
|
+
break;
|
1157
|
+
case 13:
|
1158
|
+
/* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1159
|
+
|
1160
|
+
this.last_newline = p + 1;
|
1161
|
+
break;
|
1162
|
+
case 14:
|
1163
|
+
/* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1164
|
+
|
1165
|
+
this.keyword_start = this.keyword_start || p;
|
1166
|
+
break;
|
1167
|
+
case 15:
|
1168
|
+
/* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1169
|
+
|
1170
|
+
this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
|
1171
|
+
this.keyword_start = null;
|
1172
|
+
break;
|
1173
|
+
case 16:
|
1174
|
+
/* line 79 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1175
|
+
|
1176
|
+
this.next_keyword_start = p;
|
1177
|
+
break;
|
1178
|
+
case 17:
|
1179
|
+
/* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1180
|
+
|
1181
|
+
p = p - 1;
|
1182
|
+
current_row = [];
|
1183
|
+
this.current_line = this.line_number;
|
1184
|
+
break;
|
1185
|
+
case 18:
|
1186
|
+
/* line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1187
|
+
|
1188
|
+
this.content_start = p;
|
1189
|
+
break;
|
1190
|
+
case 19:
|
1191
|
+
/* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1192
|
+
|
1193
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
1194
|
+
current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
|
1195
|
+
break;
|
1196
|
+
case 20:
|
1197
|
+
/* line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1198
|
+
|
1199
|
+
this.emit('row', current_row, this.current_line);
|
1200
|
+
break;
|
1201
|
+
case 21:
|
1202
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1203
|
+
|
1204
|
+
console.log('TODO: end_feature');
|
1205
|
+
break;
|
1206
|
+
/* line 1207 "js/lib/gherkin/lexer/i18n/en_scouse.js" */
|
1207
|
+
} /* action switch */
|
1208
|
+
}
|
1209
|
+
}
|
1210
|
+
if (_trigger_goto) {
|
1211
|
+
continue;
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
if (_goto_level <= _again) {
|
1215
|
+
if ( this.cs == 0) {
|
1216
|
+
_goto_level = _out;
|
1217
|
+
continue;
|
1218
|
+
}
|
1219
|
+
p += 1;
|
1220
|
+
if (p != pe) {
|
1221
|
+
_goto_level = _resume;
|
1222
|
+
continue;
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
if (_goto_level <= _test_eof) {
|
1226
|
+
if (p == eof) {
|
1227
|
+
__acts = _lexer_eof_actions[ this.cs];
|
1228
|
+
__nacts = _lexer_actions[__acts];
|
1229
|
+
__acts += 1;
|
1230
|
+
while (__nacts > 0) {
|
1231
|
+
__nacts -= 1;
|
1232
|
+
__acts += 1;
|
1233
|
+
switch (_lexer_actions[__acts - 1]) {
|
1234
|
+
case 21:
|
1235
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1236
|
+
|
1237
|
+
console.log('TODO: end_feature');
|
1238
|
+
break;
|
1239
|
+
/* line 1240 "js/lib/gherkin/lexer/i18n/en_scouse.js" */
|
1240
|
+
} /* eof action switch */
|
1241
|
+
}
|
1242
|
+
if (_trigger_goto) {
|
1243
|
+
continue;
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
if (_goto_level <= _out) {
|
1248
|
+
break;
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
/* line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/en_scouse.js.rl" */
|
1254
|
+
};
|
1255
|
+
|
1256
|
+
Lexer.prototype.bytesToString = function(bytes) {
|
1257
|
+
if(typeof bytes.write == 'function') {
|
1258
|
+
// Node.js
|
1259
|
+
return bytes.toString('utf-8');
|
1260
|
+
} else {
|
1261
|
+
var result = "";
|
1262
|
+
for(var b in bytes) {
|
1263
|
+
result += String.fromCharCode(bytes[b]);
|
1264
|
+
}
|
1265
|
+
return result;
|
1266
|
+
}
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
Lexer.prototype.unindent = function(startcol, text) {
|
1270
|
+
startcol = startcol || 0;
|
1271
|
+
return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
|
1272
|
+
};
|
1273
|
+
|
1274
|
+
Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
|
1275
|
+
var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
|
1276
|
+
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).trimRight();
|
1277
|
+
var content_lines = content.split("\n")
|
1278
|
+
var name = content_lines.shift() || "";
|
1279
|
+
name = name.trim();
|
1280
|
+
var description = content_lines.join("\n");
|
1281
|
+
this.emit(event, this.keyword, name, description, this.current_line);
|
1282
|
+
var nks = this.next_keyword_start;
|
1283
|
+
this.next_keyword_start = null;
|
1284
|
+
return nks ? nks - 1 : p;
|
1285
|
+
};
|
1286
|
+
|
1287
|
+
exports.Lexer = Lexer;
|
1288
|
+
|
1289
|
+
})();
|