@wireweave/core 2.3.1 → 2.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1904 -815
- package/dist/index.d.cts +118 -17
- package/dist/index.d.ts +118 -17
- package/dist/index.js +1904 -815
- package/dist/parser.cjs +1286 -755
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +1286 -755
- package/dist/renderer.cjs +328 -6
- package/dist/renderer.d.cts +6 -1
- package/dist/renderer.d.ts +6 -1
- package/dist/renderer.js +328 -6
- package/dist/{types-D0t4JRY3.d.cts → types-EbEsGNxL.d.cts} +105 -5
- package/dist/{types-D0t4JRY3.d.ts → types-EbEsGNxL.d.ts} +105 -5
- package/package.json +1 -1
package/dist/parser.cjs
CHANGED
|
@@ -145,71 +145,75 @@ function peg$parse(input, options) {
|
|
|
145
145
|
const peg$c6 = "sidebar";
|
|
146
146
|
const peg$c7 = "row";
|
|
147
147
|
const peg$c8 = "col";
|
|
148
|
-
const peg$c9 = "
|
|
149
|
-
const peg$c10 = "
|
|
150
|
-
const peg$c11 = "
|
|
151
|
-
const peg$c12 = "
|
|
152
|
-
const peg$c13 = "
|
|
153
|
-
const peg$c14 = "
|
|
154
|
-
const peg$c15 = "
|
|
155
|
-
const peg$c16 = "
|
|
156
|
-
const peg$c17 = "
|
|
157
|
-
const peg$c18 = "
|
|
158
|
-
const peg$c19 = "
|
|
159
|
-
const peg$c20 = "
|
|
160
|
-
const peg$c21 = "
|
|
161
|
-
const peg$c22 = "
|
|
162
|
-
const peg$c23 = "
|
|
163
|
-
const peg$c24 = "
|
|
164
|
-
const peg$c25 = "
|
|
165
|
-
const peg$c26 = "
|
|
166
|
-
const peg$c27 = "
|
|
167
|
-
const peg$c28 = "
|
|
168
|
-
const peg$c29 = "
|
|
169
|
-
const peg$c30 = "
|
|
170
|
-
const peg$c31 = "
|
|
171
|
-
const peg$c32 = "
|
|
172
|
-
const peg$c33 = "
|
|
173
|
-
const peg$c34 = "
|
|
174
|
-
const peg$c35 = "
|
|
175
|
-
const peg$c36 = "
|
|
176
|
-
const peg$c37 = "
|
|
177
|
-
const peg$c38 = "
|
|
178
|
-
const peg$c39 = "
|
|
179
|
-
const peg$c40 = "
|
|
180
|
-
const peg$c41 = "
|
|
181
|
-
const peg$c42 = "
|
|
182
|
-
const peg$c43 = "
|
|
183
|
-
const peg$c44 = "
|
|
184
|
-
const peg$c45 = "
|
|
185
|
-
const peg$c46 = "
|
|
186
|
-
const peg$c47 = "
|
|
187
|
-
const peg$c48 = "
|
|
188
|
-
const peg$c49 = "
|
|
189
|
-
const peg$c50 = "
|
|
190
|
-
const peg$c51 = "
|
|
191
|
-
const peg$c52 = "
|
|
192
|
-
const peg$c53 =
|
|
193
|
-
const peg$c54 = "
|
|
194
|
-
const peg$c55 = "
|
|
195
|
-
const peg$c56 = "
|
|
196
|
-
const peg$c57 = "
|
|
197
|
-
const peg$c58 = "
|
|
198
|
-
const peg$c59 = "
|
|
199
|
-
const peg$c60 = "
|
|
200
|
-
const peg$c61 = "
|
|
201
|
-
const peg$c62 = "
|
|
202
|
-
const peg$c63 = "
|
|
203
|
-
const peg$c64 = "
|
|
204
|
-
const peg$c65 = "
|
|
205
|
-
const peg$c66 = "
|
|
206
|
-
const peg$c67 = "
|
|
207
|
-
const peg$c68 = "
|
|
208
|
-
const peg$c69 = "
|
|
209
|
-
const peg$c70 = "
|
|
210
|
-
const peg$
|
|
211
|
-
const peg$
|
|
212
|
-
const peg$
|
|
148
|
+
const peg$c9 = "stack";
|
|
149
|
+
const peg$c10 = "relative";
|
|
150
|
+
const peg$c11 = "card";
|
|
151
|
+
const peg$c12 = "modal";
|
|
152
|
+
const peg$c13 = "drawer";
|
|
153
|
+
const peg$c14 = "accordion";
|
|
154
|
+
const peg$c15 = "section";
|
|
155
|
+
const peg$c16 = "text";
|
|
156
|
+
const peg$c17 = "title";
|
|
157
|
+
const peg$c18 = "link";
|
|
158
|
+
const peg$c19 = "button";
|
|
159
|
+
const peg$c20 = "input";
|
|
160
|
+
const peg$c21 = "textarea";
|
|
161
|
+
const peg$c22 = "select";
|
|
162
|
+
const peg$c23 = "checkbox";
|
|
163
|
+
const peg$c24 = "radio";
|
|
164
|
+
const peg$c25 = "switch";
|
|
165
|
+
const peg$c26 = "slider";
|
|
166
|
+
const peg$c27 = "image";
|
|
167
|
+
const peg$c28 = "placeholder";
|
|
168
|
+
const peg$c29 = "avatar";
|
|
169
|
+
const peg$c30 = "badge";
|
|
170
|
+
const peg$c31 = "icon";
|
|
171
|
+
const peg$c32 = "table";
|
|
172
|
+
const peg$c33 = "[";
|
|
173
|
+
const peg$c34 = ",";
|
|
174
|
+
const peg$c35 = "]";
|
|
175
|
+
const peg$c36 = "columns";
|
|
176
|
+
const peg$c37 = "list";
|
|
177
|
+
const peg$c38 = "item";
|
|
178
|
+
const peg$c39 = "alert";
|
|
179
|
+
const peg$c40 = "toast";
|
|
180
|
+
const peg$c41 = "progress";
|
|
181
|
+
const peg$c42 = "spinner";
|
|
182
|
+
const peg$c43 = "tooltip";
|
|
183
|
+
const peg$c44 = "popover";
|
|
184
|
+
const peg$c45 = "dropdown";
|
|
185
|
+
const peg$c46 = "divider";
|
|
186
|
+
const peg$c47 = "nav";
|
|
187
|
+
const peg$c48 = "group";
|
|
188
|
+
const peg$c49 = "tabs";
|
|
189
|
+
const peg$c50 = "tab";
|
|
190
|
+
const peg$c51 = "breadcrumb";
|
|
191
|
+
const peg$c52 = "marker";
|
|
192
|
+
const peg$c53 = "annotations";
|
|
193
|
+
const peg$c54 = "=";
|
|
194
|
+
const peg$c55 = "//";
|
|
195
|
+
const peg$c56 = "/*";
|
|
196
|
+
const peg$c57 = '"';
|
|
197
|
+
const peg$c58 = "'";
|
|
198
|
+
const peg$c59 = "\\";
|
|
199
|
+
const peg$c60 = "n";
|
|
200
|
+
const peg$c61 = "r";
|
|
201
|
+
const peg$c62 = "t";
|
|
202
|
+
const peg$c63 = "-";
|
|
203
|
+
const peg$c64 = ".";
|
|
204
|
+
const peg$c65 = "px";
|
|
205
|
+
const peg$c66 = "%";
|
|
206
|
+
const peg$c67 = "em";
|
|
207
|
+
const peg$c68 = "rem";
|
|
208
|
+
const peg$c69 = "vh";
|
|
209
|
+
const peg$c70 = "vw";
|
|
210
|
+
const peg$c71 = "true";
|
|
211
|
+
const peg$c72 = "false";
|
|
212
|
+
const peg$c73 = "\n";
|
|
213
|
+
const peg$c74 = "*/";
|
|
214
|
+
const peg$r0 = /^[0-9]/;
|
|
215
|
+
const peg$r1 = /^[=[{}]/;
|
|
216
|
+
const peg$r2 = /^[a-zA-Z0-9_\-]/;
|
|
213
217
|
const peg$r3 = /^[a-zA-Z_]/;
|
|
214
218
|
const peg$r4 = /^[ \t\n\r]/;
|
|
215
219
|
const peg$r5 = /^[^\n]/;
|
|
@@ -222,81 +226,86 @@ function peg$parse(input, options) {
|
|
|
222
226
|
const peg$e6 = peg$literalExpectation("sidebar", false);
|
|
223
227
|
const peg$e7 = peg$literalExpectation("row", false);
|
|
224
228
|
const peg$e8 = peg$literalExpectation("col", false);
|
|
225
|
-
const peg$e9 = peg$literalExpectation("
|
|
226
|
-
const peg$e10 = peg$literalExpectation("
|
|
227
|
-
const peg$e11 = peg$literalExpectation("
|
|
228
|
-
const peg$e12 = peg$literalExpectation("
|
|
229
|
-
const peg$e13 = peg$literalExpectation("
|
|
230
|
-
const peg$e14 = peg$literalExpectation("
|
|
231
|
-
const peg$e15 = peg$literalExpectation("
|
|
232
|
-
const peg$e16 = peg$literalExpectation("
|
|
233
|
-
const peg$e17 = peg$literalExpectation("
|
|
234
|
-
const peg$e18 = peg$literalExpectation("
|
|
235
|
-
const peg$e19 = peg$literalExpectation("
|
|
236
|
-
const peg$e20 = peg$literalExpectation("
|
|
237
|
-
const peg$e21 = peg$literalExpectation("
|
|
238
|
-
const peg$e22 = peg$literalExpectation("
|
|
239
|
-
const peg$e23 = peg$literalExpectation("
|
|
240
|
-
const peg$e24 = peg$literalExpectation("
|
|
241
|
-
const peg$e25 = peg$literalExpectation("
|
|
242
|
-
const peg$e26 = peg$literalExpectation("
|
|
243
|
-
const peg$e27 = peg$literalExpectation("
|
|
244
|
-
const peg$e28 = peg$literalExpectation("
|
|
245
|
-
const peg$e29 = peg$literalExpectation("
|
|
246
|
-
const peg$e30 = peg$literalExpectation("
|
|
247
|
-
const peg$e31 = peg$literalExpectation("
|
|
248
|
-
const peg$e32 = peg$literalExpectation("
|
|
249
|
-
const peg$e33 = peg$literalExpectation("
|
|
250
|
-
const peg$e34 = peg$literalExpectation("
|
|
251
|
-
const peg$e35 = peg$literalExpectation("
|
|
252
|
-
const peg$e36 = peg$literalExpectation("
|
|
253
|
-
const peg$e37 = peg$literalExpectation("
|
|
254
|
-
const peg$e38 = peg$literalExpectation("
|
|
255
|
-
const peg$e39 = peg$literalExpectation("
|
|
256
|
-
const peg$e40 = peg$literalExpectation("
|
|
257
|
-
const peg$e41 = peg$literalExpectation("
|
|
258
|
-
const peg$e42 = peg$literalExpectation("
|
|
259
|
-
const peg$e43 = peg$literalExpectation("
|
|
260
|
-
const peg$e44 = peg$literalExpectation("
|
|
261
|
-
const peg$e45 = peg$literalExpectation("
|
|
262
|
-
const peg$e46 = peg$literalExpectation("
|
|
263
|
-
const peg$e47 = peg$literalExpectation("
|
|
264
|
-
const peg$e48 = peg$literalExpectation("
|
|
265
|
-
const peg$e49 = peg$literalExpectation("
|
|
266
|
-
const peg$e50 = peg$literalExpectation("
|
|
267
|
-
const peg$e51 = peg$
|
|
268
|
-
const peg$e52 = peg$literalExpectation("
|
|
269
|
-
const peg$e53 = peg$literalExpectation("
|
|
270
|
-
const peg$e54 = peg$
|
|
271
|
-
const peg$e55 = peg$classExpectation([["
|
|
272
|
-
const peg$e56 = peg$
|
|
273
|
-
const peg$e57 = peg$
|
|
274
|
-
const peg$e58 = peg$literalExpectation("
|
|
275
|
-
const peg$e59 = peg$literalExpectation("
|
|
276
|
-
const peg$e60 = peg$
|
|
277
|
-
const peg$e61 = peg$
|
|
278
|
-
const peg$e62 = peg$
|
|
279
|
-
const peg$e63 = peg$
|
|
280
|
-
const peg$e64 = peg$literalExpectation("
|
|
281
|
-
const peg$e65 = peg$
|
|
282
|
-
const peg$e66 = peg$literalExpectation("
|
|
283
|
-
const peg$e67 = peg$
|
|
284
|
-
const peg$e68 = peg$literalExpectation("
|
|
285
|
-
const peg$e69 = peg$
|
|
286
|
-
const peg$e70 = peg$literalExpectation("
|
|
287
|
-
const peg$e71 = peg$literalExpectation("
|
|
288
|
-
const peg$e72 = peg$
|
|
289
|
-
const peg$e73 = peg$literalExpectation("
|
|
290
|
-
const peg$e74 = peg$
|
|
291
|
-
const peg$e75 = peg$literalExpectation("
|
|
292
|
-
const peg$e76 = peg$literalExpectation("
|
|
293
|
-
const peg$e77 = peg$
|
|
294
|
-
const peg$e78 = peg$
|
|
295
|
-
const peg$e79 = peg$
|
|
296
|
-
const peg$e80 = peg$
|
|
297
|
-
const peg$e81 = peg$
|
|
298
|
-
const peg$e82 = peg$
|
|
299
|
-
const peg$e83 = peg$
|
|
229
|
+
const peg$e9 = peg$literalExpectation("stack", false);
|
|
230
|
+
const peg$e10 = peg$literalExpectation("relative", false);
|
|
231
|
+
const peg$e11 = peg$literalExpectation("card", false);
|
|
232
|
+
const peg$e12 = peg$literalExpectation("modal", false);
|
|
233
|
+
const peg$e13 = peg$literalExpectation("drawer", false);
|
|
234
|
+
const peg$e14 = peg$literalExpectation("accordion", false);
|
|
235
|
+
const peg$e15 = peg$literalExpectation("section", false);
|
|
236
|
+
const peg$e16 = peg$literalExpectation("text", false);
|
|
237
|
+
const peg$e17 = peg$literalExpectation("title", false);
|
|
238
|
+
const peg$e18 = peg$literalExpectation("link", false);
|
|
239
|
+
const peg$e19 = peg$literalExpectation("button", false);
|
|
240
|
+
const peg$e20 = peg$literalExpectation("input", false);
|
|
241
|
+
const peg$e21 = peg$literalExpectation("textarea", false);
|
|
242
|
+
const peg$e22 = peg$literalExpectation("select", false);
|
|
243
|
+
const peg$e23 = peg$literalExpectation("checkbox", false);
|
|
244
|
+
const peg$e24 = peg$literalExpectation("radio", false);
|
|
245
|
+
const peg$e25 = peg$literalExpectation("switch", false);
|
|
246
|
+
const peg$e26 = peg$literalExpectation("slider", false);
|
|
247
|
+
const peg$e27 = peg$literalExpectation("image", false);
|
|
248
|
+
const peg$e28 = peg$literalExpectation("placeholder", false);
|
|
249
|
+
const peg$e29 = peg$literalExpectation("avatar", false);
|
|
250
|
+
const peg$e30 = peg$literalExpectation("badge", false);
|
|
251
|
+
const peg$e31 = peg$literalExpectation("icon", false);
|
|
252
|
+
const peg$e32 = peg$literalExpectation("table", false);
|
|
253
|
+
const peg$e33 = peg$literalExpectation("[", false);
|
|
254
|
+
const peg$e34 = peg$literalExpectation(",", false);
|
|
255
|
+
const peg$e35 = peg$literalExpectation("]", false);
|
|
256
|
+
const peg$e36 = peg$literalExpectation("columns", false);
|
|
257
|
+
const peg$e37 = peg$literalExpectation("list", false);
|
|
258
|
+
const peg$e38 = peg$literalExpectation("item", false);
|
|
259
|
+
const peg$e39 = peg$literalExpectation("alert", false);
|
|
260
|
+
const peg$e40 = peg$literalExpectation("toast", false);
|
|
261
|
+
const peg$e41 = peg$literalExpectation("progress", false);
|
|
262
|
+
const peg$e42 = peg$literalExpectation("spinner", false);
|
|
263
|
+
const peg$e43 = peg$literalExpectation("tooltip", false);
|
|
264
|
+
const peg$e44 = peg$literalExpectation("popover", false);
|
|
265
|
+
const peg$e45 = peg$literalExpectation("dropdown", false);
|
|
266
|
+
const peg$e46 = peg$literalExpectation("divider", false);
|
|
267
|
+
const peg$e47 = peg$literalExpectation("nav", false);
|
|
268
|
+
const peg$e48 = peg$literalExpectation("group", false);
|
|
269
|
+
const peg$e49 = peg$literalExpectation("tabs", false);
|
|
270
|
+
const peg$e50 = peg$literalExpectation("tab", false);
|
|
271
|
+
const peg$e51 = peg$literalExpectation("breadcrumb", false);
|
|
272
|
+
const peg$e52 = peg$literalExpectation("marker", false);
|
|
273
|
+
const peg$e53 = peg$literalExpectation("annotations", false);
|
|
274
|
+
const peg$e54 = peg$otherExpectation("integer");
|
|
275
|
+
const peg$e55 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
276
|
+
const peg$e56 = peg$literalExpectation("=", false);
|
|
277
|
+
const peg$e57 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
278
|
+
const peg$e58 = peg$literalExpectation("//", false);
|
|
279
|
+
const peg$e59 = peg$literalExpectation("/*", false);
|
|
280
|
+
const peg$e60 = peg$anyExpectation();
|
|
281
|
+
const peg$e61 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
282
|
+
const peg$e62 = peg$otherExpectation("string");
|
|
283
|
+
const peg$e63 = peg$literalExpectation('"', false);
|
|
284
|
+
const peg$e64 = peg$literalExpectation("'", false);
|
|
285
|
+
const peg$e65 = peg$literalExpectation("\\", false);
|
|
286
|
+
const peg$e66 = peg$literalExpectation("n", false);
|
|
287
|
+
const peg$e67 = peg$literalExpectation("r", false);
|
|
288
|
+
const peg$e68 = peg$literalExpectation("t", false);
|
|
289
|
+
const peg$e69 = peg$otherExpectation("number");
|
|
290
|
+
const peg$e70 = peg$literalExpectation("-", false);
|
|
291
|
+
const peg$e71 = peg$literalExpectation(".", false);
|
|
292
|
+
const peg$e72 = peg$otherExpectation("value with unit");
|
|
293
|
+
const peg$e73 = peg$literalExpectation("px", false);
|
|
294
|
+
const peg$e74 = peg$literalExpectation("%", false);
|
|
295
|
+
const peg$e75 = peg$literalExpectation("em", false);
|
|
296
|
+
const peg$e76 = peg$literalExpectation("rem", false);
|
|
297
|
+
const peg$e77 = peg$literalExpectation("vh", false);
|
|
298
|
+
const peg$e78 = peg$literalExpectation("vw", false);
|
|
299
|
+
const peg$e79 = peg$otherExpectation("boolean");
|
|
300
|
+
const peg$e80 = peg$literalExpectation("true", false);
|
|
301
|
+
const peg$e81 = peg$literalExpectation("false", false);
|
|
302
|
+
const peg$e82 = peg$otherExpectation("identifier");
|
|
303
|
+
const peg$e83 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
304
|
+
const peg$e84 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
305
|
+
const peg$e85 = peg$otherExpectation("comment");
|
|
306
|
+
const peg$e86 = peg$classExpectation(["\n"], true, false, false);
|
|
307
|
+
const peg$e87 = peg$literalExpectation("\n", false);
|
|
308
|
+
const peg$e88 = peg$literalExpectation("*/", false);
|
|
300
309
|
function peg$f0(children) {
|
|
301
310
|
return createNode("Document", { children: children.filter((c) => c !== null) });
|
|
302
311
|
}
|
|
@@ -352,66 +361,78 @@ function peg$parse(input, options) {
|
|
|
352
361
|
children
|
|
353
362
|
});
|
|
354
363
|
}
|
|
355
|
-
function peg$f11(
|
|
364
|
+
function peg$f11(attrs, children) {
|
|
365
|
+
return createNode("Stack", {
|
|
366
|
+
...attrsToObject(attrs),
|
|
367
|
+
children
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
function peg$f12(attrs, children) {
|
|
371
|
+
return createNode("Relative", {
|
|
372
|
+
...attrsToObject(attrs),
|
|
373
|
+
children
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
function peg$f13(label, attrs, children) {
|
|
356
377
|
return createNode("Card", {
|
|
357
378
|
title: label || null,
|
|
358
379
|
...attrsToObject(attrs),
|
|
359
380
|
children
|
|
360
381
|
});
|
|
361
382
|
}
|
|
362
|
-
function peg$
|
|
383
|
+
function peg$f14(label, attrs, children) {
|
|
363
384
|
return createNode("Modal", {
|
|
364
385
|
title: label || null,
|
|
365
386
|
...attrsToObject(attrs),
|
|
366
387
|
children
|
|
367
388
|
});
|
|
368
389
|
}
|
|
369
|
-
function peg$
|
|
390
|
+
function peg$f15(label, attrs, children) {
|
|
370
391
|
return createNode("Drawer", {
|
|
371
392
|
title: label || null,
|
|
372
393
|
...attrsToObject(attrs),
|
|
373
394
|
children
|
|
374
395
|
});
|
|
375
396
|
}
|
|
376
|
-
function peg$
|
|
397
|
+
function peg$f16(label, attrs, children) {
|
|
377
398
|
return createNode("Accordion", {
|
|
378
399
|
title: label || null,
|
|
379
400
|
...attrsToObject(attrs),
|
|
380
401
|
children
|
|
381
402
|
});
|
|
382
403
|
}
|
|
383
|
-
function peg$
|
|
404
|
+
function peg$f17(label, attrs, children) {
|
|
384
405
|
return createNode("Section", {
|
|
385
406
|
title: label || null,
|
|
386
407
|
...attrsToObject(attrs),
|
|
387
408
|
children
|
|
388
409
|
});
|
|
389
410
|
}
|
|
390
|
-
function peg$
|
|
411
|
+
function peg$f18(label, attrs) {
|
|
391
412
|
return createNode("Text", {
|
|
392
413
|
content: label,
|
|
393
414
|
...attrsToObject(attrs)
|
|
394
415
|
});
|
|
395
416
|
}
|
|
396
|
-
function peg$
|
|
417
|
+
function peg$f19(label, attrs) {
|
|
397
418
|
return createNode("Title", {
|
|
398
419
|
content: label,
|
|
399
420
|
...attrsToObject(attrs)
|
|
400
421
|
});
|
|
401
422
|
}
|
|
402
|
-
function peg$
|
|
423
|
+
function peg$f20(label, attrs) {
|
|
403
424
|
return createNode("Link", {
|
|
404
425
|
content: label,
|
|
405
426
|
...attrsToObject(attrs)
|
|
406
427
|
});
|
|
407
428
|
}
|
|
408
|
-
function peg$
|
|
429
|
+
function peg$f21(label, attrs) {
|
|
409
430
|
return createNode("Button", {
|
|
410
431
|
content: label,
|
|
411
432
|
...attrsToObject(attrs)
|
|
412
433
|
});
|
|
413
434
|
}
|
|
414
|
-
function peg$
|
|
435
|
+
function peg$f22(label, attrs) {
|
|
415
436
|
const obj = attrsToObject(attrs);
|
|
416
437
|
const inputType = obj.type;
|
|
417
438
|
delete obj.type;
|
|
@@ -421,75 +442,75 @@ function peg$parse(input, options) {
|
|
|
421
442
|
...obj
|
|
422
443
|
});
|
|
423
444
|
}
|
|
424
|
-
function peg$
|
|
445
|
+
function peg$f23(label, attrs) {
|
|
425
446
|
return createNode("Textarea", {
|
|
426
447
|
label: label || null,
|
|
427
448
|
...attrsToObject(attrs)
|
|
428
449
|
});
|
|
429
450
|
}
|
|
430
|
-
function peg$
|
|
451
|
+
function peg$f24(label, options2, attrs) {
|
|
431
452
|
return createNode("Select", {
|
|
432
453
|
label: label || null,
|
|
433
454
|
options: options2 || [],
|
|
434
455
|
...attrsToObject(attrs)
|
|
435
456
|
});
|
|
436
457
|
}
|
|
437
|
-
function peg$
|
|
458
|
+
function peg$f25(label, attrs) {
|
|
438
459
|
return createNode("Checkbox", {
|
|
439
460
|
label: label || null,
|
|
440
461
|
...attrsToObject(attrs)
|
|
441
462
|
});
|
|
442
463
|
}
|
|
443
|
-
function peg$
|
|
464
|
+
function peg$f26(label, attrs) {
|
|
444
465
|
return createNode("Radio", {
|
|
445
466
|
label: label || null,
|
|
446
467
|
...attrsToObject(attrs)
|
|
447
468
|
});
|
|
448
469
|
}
|
|
449
|
-
function peg$
|
|
470
|
+
function peg$f27(label, attrs) {
|
|
450
471
|
return createNode("Switch", {
|
|
451
472
|
label: label || null,
|
|
452
473
|
...attrsToObject(attrs)
|
|
453
474
|
});
|
|
454
475
|
}
|
|
455
|
-
function peg$
|
|
476
|
+
function peg$f28(label, attrs) {
|
|
456
477
|
return createNode("Slider", {
|
|
457
478
|
label: label || null,
|
|
458
479
|
...attrsToObject(attrs)
|
|
459
480
|
});
|
|
460
481
|
}
|
|
461
|
-
function peg$
|
|
482
|
+
function peg$f29(src, attrs) {
|
|
462
483
|
return createNode("Image", {
|
|
463
484
|
src: src || null,
|
|
464
485
|
...attrsToObject(attrs)
|
|
465
486
|
});
|
|
466
487
|
}
|
|
467
|
-
function peg$
|
|
488
|
+
function peg$f30(label, attrs, block) {
|
|
468
489
|
return createNode("Placeholder", {
|
|
469
490
|
label: label || null,
|
|
470
491
|
...attrsToObject(attrs),
|
|
471
492
|
children: block ? block[2] : []
|
|
472
493
|
});
|
|
473
494
|
}
|
|
474
|
-
function peg$
|
|
495
|
+
function peg$f31(label, attrs) {
|
|
475
496
|
return createNode("Avatar", {
|
|
476
497
|
name: label || null,
|
|
477
498
|
...attrsToObject(attrs)
|
|
478
499
|
});
|
|
479
500
|
}
|
|
480
|
-
function peg$
|
|
501
|
+
function peg$f32(label, attrs) {
|
|
481
502
|
return createNode("Badge", {
|
|
482
503
|
content: label,
|
|
483
504
|
...attrsToObject(attrs)
|
|
484
505
|
});
|
|
485
506
|
}
|
|
486
|
-
function peg$
|
|
507
|
+
function peg$f33(name, attrs) {
|
|
487
508
|
return createNode("Icon", {
|
|
488
509
|
name,
|
|
489
510
|
...attrsToObject(attrs)
|
|
490
511
|
});
|
|
491
512
|
}
|
|
492
|
-
function peg$
|
|
513
|
+
function peg$f34(data, attrs) {
|
|
493
514
|
const columns = data.length > 0 ? data[0] : [];
|
|
494
515
|
const rows = data.slice(1);
|
|
495
516
|
return createNode("Table", {
|
|
@@ -498,16 +519,16 @@ function peg$parse(input, options) {
|
|
|
498
519
|
...attrsToObject(attrs)
|
|
499
520
|
});
|
|
500
521
|
}
|
|
501
|
-
function peg$
|
|
522
|
+
function peg$f35(attrs, rows) {
|
|
502
523
|
return createNode("Table", {
|
|
503
524
|
...attrsToObject(attrs),
|
|
504
525
|
...rows
|
|
505
526
|
});
|
|
506
527
|
}
|
|
507
|
-
function peg$
|
|
528
|
+
function peg$f36(first, rest) {
|
|
508
529
|
return [first, ...rest.map((r) => r[2])];
|
|
509
530
|
}
|
|
510
|
-
function peg$
|
|
531
|
+
function peg$f37(items) {
|
|
511
532
|
const columns = [];
|
|
512
533
|
const rows = [];
|
|
513
534
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -516,72 +537,72 @@ function peg$parse(input, options) {
|
|
|
516
537
|
}
|
|
517
538
|
return { columns, rows };
|
|
518
539
|
}
|
|
519
|
-
function peg$
|
|
540
|
+
function peg$f38(values) {
|
|
520
541
|
return { type: "columns", values };
|
|
521
542
|
}
|
|
522
|
-
function peg$
|
|
543
|
+
function peg$f39(values) {
|
|
523
544
|
return { type: "row", values };
|
|
524
545
|
}
|
|
525
|
-
function peg$
|
|
546
|
+
function peg$f40() {
|
|
526
547
|
return null;
|
|
527
548
|
}
|
|
528
|
-
function peg$
|
|
549
|
+
function peg$f41(items, attrs, block) {
|
|
529
550
|
return createNode("List", {
|
|
530
551
|
items: items || (block ? block : []),
|
|
531
552
|
...attrsToObject(attrs)
|
|
532
553
|
});
|
|
533
554
|
}
|
|
534
|
-
function peg$
|
|
555
|
+
function peg$f42(items) {
|
|
535
556
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
536
557
|
}
|
|
537
|
-
function peg$
|
|
558
|
+
function peg$f43(label, attrs, nested) {
|
|
538
559
|
return {
|
|
539
560
|
content: label,
|
|
540
561
|
...attrsToObject(attrs),
|
|
541
562
|
children: nested || []
|
|
542
563
|
};
|
|
543
564
|
}
|
|
544
|
-
function peg$
|
|
565
|
+
function peg$f44() {
|
|
545
566
|
return null;
|
|
546
567
|
}
|
|
547
|
-
function peg$
|
|
568
|
+
function peg$f45(label, attrs) {
|
|
548
569
|
return createNode("Alert", {
|
|
549
570
|
content: label,
|
|
550
571
|
...attrsToObject(attrs)
|
|
551
572
|
});
|
|
552
573
|
}
|
|
553
|
-
function peg$
|
|
574
|
+
function peg$f46(label, attrs) {
|
|
554
575
|
return createNode("Toast", {
|
|
555
576
|
content: label,
|
|
556
577
|
...attrsToObject(attrs)
|
|
557
578
|
});
|
|
558
579
|
}
|
|
559
|
-
function peg$
|
|
580
|
+
function peg$f47(attrs) {
|
|
560
581
|
return createNode("Progress", {
|
|
561
582
|
...attrsToObject(attrs)
|
|
562
583
|
});
|
|
563
584
|
}
|
|
564
|
-
function peg$
|
|
585
|
+
function peg$f48(label, attrs) {
|
|
565
586
|
return createNode("Spinner", {
|
|
566
587
|
label: label || null,
|
|
567
588
|
...attrsToObject(attrs)
|
|
568
589
|
});
|
|
569
590
|
}
|
|
570
|
-
function peg$
|
|
591
|
+
function peg$f49(label, attrs) {
|
|
571
592
|
return createNode("Tooltip", {
|
|
572
593
|
content: label,
|
|
573
594
|
...attrsToObject(attrs),
|
|
574
595
|
children: []
|
|
575
596
|
});
|
|
576
597
|
}
|
|
577
|
-
function peg$
|
|
598
|
+
function peg$f50(label, attrs, children) {
|
|
578
599
|
return createNode("Popover", {
|
|
579
600
|
title: label || null,
|
|
580
601
|
...attrsToObject(attrs),
|
|
581
602
|
children
|
|
582
603
|
});
|
|
583
604
|
}
|
|
584
|
-
function peg$
|
|
605
|
+
function peg$f51(items, attrs) {
|
|
585
606
|
const processedItems = items.map((item) => {
|
|
586
607
|
if (typeof item === "string") {
|
|
587
608
|
if (item === "---" || item === "-" || item === "divider") {
|
|
@@ -596,41 +617,41 @@ function peg$parse(input, options) {
|
|
|
596
617
|
items: processedItems
|
|
597
618
|
});
|
|
598
619
|
}
|
|
599
|
-
function peg$
|
|
620
|
+
function peg$f52(attrs, items) {
|
|
600
621
|
return createNode("Dropdown", {
|
|
601
622
|
...attrsToObject(attrs),
|
|
602
623
|
items
|
|
603
624
|
});
|
|
604
625
|
}
|
|
605
|
-
function peg$
|
|
626
|
+
function peg$f53(items) {
|
|
606
627
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
607
628
|
}
|
|
608
|
-
function peg$
|
|
629
|
+
function peg$f54(label, attrs) {
|
|
609
630
|
return { label, ...attrsToObject(attrs) };
|
|
610
631
|
}
|
|
611
|
-
function peg$
|
|
632
|
+
function peg$f55() {
|
|
612
633
|
return { type: "divider" };
|
|
613
634
|
}
|
|
614
|
-
function peg$
|
|
635
|
+
function peg$f56() {
|
|
615
636
|
return null;
|
|
616
637
|
}
|
|
617
|
-
function peg$
|
|
638
|
+
function peg$f57(items, attrs, block) {
|
|
618
639
|
return createNode("Nav", {
|
|
619
640
|
items: items || [],
|
|
620
641
|
...attrsToObject(attrs),
|
|
621
642
|
children: block || []
|
|
622
643
|
});
|
|
623
644
|
}
|
|
624
|
-
function peg$
|
|
645
|
+
function peg$f58(content) {
|
|
625
646
|
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
626
647
|
}
|
|
627
|
-
function peg$
|
|
648
|
+
function peg$f59() {
|
|
628
649
|
return { type: "divider" };
|
|
629
650
|
}
|
|
630
|
-
function peg$
|
|
651
|
+
function peg$f60() {
|
|
631
652
|
return null;
|
|
632
653
|
}
|
|
633
|
-
function peg$
|
|
654
|
+
function peg$f61(label, attrs, items) {
|
|
634
655
|
return {
|
|
635
656
|
type: "group",
|
|
636
657
|
label,
|
|
@@ -638,122 +659,159 @@ function peg$parse(input, options) {
|
|
|
638
659
|
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
639
660
|
};
|
|
640
661
|
}
|
|
641
|
-
function peg$
|
|
662
|
+
function peg$f62() {
|
|
642
663
|
return { type: "divider" };
|
|
643
664
|
}
|
|
644
|
-
function peg$
|
|
665
|
+
function peg$f63() {
|
|
645
666
|
return null;
|
|
646
667
|
}
|
|
647
|
-
function peg$
|
|
668
|
+
function peg$f64(label, attrs) {
|
|
648
669
|
return {
|
|
649
670
|
type: "item",
|
|
650
671
|
label,
|
|
651
672
|
...attrsToObject(attrs)
|
|
652
673
|
};
|
|
653
674
|
}
|
|
654
|
-
function peg$
|
|
675
|
+
function peg$f65(items, attrs, block) {
|
|
655
676
|
return createNode("Tabs", {
|
|
656
677
|
items: items || [],
|
|
657
678
|
...attrsToObject(attrs),
|
|
658
679
|
children: block || []
|
|
659
680
|
});
|
|
660
681
|
}
|
|
661
|
-
function peg$
|
|
682
|
+
function peg$f66(tabs) {
|
|
662
683
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
663
684
|
}
|
|
664
|
-
function peg$
|
|
685
|
+
function peg$f67(label, attrs, children) {
|
|
665
686
|
return {
|
|
666
687
|
label,
|
|
667
688
|
...attrsToObject(attrs),
|
|
668
689
|
children
|
|
669
690
|
};
|
|
670
691
|
}
|
|
671
|
-
function peg$
|
|
692
|
+
function peg$f68() {
|
|
672
693
|
return null;
|
|
673
694
|
}
|
|
674
|
-
function peg$
|
|
695
|
+
function peg$f69(items, attrs) {
|
|
675
696
|
return createNode("Breadcrumb", {
|
|
676
697
|
items,
|
|
677
698
|
...attrsToObject(attrs)
|
|
678
699
|
});
|
|
679
700
|
}
|
|
680
|
-
function peg$
|
|
701
|
+
function peg$f70(attrs) {
|
|
681
702
|
return createNode("Divider", {
|
|
682
703
|
...attrsToObject(attrs)
|
|
683
704
|
});
|
|
684
705
|
}
|
|
685
|
-
function peg$
|
|
706
|
+
function peg$f71(num, attrs) {
|
|
707
|
+
return createNode("Marker", {
|
|
708
|
+
number: num,
|
|
709
|
+
...attrsToObject(attrs)
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
function peg$f72(attrs, items) {
|
|
713
|
+
return createNode("Annotations", {
|
|
714
|
+
...attrsToObject(attrs),
|
|
715
|
+
children: items
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
function peg$f73(items) {
|
|
719
|
+
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
720
|
+
}
|
|
721
|
+
function peg$f74(num, title, attrs, children) {
|
|
722
|
+
return createNode("AnnotationItem", {
|
|
723
|
+
number: num,
|
|
724
|
+
title,
|
|
725
|
+
...attrsToObject(attrs),
|
|
726
|
+
children
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
function peg$f75(num, title, attrs) {
|
|
730
|
+
return createNode("AnnotationItem", {
|
|
731
|
+
number: num,
|
|
732
|
+
title,
|
|
733
|
+
...attrsToObject(attrs),
|
|
734
|
+
children: []
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
function peg$f76() {
|
|
738
|
+
return null;
|
|
739
|
+
}
|
|
740
|
+
function peg$f77(digits) {
|
|
741
|
+
return parseInt(digits.join(""), 10);
|
|
742
|
+
}
|
|
743
|
+
function peg$f78(attrs) {
|
|
686
744
|
return attrs;
|
|
687
745
|
}
|
|
688
|
-
function peg$
|
|
746
|
+
function peg$f79(name, value) {
|
|
689
747
|
return { name, value };
|
|
690
748
|
}
|
|
691
|
-
function peg$
|
|
749
|
+
function peg$f80(flag) {
|
|
692
750
|
return { name: flag, value: true };
|
|
693
751
|
}
|
|
694
|
-
function peg$
|
|
752
|
+
function peg$f81(name) {
|
|
695
753
|
return name;
|
|
696
754
|
}
|
|
697
|
-
function peg$
|
|
755
|
+
function peg$f82(chars) {
|
|
698
756
|
return chars.join("");
|
|
699
757
|
}
|
|
700
|
-
function peg$
|
|
758
|
+
function peg$f83(chars) {
|
|
701
759
|
return chars.join("");
|
|
702
760
|
}
|
|
703
|
-
function peg$
|
|
761
|
+
function peg$f84(char) {
|
|
704
762
|
return char;
|
|
705
763
|
}
|
|
706
|
-
function peg$
|
|
764
|
+
function peg$f85(seq) {
|
|
707
765
|
return seq;
|
|
708
766
|
}
|
|
709
|
-
function peg$
|
|
767
|
+
function peg$f86(char) {
|
|
710
768
|
return char;
|
|
711
769
|
}
|
|
712
|
-
function peg$
|
|
770
|
+
function peg$f87(seq) {
|
|
713
771
|
return seq;
|
|
714
772
|
}
|
|
715
|
-
function peg$
|
|
773
|
+
function peg$f88() {
|
|
716
774
|
return "\n";
|
|
717
775
|
}
|
|
718
|
-
function peg$
|
|
776
|
+
function peg$f89() {
|
|
719
777
|
return "\r";
|
|
720
778
|
}
|
|
721
|
-
function peg$
|
|
779
|
+
function peg$f90() {
|
|
722
780
|
return " ";
|
|
723
781
|
}
|
|
724
|
-
function peg$
|
|
782
|
+
function peg$f91() {
|
|
725
783
|
return "\\";
|
|
726
784
|
}
|
|
727
|
-
function peg$
|
|
785
|
+
function peg$f92() {
|
|
728
786
|
return '"';
|
|
729
787
|
}
|
|
730
|
-
function peg$
|
|
788
|
+
function peg$f93() {
|
|
731
789
|
return "'";
|
|
732
790
|
}
|
|
733
|
-
function peg$
|
|
791
|
+
function peg$f94(sign, digits, decimal) {
|
|
734
792
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
735
793
|
return parseFloat(num);
|
|
736
794
|
}
|
|
737
|
-
function peg$
|
|
795
|
+
function peg$f95(sign, digits, decimal, unit) {
|
|
738
796
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
739
797
|
return { value: parseFloat(num), unit };
|
|
740
798
|
}
|
|
741
|
-
function peg$
|
|
799
|
+
function peg$f96() {
|
|
742
800
|
return true;
|
|
743
801
|
}
|
|
744
|
-
function peg$
|
|
802
|
+
function peg$f97() {
|
|
745
803
|
return false;
|
|
746
804
|
}
|
|
747
|
-
function peg$
|
|
805
|
+
function peg$f98(head, tail) {
|
|
748
806
|
return head + tail.join("");
|
|
749
807
|
}
|
|
750
|
-
function peg$
|
|
808
|
+
function peg$f99(items) {
|
|
751
809
|
return items || [];
|
|
752
810
|
}
|
|
753
|
-
function peg$
|
|
811
|
+
function peg$f100(head, tail) {
|
|
754
812
|
return [head, ...tail.map((t) => t[3])];
|
|
755
813
|
}
|
|
756
|
-
function peg$
|
|
814
|
+
function peg$f101(props) {
|
|
757
815
|
const result = {};
|
|
758
816
|
if (props) {
|
|
759
817
|
for (const p of props) {
|
|
@@ -762,13 +820,13 @@ function peg$parse(input, options) {
|
|
|
762
820
|
}
|
|
763
821
|
return result;
|
|
764
822
|
}
|
|
765
|
-
function peg$
|
|
823
|
+
function peg$f102(head, tail) {
|
|
766
824
|
return [head, ...tail.map((t) => t[3])];
|
|
767
825
|
}
|
|
768
|
-
function peg$
|
|
826
|
+
function peg$f103(name, value) {
|
|
769
827
|
return { name, value };
|
|
770
828
|
}
|
|
771
|
-
function peg$
|
|
829
|
+
function peg$f104(name) {
|
|
772
830
|
return { name, value: true };
|
|
773
831
|
}
|
|
774
832
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -1065,6 +1123,12 @@ function peg$parse(input, options) {
|
|
|
1065
1123
|
s0 = peg$parseRow();
|
|
1066
1124
|
if (s0 === peg$FAILED) {
|
|
1067
1125
|
s0 = peg$parseCol();
|
|
1126
|
+
if (s0 === peg$FAILED) {
|
|
1127
|
+
s0 = peg$parseStack();
|
|
1128
|
+
if (s0 === peg$FAILED) {
|
|
1129
|
+
s0 = peg$parseRelative();
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1068
1132
|
}
|
|
1069
1133
|
}
|
|
1070
1134
|
}
|
|
@@ -1450,6 +1514,132 @@ function peg$parse(input, options) {
|
|
|
1450
1514
|
}
|
|
1451
1515
|
return s0;
|
|
1452
1516
|
}
|
|
1517
|
+
function peg$parseStack() {
|
|
1518
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
1519
|
+
s0 = peg$currPos;
|
|
1520
|
+
if (input.substr(peg$currPos, 5) === peg$c9) {
|
|
1521
|
+
s1 = peg$c9;
|
|
1522
|
+
peg$currPos += 5;
|
|
1523
|
+
} else {
|
|
1524
|
+
s1 = peg$FAILED;
|
|
1525
|
+
if (peg$silentFails === 0) {
|
|
1526
|
+
peg$fail(peg$e9);
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
if (s1 !== peg$FAILED) {
|
|
1530
|
+
s2 = peg$parse_();
|
|
1531
|
+
s3 = peg$parseAttributes();
|
|
1532
|
+
if (s3 === peg$FAILED) {
|
|
1533
|
+
s3 = null;
|
|
1534
|
+
}
|
|
1535
|
+
s4 = peg$parse_();
|
|
1536
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
1537
|
+
s5 = peg$c1;
|
|
1538
|
+
peg$currPos++;
|
|
1539
|
+
} else {
|
|
1540
|
+
s5 = peg$FAILED;
|
|
1541
|
+
if (peg$silentFails === 0) {
|
|
1542
|
+
peg$fail(peg$e1);
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
if (s5 !== peg$FAILED) {
|
|
1546
|
+
s6 = peg$parse_();
|
|
1547
|
+
s7 = peg$parseChildren();
|
|
1548
|
+
if (s7 !== peg$FAILED) {
|
|
1549
|
+
s8 = peg$parse_();
|
|
1550
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
1551
|
+
s9 = peg$c2;
|
|
1552
|
+
peg$currPos++;
|
|
1553
|
+
} else {
|
|
1554
|
+
s9 = peg$FAILED;
|
|
1555
|
+
if (peg$silentFails === 0) {
|
|
1556
|
+
peg$fail(peg$e2);
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
if (s9 !== peg$FAILED) {
|
|
1560
|
+
peg$savedPos = s0;
|
|
1561
|
+
s0 = peg$f11(s3, s7);
|
|
1562
|
+
} else {
|
|
1563
|
+
peg$currPos = s0;
|
|
1564
|
+
s0 = peg$FAILED;
|
|
1565
|
+
}
|
|
1566
|
+
} else {
|
|
1567
|
+
peg$currPos = s0;
|
|
1568
|
+
s0 = peg$FAILED;
|
|
1569
|
+
}
|
|
1570
|
+
} else {
|
|
1571
|
+
peg$currPos = s0;
|
|
1572
|
+
s0 = peg$FAILED;
|
|
1573
|
+
}
|
|
1574
|
+
} else {
|
|
1575
|
+
peg$currPos = s0;
|
|
1576
|
+
s0 = peg$FAILED;
|
|
1577
|
+
}
|
|
1578
|
+
return s0;
|
|
1579
|
+
}
|
|
1580
|
+
function peg$parseRelative() {
|
|
1581
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
1582
|
+
s0 = peg$currPos;
|
|
1583
|
+
if (input.substr(peg$currPos, 8) === peg$c10) {
|
|
1584
|
+
s1 = peg$c10;
|
|
1585
|
+
peg$currPos += 8;
|
|
1586
|
+
} else {
|
|
1587
|
+
s1 = peg$FAILED;
|
|
1588
|
+
if (peg$silentFails === 0) {
|
|
1589
|
+
peg$fail(peg$e10);
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
if (s1 !== peg$FAILED) {
|
|
1593
|
+
s2 = peg$parse_();
|
|
1594
|
+
s3 = peg$parseAttributes();
|
|
1595
|
+
if (s3 === peg$FAILED) {
|
|
1596
|
+
s3 = null;
|
|
1597
|
+
}
|
|
1598
|
+
s4 = peg$parse_();
|
|
1599
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
1600
|
+
s5 = peg$c1;
|
|
1601
|
+
peg$currPos++;
|
|
1602
|
+
} else {
|
|
1603
|
+
s5 = peg$FAILED;
|
|
1604
|
+
if (peg$silentFails === 0) {
|
|
1605
|
+
peg$fail(peg$e1);
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
if (s5 !== peg$FAILED) {
|
|
1609
|
+
s6 = peg$parse_();
|
|
1610
|
+
s7 = peg$parseChildren();
|
|
1611
|
+
if (s7 !== peg$FAILED) {
|
|
1612
|
+
s8 = peg$parse_();
|
|
1613
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
1614
|
+
s9 = peg$c2;
|
|
1615
|
+
peg$currPos++;
|
|
1616
|
+
} else {
|
|
1617
|
+
s9 = peg$FAILED;
|
|
1618
|
+
if (peg$silentFails === 0) {
|
|
1619
|
+
peg$fail(peg$e2);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
if (s9 !== peg$FAILED) {
|
|
1623
|
+
peg$savedPos = s0;
|
|
1624
|
+
s0 = peg$f12(s3, s7);
|
|
1625
|
+
} else {
|
|
1626
|
+
peg$currPos = s0;
|
|
1627
|
+
s0 = peg$FAILED;
|
|
1628
|
+
}
|
|
1629
|
+
} else {
|
|
1630
|
+
peg$currPos = s0;
|
|
1631
|
+
s0 = peg$FAILED;
|
|
1632
|
+
}
|
|
1633
|
+
} else {
|
|
1634
|
+
peg$currPos = s0;
|
|
1635
|
+
s0 = peg$FAILED;
|
|
1636
|
+
}
|
|
1637
|
+
} else {
|
|
1638
|
+
peg$currPos = s0;
|
|
1639
|
+
s0 = peg$FAILED;
|
|
1640
|
+
}
|
|
1641
|
+
return s0;
|
|
1642
|
+
}
|
|
1453
1643
|
function peg$parseContainerElement() {
|
|
1454
1644
|
let s0;
|
|
1455
1645
|
s0 = peg$parseCard();
|
|
@@ -1470,13 +1660,13 @@ function peg$parse(input, options) {
|
|
|
1470
1660
|
function peg$parseCard() {
|
|
1471
1661
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1472
1662
|
s0 = peg$currPos;
|
|
1473
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1474
|
-
s1 = peg$
|
|
1663
|
+
if (input.substr(peg$currPos, 4) === peg$c11) {
|
|
1664
|
+
s1 = peg$c11;
|
|
1475
1665
|
peg$currPos += 4;
|
|
1476
1666
|
} else {
|
|
1477
1667
|
s1 = peg$FAILED;
|
|
1478
1668
|
if (peg$silentFails === 0) {
|
|
1479
|
-
peg$fail(peg$
|
|
1669
|
+
peg$fail(peg$e11);
|
|
1480
1670
|
}
|
|
1481
1671
|
}
|
|
1482
1672
|
if (s1 !== peg$FAILED) {
|
|
@@ -1516,7 +1706,7 @@ function peg$parse(input, options) {
|
|
|
1516
1706
|
}
|
|
1517
1707
|
if (s11 !== peg$FAILED) {
|
|
1518
1708
|
peg$savedPos = s0;
|
|
1519
|
-
s0 = peg$
|
|
1709
|
+
s0 = peg$f13(s3, s5, s9);
|
|
1520
1710
|
} else {
|
|
1521
1711
|
peg$currPos = s0;
|
|
1522
1712
|
s0 = peg$FAILED;
|
|
@@ -1538,13 +1728,13 @@ function peg$parse(input, options) {
|
|
|
1538
1728
|
function peg$parseModal() {
|
|
1539
1729
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1540
1730
|
s0 = peg$currPos;
|
|
1541
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
1542
|
-
s1 = peg$
|
|
1731
|
+
if (input.substr(peg$currPos, 5) === peg$c12) {
|
|
1732
|
+
s1 = peg$c12;
|
|
1543
1733
|
peg$currPos += 5;
|
|
1544
1734
|
} else {
|
|
1545
1735
|
s1 = peg$FAILED;
|
|
1546
1736
|
if (peg$silentFails === 0) {
|
|
1547
|
-
peg$fail(peg$
|
|
1737
|
+
peg$fail(peg$e12);
|
|
1548
1738
|
}
|
|
1549
1739
|
}
|
|
1550
1740
|
if (s1 !== peg$FAILED) {
|
|
@@ -1584,7 +1774,7 @@ function peg$parse(input, options) {
|
|
|
1584
1774
|
}
|
|
1585
1775
|
if (s11 !== peg$FAILED) {
|
|
1586
1776
|
peg$savedPos = s0;
|
|
1587
|
-
s0 = peg$
|
|
1777
|
+
s0 = peg$f14(s3, s5, s9);
|
|
1588
1778
|
} else {
|
|
1589
1779
|
peg$currPos = s0;
|
|
1590
1780
|
s0 = peg$FAILED;
|
|
@@ -1606,13 +1796,13 @@ function peg$parse(input, options) {
|
|
|
1606
1796
|
function peg$parseDrawer() {
|
|
1607
1797
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1608
1798
|
s0 = peg$currPos;
|
|
1609
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
1610
|
-
s1 = peg$
|
|
1799
|
+
if (input.substr(peg$currPos, 6) === peg$c13) {
|
|
1800
|
+
s1 = peg$c13;
|
|
1611
1801
|
peg$currPos += 6;
|
|
1612
1802
|
} else {
|
|
1613
1803
|
s1 = peg$FAILED;
|
|
1614
1804
|
if (peg$silentFails === 0) {
|
|
1615
|
-
peg$fail(peg$
|
|
1805
|
+
peg$fail(peg$e13);
|
|
1616
1806
|
}
|
|
1617
1807
|
}
|
|
1618
1808
|
if (s1 !== peg$FAILED) {
|
|
@@ -1652,7 +1842,7 @@ function peg$parse(input, options) {
|
|
|
1652
1842
|
}
|
|
1653
1843
|
if (s11 !== peg$FAILED) {
|
|
1654
1844
|
peg$savedPos = s0;
|
|
1655
|
-
s0 = peg$
|
|
1845
|
+
s0 = peg$f15(s3, s5, s9);
|
|
1656
1846
|
} else {
|
|
1657
1847
|
peg$currPos = s0;
|
|
1658
1848
|
s0 = peg$FAILED;
|
|
@@ -1674,13 +1864,13 @@ function peg$parse(input, options) {
|
|
|
1674
1864
|
function peg$parseAccordion() {
|
|
1675
1865
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1676
1866
|
s0 = peg$currPos;
|
|
1677
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
1678
|
-
s1 = peg$
|
|
1867
|
+
if (input.substr(peg$currPos, 9) === peg$c14) {
|
|
1868
|
+
s1 = peg$c14;
|
|
1679
1869
|
peg$currPos += 9;
|
|
1680
1870
|
} else {
|
|
1681
1871
|
s1 = peg$FAILED;
|
|
1682
1872
|
if (peg$silentFails === 0) {
|
|
1683
|
-
peg$fail(peg$
|
|
1873
|
+
peg$fail(peg$e14);
|
|
1684
1874
|
}
|
|
1685
1875
|
}
|
|
1686
1876
|
if (s1 !== peg$FAILED) {
|
|
@@ -1720,7 +1910,7 @@ function peg$parse(input, options) {
|
|
|
1720
1910
|
}
|
|
1721
1911
|
if (s11 !== peg$FAILED) {
|
|
1722
1912
|
peg$savedPos = s0;
|
|
1723
|
-
s0 = peg$
|
|
1913
|
+
s0 = peg$f16(s3, s5, s9);
|
|
1724
1914
|
} else {
|
|
1725
1915
|
peg$currPos = s0;
|
|
1726
1916
|
s0 = peg$FAILED;
|
|
@@ -1742,13 +1932,13 @@ function peg$parse(input, options) {
|
|
|
1742
1932
|
function peg$parseSection() {
|
|
1743
1933
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1744
1934
|
s0 = peg$currPos;
|
|
1745
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
1746
|
-
s1 = peg$
|
|
1935
|
+
if (input.substr(peg$currPos, 7) === peg$c15) {
|
|
1936
|
+
s1 = peg$c15;
|
|
1747
1937
|
peg$currPos += 7;
|
|
1748
1938
|
} else {
|
|
1749
1939
|
s1 = peg$FAILED;
|
|
1750
1940
|
if (peg$silentFails === 0) {
|
|
1751
|
-
peg$fail(peg$
|
|
1941
|
+
peg$fail(peg$e15);
|
|
1752
1942
|
}
|
|
1753
1943
|
}
|
|
1754
1944
|
if (s1 !== peg$FAILED) {
|
|
@@ -1788,7 +1978,7 @@ function peg$parse(input, options) {
|
|
|
1788
1978
|
}
|
|
1789
1979
|
if (s11 !== peg$FAILED) {
|
|
1790
1980
|
peg$savedPos = s0;
|
|
1791
|
-
s0 = peg$
|
|
1981
|
+
s0 = peg$f17(s3, s5, s9);
|
|
1792
1982
|
} else {
|
|
1793
1983
|
peg$currPos = s0;
|
|
1794
1984
|
s0 = peg$FAILED;
|
|
@@ -1866,6 +2056,12 @@ function peg$parse(input, options) {
|
|
|
1866
2056
|
s0 = peg$parseBreadcrumb();
|
|
1867
2057
|
if (s0 === peg$FAILED) {
|
|
1868
2058
|
s0 = peg$parseDivider();
|
|
2059
|
+
if (s0 === peg$FAILED) {
|
|
2060
|
+
s0 = peg$parseMarker();
|
|
2061
|
+
if (s0 === peg$FAILED) {
|
|
2062
|
+
s0 = peg$parseAnnotations();
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
1869
2065
|
}
|
|
1870
2066
|
}
|
|
1871
2067
|
}
|
|
@@ -1899,13 +2095,13 @@ function peg$parse(input, options) {
|
|
|
1899
2095
|
function peg$parseText() {
|
|
1900
2096
|
let s0, s1, s2, s3, s4, s5;
|
|
1901
2097
|
s0 = peg$currPos;
|
|
1902
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1903
|
-
s1 = peg$
|
|
2098
|
+
if (input.substr(peg$currPos, 4) === peg$c16) {
|
|
2099
|
+
s1 = peg$c16;
|
|
1904
2100
|
peg$currPos += 4;
|
|
1905
2101
|
} else {
|
|
1906
2102
|
s1 = peg$FAILED;
|
|
1907
2103
|
if (peg$silentFails === 0) {
|
|
1908
|
-
peg$fail(peg$
|
|
2104
|
+
peg$fail(peg$e16);
|
|
1909
2105
|
}
|
|
1910
2106
|
}
|
|
1911
2107
|
if (s1 !== peg$FAILED) {
|
|
@@ -1918,7 +2114,7 @@ function peg$parse(input, options) {
|
|
|
1918
2114
|
s5 = null;
|
|
1919
2115
|
}
|
|
1920
2116
|
peg$savedPos = s0;
|
|
1921
|
-
s0 = peg$
|
|
2117
|
+
s0 = peg$f18(s3, s5);
|
|
1922
2118
|
} else {
|
|
1923
2119
|
peg$currPos = s0;
|
|
1924
2120
|
s0 = peg$FAILED;
|
|
@@ -1932,13 +2128,13 @@ function peg$parse(input, options) {
|
|
|
1932
2128
|
function peg$parseTitle() {
|
|
1933
2129
|
let s0, s1, s2, s3, s4, s5;
|
|
1934
2130
|
s0 = peg$currPos;
|
|
1935
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
1936
|
-
s1 = peg$
|
|
2131
|
+
if (input.substr(peg$currPos, 5) === peg$c17) {
|
|
2132
|
+
s1 = peg$c17;
|
|
1937
2133
|
peg$currPos += 5;
|
|
1938
2134
|
} else {
|
|
1939
2135
|
s1 = peg$FAILED;
|
|
1940
2136
|
if (peg$silentFails === 0) {
|
|
1941
|
-
peg$fail(peg$
|
|
2137
|
+
peg$fail(peg$e17);
|
|
1942
2138
|
}
|
|
1943
2139
|
}
|
|
1944
2140
|
if (s1 !== peg$FAILED) {
|
|
@@ -1951,7 +2147,7 @@ function peg$parse(input, options) {
|
|
|
1951
2147
|
s5 = null;
|
|
1952
2148
|
}
|
|
1953
2149
|
peg$savedPos = s0;
|
|
1954
|
-
s0 = peg$
|
|
2150
|
+
s0 = peg$f19(s3, s5);
|
|
1955
2151
|
} else {
|
|
1956
2152
|
peg$currPos = s0;
|
|
1957
2153
|
s0 = peg$FAILED;
|
|
@@ -1965,13 +2161,13 @@ function peg$parse(input, options) {
|
|
|
1965
2161
|
function peg$parseLink() {
|
|
1966
2162
|
let s0, s1, s2, s3, s4, s5;
|
|
1967
2163
|
s0 = peg$currPos;
|
|
1968
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1969
|
-
s1 = peg$
|
|
2164
|
+
if (input.substr(peg$currPos, 4) === peg$c18) {
|
|
2165
|
+
s1 = peg$c18;
|
|
1970
2166
|
peg$currPos += 4;
|
|
1971
2167
|
} else {
|
|
1972
2168
|
s1 = peg$FAILED;
|
|
1973
2169
|
if (peg$silentFails === 0) {
|
|
1974
|
-
peg$fail(peg$
|
|
2170
|
+
peg$fail(peg$e18);
|
|
1975
2171
|
}
|
|
1976
2172
|
}
|
|
1977
2173
|
if (s1 !== peg$FAILED) {
|
|
@@ -1984,7 +2180,7 @@ function peg$parse(input, options) {
|
|
|
1984
2180
|
s5 = null;
|
|
1985
2181
|
}
|
|
1986
2182
|
peg$savedPos = s0;
|
|
1987
|
-
s0 = peg$
|
|
2183
|
+
s0 = peg$f20(s3, s5);
|
|
1988
2184
|
} else {
|
|
1989
2185
|
peg$currPos = s0;
|
|
1990
2186
|
s0 = peg$FAILED;
|
|
@@ -1998,13 +2194,13 @@ function peg$parse(input, options) {
|
|
|
1998
2194
|
function peg$parseButton() {
|
|
1999
2195
|
let s0, s1, s2, s3, s4, s5;
|
|
2000
2196
|
s0 = peg$currPos;
|
|
2001
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2002
|
-
s1 = peg$
|
|
2197
|
+
if (input.substr(peg$currPos, 6) === peg$c19) {
|
|
2198
|
+
s1 = peg$c19;
|
|
2003
2199
|
peg$currPos += 6;
|
|
2004
2200
|
} else {
|
|
2005
2201
|
s1 = peg$FAILED;
|
|
2006
2202
|
if (peg$silentFails === 0) {
|
|
2007
|
-
peg$fail(peg$
|
|
2203
|
+
peg$fail(peg$e19);
|
|
2008
2204
|
}
|
|
2009
2205
|
}
|
|
2010
2206
|
if (s1 !== peg$FAILED) {
|
|
@@ -2017,7 +2213,7 @@ function peg$parse(input, options) {
|
|
|
2017
2213
|
s5 = null;
|
|
2018
2214
|
}
|
|
2019
2215
|
peg$savedPos = s0;
|
|
2020
|
-
s0 = peg$
|
|
2216
|
+
s0 = peg$f21(s3, s5);
|
|
2021
2217
|
} else {
|
|
2022
2218
|
peg$currPos = s0;
|
|
2023
2219
|
s0 = peg$FAILED;
|
|
@@ -2031,13 +2227,13 @@ function peg$parse(input, options) {
|
|
|
2031
2227
|
function peg$parseInput() {
|
|
2032
2228
|
let s0, s1, s2, s3, s4, s5;
|
|
2033
2229
|
s0 = peg$currPos;
|
|
2034
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2035
|
-
s1 = peg$
|
|
2230
|
+
if (input.substr(peg$currPos, 5) === peg$c20) {
|
|
2231
|
+
s1 = peg$c20;
|
|
2036
2232
|
peg$currPos += 5;
|
|
2037
2233
|
} else {
|
|
2038
2234
|
s1 = peg$FAILED;
|
|
2039
2235
|
if (peg$silentFails === 0) {
|
|
2040
|
-
peg$fail(peg$
|
|
2236
|
+
peg$fail(peg$e20);
|
|
2041
2237
|
}
|
|
2042
2238
|
}
|
|
2043
2239
|
if (s1 !== peg$FAILED) {
|
|
@@ -2052,7 +2248,7 @@ function peg$parse(input, options) {
|
|
|
2052
2248
|
s5 = null;
|
|
2053
2249
|
}
|
|
2054
2250
|
peg$savedPos = s0;
|
|
2055
|
-
s0 = peg$
|
|
2251
|
+
s0 = peg$f22(s3, s5);
|
|
2056
2252
|
} else {
|
|
2057
2253
|
peg$currPos = s0;
|
|
2058
2254
|
s0 = peg$FAILED;
|
|
@@ -2062,13 +2258,13 @@ function peg$parse(input, options) {
|
|
|
2062
2258
|
function peg$parseTextarea() {
|
|
2063
2259
|
let s0, s1, s2, s3, s4, s5;
|
|
2064
2260
|
s0 = peg$currPos;
|
|
2065
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2066
|
-
s1 = peg$
|
|
2261
|
+
if (input.substr(peg$currPos, 8) === peg$c21) {
|
|
2262
|
+
s1 = peg$c21;
|
|
2067
2263
|
peg$currPos += 8;
|
|
2068
2264
|
} else {
|
|
2069
2265
|
s1 = peg$FAILED;
|
|
2070
2266
|
if (peg$silentFails === 0) {
|
|
2071
|
-
peg$fail(peg$
|
|
2267
|
+
peg$fail(peg$e21);
|
|
2072
2268
|
}
|
|
2073
2269
|
}
|
|
2074
2270
|
if (s1 !== peg$FAILED) {
|
|
@@ -2083,7 +2279,7 @@ function peg$parse(input, options) {
|
|
|
2083
2279
|
s5 = null;
|
|
2084
2280
|
}
|
|
2085
2281
|
peg$savedPos = s0;
|
|
2086
|
-
s0 = peg$
|
|
2282
|
+
s0 = peg$f23(s3, s5);
|
|
2087
2283
|
} else {
|
|
2088
2284
|
peg$currPos = s0;
|
|
2089
2285
|
s0 = peg$FAILED;
|
|
@@ -2093,13 +2289,13 @@ function peg$parse(input, options) {
|
|
|
2093
2289
|
function peg$parseSelect() {
|
|
2094
2290
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2095
2291
|
s0 = peg$currPos;
|
|
2096
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2097
|
-
s1 = peg$
|
|
2292
|
+
if (input.substr(peg$currPos, 6) === peg$c22) {
|
|
2293
|
+
s1 = peg$c22;
|
|
2098
2294
|
peg$currPos += 6;
|
|
2099
2295
|
} else {
|
|
2100
2296
|
s1 = peg$FAILED;
|
|
2101
2297
|
if (peg$silentFails === 0) {
|
|
2102
|
-
peg$fail(peg$
|
|
2298
|
+
peg$fail(peg$e22);
|
|
2103
2299
|
}
|
|
2104
2300
|
}
|
|
2105
2301
|
if (s1 !== peg$FAILED) {
|
|
@@ -2119,7 +2315,7 @@ function peg$parse(input, options) {
|
|
|
2119
2315
|
s7 = null;
|
|
2120
2316
|
}
|
|
2121
2317
|
peg$savedPos = s0;
|
|
2122
|
-
s0 = peg$
|
|
2318
|
+
s0 = peg$f24(s3, s5, s7);
|
|
2123
2319
|
} else {
|
|
2124
2320
|
peg$currPos = s0;
|
|
2125
2321
|
s0 = peg$FAILED;
|
|
@@ -2129,13 +2325,13 @@ function peg$parse(input, options) {
|
|
|
2129
2325
|
function peg$parseCheckbox() {
|
|
2130
2326
|
let s0, s1, s2, s3, s4, s5;
|
|
2131
2327
|
s0 = peg$currPos;
|
|
2132
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2133
|
-
s1 = peg$
|
|
2328
|
+
if (input.substr(peg$currPos, 8) === peg$c23) {
|
|
2329
|
+
s1 = peg$c23;
|
|
2134
2330
|
peg$currPos += 8;
|
|
2135
2331
|
} else {
|
|
2136
2332
|
s1 = peg$FAILED;
|
|
2137
2333
|
if (peg$silentFails === 0) {
|
|
2138
|
-
peg$fail(peg$
|
|
2334
|
+
peg$fail(peg$e23);
|
|
2139
2335
|
}
|
|
2140
2336
|
}
|
|
2141
2337
|
if (s1 !== peg$FAILED) {
|
|
@@ -2150,7 +2346,7 @@ function peg$parse(input, options) {
|
|
|
2150
2346
|
s5 = null;
|
|
2151
2347
|
}
|
|
2152
2348
|
peg$savedPos = s0;
|
|
2153
|
-
s0 = peg$
|
|
2349
|
+
s0 = peg$f25(s3, s5);
|
|
2154
2350
|
} else {
|
|
2155
2351
|
peg$currPos = s0;
|
|
2156
2352
|
s0 = peg$FAILED;
|
|
@@ -2160,13 +2356,13 @@ function peg$parse(input, options) {
|
|
|
2160
2356
|
function peg$parseRadio() {
|
|
2161
2357
|
let s0, s1, s2, s3, s4, s5;
|
|
2162
2358
|
s0 = peg$currPos;
|
|
2163
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2164
|
-
s1 = peg$
|
|
2359
|
+
if (input.substr(peg$currPos, 5) === peg$c24) {
|
|
2360
|
+
s1 = peg$c24;
|
|
2165
2361
|
peg$currPos += 5;
|
|
2166
2362
|
} else {
|
|
2167
2363
|
s1 = peg$FAILED;
|
|
2168
2364
|
if (peg$silentFails === 0) {
|
|
2169
|
-
peg$fail(peg$
|
|
2365
|
+
peg$fail(peg$e24);
|
|
2170
2366
|
}
|
|
2171
2367
|
}
|
|
2172
2368
|
if (s1 !== peg$FAILED) {
|
|
@@ -2181,7 +2377,7 @@ function peg$parse(input, options) {
|
|
|
2181
2377
|
s5 = null;
|
|
2182
2378
|
}
|
|
2183
2379
|
peg$savedPos = s0;
|
|
2184
|
-
s0 = peg$
|
|
2380
|
+
s0 = peg$f26(s3, s5);
|
|
2185
2381
|
} else {
|
|
2186
2382
|
peg$currPos = s0;
|
|
2187
2383
|
s0 = peg$FAILED;
|
|
@@ -2191,13 +2387,13 @@ function peg$parse(input, options) {
|
|
|
2191
2387
|
function peg$parseSwitch() {
|
|
2192
2388
|
let s0, s1, s2, s3, s4, s5;
|
|
2193
2389
|
s0 = peg$currPos;
|
|
2194
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2195
|
-
s1 = peg$
|
|
2390
|
+
if (input.substr(peg$currPos, 6) === peg$c25) {
|
|
2391
|
+
s1 = peg$c25;
|
|
2196
2392
|
peg$currPos += 6;
|
|
2197
2393
|
} else {
|
|
2198
2394
|
s1 = peg$FAILED;
|
|
2199
2395
|
if (peg$silentFails === 0) {
|
|
2200
|
-
peg$fail(peg$
|
|
2396
|
+
peg$fail(peg$e25);
|
|
2201
2397
|
}
|
|
2202
2398
|
}
|
|
2203
2399
|
if (s1 !== peg$FAILED) {
|
|
@@ -2212,7 +2408,7 @@ function peg$parse(input, options) {
|
|
|
2212
2408
|
s5 = null;
|
|
2213
2409
|
}
|
|
2214
2410
|
peg$savedPos = s0;
|
|
2215
|
-
s0 = peg$
|
|
2411
|
+
s0 = peg$f27(s3, s5);
|
|
2216
2412
|
} else {
|
|
2217
2413
|
peg$currPos = s0;
|
|
2218
2414
|
s0 = peg$FAILED;
|
|
@@ -2222,13 +2418,13 @@ function peg$parse(input, options) {
|
|
|
2222
2418
|
function peg$parseSlider() {
|
|
2223
2419
|
let s0, s1, s2, s3, s4, s5;
|
|
2224
2420
|
s0 = peg$currPos;
|
|
2225
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2226
|
-
s1 = peg$
|
|
2421
|
+
if (input.substr(peg$currPos, 6) === peg$c26) {
|
|
2422
|
+
s1 = peg$c26;
|
|
2227
2423
|
peg$currPos += 6;
|
|
2228
2424
|
} else {
|
|
2229
2425
|
s1 = peg$FAILED;
|
|
2230
2426
|
if (peg$silentFails === 0) {
|
|
2231
|
-
peg$fail(peg$
|
|
2427
|
+
peg$fail(peg$e26);
|
|
2232
2428
|
}
|
|
2233
2429
|
}
|
|
2234
2430
|
if (s1 !== peg$FAILED) {
|
|
@@ -2243,7 +2439,7 @@ function peg$parse(input, options) {
|
|
|
2243
2439
|
s5 = null;
|
|
2244
2440
|
}
|
|
2245
2441
|
peg$savedPos = s0;
|
|
2246
|
-
s0 = peg$
|
|
2442
|
+
s0 = peg$f28(s3, s5);
|
|
2247
2443
|
} else {
|
|
2248
2444
|
peg$currPos = s0;
|
|
2249
2445
|
s0 = peg$FAILED;
|
|
@@ -2253,13 +2449,13 @@ function peg$parse(input, options) {
|
|
|
2253
2449
|
function peg$parseImage() {
|
|
2254
2450
|
let s0, s1, s2, s3, s4, s5;
|
|
2255
2451
|
s0 = peg$currPos;
|
|
2256
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2257
|
-
s1 = peg$
|
|
2452
|
+
if (input.substr(peg$currPos, 5) === peg$c27) {
|
|
2453
|
+
s1 = peg$c27;
|
|
2258
2454
|
peg$currPos += 5;
|
|
2259
2455
|
} else {
|
|
2260
2456
|
s1 = peg$FAILED;
|
|
2261
2457
|
if (peg$silentFails === 0) {
|
|
2262
|
-
peg$fail(peg$
|
|
2458
|
+
peg$fail(peg$e27);
|
|
2263
2459
|
}
|
|
2264
2460
|
}
|
|
2265
2461
|
if (s1 !== peg$FAILED) {
|
|
@@ -2274,7 +2470,7 @@ function peg$parse(input, options) {
|
|
|
2274
2470
|
s5 = null;
|
|
2275
2471
|
}
|
|
2276
2472
|
peg$savedPos = s0;
|
|
2277
|
-
s0 = peg$
|
|
2473
|
+
s0 = peg$f29(s3, s5);
|
|
2278
2474
|
} else {
|
|
2279
2475
|
peg$currPos = s0;
|
|
2280
2476
|
s0 = peg$FAILED;
|
|
@@ -2284,13 +2480,13 @@ function peg$parse(input, options) {
|
|
|
2284
2480
|
function peg$parsePlaceholder() {
|
|
2285
2481
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
2286
2482
|
s0 = peg$currPos;
|
|
2287
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
2288
|
-
s1 = peg$
|
|
2483
|
+
if (input.substr(peg$currPos, 11) === peg$c28) {
|
|
2484
|
+
s1 = peg$c28;
|
|
2289
2485
|
peg$currPos += 11;
|
|
2290
2486
|
} else {
|
|
2291
2487
|
s1 = peg$FAILED;
|
|
2292
2488
|
if (peg$silentFails === 0) {
|
|
2293
|
-
peg$fail(peg$
|
|
2489
|
+
peg$fail(peg$e28);
|
|
2294
2490
|
}
|
|
2295
2491
|
}
|
|
2296
2492
|
if (s1 !== peg$FAILED) {
|
|
@@ -2348,7 +2544,7 @@ function peg$parse(input, options) {
|
|
|
2348
2544
|
s7 = null;
|
|
2349
2545
|
}
|
|
2350
2546
|
peg$savedPos = s0;
|
|
2351
|
-
s0 = peg$
|
|
2547
|
+
s0 = peg$f30(s3, s5, s7);
|
|
2352
2548
|
} else {
|
|
2353
2549
|
peg$currPos = s0;
|
|
2354
2550
|
s0 = peg$FAILED;
|
|
@@ -2358,13 +2554,13 @@ function peg$parse(input, options) {
|
|
|
2358
2554
|
function peg$parseAvatar() {
|
|
2359
2555
|
let s0, s1, s2, s3, s4, s5;
|
|
2360
2556
|
s0 = peg$currPos;
|
|
2361
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2362
|
-
s1 = peg$
|
|
2557
|
+
if (input.substr(peg$currPos, 6) === peg$c29) {
|
|
2558
|
+
s1 = peg$c29;
|
|
2363
2559
|
peg$currPos += 6;
|
|
2364
2560
|
} else {
|
|
2365
2561
|
s1 = peg$FAILED;
|
|
2366
2562
|
if (peg$silentFails === 0) {
|
|
2367
|
-
peg$fail(peg$
|
|
2563
|
+
peg$fail(peg$e29);
|
|
2368
2564
|
}
|
|
2369
2565
|
}
|
|
2370
2566
|
if (s1 !== peg$FAILED) {
|
|
@@ -2379,7 +2575,7 @@ function peg$parse(input, options) {
|
|
|
2379
2575
|
s5 = null;
|
|
2380
2576
|
}
|
|
2381
2577
|
peg$savedPos = s0;
|
|
2382
|
-
s0 = peg$
|
|
2578
|
+
s0 = peg$f31(s3, s5);
|
|
2383
2579
|
} else {
|
|
2384
2580
|
peg$currPos = s0;
|
|
2385
2581
|
s0 = peg$FAILED;
|
|
@@ -2389,13 +2585,13 @@ function peg$parse(input, options) {
|
|
|
2389
2585
|
function peg$parseBadge() {
|
|
2390
2586
|
let s0, s1, s2, s3, s4, s5;
|
|
2391
2587
|
s0 = peg$currPos;
|
|
2392
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2393
|
-
s1 = peg$
|
|
2588
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
2589
|
+
s1 = peg$c30;
|
|
2394
2590
|
peg$currPos += 5;
|
|
2395
2591
|
} else {
|
|
2396
2592
|
s1 = peg$FAILED;
|
|
2397
2593
|
if (peg$silentFails === 0) {
|
|
2398
|
-
peg$fail(peg$
|
|
2594
|
+
peg$fail(peg$e30);
|
|
2399
2595
|
}
|
|
2400
2596
|
}
|
|
2401
2597
|
if (s1 !== peg$FAILED) {
|
|
@@ -2408,7 +2604,7 @@ function peg$parse(input, options) {
|
|
|
2408
2604
|
s5 = null;
|
|
2409
2605
|
}
|
|
2410
2606
|
peg$savedPos = s0;
|
|
2411
|
-
s0 = peg$
|
|
2607
|
+
s0 = peg$f32(s3, s5);
|
|
2412
2608
|
} else {
|
|
2413
2609
|
peg$currPos = s0;
|
|
2414
2610
|
s0 = peg$FAILED;
|
|
@@ -2422,13 +2618,13 @@ function peg$parse(input, options) {
|
|
|
2422
2618
|
function peg$parseIcon() {
|
|
2423
2619
|
let s0, s1, s2, s3, s4, s5;
|
|
2424
2620
|
s0 = peg$currPos;
|
|
2425
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2426
|
-
s1 = peg$
|
|
2621
|
+
if (input.substr(peg$currPos, 4) === peg$c31) {
|
|
2622
|
+
s1 = peg$c31;
|
|
2427
2623
|
peg$currPos += 4;
|
|
2428
2624
|
} else {
|
|
2429
2625
|
s1 = peg$FAILED;
|
|
2430
2626
|
if (peg$silentFails === 0) {
|
|
2431
|
-
peg$fail(peg$
|
|
2627
|
+
peg$fail(peg$e31);
|
|
2432
2628
|
}
|
|
2433
2629
|
}
|
|
2434
2630
|
if (s1 !== peg$FAILED) {
|
|
@@ -2441,7 +2637,7 @@ function peg$parse(input, options) {
|
|
|
2441
2637
|
s5 = null;
|
|
2442
2638
|
}
|
|
2443
2639
|
peg$savedPos = s0;
|
|
2444
|
-
s0 = peg$
|
|
2640
|
+
s0 = peg$f33(s3, s5);
|
|
2445
2641
|
} else {
|
|
2446
2642
|
peg$currPos = s0;
|
|
2447
2643
|
s0 = peg$FAILED;
|
|
@@ -2455,13 +2651,13 @@ function peg$parse(input, options) {
|
|
|
2455
2651
|
function peg$parseTable() {
|
|
2456
2652
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2457
2653
|
s0 = peg$currPos;
|
|
2458
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2459
|
-
s1 = peg$
|
|
2654
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
2655
|
+
s1 = peg$c32;
|
|
2460
2656
|
peg$currPos += 5;
|
|
2461
2657
|
} else {
|
|
2462
2658
|
s1 = peg$FAILED;
|
|
2463
2659
|
if (peg$silentFails === 0) {
|
|
2464
|
-
peg$fail(peg$
|
|
2660
|
+
peg$fail(peg$e32);
|
|
2465
2661
|
}
|
|
2466
2662
|
}
|
|
2467
2663
|
if (s1 !== peg$FAILED) {
|
|
@@ -2474,7 +2670,7 @@ function peg$parse(input, options) {
|
|
|
2474
2670
|
s5 = null;
|
|
2475
2671
|
}
|
|
2476
2672
|
peg$savedPos = s0;
|
|
2477
|
-
s0 = peg$
|
|
2673
|
+
s0 = peg$f34(s3, s5);
|
|
2478
2674
|
} else {
|
|
2479
2675
|
peg$currPos = s0;
|
|
2480
2676
|
s0 = peg$FAILED;
|
|
@@ -2485,13 +2681,13 @@ function peg$parse(input, options) {
|
|
|
2485
2681
|
}
|
|
2486
2682
|
if (s0 === peg$FAILED) {
|
|
2487
2683
|
s0 = peg$currPos;
|
|
2488
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2489
|
-
s1 = peg$
|
|
2684
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
2685
|
+
s1 = peg$c32;
|
|
2490
2686
|
peg$currPos += 5;
|
|
2491
2687
|
} else {
|
|
2492
2688
|
s1 = peg$FAILED;
|
|
2493
2689
|
if (peg$silentFails === 0) {
|
|
2494
|
-
peg$fail(peg$
|
|
2690
|
+
peg$fail(peg$e32);
|
|
2495
2691
|
}
|
|
2496
2692
|
}
|
|
2497
2693
|
if (s1 !== peg$FAILED) {
|
|
@@ -2525,7 +2721,7 @@ function peg$parse(input, options) {
|
|
|
2525
2721
|
}
|
|
2526
2722
|
if (s9 !== peg$FAILED) {
|
|
2527
2723
|
peg$savedPos = s0;
|
|
2528
|
-
s0 = peg$
|
|
2724
|
+
s0 = peg$f35(s3, s7);
|
|
2529
2725
|
} else {
|
|
2530
2726
|
peg$currPos = s0;
|
|
2531
2727
|
s0 = peg$FAILED;
|
|
@@ -2545,12 +2741,12 @@ function peg$parse(input, options) {
|
|
|
2545
2741
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2546
2742
|
s0 = peg$currPos;
|
|
2547
2743
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
2548
|
-
s1 = peg$
|
|
2744
|
+
s1 = peg$c33;
|
|
2549
2745
|
peg$currPos++;
|
|
2550
2746
|
} else {
|
|
2551
2747
|
s1 = peg$FAILED;
|
|
2552
2748
|
if (peg$silentFails === 0) {
|
|
2553
|
-
peg$fail(peg$
|
|
2749
|
+
peg$fail(peg$e33);
|
|
2554
2750
|
}
|
|
2555
2751
|
}
|
|
2556
2752
|
if (s1 !== peg$FAILED) {
|
|
@@ -2561,12 +2757,12 @@ function peg$parse(input, options) {
|
|
|
2561
2757
|
s5 = [];
|
|
2562
2758
|
s6 = peg$currPos;
|
|
2563
2759
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2564
|
-
s7 = peg$
|
|
2760
|
+
s7 = peg$c34;
|
|
2565
2761
|
peg$currPos++;
|
|
2566
2762
|
} else {
|
|
2567
2763
|
s7 = peg$FAILED;
|
|
2568
2764
|
if (peg$silentFails === 0) {
|
|
2569
|
-
peg$fail(peg$
|
|
2765
|
+
peg$fail(peg$e34);
|
|
2570
2766
|
}
|
|
2571
2767
|
}
|
|
2572
2768
|
if (s7 !== peg$FAILED) {
|
|
@@ -2588,12 +2784,12 @@ function peg$parse(input, options) {
|
|
|
2588
2784
|
s5.push(s6);
|
|
2589
2785
|
s6 = peg$currPos;
|
|
2590
2786
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2591
|
-
s7 = peg$
|
|
2787
|
+
s7 = peg$c34;
|
|
2592
2788
|
peg$currPos++;
|
|
2593
2789
|
} else {
|
|
2594
2790
|
s7 = peg$FAILED;
|
|
2595
2791
|
if (peg$silentFails === 0) {
|
|
2596
|
-
peg$fail(peg$
|
|
2792
|
+
peg$fail(peg$e34);
|
|
2597
2793
|
}
|
|
2598
2794
|
}
|
|
2599
2795
|
if (s7 !== peg$FAILED) {
|
|
@@ -2613,12 +2809,12 @@ function peg$parse(input, options) {
|
|
|
2613
2809
|
}
|
|
2614
2810
|
}
|
|
2615
2811
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2616
|
-
s6 = peg$
|
|
2812
|
+
s6 = peg$c34;
|
|
2617
2813
|
peg$currPos++;
|
|
2618
2814
|
} else {
|
|
2619
2815
|
s6 = peg$FAILED;
|
|
2620
2816
|
if (peg$silentFails === 0) {
|
|
2621
|
-
peg$fail(peg$
|
|
2817
|
+
peg$fail(peg$e34);
|
|
2622
2818
|
}
|
|
2623
2819
|
}
|
|
2624
2820
|
if (s6 === peg$FAILED) {
|
|
@@ -2626,17 +2822,17 @@ function peg$parse(input, options) {
|
|
|
2626
2822
|
}
|
|
2627
2823
|
s7 = peg$parse_();
|
|
2628
2824
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
2629
|
-
s8 = peg$
|
|
2825
|
+
s8 = peg$c35;
|
|
2630
2826
|
peg$currPos++;
|
|
2631
2827
|
} else {
|
|
2632
2828
|
s8 = peg$FAILED;
|
|
2633
2829
|
if (peg$silentFails === 0) {
|
|
2634
|
-
peg$fail(peg$
|
|
2830
|
+
peg$fail(peg$e35);
|
|
2635
2831
|
}
|
|
2636
2832
|
}
|
|
2637
2833
|
if (s8 !== peg$FAILED) {
|
|
2638
2834
|
peg$savedPos = s0;
|
|
2639
|
-
s0 = peg$
|
|
2835
|
+
s0 = peg$f36(s3, s5);
|
|
2640
2836
|
} else {
|
|
2641
2837
|
peg$currPos = s0;
|
|
2642
2838
|
s0 = peg$FAILED;
|
|
@@ -2679,20 +2875,20 @@ function peg$parse(input, options) {
|
|
|
2679
2875
|
}
|
|
2680
2876
|
}
|
|
2681
2877
|
peg$savedPos = s0;
|
|
2682
|
-
s1 = peg$
|
|
2878
|
+
s1 = peg$f37(s1);
|
|
2683
2879
|
s0 = s1;
|
|
2684
2880
|
return s0;
|
|
2685
2881
|
}
|
|
2686
2882
|
function peg$parseTableRow() {
|
|
2687
2883
|
let s0, s1, s2, s3;
|
|
2688
2884
|
s0 = peg$currPos;
|
|
2689
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2690
|
-
s1 = peg$
|
|
2885
|
+
if (input.substr(peg$currPos, 7) === peg$c36) {
|
|
2886
|
+
s1 = peg$c36;
|
|
2691
2887
|
peg$currPos += 7;
|
|
2692
2888
|
} else {
|
|
2693
2889
|
s1 = peg$FAILED;
|
|
2694
2890
|
if (peg$silentFails === 0) {
|
|
2695
|
-
peg$fail(peg$
|
|
2891
|
+
peg$fail(peg$e36);
|
|
2696
2892
|
}
|
|
2697
2893
|
}
|
|
2698
2894
|
if (s1 !== peg$FAILED) {
|
|
@@ -2700,7 +2896,7 @@ function peg$parse(input, options) {
|
|
|
2700
2896
|
s3 = peg$parseArray();
|
|
2701
2897
|
if (s3 !== peg$FAILED) {
|
|
2702
2898
|
peg$savedPos = s0;
|
|
2703
|
-
s0 = peg$
|
|
2899
|
+
s0 = peg$f38(s3);
|
|
2704
2900
|
} else {
|
|
2705
2901
|
peg$currPos = s0;
|
|
2706
2902
|
s0 = peg$FAILED;
|
|
@@ -2725,7 +2921,7 @@ function peg$parse(input, options) {
|
|
|
2725
2921
|
s3 = peg$parseArray();
|
|
2726
2922
|
if (s3 !== peg$FAILED) {
|
|
2727
2923
|
peg$savedPos = s0;
|
|
2728
|
-
s0 = peg$
|
|
2924
|
+
s0 = peg$f39(s3);
|
|
2729
2925
|
} else {
|
|
2730
2926
|
peg$currPos = s0;
|
|
2731
2927
|
s0 = peg$FAILED;
|
|
@@ -2739,7 +2935,7 @@ function peg$parse(input, options) {
|
|
|
2739
2935
|
s1 = peg$parseComment();
|
|
2740
2936
|
if (s1 !== peg$FAILED) {
|
|
2741
2937
|
peg$savedPos = s0;
|
|
2742
|
-
s1 = peg$
|
|
2938
|
+
s1 = peg$f40();
|
|
2743
2939
|
}
|
|
2744
2940
|
s0 = s1;
|
|
2745
2941
|
}
|
|
@@ -2749,13 +2945,13 @@ function peg$parse(input, options) {
|
|
|
2749
2945
|
function peg$parseList() {
|
|
2750
2946
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2751
2947
|
s0 = peg$currPos;
|
|
2752
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2753
|
-
s1 = peg$
|
|
2948
|
+
if (input.substr(peg$currPos, 4) === peg$c37) {
|
|
2949
|
+
s1 = peg$c37;
|
|
2754
2950
|
peg$currPos += 4;
|
|
2755
2951
|
} else {
|
|
2756
2952
|
s1 = peg$FAILED;
|
|
2757
2953
|
if (peg$silentFails === 0) {
|
|
2758
|
-
peg$fail(peg$
|
|
2954
|
+
peg$fail(peg$e37);
|
|
2759
2955
|
}
|
|
2760
2956
|
}
|
|
2761
2957
|
if (s1 !== peg$FAILED) {
|
|
@@ -2775,7 +2971,7 @@ function peg$parse(input, options) {
|
|
|
2775
2971
|
s7 = null;
|
|
2776
2972
|
}
|
|
2777
2973
|
peg$savedPos = s0;
|
|
2778
|
-
s0 = peg$
|
|
2974
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2779
2975
|
} else {
|
|
2780
2976
|
peg$currPos = s0;
|
|
2781
2977
|
s0 = peg$FAILED;
|
|
@@ -2831,7 +3027,7 @@ function peg$parse(input, options) {
|
|
|
2831
3027
|
}
|
|
2832
3028
|
if (s4 !== peg$FAILED) {
|
|
2833
3029
|
peg$savedPos = s0;
|
|
2834
|
-
s0 = peg$
|
|
3030
|
+
s0 = peg$f42(s3);
|
|
2835
3031
|
} else {
|
|
2836
3032
|
peg$currPos = s0;
|
|
2837
3033
|
s0 = peg$FAILED;
|
|
@@ -2845,13 +3041,13 @@ function peg$parse(input, options) {
|
|
|
2845
3041
|
function peg$parseListItem() {
|
|
2846
3042
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2847
3043
|
s0 = peg$currPos;
|
|
2848
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2849
|
-
s1 = peg$
|
|
3044
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3045
|
+
s1 = peg$c38;
|
|
2850
3046
|
peg$currPos += 4;
|
|
2851
3047
|
} else {
|
|
2852
3048
|
s1 = peg$FAILED;
|
|
2853
3049
|
if (peg$silentFails === 0) {
|
|
2854
|
-
peg$fail(peg$
|
|
3050
|
+
peg$fail(peg$e38);
|
|
2855
3051
|
}
|
|
2856
3052
|
}
|
|
2857
3053
|
if (s1 !== peg$FAILED) {
|
|
@@ -2869,7 +3065,7 @@ function peg$parse(input, options) {
|
|
|
2869
3065
|
s7 = null;
|
|
2870
3066
|
}
|
|
2871
3067
|
peg$savedPos = s0;
|
|
2872
|
-
s0 = peg$
|
|
3068
|
+
s0 = peg$f43(s3, s5, s7);
|
|
2873
3069
|
} else {
|
|
2874
3070
|
peg$currPos = s0;
|
|
2875
3071
|
s0 = peg$FAILED;
|
|
@@ -2883,7 +3079,7 @@ function peg$parse(input, options) {
|
|
|
2883
3079
|
s1 = peg$parseComment();
|
|
2884
3080
|
if (s1 !== peg$FAILED) {
|
|
2885
3081
|
peg$savedPos = s0;
|
|
2886
|
-
s1 = peg$
|
|
3082
|
+
s1 = peg$f44();
|
|
2887
3083
|
}
|
|
2888
3084
|
s0 = s1;
|
|
2889
3085
|
}
|
|
@@ -2892,13 +3088,13 @@ function peg$parse(input, options) {
|
|
|
2892
3088
|
function peg$parseAlert() {
|
|
2893
3089
|
let s0, s1, s2, s3, s4, s5;
|
|
2894
3090
|
s0 = peg$currPos;
|
|
2895
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2896
|
-
s1 = peg$
|
|
3091
|
+
if (input.substr(peg$currPos, 5) === peg$c39) {
|
|
3092
|
+
s1 = peg$c39;
|
|
2897
3093
|
peg$currPos += 5;
|
|
2898
3094
|
} else {
|
|
2899
3095
|
s1 = peg$FAILED;
|
|
2900
3096
|
if (peg$silentFails === 0) {
|
|
2901
|
-
peg$fail(peg$
|
|
3097
|
+
peg$fail(peg$e39);
|
|
2902
3098
|
}
|
|
2903
3099
|
}
|
|
2904
3100
|
if (s1 !== peg$FAILED) {
|
|
@@ -2911,7 +3107,7 @@ function peg$parse(input, options) {
|
|
|
2911
3107
|
s5 = null;
|
|
2912
3108
|
}
|
|
2913
3109
|
peg$savedPos = s0;
|
|
2914
|
-
s0 = peg$
|
|
3110
|
+
s0 = peg$f45(s3, s5);
|
|
2915
3111
|
} else {
|
|
2916
3112
|
peg$currPos = s0;
|
|
2917
3113
|
s0 = peg$FAILED;
|
|
@@ -2925,13 +3121,13 @@ function peg$parse(input, options) {
|
|
|
2925
3121
|
function peg$parseToast() {
|
|
2926
3122
|
let s0, s1, s2, s3, s4, s5;
|
|
2927
3123
|
s0 = peg$currPos;
|
|
2928
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2929
|
-
s1 = peg$
|
|
3124
|
+
if (input.substr(peg$currPos, 5) === peg$c40) {
|
|
3125
|
+
s1 = peg$c40;
|
|
2930
3126
|
peg$currPos += 5;
|
|
2931
3127
|
} else {
|
|
2932
3128
|
s1 = peg$FAILED;
|
|
2933
3129
|
if (peg$silentFails === 0) {
|
|
2934
|
-
peg$fail(peg$
|
|
3130
|
+
peg$fail(peg$e40);
|
|
2935
3131
|
}
|
|
2936
3132
|
}
|
|
2937
3133
|
if (s1 !== peg$FAILED) {
|
|
@@ -2944,7 +3140,7 @@ function peg$parse(input, options) {
|
|
|
2944
3140
|
s5 = null;
|
|
2945
3141
|
}
|
|
2946
3142
|
peg$savedPos = s0;
|
|
2947
|
-
s0 = peg$
|
|
3143
|
+
s0 = peg$f46(s3, s5);
|
|
2948
3144
|
} else {
|
|
2949
3145
|
peg$currPos = s0;
|
|
2950
3146
|
s0 = peg$FAILED;
|
|
@@ -2958,13 +3154,13 @@ function peg$parse(input, options) {
|
|
|
2958
3154
|
function peg$parseProgress() {
|
|
2959
3155
|
let s0, s1, s2, s3;
|
|
2960
3156
|
s0 = peg$currPos;
|
|
2961
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2962
|
-
s1 = peg$
|
|
3157
|
+
if (input.substr(peg$currPos, 8) === peg$c41) {
|
|
3158
|
+
s1 = peg$c41;
|
|
2963
3159
|
peg$currPos += 8;
|
|
2964
3160
|
} else {
|
|
2965
3161
|
s1 = peg$FAILED;
|
|
2966
3162
|
if (peg$silentFails === 0) {
|
|
2967
|
-
peg$fail(peg$
|
|
3163
|
+
peg$fail(peg$e41);
|
|
2968
3164
|
}
|
|
2969
3165
|
}
|
|
2970
3166
|
if (s1 !== peg$FAILED) {
|
|
@@ -2974,7 +3170,7 @@ function peg$parse(input, options) {
|
|
|
2974
3170
|
s3 = null;
|
|
2975
3171
|
}
|
|
2976
3172
|
peg$savedPos = s0;
|
|
2977
|
-
s0 = peg$
|
|
3173
|
+
s0 = peg$f47(s3);
|
|
2978
3174
|
} else {
|
|
2979
3175
|
peg$currPos = s0;
|
|
2980
3176
|
s0 = peg$FAILED;
|
|
@@ -2984,13 +3180,13 @@ function peg$parse(input, options) {
|
|
|
2984
3180
|
function peg$parseSpinner() {
|
|
2985
3181
|
let s0, s1, s2, s3, s4, s5;
|
|
2986
3182
|
s0 = peg$currPos;
|
|
2987
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2988
|
-
s1 = peg$
|
|
3183
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3184
|
+
s1 = peg$c42;
|
|
2989
3185
|
peg$currPos += 7;
|
|
2990
3186
|
} else {
|
|
2991
3187
|
s1 = peg$FAILED;
|
|
2992
3188
|
if (peg$silentFails === 0) {
|
|
2993
|
-
peg$fail(peg$
|
|
3189
|
+
peg$fail(peg$e42);
|
|
2994
3190
|
}
|
|
2995
3191
|
}
|
|
2996
3192
|
if (s1 !== peg$FAILED) {
|
|
@@ -3005,7 +3201,7 @@ function peg$parse(input, options) {
|
|
|
3005
3201
|
s5 = null;
|
|
3006
3202
|
}
|
|
3007
3203
|
peg$savedPos = s0;
|
|
3008
|
-
s0 = peg$
|
|
3204
|
+
s0 = peg$f48(s3, s5);
|
|
3009
3205
|
} else {
|
|
3010
3206
|
peg$currPos = s0;
|
|
3011
3207
|
s0 = peg$FAILED;
|
|
@@ -3015,13 +3211,13 @@ function peg$parse(input, options) {
|
|
|
3015
3211
|
function peg$parseTooltip() {
|
|
3016
3212
|
let s0, s1, s2, s3, s4, s5;
|
|
3017
3213
|
s0 = peg$currPos;
|
|
3018
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3019
|
-
s1 = peg$
|
|
3214
|
+
if (input.substr(peg$currPos, 7) === peg$c43) {
|
|
3215
|
+
s1 = peg$c43;
|
|
3020
3216
|
peg$currPos += 7;
|
|
3021
3217
|
} else {
|
|
3022
3218
|
s1 = peg$FAILED;
|
|
3023
3219
|
if (peg$silentFails === 0) {
|
|
3024
|
-
peg$fail(peg$
|
|
3220
|
+
peg$fail(peg$e43);
|
|
3025
3221
|
}
|
|
3026
3222
|
}
|
|
3027
3223
|
if (s1 !== peg$FAILED) {
|
|
@@ -3034,7 +3230,7 @@ function peg$parse(input, options) {
|
|
|
3034
3230
|
s5 = null;
|
|
3035
3231
|
}
|
|
3036
3232
|
peg$savedPos = s0;
|
|
3037
|
-
s0 = peg$
|
|
3233
|
+
s0 = peg$f49(s3, s5);
|
|
3038
3234
|
} else {
|
|
3039
3235
|
peg$currPos = s0;
|
|
3040
3236
|
s0 = peg$FAILED;
|
|
@@ -3048,13 +3244,13 @@ function peg$parse(input, options) {
|
|
|
3048
3244
|
function peg$parsePopover() {
|
|
3049
3245
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3050
3246
|
s0 = peg$currPos;
|
|
3051
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3052
|
-
s1 = peg$
|
|
3247
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3248
|
+
s1 = peg$c44;
|
|
3053
3249
|
peg$currPos += 7;
|
|
3054
3250
|
} else {
|
|
3055
3251
|
s1 = peg$FAILED;
|
|
3056
3252
|
if (peg$silentFails === 0) {
|
|
3057
|
-
peg$fail(peg$
|
|
3253
|
+
peg$fail(peg$e44);
|
|
3058
3254
|
}
|
|
3059
3255
|
}
|
|
3060
3256
|
if (s1 !== peg$FAILED) {
|
|
@@ -3094,7 +3290,7 @@ function peg$parse(input, options) {
|
|
|
3094
3290
|
}
|
|
3095
3291
|
if (s11 !== peg$FAILED) {
|
|
3096
3292
|
peg$savedPos = s0;
|
|
3097
|
-
s0 = peg$
|
|
3293
|
+
s0 = peg$f50(s3, s5, s9);
|
|
3098
3294
|
} else {
|
|
3099
3295
|
peg$currPos = s0;
|
|
3100
3296
|
s0 = peg$FAILED;
|
|
@@ -3116,13 +3312,13 @@ function peg$parse(input, options) {
|
|
|
3116
3312
|
function peg$parseDropdown() {
|
|
3117
3313
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
3118
3314
|
s0 = peg$currPos;
|
|
3119
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3120
|
-
s1 = peg$
|
|
3315
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
3316
|
+
s1 = peg$c45;
|
|
3121
3317
|
peg$currPos += 8;
|
|
3122
3318
|
} else {
|
|
3123
3319
|
s1 = peg$FAILED;
|
|
3124
3320
|
if (peg$silentFails === 0) {
|
|
3125
|
-
peg$fail(peg$
|
|
3321
|
+
peg$fail(peg$e45);
|
|
3126
3322
|
}
|
|
3127
3323
|
}
|
|
3128
3324
|
if (s1 !== peg$FAILED) {
|
|
@@ -3135,7 +3331,7 @@ function peg$parse(input, options) {
|
|
|
3135
3331
|
s5 = null;
|
|
3136
3332
|
}
|
|
3137
3333
|
peg$savedPos = s0;
|
|
3138
|
-
s0 = peg$
|
|
3334
|
+
s0 = peg$f51(s3, s5);
|
|
3139
3335
|
} else {
|
|
3140
3336
|
peg$currPos = s0;
|
|
3141
3337
|
s0 = peg$FAILED;
|
|
@@ -3146,13 +3342,13 @@ function peg$parse(input, options) {
|
|
|
3146
3342
|
}
|
|
3147
3343
|
if (s0 === peg$FAILED) {
|
|
3148
3344
|
s0 = peg$currPos;
|
|
3149
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3150
|
-
s1 = peg$
|
|
3345
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
3346
|
+
s1 = peg$c45;
|
|
3151
3347
|
peg$currPos += 8;
|
|
3152
3348
|
} else {
|
|
3153
3349
|
s1 = peg$FAILED;
|
|
3154
3350
|
if (peg$silentFails === 0) {
|
|
3155
|
-
peg$fail(peg$
|
|
3351
|
+
peg$fail(peg$e45);
|
|
3156
3352
|
}
|
|
3157
3353
|
}
|
|
3158
3354
|
if (s1 !== peg$FAILED) {
|
|
@@ -3186,7 +3382,7 @@ function peg$parse(input, options) {
|
|
|
3186
3382
|
}
|
|
3187
3383
|
if (s9 !== peg$FAILED) {
|
|
3188
3384
|
peg$savedPos = s0;
|
|
3189
|
-
s0 = peg$
|
|
3385
|
+
s0 = peg$f52(s3, s7);
|
|
3190
3386
|
} else {
|
|
3191
3387
|
peg$currPos = s0;
|
|
3192
3388
|
s0 = peg$FAILED;
|
|
@@ -3230,20 +3426,20 @@ function peg$parse(input, options) {
|
|
|
3230
3426
|
}
|
|
3231
3427
|
}
|
|
3232
3428
|
peg$savedPos = s0;
|
|
3233
|
-
s1 = peg$
|
|
3429
|
+
s1 = peg$f53(s1);
|
|
3234
3430
|
s0 = s1;
|
|
3235
3431
|
return s0;
|
|
3236
3432
|
}
|
|
3237
3433
|
function peg$parseDropdownItem() {
|
|
3238
3434
|
let s0, s1, s2, s3, s4, s5;
|
|
3239
3435
|
s0 = peg$currPos;
|
|
3240
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3241
|
-
s1 = peg$
|
|
3436
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3437
|
+
s1 = peg$c38;
|
|
3242
3438
|
peg$currPos += 4;
|
|
3243
3439
|
} else {
|
|
3244
3440
|
s1 = peg$FAILED;
|
|
3245
3441
|
if (peg$silentFails === 0) {
|
|
3246
|
-
peg$fail(peg$
|
|
3442
|
+
peg$fail(peg$e38);
|
|
3247
3443
|
}
|
|
3248
3444
|
}
|
|
3249
3445
|
if (s1 !== peg$FAILED) {
|
|
@@ -3256,7 +3452,7 @@ function peg$parse(input, options) {
|
|
|
3256
3452
|
s5 = null;
|
|
3257
3453
|
}
|
|
3258
3454
|
peg$savedPos = s0;
|
|
3259
|
-
s0 = peg$
|
|
3455
|
+
s0 = peg$f54(s3, s5);
|
|
3260
3456
|
} else {
|
|
3261
3457
|
peg$currPos = s0;
|
|
3262
3458
|
s0 = peg$FAILED;
|
|
@@ -3267,18 +3463,18 @@ function peg$parse(input, options) {
|
|
|
3267
3463
|
}
|
|
3268
3464
|
if (s0 === peg$FAILED) {
|
|
3269
3465
|
s0 = peg$currPos;
|
|
3270
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3271
|
-
s1 = peg$
|
|
3466
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3467
|
+
s1 = peg$c46;
|
|
3272
3468
|
peg$currPos += 7;
|
|
3273
3469
|
} else {
|
|
3274
3470
|
s1 = peg$FAILED;
|
|
3275
3471
|
if (peg$silentFails === 0) {
|
|
3276
|
-
peg$fail(peg$
|
|
3472
|
+
peg$fail(peg$e46);
|
|
3277
3473
|
}
|
|
3278
3474
|
}
|
|
3279
3475
|
if (s1 !== peg$FAILED) {
|
|
3280
3476
|
peg$savedPos = s0;
|
|
3281
|
-
s1 = peg$
|
|
3477
|
+
s1 = peg$f55();
|
|
3282
3478
|
}
|
|
3283
3479
|
s0 = s1;
|
|
3284
3480
|
if (s0 === peg$FAILED) {
|
|
@@ -3286,7 +3482,7 @@ function peg$parse(input, options) {
|
|
|
3286
3482
|
s1 = peg$parseComment();
|
|
3287
3483
|
if (s1 !== peg$FAILED) {
|
|
3288
3484
|
peg$savedPos = s0;
|
|
3289
|
-
s1 = peg$
|
|
3485
|
+
s1 = peg$f56();
|
|
3290
3486
|
}
|
|
3291
3487
|
s0 = s1;
|
|
3292
3488
|
}
|
|
@@ -3296,13 +3492,13 @@ function peg$parse(input, options) {
|
|
|
3296
3492
|
function peg$parseNav() {
|
|
3297
3493
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3298
3494
|
s0 = peg$currPos;
|
|
3299
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3300
|
-
s1 = peg$
|
|
3495
|
+
if (input.substr(peg$currPos, 3) === peg$c47) {
|
|
3496
|
+
s1 = peg$c47;
|
|
3301
3497
|
peg$currPos += 3;
|
|
3302
3498
|
} else {
|
|
3303
3499
|
s1 = peg$FAILED;
|
|
3304
3500
|
if (peg$silentFails === 0) {
|
|
3305
|
-
peg$fail(peg$
|
|
3501
|
+
peg$fail(peg$e47);
|
|
3306
3502
|
}
|
|
3307
3503
|
}
|
|
3308
3504
|
if (s1 !== peg$FAILED) {
|
|
@@ -3322,7 +3518,7 @@ function peg$parse(input, options) {
|
|
|
3322
3518
|
s7 = null;
|
|
3323
3519
|
}
|
|
3324
3520
|
peg$savedPos = s0;
|
|
3325
|
-
s0 = peg$
|
|
3521
|
+
s0 = peg$f57(s3, s5, s7);
|
|
3326
3522
|
} else {
|
|
3327
3523
|
peg$currPos = s0;
|
|
3328
3524
|
s0 = peg$FAILED;
|
|
@@ -3378,7 +3574,7 @@ function peg$parse(input, options) {
|
|
|
3378
3574
|
}
|
|
3379
3575
|
if (s4 !== peg$FAILED) {
|
|
3380
3576
|
peg$savedPos = s0;
|
|
3381
|
-
s0 = peg$
|
|
3577
|
+
s0 = peg$f58(s3);
|
|
3382
3578
|
} else {
|
|
3383
3579
|
peg$currPos = s0;
|
|
3384
3580
|
s0 = peg$FAILED;
|
|
@@ -3396,19 +3592,19 @@ function peg$parse(input, options) {
|
|
|
3396
3592
|
s0 = peg$parseNavItem();
|
|
3397
3593
|
if (s0 === peg$FAILED) {
|
|
3398
3594
|
s0 = peg$currPos;
|
|
3399
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3400
|
-
s1 = peg$
|
|
3595
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3596
|
+
s1 = peg$c46;
|
|
3401
3597
|
peg$currPos += 7;
|
|
3402
3598
|
} else {
|
|
3403
3599
|
s1 = peg$FAILED;
|
|
3404
3600
|
if (peg$silentFails === 0) {
|
|
3405
|
-
peg$fail(peg$
|
|
3601
|
+
peg$fail(peg$e46);
|
|
3406
3602
|
}
|
|
3407
3603
|
}
|
|
3408
3604
|
if (s1 !== peg$FAILED) {
|
|
3409
3605
|
s2 = peg$parse_();
|
|
3410
3606
|
peg$savedPos = s0;
|
|
3411
|
-
s0 = peg$
|
|
3607
|
+
s0 = peg$f59();
|
|
3412
3608
|
} else {
|
|
3413
3609
|
peg$currPos = s0;
|
|
3414
3610
|
s0 = peg$FAILED;
|
|
@@ -3418,7 +3614,7 @@ function peg$parse(input, options) {
|
|
|
3418
3614
|
s1 = peg$parseComment();
|
|
3419
3615
|
if (s1 !== peg$FAILED) {
|
|
3420
3616
|
peg$savedPos = s0;
|
|
3421
|
-
s1 = peg$
|
|
3617
|
+
s1 = peg$f60();
|
|
3422
3618
|
}
|
|
3423
3619
|
s0 = s1;
|
|
3424
3620
|
}
|
|
@@ -3429,13 +3625,13 @@ function peg$parse(input, options) {
|
|
|
3429
3625
|
function peg$parseNavGroup() {
|
|
3430
3626
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3431
3627
|
s0 = peg$currPos;
|
|
3432
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3433
|
-
s1 = peg$
|
|
3628
|
+
if (input.substr(peg$currPos, 5) === peg$c48) {
|
|
3629
|
+
s1 = peg$c48;
|
|
3434
3630
|
peg$currPos += 5;
|
|
3435
3631
|
} else {
|
|
3436
3632
|
s1 = peg$FAILED;
|
|
3437
3633
|
if (peg$silentFails === 0) {
|
|
3438
|
-
peg$fail(peg$
|
|
3634
|
+
peg$fail(peg$e48);
|
|
3439
3635
|
}
|
|
3440
3636
|
}
|
|
3441
3637
|
if (s1 !== peg$FAILED) {
|
|
@@ -3494,7 +3690,7 @@ function peg$parse(input, options) {
|
|
|
3494
3690
|
}
|
|
3495
3691
|
if (s10 !== peg$FAILED) {
|
|
3496
3692
|
peg$savedPos = s0;
|
|
3497
|
-
s0 = peg$
|
|
3693
|
+
s0 = peg$f61(s3, s5, s9);
|
|
3498
3694
|
} else {
|
|
3499
3695
|
peg$currPos = s0;
|
|
3500
3696
|
s0 = peg$FAILED;
|
|
@@ -3518,19 +3714,19 @@ function peg$parse(input, options) {
|
|
|
3518
3714
|
s0 = peg$parseNavItem();
|
|
3519
3715
|
if (s0 === peg$FAILED) {
|
|
3520
3716
|
s0 = peg$currPos;
|
|
3521
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3522
|
-
s1 = peg$
|
|
3717
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3718
|
+
s1 = peg$c46;
|
|
3523
3719
|
peg$currPos += 7;
|
|
3524
3720
|
} else {
|
|
3525
3721
|
s1 = peg$FAILED;
|
|
3526
3722
|
if (peg$silentFails === 0) {
|
|
3527
|
-
peg$fail(peg$
|
|
3723
|
+
peg$fail(peg$e46);
|
|
3528
3724
|
}
|
|
3529
3725
|
}
|
|
3530
3726
|
if (s1 !== peg$FAILED) {
|
|
3531
3727
|
s2 = peg$parse_();
|
|
3532
3728
|
peg$savedPos = s0;
|
|
3533
|
-
s0 = peg$
|
|
3729
|
+
s0 = peg$f62();
|
|
3534
3730
|
} else {
|
|
3535
3731
|
peg$currPos = s0;
|
|
3536
3732
|
s0 = peg$FAILED;
|
|
@@ -3540,7 +3736,7 @@ function peg$parse(input, options) {
|
|
|
3540
3736
|
s1 = peg$parseComment();
|
|
3541
3737
|
if (s1 !== peg$FAILED) {
|
|
3542
3738
|
peg$savedPos = s0;
|
|
3543
|
-
s1 = peg$
|
|
3739
|
+
s1 = peg$f63();
|
|
3544
3740
|
}
|
|
3545
3741
|
s0 = s1;
|
|
3546
3742
|
}
|
|
@@ -3550,13 +3746,13 @@ function peg$parse(input, options) {
|
|
|
3550
3746
|
function peg$parseNavItem() {
|
|
3551
3747
|
let s0, s1, s2, s3, s4, s5;
|
|
3552
3748
|
s0 = peg$currPos;
|
|
3553
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3554
|
-
s1 = peg$
|
|
3749
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3750
|
+
s1 = peg$c38;
|
|
3555
3751
|
peg$currPos += 4;
|
|
3556
3752
|
} else {
|
|
3557
3753
|
s1 = peg$FAILED;
|
|
3558
3754
|
if (peg$silentFails === 0) {
|
|
3559
|
-
peg$fail(peg$
|
|
3755
|
+
peg$fail(peg$e38);
|
|
3560
3756
|
}
|
|
3561
3757
|
}
|
|
3562
3758
|
if (s1 !== peg$FAILED) {
|
|
@@ -3569,7 +3765,7 @@ function peg$parse(input, options) {
|
|
|
3569
3765
|
s5 = null;
|
|
3570
3766
|
}
|
|
3571
3767
|
peg$savedPos = s0;
|
|
3572
|
-
s0 = peg$
|
|
3768
|
+
s0 = peg$f64(s3, s5);
|
|
3573
3769
|
} else {
|
|
3574
3770
|
peg$currPos = s0;
|
|
3575
3771
|
s0 = peg$FAILED;
|
|
@@ -3583,13 +3779,13 @@ function peg$parse(input, options) {
|
|
|
3583
3779
|
function peg$parseTabs() {
|
|
3584
3780
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3585
3781
|
s0 = peg$currPos;
|
|
3586
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3587
|
-
s1 = peg$
|
|
3782
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
3783
|
+
s1 = peg$c49;
|
|
3588
3784
|
peg$currPos += 4;
|
|
3589
3785
|
} else {
|
|
3590
3786
|
s1 = peg$FAILED;
|
|
3591
3787
|
if (peg$silentFails === 0) {
|
|
3592
|
-
peg$fail(peg$
|
|
3788
|
+
peg$fail(peg$e49);
|
|
3593
3789
|
}
|
|
3594
3790
|
}
|
|
3595
3791
|
if (s1 !== peg$FAILED) {
|
|
@@ -3609,7 +3805,7 @@ function peg$parse(input, options) {
|
|
|
3609
3805
|
s7 = null;
|
|
3610
3806
|
}
|
|
3611
3807
|
peg$savedPos = s0;
|
|
3612
|
-
s0 = peg$
|
|
3808
|
+
s0 = peg$f65(s3, s5, s7);
|
|
3613
3809
|
} else {
|
|
3614
3810
|
peg$currPos = s0;
|
|
3615
3811
|
s0 = peg$FAILED;
|
|
@@ -3654,18 +3850,247 @@ function peg$parse(input, options) {
|
|
|
3654
3850
|
s4 = peg$FAILED;
|
|
3655
3851
|
}
|
|
3656
3852
|
}
|
|
3657
|
-
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3658
|
-
s4 = peg$c2;
|
|
3853
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3854
|
+
s4 = peg$c2;
|
|
3855
|
+
peg$currPos++;
|
|
3856
|
+
} else {
|
|
3857
|
+
s4 = peg$FAILED;
|
|
3858
|
+
if (peg$silentFails === 0) {
|
|
3859
|
+
peg$fail(peg$e2);
|
|
3860
|
+
}
|
|
3861
|
+
}
|
|
3862
|
+
if (s4 !== peg$FAILED) {
|
|
3863
|
+
peg$savedPos = s0;
|
|
3864
|
+
s0 = peg$f66(s3);
|
|
3865
|
+
} else {
|
|
3866
|
+
peg$currPos = s0;
|
|
3867
|
+
s0 = peg$FAILED;
|
|
3868
|
+
}
|
|
3869
|
+
} else {
|
|
3870
|
+
peg$currPos = s0;
|
|
3871
|
+
s0 = peg$FAILED;
|
|
3872
|
+
}
|
|
3873
|
+
return s0;
|
|
3874
|
+
}
|
|
3875
|
+
function peg$parseTabItem() {
|
|
3876
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3877
|
+
s0 = peg$currPos;
|
|
3878
|
+
if (input.substr(peg$currPos, 3) === peg$c50) {
|
|
3879
|
+
s1 = peg$c50;
|
|
3880
|
+
peg$currPos += 3;
|
|
3881
|
+
} else {
|
|
3882
|
+
s1 = peg$FAILED;
|
|
3883
|
+
if (peg$silentFails === 0) {
|
|
3884
|
+
peg$fail(peg$e50);
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
if (s1 !== peg$FAILED) {
|
|
3888
|
+
s2 = peg$parse_();
|
|
3889
|
+
s3 = peg$parseStringLiteral();
|
|
3890
|
+
if (s3 !== peg$FAILED) {
|
|
3891
|
+
s4 = peg$parse_();
|
|
3892
|
+
s5 = peg$parseAttributes();
|
|
3893
|
+
if (s5 === peg$FAILED) {
|
|
3894
|
+
s5 = null;
|
|
3895
|
+
}
|
|
3896
|
+
s6 = peg$parse_();
|
|
3897
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3898
|
+
s7 = peg$c1;
|
|
3899
|
+
peg$currPos++;
|
|
3900
|
+
} else {
|
|
3901
|
+
s7 = peg$FAILED;
|
|
3902
|
+
if (peg$silentFails === 0) {
|
|
3903
|
+
peg$fail(peg$e1);
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
if (s7 !== peg$FAILED) {
|
|
3907
|
+
s8 = peg$parse_();
|
|
3908
|
+
s9 = peg$parseChildren();
|
|
3909
|
+
if (s9 !== peg$FAILED) {
|
|
3910
|
+
s10 = peg$parse_();
|
|
3911
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3912
|
+
s11 = peg$c2;
|
|
3913
|
+
peg$currPos++;
|
|
3914
|
+
} else {
|
|
3915
|
+
s11 = peg$FAILED;
|
|
3916
|
+
if (peg$silentFails === 0) {
|
|
3917
|
+
peg$fail(peg$e2);
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
if (s11 !== peg$FAILED) {
|
|
3921
|
+
peg$savedPos = s0;
|
|
3922
|
+
s0 = peg$f67(s3, s5, s9);
|
|
3923
|
+
} else {
|
|
3924
|
+
peg$currPos = s0;
|
|
3925
|
+
s0 = peg$FAILED;
|
|
3926
|
+
}
|
|
3927
|
+
} else {
|
|
3928
|
+
peg$currPos = s0;
|
|
3929
|
+
s0 = peg$FAILED;
|
|
3930
|
+
}
|
|
3931
|
+
} else {
|
|
3932
|
+
peg$currPos = s0;
|
|
3933
|
+
s0 = peg$FAILED;
|
|
3934
|
+
}
|
|
3935
|
+
} else {
|
|
3936
|
+
peg$currPos = s0;
|
|
3937
|
+
s0 = peg$FAILED;
|
|
3938
|
+
}
|
|
3939
|
+
} else {
|
|
3940
|
+
peg$currPos = s0;
|
|
3941
|
+
s0 = peg$FAILED;
|
|
3942
|
+
}
|
|
3943
|
+
if (s0 === peg$FAILED) {
|
|
3944
|
+
s0 = peg$currPos;
|
|
3945
|
+
s1 = peg$parseComment();
|
|
3946
|
+
if (s1 !== peg$FAILED) {
|
|
3947
|
+
peg$savedPos = s0;
|
|
3948
|
+
s1 = peg$f68();
|
|
3949
|
+
}
|
|
3950
|
+
s0 = s1;
|
|
3951
|
+
}
|
|
3952
|
+
return s0;
|
|
3953
|
+
}
|
|
3954
|
+
function peg$parseBreadcrumb() {
|
|
3955
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3956
|
+
s0 = peg$currPos;
|
|
3957
|
+
if (input.substr(peg$currPos, 10) === peg$c51) {
|
|
3958
|
+
s1 = peg$c51;
|
|
3959
|
+
peg$currPos += 10;
|
|
3960
|
+
} else {
|
|
3961
|
+
s1 = peg$FAILED;
|
|
3962
|
+
if (peg$silentFails === 0) {
|
|
3963
|
+
peg$fail(peg$e51);
|
|
3964
|
+
}
|
|
3965
|
+
}
|
|
3966
|
+
if (s1 !== peg$FAILED) {
|
|
3967
|
+
s2 = peg$parse_();
|
|
3968
|
+
s3 = peg$parseArray();
|
|
3969
|
+
if (s3 !== peg$FAILED) {
|
|
3970
|
+
s4 = peg$parse_();
|
|
3971
|
+
s5 = peg$parseAttributes();
|
|
3972
|
+
if (s5 === peg$FAILED) {
|
|
3973
|
+
s5 = null;
|
|
3974
|
+
}
|
|
3975
|
+
peg$savedPos = s0;
|
|
3976
|
+
s0 = peg$f69(s3, s5);
|
|
3977
|
+
} else {
|
|
3978
|
+
peg$currPos = s0;
|
|
3979
|
+
s0 = peg$FAILED;
|
|
3980
|
+
}
|
|
3981
|
+
} else {
|
|
3982
|
+
peg$currPos = s0;
|
|
3983
|
+
s0 = peg$FAILED;
|
|
3984
|
+
}
|
|
3985
|
+
return s0;
|
|
3986
|
+
}
|
|
3987
|
+
function peg$parseDivider() {
|
|
3988
|
+
let s0, s1, s2, s3;
|
|
3989
|
+
s0 = peg$currPos;
|
|
3990
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3991
|
+
s1 = peg$c46;
|
|
3992
|
+
peg$currPos += 7;
|
|
3993
|
+
} else {
|
|
3994
|
+
s1 = peg$FAILED;
|
|
3995
|
+
if (peg$silentFails === 0) {
|
|
3996
|
+
peg$fail(peg$e46);
|
|
3997
|
+
}
|
|
3998
|
+
}
|
|
3999
|
+
if (s1 !== peg$FAILED) {
|
|
4000
|
+
s2 = peg$parse_();
|
|
4001
|
+
s3 = peg$parseAttributes();
|
|
4002
|
+
if (s3 === peg$FAILED) {
|
|
4003
|
+
s3 = null;
|
|
4004
|
+
}
|
|
4005
|
+
peg$savedPos = s0;
|
|
4006
|
+
s0 = peg$f70(s3);
|
|
4007
|
+
} else {
|
|
4008
|
+
peg$currPos = s0;
|
|
4009
|
+
s0 = peg$FAILED;
|
|
4010
|
+
}
|
|
4011
|
+
return s0;
|
|
4012
|
+
}
|
|
4013
|
+
function peg$parseMarker() {
|
|
4014
|
+
let s0, s1, s2, s3, s4, s5;
|
|
4015
|
+
s0 = peg$currPos;
|
|
4016
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
4017
|
+
s1 = peg$c52;
|
|
4018
|
+
peg$currPos += 6;
|
|
4019
|
+
} else {
|
|
4020
|
+
s1 = peg$FAILED;
|
|
4021
|
+
if (peg$silentFails === 0) {
|
|
4022
|
+
peg$fail(peg$e52);
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
if (s1 !== peg$FAILED) {
|
|
4026
|
+
s2 = peg$parse_();
|
|
4027
|
+
s3 = peg$parseInteger();
|
|
4028
|
+
if (s3 !== peg$FAILED) {
|
|
4029
|
+
s4 = peg$parse_();
|
|
4030
|
+
s5 = peg$parseAttributes();
|
|
4031
|
+
if (s5 === peg$FAILED) {
|
|
4032
|
+
s5 = null;
|
|
4033
|
+
}
|
|
4034
|
+
peg$savedPos = s0;
|
|
4035
|
+
s0 = peg$f71(s3, s5);
|
|
4036
|
+
} else {
|
|
4037
|
+
peg$currPos = s0;
|
|
4038
|
+
s0 = peg$FAILED;
|
|
4039
|
+
}
|
|
4040
|
+
} else {
|
|
4041
|
+
peg$currPos = s0;
|
|
4042
|
+
s0 = peg$FAILED;
|
|
4043
|
+
}
|
|
4044
|
+
return s0;
|
|
4045
|
+
}
|
|
4046
|
+
function peg$parseAnnotations() {
|
|
4047
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
4048
|
+
s0 = peg$currPos;
|
|
4049
|
+
if (input.substr(peg$currPos, 11) === peg$c53) {
|
|
4050
|
+
s1 = peg$c53;
|
|
4051
|
+
peg$currPos += 11;
|
|
4052
|
+
} else {
|
|
4053
|
+
s1 = peg$FAILED;
|
|
4054
|
+
if (peg$silentFails === 0) {
|
|
4055
|
+
peg$fail(peg$e53);
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
if (s1 !== peg$FAILED) {
|
|
4059
|
+
s2 = peg$parse_();
|
|
4060
|
+
s3 = peg$parseAttributes();
|
|
4061
|
+
if (s3 === peg$FAILED) {
|
|
4062
|
+
s3 = null;
|
|
4063
|
+
}
|
|
4064
|
+
s4 = peg$parse_();
|
|
4065
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
4066
|
+
s5 = peg$c1;
|
|
3659
4067
|
peg$currPos++;
|
|
3660
4068
|
} else {
|
|
3661
|
-
|
|
4069
|
+
s5 = peg$FAILED;
|
|
3662
4070
|
if (peg$silentFails === 0) {
|
|
3663
|
-
peg$fail(peg$
|
|
4071
|
+
peg$fail(peg$e1);
|
|
3664
4072
|
}
|
|
3665
4073
|
}
|
|
3666
|
-
if (
|
|
3667
|
-
|
|
3668
|
-
|
|
4074
|
+
if (s5 !== peg$FAILED) {
|
|
4075
|
+
s6 = peg$parse_();
|
|
4076
|
+
s7 = peg$parseAnnotationContent();
|
|
4077
|
+
s8 = peg$parse_();
|
|
4078
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
4079
|
+
s9 = peg$c2;
|
|
4080
|
+
peg$currPos++;
|
|
4081
|
+
} else {
|
|
4082
|
+
s9 = peg$FAILED;
|
|
4083
|
+
if (peg$silentFails === 0) {
|
|
4084
|
+
peg$fail(peg$e2);
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4087
|
+
if (s9 !== peg$FAILED) {
|
|
4088
|
+
peg$savedPos = s0;
|
|
4089
|
+
s0 = peg$f72(s3, s7);
|
|
4090
|
+
} else {
|
|
4091
|
+
peg$currPos = s0;
|
|
4092
|
+
s0 = peg$FAILED;
|
|
4093
|
+
}
|
|
3669
4094
|
} else {
|
|
3670
4095
|
peg$currPos = s0;
|
|
3671
4096
|
s0 = peg$FAILED;
|
|
@@ -3676,54 +4101,93 @@ function peg$parse(input, options) {
|
|
|
3676
4101
|
}
|
|
3677
4102
|
return s0;
|
|
3678
4103
|
}
|
|
3679
|
-
function peg$
|
|
3680
|
-
let s0, s1, s2, s3, s4
|
|
4104
|
+
function peg$parseAnnotationContent() {
|
|
4105
|
+
let s0, s1, s2, s3, s4;
|
|
3681
4106
|
s0 = peg$currPos;
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
4107
|
+
s1 = [];
|
|
4108
|
+
s2 = peg$currPos;
|
|
4109
|
+
s3 = peg$parseAnnotationItem();
|
|
4110
|
+
if (s3 !== peg$FAILED) {
|
|
4111
|
+
s4 = peg$parse_();
|
|
4112
|
+
s3 = [s3, s4];
|
|
4113
|
+
s2 = s3;
|
|
4114
|
+
} else {
|
|
4115
|
+
peg$currPos = s2;
|
|
4116
|
+
s2 = peg$FAILED;
|
|
4117
|
+
}
|
|
4118
|
+
while (s2 !== peg$FAILED) {
|
|
4119
|
+
s1.push(s2);
|
|
4120
|
+
s2 = peg$currPos;
|
|
4121
|
+
s3 = peg$parseAnnotationItem();
|
|
4122
|
+
if (s3 !== peg$FAILED) {
|
|
4123
|
+
s4 = peg$parse_();
|
|
4124
|
+
s3 = [s3, s4];
|
|
4125
|
+
s2 = s3;
|
|
4126
|
+
} else {
|
|
4127
|
+
peg$currPos = s2;
|
|
4128
|
+
s2 = peg$FAILED;
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4131
|
+
peg$savedPos = s0;
|
|
4132
|
+
s1 = peg$f73(s1);
|
|
4133
|
+
s0 = s1;
|
|
4134
|
+
return s0;
|
|
4135
|
+
}
|
|
4136
|
+
function peg$parseAnnotationItem() {
|
|
4137
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13;
|
|
4138
|
+
s0 = peg$currPos;
|
|
4139
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4140
|
+
s1 = peg$c38;
|
|
4141
|
+
peg$currPos += 4;
|
|
3685
4142
|
} else {
|
|
3686
4143
|
s1 = peg$FAILED;
|
|
3687
4144
|
if (peg$silentFails === 0) {
|
|
3688
|
-
peg$fail(peg$
|
|
4145
|
+
peg$fail(peg$e38);
|
|
3689
4146
|
}
|
|
3690
4147
|
}
|
|
3691
4148
|
if (s1 !== peg$FAILED) {
|
|
3692
4149
|
s2 = peg$parse_();
|
|
3693
|
-
s3 = peg$
|
|
4150
|
+
s3 = peg$parseInteger();
|
|
3694
4151
|
if (s3 !== peg$FAILED) {
|
|
3695
4152
|
s4 = peg$parse_();
|
|
3696
|
-
s5 = peg$
|
|
3697
|
-
if (s5
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
s7 = peg$c1;
|
|
3703
|
-
peg$currPos++;
|
|
3704
|
-
} else {
|
|
3705
|
-
s7 = peg$FAILED;
|
|
3706
|
-
if (peg$silentFails === 0) {
|
|
3707
|
-
peg$fail(peg$e1);
|
|
4153
|
+
s5 = peg$parseStringLiteral();
|
|
4154
|
+
if (s5 !== peg$FAILED) {
|
|
4155
|
+
s6 = peg$parse_();
|
|
4156
|
+
s7 = peg$parseAttributes();
|
|
4157
|
+
if (s7 === peg$FAILED) {
|
|
4158
|
+
s7 = null;
|
|
3708
4159
|
}
|
|
3709
|
-
}
|
|
3710
|
-
if (s7 !== peg$FAILED) {
|
|
3711
4160
|
s8 = peg$parse_();
|
|
3712
|
-
|
|
4161
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
4162
|
+
s9 = peg$c1;
|
|
4163
|
+
peg$currPos++;
|
|
4164
|
+
} else {
|
|
4165
|
+
s9 = peg$FAILED;
|
|
4166
|
+
if (peg$silentFails === 0) {
|
|
4167
|
+
peg$fail(peg$e1);
|
|
4168
|
+
}
|
|
4169
|
+
}
|
|
3713
4170
|
if (s9 !== peg$FAILED) {
|
|
3714
4171
|
s10 = peg$parse_();
|
|
3715
|
-
|
|
3716
|
-
s11 = peg$c2;
|
|
3717
|
-
peg$currPos++;
|
|
3718
|
-
} else {
|
|
3719
|
-
s11 = peg$FAILED;
|
|
3720
|
-
if (peg$silentFails === 0) {
|
|
3721
|
-
peg$fail(peg$e2);
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
4172
|
+
s11 = peg$parseChildren();
|
|
3724
4173
|
if (s11 !== peg$FAILED) {
|
|
3725
|
-
|
|
3726
|
-
|
|
4174
|
+
s12 = peg$parse_();
|
|
4175
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
4176
|
+
s13 = peg$c2;
|
|
4177
|
+
peg$currPos++;
|
|
4178
|
+
} else {
|
|
4179
|
+
s13 = peg$FAILED;
|
|
4180
|
+
if (peg$silentFails === 0) {
|
|
4181
|
+
peg$fail(peg$e2);
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
if (s13 !== peg$FAILED) {
|
|
4185
|
+
peg$savedPos = s0;
|
|
4186
|
+
s0 = peg$f74(s3, s5, s7, s11);
|
|
4187
|
+
} else {
|
|
4188
|
+
peg$currPos = s0;
|
|
4189
|
+
s0 = peg$FAILED;
|
|
4190
|
+
}
|
|
3727
4191
|
} else {
|
|
3728
4192
|
peg$currPos = s0;
|
|
3729
4193
|
s0 = peg$FAILED;
|
|
@@ -3746,71 +4210,94 @@ function peg$parse(input, options) {
|
|
|
3746
4210
|
}
|
|
3747
4211
|
if (s0 === peg$FAILED) {
|
|
3748
4212
|
s0 = peg$currPos;
|
|
3749
|
-
|
|
4213
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4214
|
+
s1 = peg$c38;
|
|
4215
|
+
peg$currPos += 4;
|
|
4216
|
+
} else {
|
|
4217
|
+
s1 = peg$FAILED;
|
|
4218
|
+
if (peg$silentFails === 0) {
|
|
4219
|
+
peg$fail(peg$e38);
|
|
4220
|
+
}
|
|
4221
|
+
}
|
|
3750
4222
|
if (s1 !== peg$FAILED) {
|
|
3751
|
-
|
|
3752
|
-
|
|
4223
|
+
s2 = peg$parse_();
|
|
4224
|
+
s3 = peg$parseInteger();
|
|
4225
|
+
if (s3 !== peg$FAILED) {
|
|
4226
|
+
s4 = peg$parse_();
|
|
4227
|
+
s5 = peg$parseStringLiteral();
|
|
4228
|
+
if (s5 !== peg$FAILED) {
|
|
4229
|
+
s6 = peg$parse_();
|
|
4230
|
+
s7 = peg$parseAttributes();
|
|
4231
|
+
if (s7 === peg$FAILED) {
|
|
4232
|
+
s7 = null;
|
|
4233
|
+
}
|
|
4234
|
+
peg$savedPos = s0;
|
|
4235
|
+
s0 = peg$f75(s3, s5, s7);
|
|
4236
|
+
} else {
|
|
4237
|
+
peg$currPos = s0;
|
|
4238
|
+
s0 = peg$FAILED;
|
|
4239
|
+
}
|
|
4240
|
+
} else {
|
|
4241
|
+
peg$currPos = s0;
|
|
4242
|
+
s0 = peg$FAILED;
|
|
4243
|
+
}
|
|
4244
|
+
} else {
|
|
4245
|
+
peg$currPos = s0;
|
|
4246
|
+
s0 = peg$FAILED;
|
|
4247
|
+
}
|
|
4248
|
+
if (s0 === peg$FAILED) {
|
|
4249
|
+
s0 = peg$currPos;
|
|
4250
|
+
s1 = peg$parseComment();
|
|
4251
|
+
if (s1 !== peg$FAILED) {
|
|
4252
|
+
peg$savedPos = s0;
|
|
4253
|
+
s1 = peg$f76();
|
|
4254
|
+
}
|
|
4255
|
+
s0 = s1;
|
|
3753
4256
|
}
|
|
3754
|
-
s0 = s1;
|
|
3755
4257
|
}
|
|
3756
4258
|
return s0;
|
|
3757
4259
|
}
|
|
3758
|
-
function peg$
|
|
3759
|
-
let s0, s1, s2
|
|
4260
|
+
function peg$parseInteger() {
|
|
4261
|
+
let s0, s1, s2;
|
|
4262
|
+
peg$silentFails++;
|
|
3760
4263
|
s0 = peg$currPos;
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
4264
|
+
s1 = [];
|
|
4265
|
+
s2 = input.charAt(peg$currPos);
|
|
4266
|
+
if (peg$r0.test(s2)) {
|
|
4267
|
+
peg$currPos++;
|
|
3764
4268
|
} else {
|
|
3765
|
-
|
|
4269
|
+
s2 = peg$FAILED;
|
|
3766
4270
|
if (peg$silentFails === 0) {
|
|
3767
|
-
peg$fail(peg$
|
|
4271
|
+
peg$fail(peg$e55);
|
|
3768
4272
|
}
|
|
3769
4273
|
}
|
|
3770
|
-
if (
|
|
3771
|
-
s2
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
4274
|
+
if (s2 !== peg$FAILED) {
|
|
4275
|
+
while (s2 !== peg$FAILED) {
|
|
4276
|
+
s1.push(s2);
|
|
4277
|
+
s2 = input.charAt(peg$currPos);
|
|
4278
|
+
if (peg$r0.test(s2)) {
|
|
4279
|
+
peg$currPos++;
|
|
4280
|
+
} else {
|
|
4281
|
+
s2 = peg$FAILED;
|
|
4282
|
+
if (peg$silentFails === 0) {
|
|
4283
|
+
peg$fail(peg$e55);
|
|
4284
|
+
}
|
|
3778
4285
|
}
|
|
3779
|
-
peg$savedPos = s0;
|
|
3780
|
-
s0 = peg$f67(s3, s5);
|
|
3781
|
-
} else {
|
|
3782
|
-
peg$currPos = s0;
|
|
3783
|
-
s0 = peg$FAILED;
|
|
3784
4286
|
}
|
|
3785
|
-
} else {
|
|
3786
|
-
peg$currPos = s0;
|
|
3787
|
-
s0 = peg$FAILED;
|
|
3788
|
-
}
|
|
3789
|
-
return s0;
|
|
3790
|
-
}
|
|
3791
|
-
function peg$parseDivider() {
|
|
3792
|
-
let s0, s1, s2, s3;
|
|
3793
|
-
s0 = peg$currPos;
|
|
3794
|
-
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3795
|
-
s1 = peg$c44;
|
|
3796
|
-
peg$currPos += 7;
|
|
3797
4287
|
} else {
|
|
3798
4288
|
s1 = peg$FAILED;
|
|
3799
|
-
if (peg$silentFails === 0) {
|
|
3800
|
-
peg$fail(peg$e44);
|
|
3801
|
-
}
|
|
3802
4289
|
}
|
|
3803
4290
|
if (s1 !== peg$FAILED) {
|
|
3804
|
-
s2 = peg$parse_();
|
|
3805
|
-
s3 = peg$parseAttributes();
|
|
3806
|
-
if (s3 === peg$FAILED) {
|
|
3807
|
-
s3 = null;
|
|
3808
|
-
}
|
|
3809
4291
|
peg$savedPos = s0;
|
|
3810
|
-
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3813
|
-
|
|
4292
|
+
s1 = peg$f77(s1);
|
|
4293
|
+
}
|
|
4294
|
+
s0 = s1;
|
|
4295
|
+
peg$silentFails--;
|
|
4296
|
+
if (s0 === peg$FAILED) {
|
|
4297
|
+
s1 = peg$FAILED;
|
|
4298
|
+
if (peg$silentFails === 0) {
|
|
4299
|
+
peg$fail(peg$e54);
|
|
4300
|
+
}
|
|
3814
4301
|
}
|
|
3815
4302
|
return s0;
|
|
3816
4303
|
}
|
|
@@ -3829,7 +4316,7 @@ function peg$parse(input, options) {
|
|
|
3829
4316
|
}
|
|
3830
4317
|
if (s1 !== peg$FAILED) {
|
|
3831
4318
|
peg$savedPos = s0;
|
|
3832
|
-
s1 = peg$
|
|
4319
|
+
s1 = peg$f78(s1);
|
|
3833
4320
|
}
|
|
3834
4321
|
s0 = s1;
|
|
3835
4322
|
return s0;
|
|
@@ -3842,12 +4329,12 @@ function peg$parse(input, options) {
|
|
|
3842
4329
|
if (s2 !== peg$FAILED) {
|
|
3843
4330
|
s3 = peg$parse_();
|
|
3844
4331
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3845
|
-
s4 = peg$
|
|
4332
|
+
s4 = peg$c54;
|
|
3846
4333
|
peg$currPos++;
|
|
3847
4334
|
} else {
|
|
3848
4335
|
s4 = peg$FAILED;
|
|
3849
4336
|
if (peg$silentFails === 0) {
|
|
3850
|
-
peg$fail(peg$
|
|
4337
|
+
peg$fail(peg$e56);
|
|
3851
4338
|
}
|
|
3852
4339
|
}
|
|
3853
4340
|
if (s4 !== peg$FAILED) {
|
|
@@ -3855,7 +4342,7 @@ function peg$parse(input, options) {
|
|
|
3855
4342
|
s6 = peg$parseAttributeValue();
|
|
3856
4343
|
if (s6 !== peg$FAILED) {
|
|
3857
4344
|
peg$savedPos = s0;
|
|
3858
|
-
s0 = peg$
|
|
4345
|
+
s0 = peg$f79(s2, s6);
|
|
3859
4346
|
} else {
|
|
3860
4347
|
peg$currPos = s0;
|
|
3861
4348
|
s0 = peg$FAILED;
|
|
@@ -3882,32 +4369,32 @@ function peg$parse(input, options) {
|
|
|
3882
4369
|
s6 = peg$parseAttributeName();
|
|
3883
4370
|
if (s6 === peg$FAILED) {
|
|
3884
4371
|
s6 = input.charAt(peg$currPos);
|
|
3885
|
-
if (peg$
|
|
4372
|
+
if (peg$r1.test(s6)) {
|
|
3886
4373
|
peg$currPos++;
|
|
3887
4374
|
} else {
|
|
3888
4375
|
s6 = peg$FAILED;
|
|
3889
4376
|
if (peg$silentFails === 0) {
|
|
3890
|
-
peg$fail(peg$
|
|
4377
|
+
peg$fail(peg$e57);
|
|
3891
4378
|
}
|
|
3892
4379
|
}
|
|
3893
4380
|
if (s6 === peg$FAILED) {
|
|
3894
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3895
|
-
s6 = peg$
|
|
4381
|
+
if (input.substr(peg$currPos, 2) === peg$c55) {
|
|
4382
|
+
s6 = peg$c55;
|
|
3896
4383
|
peg$currPos += 2;
|
|
3897
4384
|
} else {
|
|
3898
4385
|
s6 = peg$FAILED;
|
|
3899
4386
|
if (peg$silentFails === 0) {
|
|
3900
|
-
peg$fail(peg$
|
|
4387
|
+
peg$fail(peg$e58);
|
|
3901
4388
|
}
|
|
3902
4389
|
}
|
|
3903
4390
|
if (s6 === peg$FAILED) {
|
|
3904
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3905
|
-
s6 = peg$
|
|
4391
|
+
if (input.substr(peg$currPos, 2) === peg$c56) {
|
|
4392
|
+
s6 = peg$c56;
|
|
3906
4393
|
peg$currPos += 2;
|
|
3907
4394
|
} else {
|
|
3908
4395
|
s6 = peg$FAILED;
|
|
3909
4396
|
if (peg$silentFails === 0) {
|
|
3910
|
-
peg$fail(peg$
|
|
4397
|
+
peg$fail(peg$e59);
|
|
3911
4398
|
}
|
|
3912
4399
|
}
|
|
3913
4400
|
if (s6 === peg$FAILED) {
|
|
@@ -3919,7 +4406,7 @@ function peg$parse(input, options) {
|
|
|
3919
4406
|
} else {
|
|
3920
4407
|
s7 = peg$FAILED;
|
|
3921
4408
|
if (peg$silentFails === 0) {
|
|
3922
|
-
peg$fail(peg$
|
|
4409
|
+
peg$fail(peg$e60);
|
|
3923
4410
|
}
|
|
3924
4411
|
}
|
|
3925
4412
|
peg$silentFails--;
|
|
@@ -3950,7 +4437,7 @@ function peg$parse(input, options) {
|
|
|
3950
4437
|
}
|
|
3951
4438
|
if (s3 !== peg$FAILED) {
|
|
3952
4439
|
peg$savedPos = s0;
|
|
3953
|
-
s0 = peg$
|
|
4440
|
+
s0 = peg$f80(s2);
|
|
3954
4441
|
} else {
|
|
3955
4442
|
peg$currPos = s0;
|
|
3956
4443
|
s0 = peg$FAILED;
|
|
@@ -3979,7 +4466,7 @@ function peg$parse(input, options) {
|
|
|
3979
4466
|
s2 = peg$parseIdentifier();
|
|
3980
4467
|
if (s2 !== peg$FAILED) {
|
|
3981
4468
|
peg$savedPos = s0;
|
|
3982
|
-
s0 = peg$
|
|
4469
|
+
s0 = peg$f81(s2);
|
|
3983
4470
|
} else {
|
|
3984
4471
|
peg$currPos = s0;
|
|
3985
4472
|
s0 = peg$FAILED;
|
|
@@ -4063,9 +4550,9 @@ function peg$parse(input, options) {
|
|
|
4063
4550
|
}
|
|
4064
4551
|
}
|
|
4065
4552
|
if (s1 === peg$FAILED) {
|
|
4066
|
-
if (input.substr(peg$currPos,
|
|
4553
|
+
if (input.substr(peg$currPos, 5) === peg$c9) {
|
|
4067
4554
|
s1 = peg$c9;
|
|
4068
|
-
peg$currPos +=
|
|
4555
|
+
peg$currPos += 5;
|
|
4069
4556
|
} else {
|
|
4070
4557
|
s1 = peg$FAILED;
|
|
4071
4558
|
if (peg$silentFails === 0) {
|
|
@@ -4073,9 +4560,9 @@ function peg$parse(input, options) {
|
|
|
4073
4560
|
}
|
|
4074
4561
|
}
|
|
4075
4562
|
if (s1 === peg$FAILED) {
|
|
4076
|
-
if (input.substr(peg$currPos,
|
|
4563
|
+
if (input.substr(peg$currPos, 8) === peg$c10) {
|
|
4077
4564
|
s1 = peg$c10;
|
|
4078
|
-
peg$currPos +=
|
|
4565
|
+
peg$currPos += 8;
|
|
4079
4566
|
} else {
|
|
4080
4567
|
s1 = peg$FAILED;
|
|
4081
4568
|
if (peg$silentFails === 0) {
|
|
@@ -4083,9 +4570,9 @@ function peg$parse(input, options) {
|
|
|
4083
4570
|
}
|
|
4084
4571
|
}
|
|
4085
4572
|
if (s1 === peg$FAILED) {
|
|
4086
|
-
if (input.substr(peg$currPos,
|
|
4573
|
+
if (input.substr(peg$currPos, 4) === peg$c11) {
|
|
4087
4574
|
s1 = peg$c11;
|
|
4088
|
-
peg$currPos +=
|
|
4575
|
+
peg$currPos += 4;
|
|
4089
4576
|
} else {
|
|
4090
4577
|
s1 = peg$FAILED;
|
|
4091
4578
|
if (peg$silentFails === 0) {
|
|
@@ -4093,9 +4580,9 @@ function peg$parse(input, options) {
|
|
|
4093
4580
|
}
|
|
4094
4581
|
}
|
|
4095
4582
|
if (s1 === peg$FAILED) {
|
|
4096
|
-
if (input.substr(peg$currPos,
|
|
4583
|
+
if (input.substr(peg$currPos, 5) === peg$c12) {
|
|
4097
4584
|
s1 = peg$c12;
|
|
4098
|
-
peg$currPos +=
|
|
4585
|
+
peg$currPos += 5;
|
|
4099
4586
|
} else {
|
|
4100
4587
|
s1 = peg$FAILED;
|
|
4101
4588
|
if (peg$silentFails === 0) {
|
|
@@ -4103,9 +4590,9 @@ function peg$parse(input, options) {
|
|
|
4103
4590
|
}
|
|
4104
4591
|
}
|
|
4105
4592
|
if (s1 === peg$FAILED) {
|
|
4106
|
-
if (input.substr(peg$currPos,
|
|
4593
|
+
if (input.substr(peg$currPos, 6) === peg$c13) {
|
|
4107
4594
|
s1 = peg$c13;
|
|
4108
|
-
peg$currPos +=
|
|
4595
|
+
peg$currPos += 6;
|
|
4109
4596
|
} else {
|
|
4110
4597
|
s1 = peg$FAILED;
|
|
4111
4598
|
if (peg$silentFails === 0) {
|
|
@@ -4113,9 +4600,9 @@ function peg$parse(input, options) {
|
|
|
4113
4600
|
}
|
|
4114
4601
|
}
|
|
4115
4602
|
if (s1 === peg$FAILED) {
|
|
4116
|
-
if (input.substr(peg$currPos,
|
|
4603
|
+
if (input.substr(peg$currPos, 9) === peg$c14) {
|
|
4117
4604
|
s1 = peg$c14;
|
|
4118
|
-
peg$currPos +=
|
|
4605
|
+
peg$currPos += 9;
|
|
4119
4606
|
} else {
|
|
4120
4607
|
s1 = peg$FAILED;
|
|
4121
4608
|
if (peg$silentFails === 0) {
|
|
@@ -4123,29 +4610,29 @@ function peg$parse(input, options) {
|
|
|
4123
4610
|
}
|
|
4124
4611
|
}
|
|
4125
4612
|
if (s1 === peg$FAILED) {
|
|
4126
|
-
if (input.substr(peg$currPos,
|
|
4127
|
-
s1 = peg$
|
|
4128
|
-
peg$currPos +=
|
|
4613
|
+
if (input.substr(peg$currPos, 7) === peg$c15) {
|
|
4614
|
+
s1 = peg$c15;
|
|
4615
|
+
peg$currPos += 7;
|
|
4129
4616
|
} else {
|
|
4130
4617
|
s1 = peg$FAILED;
|
|
4131
4618
|
if (peg$silentFails === 0) {
|
|
4132
|
-
peg$fail(peg$
|
|
4619
|
+
peg$fail(peg$e15);
|
|
4133
4620
|
}
|
|
4134
4621
|
}
|
|
4135
4622
|
if (s1 === peg$FAILED) {
|
|
4136
|
-
if (input.substr(peg$currPos,
|
|
4137
|
-
s1 = peg$
|
|
4138
|
-
peg$currPos +=
|
|
4623
|
+
if (input.substr(peg$currPos, 4) === peg$c16) {
|
|
4624
|
+
s1 = peg$c16;
|
|
4625
|
+
peg$currPos += 4;
|
|
4139
4626
|
} else {
|
|
4140
4627
|
s1 = peg$FAILED;
|
|
4141
4628
|
if (peg$silentFails === 0) {
|
|
4142
|
-
peg$fail(peg$
|
|
4629
|
+
peg$fail(peg$e16);
|
|
4143
4630
|
}
|
|
4144
4631
|
}
|
|
4145
4632
|
if (s1 === peg$FAILED) {
|
|
4146
|
-
if (input.substr(peg$currPos,
|
|
4633
|
+
if (input.substr(peg$currPos, 4) === peg$c18) {
|
|
4147
4634
|
s1 = peg$c18;
|
|
4148
|
-
peg$currPos +=
|
|
4635
|
+
peg$currPos += 4;
|
|
4149
4636
|
} else {
|
|
4150
4637
|
s1 = peg$FAILED;
|
|
4151
4638
|
if (peg$silentFails === 0) {
|
|
@@ -4153,9 +4640,9 @@ function peg$parse(input, options) {
|
|
|
4153
4640
|
}
|
|
4154
4641
|
}
|
|
4155
4642
|
if (s1 === peg$FAILED) {
|
|
4156
|
-
if (input.substr(peg$currPos,
|
|
4643
|
+
if (input.substr(peg$currPos, 6) === peg$c19) {
|
|
4157
4644
|
s1 = peg$c19;
|
|
4158
|
-
peg$currPos +=
|
|
4645
|
+
peg$currPos += 6;
|
|
4159
4646
|
} else {
|
|
4160
4647
|
s1 = peg$FAILED;
|
|
4161
4648
|
if (peg$silentFails === 0) {
|
|
@@ -4163,9 +4650,9 @@ function peg$parse(input, options) {
|
|
|
4163
4650
|
}
|
|
4164
4651
|
}
|
|
4165
4652
|
if (s1 === peg$FAILED) {
|
|
4166
|
-
if (input.substr(peg$currPos,
|
|
4653
|
+
if (input.substr(peg$currPos, 5) === peg$c20) {
|
|
4167
4654
|
s1 = peg$c20;
|
|
4168
|
-
peg$currPos +=
|
|
4655
|
+
peg$currPos += 5;
|
|
4169
4656
|
} else {
|
|
4170
4657
|
s1 = peg$FAILED;
|
|
4171
4658
|
if (peg$silentFails === 0) {
|
|
@@ -4183,9 +4670,9 @@ function peg$parse(input, options) {
|
|
|
4183
4670
|
}
|
|
4184
4671
|
}
|
|
4185
4672
|
if (s1 === peg$FAILED) {
|
|
4186
|
-
if (input.substr(peg$currPos,
|
|
4673
|
+
if (input.substr(peg$currPos, 6) === peg$c22) {
|
|
4187
4674
|
s1 = peg$c22;
|
|
4188
|
-
peg$currPos +=
|
|
4675
|
+
peg$currPos += 6;
|
|
4189
4676
|
} else {
|
|
4190
4677
|
s1 = peg$FAILED;
|
|
4191
4678
|
if (peg$silentFails === 0) {
|
|
@@ -4193,9 +4680,9 @@ function peg$parse(input, options) {
|
|
|
4193
4680
|
}
|
|
4194
4681
|
}
|
|
4195
4682
|
if (s1 === peg$FAILED) {
|
|
4196
|
-
if (input.substr(peg$currPos,
|
|
4683
|
+
if (input.substr(peg$currPos, 8) === peg$c23) {
|
|
4197
4684
|
s1 = peg$c23;
|
|
4198
|
-
peg$currPos +=
|
|
4685
|
+
peg$currPos += 8;
|
|
4199
4686
|
} else {
|
|
4200
4687
|
s1 = peg$FAILED;
|
|
4201
4688
|
if (peg$silentFails === 0) {
|
|
@@ -4203,9 +4690,9 @@ function peg$parse(input, options) {
|
|
|
4203
4690
|
}
|
|
4204
4691
|
}
|
|
4205
4692
|
if (s1 === peg$FAILED) {
|
|
4206
|
-
if (input.substr(peg$currPos,
|
|
4693
|
+
if (input.substr(peg$currPos, 5) === peg$c24) {
|
|
4207
4694
|
s1 = peg$c24;
|
|
4208
|
-
peg$currPos +=
|
|
4695
|
+
peg$currPos += 5;
|
|
4209
4696
|
} else {
|
|
4210
4697
|
s1 = peg$FAILED;
|
|
4211
4698
|
if (peg$silentFails === 0) {
|
|
@@ -4213,9 +4700,9 @@ function peg$parse(input, options) {
|
|
|
4213
4700
|
}
|
|
4214
4701
|
}
|
|
4215
4702
|
if (s1 === peg$FAILED) {
|
|
4216
|
-
if (input.substr(peg$currPos,
|
|
4703
|
+
if (input.substr(peg$currPos, 6) === peg$c25) {
|
|
4217
4704
|
s1 = peg$c25;
|
|
4218
|
-
peg$currPos +=
|
|
4705
|
+
peg$currPos += 6;
|
|
4219
4706
|
} else {
|
|
4220
4707
|
s1 = peg$FAILED;
|
|
4221
4708
|
if (peg$silentFails === 0) {
|
|
@@ -4223,59 +4710,59 @@ function peg$parse(input, options) {
|
|
|
4223
4710
|
}
|
|
4224
4711
|
}
|
|
4225
4712
|
if (s1 === peg$FAILED) {
|
|
4226
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
4227
|
-
s1 = peg$
|
|
4713
|
+
if (input.substr(peg$currPos, 6) === peg$c26) {
|
|
4714
|
+
s1 = peg$c26;
|
|
4228
4715
|
peg$currPos += 6;
|
|
4229
4716
|
} else {
|
|
4230
4717
|
s1 = peg$FAILED;
|
|
4231
4718
|
if (peg$silentFails === 0) {
|
|
4232
|
-
peg$fail(peg$
|
|
4719
|
+
peg$fail(peg$e26);
|
|
4233
4720
|
}
|
|
4234
4721
|
}
|
|
4235
4722
|
if (s1 === peg$FAILED) {
|
|
4236
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4237
|
-
s1 = peg$
|
|
4723
|
+
if (input.substr(peg$currPos, 5) === peg$c27) {
|
|
4724
|
+
s1 = peg$c27;
|
|
4238
4725
|
peg$currPos += 5;
|
|
4239
4726
|
} else {
|
|
4240
4727
|
s1 = peg$FAILED;
|
|
4241
4728
|
if (peg$silentFails === 0) {
|
|
4242
|
-
peg$fail(peg$
|
|
4729
|
+
peg$fail(peg$e27);
|
|
4243
4730
|
}
|
|
4244
4731
|
}
|
|
4245
4732
|
if (s1 === peg$FAILED) {
|
|
4246
|
-
if (input.substr(peg$currPos,
|
|
4247
|
-
s1 = peg$
|
|
4248
|
-
peg$currPos +=
|
|
4733
|
+
if (input.substr(peg$currPos, 6) === peg$c29) {
|
|
4734
|
+
s1 = peg$c29;
|
|
4735
|
+
peg$currPos += 6;
|
|
4249
4736
|
} else {
|
|
4250
4737
|
s1 = peg$FAILED;
|
|
4251
4738
|
if (peg$silentFails === 0) {
|
|
4252
|
-
peg$fail(peg$
|
|
4739
|
+
peg$fail(peg$e29);
|
|
4253
4740
|
}
|
|
4254
4741
|
}
|
|
4255
4742
|
if (s1 === peg$FAILED) {
|
|
4256
|
-
if (input.substr(peg$currPos,
|
|
4257
|
-
s1 = peg$
|
|
4258
|
-
peg$currPos +=
|
|
4743
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
4744
|
+
s1 = peg$c30;
|
|
4745
|
+
peg$currPos += 5;
|
|
4259
4746
|
} else {
|
|
4260
4747
|
s1 = peg$FAILED;
|
|
4261
4748
|
if (peg$silentFails === 0) {
|
|
4262
|
-
peg$fail(peg$
|
|
4749
|
+
peg$fail(peg$e30);
|
|
4263
4750
|
}
|
|
4264
4751
|
}
|
|
4265
4752
|
if (s1 === peg$FAILED) {
|
|
4266
|
-
if (input.substr(peg$currPos,
|
|
4267
|
-
s1 = peg$
|
|
4268
|
-
peg$currPos +=
|
|
4753
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
4754
|
+
s1 = peg$c32;
|
|
4755
|
+
peg$currPos += 5;
|
|
4269
4756
|
} else {
|
|
4270
4757
|
s1 = peg$FAILED;
|
|
4271
4758
|
if (peg$silentFails === 0) {
|
|
4272
|
-
peg$fail(peg$
|
|
4759
|
+
peg$fail(peg$e32);
|
|
4273
4760
|
}
|
|
4274
4761
|
}
|
|
4275
4762
|
if (s1 === peg$FAILED) {
|
|
4276
|
-
if (input.substr(peg$currPos,
|
|
4763
|
+
if (input.substr(peg$currPos, 7) === peg$c36) {
|
|
4277
4764
|
s1 = peg$c36;
|
|
4278
|
-
peg$currPos +=
|
|
4765
|
+
peg$currPos += 7;
|
|
4279
4766
|
} else {
|
|
4280
4767
|
s1 = peg$FAILED;
|
|
4281
4768
|
if (peg$silentFails === 0) {
|
|
@@ -4283,9 +4770,9 @@ function peg$parse(input, options) {
|
|
|
4283
4770
|
}
|
|
4284
4771
|
}
|
|
4285
4772
|
if (s1 === peg$FAILED) {
|
|
4286
|
-
if (input.substr(peg$currPos,
|
|
4773
|
+
if (input.substr(peg$currPos, 4) === peg$c37) {
|
|
4287
4774
|
s1 = peg$c37;
|
|
4288
|
-
peg$currPos +=
|
|
4775
|
+
peg$currPos += 4;
|
|
4289
4776
|
} else {
|
|
4290
4777
|
s1 = peg$FAILED;
|
|
4291
4778
|
if (peg$silentFails === 0) {
|
|
@@ -4293,9 +4780,9 @@ function peg$parse(input, options) {
|
|
|
4293
4780
|
}
|
|
4294
4781
|
}
|
|
4295
4782
|
if (s1 === peg$FAILED) {
|
|
4296
|
-
if (input.substr(peg$currPos,
|
|
4783
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4297
4784
|
s1 = peg$c38;
|
|
4298
|
-
peg$currPos +=
|
|
4785
|
+
peg$currPos += 4;
|
|
4299
4786
|
} else {
|
|
4300
4787
|
s1 = peg$FAILED;
|
|
4301
4788
|
if (peg$silentFails === 0) {
|
|
@@ -4303,9 +4790,9 @@ function peg$parse(input, options) {
|
|
|
4303
4790
|
}
|
|
4304
4791
|
}
|
|
4305
4792
|
if (s1 === peg$FAILED) {
|
|
4306
|
-
if (input.substr(peg$currPos,
|
|
4793
|
+
if (input.substr(peg$currPos, 5) === peg$c39) {
|
|
4307
4794
|
s1 = peg$c39;
|
|
4308
|
-
peg$currPos +=
|
|
4795
|
+
peg$currPos += 5;
|
|
4309
4796
|
} else {
|
|
4310
4797
|
s1 = peg$FAILED;
|
|
4311
4798
|
if (peg$silentFails === 0) {
|
|
@@ -4313,9 +4800,9 @@ function peg$parse(input, options) {
|
|
|
4313
4800
|
}
|
|
4314
4801
|
}
|
|
4315
4802
|
if (s1 === peg$FAILED) {
|
|
4316
|
-
if (input.substr(peg$currPos,
|
|
4803
|
+
if (input.substr(peg$currPos, 5) === peg$c40) {
|
|
4317
4804
|
s1 = peg$c40;
|
|
4318
|
-
peg$currPos +=
|
|
4805
|
+
peg$currPos += 5;
|
|
4319
4806
|
} else {
|
|
4320
4807
|
s1 = peg$FAILED;
|
|
4321
4808
|
if (peg$silentFails === 0) {
|
|
@@ -4323,9 +4810,9 @@ function peg$parse(input, options) {
|
|
|
4323
4810
|
}
|
|
4324
4811
|
}
|
|
4325
4812
|
if (s1 === peg$FAILED) {
|
|
4326
|
-
if (input.substr(peg$currPos,
|
|
4813
|
+
if (input.substr(peg$currPos, 8) === peg$c41) {
|
|
4327
4814
|
s1 = peg$c41;
|
|
4328
|
-
peg$currPos +=
|
|
4815
|
+
peg$currPos += 8;
|
|
4329
4816
|
} else {
|
|
4330
4817
|
s1 = peg$FAILED;
|
|
4331
4818
|
if (peg$silentFails === 0) {
|
|
@@ -4343,9 +4830,9 @@ function peg$parse(input, options) {
|
|
|
4343
4830
|
}
|
|
4344
4831
|
}
|
|
4345
4832
|
if (s1 === peg$FAILED) {
|
|
4346
|
-
if (input.substr(peg$currPos,
|
|
4833
|
+
if (input.substr(peg$currPos, 7) === peg$c43) {
|
|
4347
4834
|
s1 = peg$c43;
|
|
4348
|
-
peg$currPos +=
|
|
4835
|
+
peg$currPos += 7;
|
|
4349
4836
|
} else {
|
|
4350
4837
|
s1 = peg$FAILED;
|
|
4351
4838
|
if (peg$silentFails === 0) {
|
|
@@ -4363,9 +4850,9 @@ function peg$parse(input, options) {
|
|
|
4363
4850
|
}
|
|
4364
4851
|
}
|
|
4365
4852
|
if (s1 === peg$FAILED) {
|
|
4366
|
-
if (input.substr(peg$currPos,
|
|
4853
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
4367
4854
|
s1 = peg$c45;
|
|
4368
|
-
peg$currPos +=
|
|
4855
|
+
peg$currPos += 8;
|
|
4369
4856
|
} else {
|
|
4370
4857
|
s1 = peg$FAILED;
|
|
4371
4858
|
if (peg$silentFails === 0) {
|
|
@@ -4373,29 +4860,29 @@ function peg$parse(input, options) {
|
|
|
4373
4860
|
}
|
|
4374
4861
|
}
|
|
4375
4862
|
if (s1 === peg$FAILED) {
|
|
4376
|
-
if (input.substr(peg$currPos,
|
|
4377
|
-
s1 = peg$
|
|
4378
|
-
peg$currPos +=
|
|
4863
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
4864
|
+
s1 = peg$c46;
|
|
4865
|
+
peg$currPos += 7;
|
|
4379
4866
|
} else {
|
|
4380
4867
|
s1 = peg$FAILED;
|
|
4381
4868
|
if (peg$silentFails === 0) {
|
|
4382
|
-
peg$fail(peg$
|
|
4869
|
+
peg$fail(peg$e46);
|
|
4383
4870
|
}
|
|
4384
4871
|
}
|
|
4385
4872
|
if (s1 === peg$FAILED) {
|
|
4386
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4387
|
-
s1 = peg$
|
|
4873
|
+
if (input.substr(peg$currPos, 3) === peg$c47) {
|
|
4874
|
+
s1 = peg$c47;
|
|
4388
4875
|
peg$currPos += 3;
|
|
4389
4876
|
} else {
|
|
4390
4877
|
s1 = peg$FAILED;
|
|
4391
4878
|
if (peg$silentFails === 0) {
|
|
4392
|
-
peg$fail(peg$
|
|
4879
|
+
peg$fail(peg$e47);
|
|
4393
4880
|
}
|
|
4394
4881
|
}
|
|
4395
4882
|
if (s1 === peg$FAILED) {
|
|
4396
|
-
if (input.substr(peg$currPos,
|
|
4883
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
4397
4884
|
s1 = peg$c49;
|
|
4398
|
-
peg$currPos +=
|
|
4885
|
+
peg$currPos += 4;
|
|
4399
4886
|
} else {
|
|
4400
4887
|
s1 = peg$FAILED;
|
|
4401
4888
|
if (peg$silentFails === 0) {
|
|
@@ -4403,13 +4890,57 @@ function peg$parse(input, options) {
|
|
|
4403
4890
|
}
|
|
4404
4891
|
}
|
|
4405
4892
|
if (s1 === peg$FAILED) {
|
|
4406
|
-
if (input.substr(peg$currPos,
|
|
4407
|
-
s1 = peg$
|
|
4408
|
-
peg$currPos +=
|
|
4893
|
+
if (input.substr(peg$currPos, 3) === peg$c50) {
|
|
4894
|
+
s1 = peg$c50;
|
|
4895
|
+
peg$currPos += 3;
|
|
4409
4896
|
} else {
|
|
4410
4897
|
s1 = peg$FAILED;
|
|
4411
4898
|
if (peg$silentFails === 0) {
|
|
4412
|
-
peg$fail(peg$
|
|
4899
|
+
peg$fail(peg$e50);
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4902
|
+
if (s1 === peg$FAILED) {
|
|
4903
|
+
if (input.substr(peg$currPos, 10) === peg$c51) {
|
|
4904
|
+
s1 = peg$c51;
|
|
4905
|
+
peg$currPos += 10;
|
|
4906
|
+
} else {
|
|
4907
|
+
s1 = peg$FAILED;
|
|
4908
|
+
if (peg$silentFails === 0) {
|
|
4909
|
+
peg$fail(peg$e51);
|
|
4910
|
+
}
|
|
4911
|
+
}
|
|
4912
|
+
if (s1 === peg$FAILED) {
|
|
4913
|
+
if (input.substr(peg$currPos, 5) === peg$c48) {
|
|
4914
|
+
s1 = peg$c48;
|
|
4915
|
+
peg$currPos += 5;
|
|
4916
|
+
} else {
|
|
4917
|
+
s1 = peg$FAILED;
|
|
4918
|
+
if (peg$silentFails === 0) {
|
|
4919
|
+
peg$fail(peg$e48);
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
if (s1 === peg$FAILED) {
|
|
4923
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
4924
|
+
s1 = peg$c52;
|
|
4925
|
+
peg$currPos += 6;
|
|
4926
|
+
} else {
|
|
4927
|
+
s1 = peg$FAILED;
|
|
4928
|
+
if (peg$silentFails === 0) {
|
|
4929
|
+
peg$fail(peg$e52);
|
|
4930
|
+
}
|
|
4931
|
+
}
|
|
4932
|
+
if (s1 === peg$FAILED) {
|
|
4933
|
+
if (input.substr(peg$currPos, 11) === peg$c53) {
|
|
4934
|
+
s1 = peg$c53;
|
|
4935
|
+
peg$currPos += 11;
|
|
4936
|
+
} else {
|
|
4937
|
+
s1 = peg$FAILED;
|
|
4938
|
+
if (peg$silentFails === 0) {
|
|
4939
|
+
peg$fail(peg$e53);
|
|
4940
|
+
}
|
|
4941
|
+
}
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4413
4944
|
}
|
|
4414
4945
|
}
|
|
4415
4946
|
}
|
|
@@ -4480,12 +5011,12 @@ function peg$parse(input, options) {
|
|
|
4480
5011
|
function peg$parseIdentifierChar() {
|
|
4481
5012
|
let s0;
|
|
4482
5013
|
s0 = input.charAt(peg$currPos);
|
|
4483
|
-
if (peg$
|
|
5014
|
+
if (peg$r2.test(s0)) {
|
|
4484
5015
|
peg$currPos++;
|
|
4485
5016
|
} else {
|
|
4486
5017
|
s0 = peg$FAILED;
|
|
4487
5018
|
if (peg$silentFails === 0) {
|
|
4488
|
-
peg$fail(peg$
|
|
5019
|
+
peg$fail(peg$e61);
|
|
4489
5020
|
}
|
|
4490
5021
|
}
|
|
4491
5022
|
return s0;
|
|
@@ -4518,12 +5049,12 @@ function peg$parse(input, options) {
|
|
|
4518
5049
|
peg$silentFails++;
|
|
4519
5050
|
s0 = peg$currPos;
|
|
4520
5051
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4521
|
-
s1 = peg$
|
|
5052
|
+
s1 = peg$c57;
|
|
4522
5053
|
peg$currPos++;
|
|
4523
5054
|
} else {
|
|
4524
5055
|
s1 = peg$FAILED;
|
|
4525
5056
|
if (peg$silentFails === 0) {
|
|
4526
|
-
peg$fail(peg$
|
|
5057
|
+
peg$fail(peg$e63);
|
|
4527
5058
|
}
|
|
4528
5059
|
}
|
|
4529
5060
|
if (s1 !== peg$FAILED) {
|
|
@@ -4534,17 +5065,17 @@ function peg$parse(input, options) {
|
|
|
4534
5065
|
s3 = peg$parseDoubleStringChar();
|
|
4535
5066
|
}
|
|
4536
5067
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4537
|
-
s3 = peg$
|
|
5068
|
+
s3 = peg$c57;
|
|
4538
5069
|
peg$currPos++;
|
|
4539
5070
|
} else {
|
|
4540
5071
|
s3 = peg$FAILED;
|
|
4541
5072
|
if (peg$silentFails === 0) {
|
|
4542
|
-
peg$fail(peg$
|
|
5073
|
+
peg$fail(peg$e63);
|
|
4543
5074
|
}
|
|
4544
5075
|
}
|
|
4545
5076
|
if (s3 !== peg$FAILED) {
|
|
4546
5077
|
peg$savedPos = s0;
|
|
4547
|
-
s0 = peg$
|
|
5078
|
+
s0 = peg$f82(s2);
|
|
4548
5079
|
} else {
|
|
4549
5080
|
peg$currPos = s0;
|
|
4550
5081
|
s0 = peg$FAILED;
|
|
@@ -4556,12 +5087,12 @@ function peg$parse(input, options) {
|
|
|
4556
5087
|
if (s0 === peg$FAILED) {
|
|
4557
5088
|
s0 = peg$currPos;
|
|
4558
5089
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4559
|
-
s1 = peg$
|
|
5090
|
+
s1 = peg$c58;
|
|
4560
5091
|
peg$currPos++;
|
|
4561
5092
|
} else {
|
|
4562
5093
|
s1 = peg$FAILED;
|
|
4563
5094
|
if (peg$silentFails === 0) {
|
|
4564
|
-
peg$fail(peg$
|
|
5095
|
+
peg$fail(peg$e64);
|
|
4565
5096
|
}
|
|
4566
5097
|
}
|
|
4567
5098
|
if (s1 !== peg$FAILED) {
|
|
@@ -4572,17 +5103,17 @@ function peg$parse(input, options) {
|
|
|
4572
5103
|
s3 = peg$parseSingleStringChar();
|
|
4573
5104
|
}
|
|
4574
5105
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4575
|
-
s3 = peg$
|
|
5106
|
+
s3 = peg$c58;
|
|
4576
5107
|
peg$currPos++;
|
|
4577
5108
|
} else {
|
|
4578
5109
|
s3 = peg$FAILED;
|
|
4579
5110
|
if (peg$silentFails === 0) {
|
|
4580
|
-
peg$fail(peg$
|
|
5111
|
+
peg$fail(peg$e64);
|
|
4581
5112
|
}
|
|
4582
5113
|
}
|
|
4583
5114
|
if (s3 !== peg$FAILED) {
|
|
4584
5115
|
peg$savedPos = s0;
|
|
4585
|
-
s0 = peg$
|
|
5116
|
+
s0 = peg$f83(s2);
|
|
4586
5117
|
} else {
|
|
4587
5118
|
peg$currPos = s0;
|
|
4588
5119
|
s0 = peg$FAILED;
|
|
@@ -4596,7 +5127,7 @@ function peg$parse(input, options) {
|
|
|
4596
5127
|
if (s0 === peg$FAILED) {
|
|
4597
5128
|
s1 = peg$FAILED;
|
|
4598
5129
|
if (peg$silentFails === 0) {
|
|
4599
|
-
peg$fail(peg$
|
|
5130
|
+
peg$fail(peg$e62);
|
|
4600
5131
|
}
|
|
4601
5132
|
}
|
|
4602
5133
|
return s0;
|
|
@@ -4607,12 +5138,12 @@ function peg$parse(input, options) {
|
|
|
4607
5138
|
s1 = peg$currPos;
|
|
4608
5139
|
peg$silentFails++;
|
|
4609
5140
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4610
|
-
s2 = peg$
|
|
5141
|
+
s2 = peg$c57;
|
|
4611
5142
|
peg$currPos++;
|
|
4612
5143
|
} else {
|
|
4613
5144
|
s2 = peg$FAILED;
|
|
4614
5145
|
if (peg$silentFails === 0) {
|
|
4615
|
-
peg$fail(peg$
|
|
5146
|
+
peg$fail(peg$e63);
|
|
4616
5147
|
}
|
|
4617
5148
|
}
|
|
4618
5149
|
peg$silentFails--;
|
|
@@ -4626,12 +5157,12 @@ function peg$parse(input, options) {
|
|
|
4626
5157
|
s2 = peg$currPos;
|
|
4627
5158
|
peg$silentFails++;
|
|
4628
5159
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4629
|
-
s3 = peg$
|
|
5160
|
+
s3 = peg$c59;
|
|
4630
5161
|
peg$currPos++;
|
|
4631
5162
|
} else {
|
|
4632
5163
|
s3 = peg$FAILED;
|
|
4633
5164
|
if (peg$silentFails === 0) {
|
|
4634
|
-
peg$fail(peg$
|
|
5165
|
+
peg$fail(peg$e65);
|
|
4635
5166
|
}
|
|
4636
5167
|
}
|
|
4637
5168
|
peg$silentFails--;
|
|
@@ -4648,12 +5179,12 @@ function peg$parse(input, options) {
|
|
|
4648
5179
|
} else {
|
|
4649
5180
|
s3 = peg$FAILED;
|
|
4650
5181
|
if (peg$silentFails === 0) {
|
|
4651
|
-
peg$fail(peg$
|
|
5182
|
+
peg$fail(peg$e60);
|
|
4652
5183
|
}
|
|
4653
5184
|
}
|
|
4654
5185
|
if (s3 !== peg$FAILED) {
|
|
4655
5186
|
peg$savedPos = s0;
|
|
4656
|
-
s0 = peg$
|
|
5187
|
+
s0 = peg$f84(s3);
|
|
4657
5188
|
} else {
|
|
4658
5189
|
peg$currPos = s0;
|
|
4659
5190
|
s0 = peg$FAILED;
|
|
@@ -4669,19 +5200,19 @@ function peg$parse(input, options) {
|
|
|
4669
5200
|
if (s0 === peg$FAILED) {
|
|
4670
5201
|
s0 = peg$currPos;
|
|
4671
5202
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4672
|
-
s1 = peg$
|
|
5203
|
+
s1 = peg$c59;
|
|
4673
5204
|
peg$currPos++;
|
|
4674
5205
|
} else {
|
|
4675
5206
|
s1 = peg$FAILED;
|
|
4676
5207
|
if (peg$silentFails === 0) {
|
|
4677
|
-
peg$fail(peg$
|
|
5208
|
+
peg$fail(peg$e65);
|
|
4678
5209
|
}
|
|
4679
5210
|
}
|
|
4680
5211
|
if (s1 !== peg$FAILED) {
|
|
4681
5212
|
s2 = peg$parseEscapeSequence();
|
|
4682
5213
|
if (s2 !== peg$FAILED) {
|
|
4683
5214
|
peg$savedPos = s0;
|
|
4684
|
-
s0 = peg$
|
|
5215
|
+
s0 = peg$f85(s2);
|
|
4685
5216
|
} else {
|
|
4686
5217
|
peg$currPos = s0;
|
|
4687
5218
|
s0 = peg$FAILED;
|
|
@@ -4699,12 +5230,12 @@ function peg$parse(input, options) {
|
|
|
4699
5230
|
s1 = peg$currPos;
|
|
4700
5231
|
peg$silentFails++;
|
|
4701
5232
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4702
|
-
s2 = peg$
|
|
5233
|
+
s2 = peg$c58;
|
|
4703
5234
|
peg$currPos++;
|
|
4704
5235
|
} else {
|
|
4705
5236
|
s2 = peg$FAILED;
|
|
4706
5237
|
if (peg$silentFails === 0) {
|
|
4707
|
-
peg$fail(peg$
|
|
5238
|
+
peg$fail(peg$e64);
|
|
4708
5239
|
}
|
|
4709
5240
|
}
|
|
4710
5241
|
peg$silentFails--;
|
|
@@ -4718,12 +5249,12 @@ function peg$parse(input, options) {
|
|
|
4718
5249
|
s2 = peg$currPos;
|
|
4719
5250
|
peg$silentFails++;
|
|
4720
5251
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4721
|
-
s3 = peg$
|
|
5252
|
+
s3 = peg$c59;
|
|
4722
5253
|
peg$currPos++;
|
|
4723
5254
|
} else {
|
|
4724
5255
|
s3 = peg$FAILED;
|
|
4725
5256
|
if (peg$silentFails === 0) {
|
|
4726
|
-
peg$fail(peg$
|
|
5257
|
+
peg$fail(peg$e65);
|
|
4727
5258
|
}
|
|
4728
5259
|
}
|
|
4729
5260
|
peg$silentFails--;
|
|
@@ -4740,12 +5271,12 @@ function peg$parse(input, options) {
|
|
|
4740
5271
|
} else {
|
|
4741
5272
|
s3 = peg$FAILED;
|
|
4742
5273
|
if (peg$silentFails === 0) {
|
|
4743
|
-
peg$fail(peg$
|
|
5274
|
+
peg$fail(peg$e60);
|
|
4744
5275
|
}
|
|
4745
5276
|
}
|
|
4746
5277
|
if (s3 !== peg$FAILED) {
|
|
4747
5278
|
peg$savedPos = s0;
|
|
4748
|
-
s0 = peg$
|
|
5279
|
+
s0 = peg$f86(s3);
|
|
4749
5280
|
} else {
|
|
4750
5281
|
peg$currPos = s0;
|
|
4751
5282
|
s0 = peg$FAILED;
|
|
@@ -4761,19 +5292,19 @@ function peg$parse(input, options) {
|
|
|
4761
5292
|
if (s0 === peg$FAILED) {
|
|
4762
5293
|
s0 = peg$currPos;
|
|
4763
5294
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4764
|
-
s1 = peg$
|
|
5295
|
+
s1 = peg$c59;
|
|
4765
5296
|
peg$currPos++;
|
|
4766
5297
|
} else {
|
|
4767
5298
|
s1 = peg$FAILED;
|
|
4768
5299
|
if (peg$silentFails === 0) {
|
|
4769
|
-
peg$fail(peg$
|
|
5300
|
+
peg$fail(peg$e65);
|
|
4770
5301
|
}
|
|
4771
5302
|
}
|
|
4772
5303
|
if (s1 !== peg$FAILED) {
|
|
4773
5304
|
s2 = peg$parseEscapeSequence();
|
|
4774
5305
|
if (s2 !== peg$FAILED) {
|
|
4775
5306
|
peg$savedPos = s0;
|
|
4776
|
-
s0 = peg$
|
|
5307
|
+
s0 = peg$f87(s2);
|
|
4777
5308
|
} else {
|
|
4778
5309
|
peg$currPos = s0;
|
|
4779
5310
|
s0 = peg$FAILED;
|
|
@@ -4789,97 +5320,97 @@ function peg$parse(input, options) {
|
|
|
4789
5320
|
let s0, s1;
|
|
4790
5321
|
s0 = peg$currPos;
|
|
4791
5322
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4792
|
-
s1 = peg$
|
|
5323
|
+
s1 = peg$c60;
|
|
4793
5324
|
peg$currPos++;
|
|
4794
5325
|
} else {
|
|
4795
5326
|
s1 = peg$FAILED;
|
|
4796
5327
|
if (peg$silentFails === 0) {
|
|
4797
|
-
peg$fail(peg$
|
|
5328
|
+
peg$fail(peg$e66);
|
|
4798
5329
|
}
|
|
4799
5330
|
}
|
|
4800
5331
|
if (s1 !== peg$FAILED) {
|
|
4801
5332
|
peg$savedPos = s0;
|
|
4802
|
-
s1 = peg$
|
|
5333
|
+
s1 = peg$f88();
|
|
4803
5334
|
}
|
|
4804
5335
|
s0 = s1;
|
|
4805
5336
|
if (s0 === peg$FAILED) {
|
|
4806
5337
|
s0 = peg$currPos;
|
|
4807
5338
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4808
|
-
s1 = peg$
|
|
5339
|
+
s1 = peg$c61;
|
|
4809
5340
|
peg$currPos++;
|
|
4810
5341
|
} else {
|
|
4811
5342
|
s1 = peg$FAILED;
|
|
4812
5343
|
if (peg$silentFails === 0) {
|
|
4813
|
-
peg$fail(peg$
|
|
5344
|
+
peg$fail(peg$e67);
|
|
4814
5345
|
}
|
|
4815
5346
|
}
|
|
4816
5347
|
if (s1 !== peg$FAILED) {
|
|
4817
5348
|
peg$savedPos = s0;
|
|
4818
|
-
s1 = peg$
|
|
5349
|
+
s1 = peg$f89();
|
|
4819
5350
|
}
|
|
4820
5351
|
s0 = s1;
|
|
4821
5352
|
if (s0 === peg$FAILED) {
|
|
4822
5353
|
s0 = peg$currPos;
|
|
4823
5354
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4824
|
-
s1 = peg$
|
|
5355
|
+
s1 = peg$c62;
|
|
4825
5356
|
peg$currPos++;
|
|
4826
5357
|
} else {
|
|
4827
5358
|
s1 = peg$FAILED;
|
|
4828
5359
|
if (peg$silentFails === 0) {
|
|
4829
|
-
peg$fail(peg$
|
|
5360
|
+
peg$fail(peg$e68);
|
|
4830
5361
|
}
|
|
4831
5362
|
}
|
|
4832
5363
|
if (s1 !== peg$FAILED) {
|
|
4833
5364
|
peg$savedPos = s0;
|
|
4834
|
-
s1 = peg$
|
|
5365
|
+
s1 = peg$f90();
|
|
4835
5366
|
}
|
|
4836
5367
|
s0 = s1;
|
|
4837
5368
|
if (s0 === peg$FAILED) {
|
|
4838
5369
|
s0 = peg$currPos;
|
|
4839
5370
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4840
|
-
s1 = peg$
|
|
5371
|
+
s1 = peg$c59;
|
|
4841
5372
|
peg$currPos++;
|
|
4842
5373
|
} else {
|
|
4843
5374
|
s1 = peg$FAILED;
|
|
4844
5375
|
if (peg$silentFails === 0) {
|
|
4845
|
-
peg$fail(peg$
|
|
5376
|
+
peg$fail(peg$e65);
|
|
4846
5377
|
}
|
|
4847
5378
|
}
|
|
4848
5379
|
if (s1 !== peg$FAILED) {
|
|
4849
5380
|
peg$savedPos = s0;
|
|
4850
|
-
s1 = peg$
|
|
5381
|
+
s1 = peg$f91();
|
|
4851
5382
|
}
|
|
4852
5383
|
s0 = s1;
|
|
4853
5384
|
if (s0 === peg$FAILED) {
|
|
4854
5385
|
s0 = peg$currPos;
|
|
4855
5386
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4856
|
-
s1 = peg$
|
|
5387
|
+
s1 = peg$c57;
|
|
4857
5388
|
peg$currPos++;
|
|
4858
5389
|
} else {
|
|
4859
5390
|
s1 = peg$FAILED;
|
|
4860
5391
|
if (peg$silentFails === 0) {
|
|
4861
|
-
peg$fail(peg$
|
|
5392
|
+
peg$fail(peg$e63);
|
|
4862
5393
|
}
|
|
4863
5394
|
}
|
|
4864
5395
|
if (s1 !== peg$FAILED) {
|
|
4865
5396
|
peg$savedPos = s0;
|
|
4866
|
-
s1 = peg$
|
|
5397
|
+
s1 = peg$f92();
|
|
4867
5398
|
}
|
|
4868
5399
|
s0 = s1;
|
|
4869
5400
|
if (s0 === peg$FAILED) {
|
|
4870
5401
|
s0 = peg$currPos;
|
|
4871
5402
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4872
|
-
s1 = peg$
|
|
5403
|
+
s1 = peg$c58;
|
|
4873
5404
|
peg$currPos++;
|
|
4874
5405
|
} else {
|
|
4875
5406
|
s1 = peg$FAILED;
|
|
4876
5407
|
if (peg$silentFails === 0) {
|
|
4877
|
-
peg$fail(peg$
|
|
5408
|
+
peg$fail(peg$e64);
|
|
4878
5409
|
}
|
|
4879
5410
|
}
|
|
4880
5411
|
if (s1 !== peg$FAILED) {
|
|
4881
5412
|
peg$savedPos = s0;
|
|
4882
|
-
s1 = peg$
|
|
5413
|
+
s1 = peg$f93();
|
|
4883
5414
|
}
|
|
4884
5415
|
s0 = s1;
|
|
4885
5416
|
}
|
|
@@ -4894,12 +5425,12 @@ function peg$parse(input, options) {
|
|
|
4894
5425
|
peg$silentFails++;
|
|
4895
5426
|
s0 = peg$currPos;
|
|
4896
5427
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4897
|
-
s1 = peg$
|
|
5428
|
+
s1 = peg$c63;
|
|
4898
5429
|
peg$currPos++;
|
|
4899
5430
|
} else {
|
|
4900
5431
|
s1 = peg$FAILED;
|
|
4901
5432
|
if (peg$silentFails === 0) {
|
|
4902
|
-
peg$fail(peg$
|
|
5433
|
+
peg$fail(peg$e70);
|
|
4903
5434
|
}
|
|
4904
5435
|
}
|
|
4905
5436
|
if (s1 === peg$FAILED) {
|
|
@@ -4907,24 +5438,24 @@ function peg$parse(input, options) {
|
|
|
4907
5438
|
}
|
|
4908
5439
|
s2 = [];
|
|
4909
5440
|
s3 = input.charAt(peg$currPos);
|
|
4910
|
-
if (peg$
|
|
5441
|
+
if (peg$r0.test(s3)) {
|
|
4911
5442
|
peg$currPos++;
|
|
4912
5443
|
} else {
|
|
4913
5444
|
s3 = peg$FAILED;
|
|
4914
5445
|
if (peg$silentFails === 0) {
|
|
4915
|
-
peg$fail(peg$
|
|
5446
|
+
peg$fail(peg$e55);
|
|
4916
5447
|
}
|
|
4917
5448
|
}
|
|
4918
5449
|
if (s3 !== peg$FAILED) {
|
|
4919
5450
|
while (s3 !== peg$FAILED) {
|
|
4920
5451
|
s2.push(s3);
|
|
4921
5452
|
s3 = input.charAt(peg$currPos);
|
|
4922
|
-
if (peg$
|
|
5453
|
+
if (peg$r0.test(s3)) {
|
|
4923
5454
|
peg$currPos++;
|
|
4924
5455
|
} else {
|
|
4925
5456
|
s3 = peg$FAILED;
|
|
4926
5457
|
if (peg$silentFails === 0) {
|
|
4927
|
-
peg$fail(peg$
|
|
5458
|
+
peg$fail(peg$e55);
|
|
4928
5459
|
}
|
|
4929
5460
|
}
|
|
4930
5461
|
}
|
|
@@ -4934,35 +5465,35 @@ function peg$parse(input, options) {
|
|
|
4934
5465
|
if (s2 !== peg$FAILED) {
|
|
4935
5466
|
s3 = peg$currPos;
|
|
4936
5467
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4937
|
-
s4 = peg$
|
|
5468
|
+
s4 = peg$c64;
|
|
4938
5469
|
peg$currPos++;
|
|
4939
5470
|
} else {
|
|
4940
5471
|
s4 = peg$FAILED;
|
|
4941
5472
|
if (peg$silentFails === 0) {
|
|
4942
|
-
peg$fail(peg$
|
|
5473
|
+
peg$fail(peg$e71);
|
|
4943
5474
|
}
|
|
4944
5475
|
}
|
|
4945
5476
|
if (s4 !== peg$FAILED) {
|
|
4946
5477
|
s5 = [];
|
|
4947
5478
|
s6 = input.charAt(peg$currPos);
|
|
4948
|
-
if (peg$
|
|
5479
|
+
if (peg$r0.test(s6)) {
|
|
4949
5480
|
peg$currPos++;
|
|
4950
5481
|
} else {
|
|
4951
5482
|
s6 = peg$FAILED;
|
|
4952
5483
|
if (peg$silentFails === 0) {
|
|
4953
|
-
peg$fail(peg$
|
|
5484
|
+
peg$fail(peg$e55);
|
|
4954
5485
|
}
|
|
4955
5486
|
}
|
|
4956
5487
|
if (s6 !== peg$FAILED) {
|
|
4957
5488
|
while (s6 !== peg$FAILED) {
|
|
4958
5489
|
s5.push(s6);
|
|
4959
5490
|
s6 = input.charAt(peg$currPos);
|
|
4960
|
-
if (peg$
|
|
5491
|
+
if (peg$r0.test(s6)) {
|
|
4961
5492
|
peg$currPos++;
|
|
4962
5493
|
} else {
|
|
4963
5494
|
s6 = peg$FAILED;
|
|
4964
5495
|
if (peg$silentFails === 0) {
|
|
4965
|
-
peg$fail(peg$
|
|
5496
|
+
peg$fail(peg$e55);
|
|
4966
5497
|
}
|
|
4967
5498
|
}
|
|
4968
5499
|
}
|
|
@@ -4984,7 +5515,7 @@ function peg$parse(input, options) {
|
|
|
4984
5515
|
s3 = null;
|
|
4985
5516
|
}
|
|
4986
5517
|
peg$savedPos = s0;
|
|
4987
|
-
s0 = peg$
|
|
5518
|
+
s0 = peg$f94(s1, s2, s3);
|
|
4988
5519
|
} else {
|
|
4989
5520
|
peg$currPos = s0;
|
|
4990
5521
|
s0 = peg$FAILED;
|
|
@@ -4993,7 +5524,7 @@ function peg$parse(input, options) {
|
|
|
4993
5524
|
if (s0 === peg$FAILED) {
|
|
4994
5525
|
s1 = peg$FAILED;
|
|
4995
5526
|
if (peg$silentFails === 0) {
|
|
4996
|
-
peg$fail(peg$
|
|
5527
|
+
peg$fail(peg$e69);
|
|
4997
5528
|
}
|
|
4998
5529
|
}
|
|
4999
5530
|
return s0;
|
|
@@ -5003,12 +5534,12 @@ function peg$parse(input, options) {
|
|
|
5003
5534
|
peg$silentFails++;
|
|
5004
5535
|
s0 = peg$currPos;
|
|
5005
5536
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
5006
|
-
s1 = peg$
|
|
5537
|
+
s1 = peg$c63;
|
|
5007
5538
|
peg$currPos++;
|
|
5008
5539
|
} else {
|
|
5009
5540
|
s1 = peg$FAILED;
|
|
5010
5541
|
if (peg$silentFails === 0) {
|
|
5011
|
-
peg$fail(peg$
|
|
5542
|
+
peg$fail(peg$e70);
|
|
5012
5543
|
}
|
|
5013
5544
|
}
|
|
5014
5545
|
if (s1 === peg$FAILED) {
|
|
@@ -5016,24 +5547,24 @@ function peg$parse(input, options) {
|
|
|
5016
5547
|
}
|
|
5017
5548
|
s2 = [];
|
|
5018
5549
|
s3 = input.charAt(peg$currPos);
|
|
5019
|
-
if (peg$
|
|
5550
|
+
if (peg$r0.test(s3)) {
|
|
5020
5551
|
peg$currPos++;
|
|
5021
5552
|
} else {
|
|
5022
5553
|
s3 = peg$FAILED;
|
|
5023
5554
|
if (peg$silentFails === 0) {
|
|
5024
|
-
peg$fail(peg$
|
|
5555
|
+
peg$fail(peg$e55);
|
|
5025
5556
|
}
|
|
5026
5557
|
}
|
|
5027
5558
|
if (s3 !== peg$FAILED) {
|
|
5028
5559
|
while (s3 !== peg$FAILED) {
|
|
5029
5560
|
s2.push(s3);
|
|
5030
5561
|
s3 = input.charAt(peg$currPos);
|
|
5031
|
-
if (peg$
|
|
5562
|
+
if (peg$r0.test(s3)) {
|
|
5032
5563
|
peg$currPos++;
|
|
5033
5564
|
} else {
|
|
5034
5565
|
s3 = peg$FAILED;
|
|
5035
5566
|
if (peg$silentFails === 0) {
|
|
5036
|
-
peg$fail(peg$
|
|
5567
|
+
peg$fail(peg$e55);
|
|
5037
5568
|
}
|
|
5038
5569
|
}
|
|
5039
5570
|
}
|
|
@@ -5043,35 +5574,35 @@ function peg$parse(input, options) {
|
|
|
5043
5574
|
if (s2 !== peg$FAILED) {
|
|
5044
5575
|
s3 = peg$currPos;
|
|
5045
5576
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5046
|
-
s4 = peg$
|
|
5577
|
+
s4 = peg$c64;
|
|
5047
5578
|
peg$currPos++;
|
|
5048
5579
|
} else {
|
|
5049
5580
|
s4 = peg$FAILED;
|
|
5050
5581
|
if (peg$silentFails === 0) {
|
|
5051
|
-
peg$fail(peg$
|
|
5582
|
+
peg$fail(peg$e71);
|
|
5052
5583
|
}
|
|
5053
5584
|
}
|
|
5054
5585
|
if (s4 !== peg$FAILED) {
|
|
5055
5586
|
s5 = [];
|
|
5056
5587
|
s6 = input.charAt(peg$currPos);
|
|
5057
|
-
if (peg$
|
|
5588
|
+
if (peg$r0.test(s6)) {
|
|
5058
5589
|
peg$currPos++;
|
|
5059
5590
|
} else {
|
|
5060
5591
|
s6 = peg$FAILED;
|
|
5061
5592
|
if (peg$silentFails === 0) {
|
|
5062
|
-
peg$fail(peg$
|
|
5593
|
+
peg$fail(peg$e55);
|
|
5063
5594
|
}
|
|
5064
5595
|
}
|
|
5065
5596
|
if (s6 !== peg$FAILED) {
|
|
5066
5597
|
while (s6 !== peg$FAILED) {
|
|
5067
5598
|
s5.push(s6);
|
|
5068
5599
|
s6 = input.charAt(peg$currPos);
|
|
5069
|
-
if (peg$
|
|
5600
|
+
if (peg$r0.test(s6)) {
|
|
5070
5601
|
peg$currPos++;
|
|
5071
5602
|
} else {
|
|
5072
5603
|
s6 = peg$FAILED;
|
|
5073
5604
|
if (peg$silentFails === 0) {
|
|
5074
|
-
peg$fail(peg$
|
|
5605
|
+
peg$fail(peg$e55);
|
|
5075
5606
|
}
|
|
5076
5607
|
}
|
|
5077
5608
|
}
|
|
@@ -5092,63 +5623,63 @@ function peg$parse(input, options) {
|
|
|
5092
5623
|
if (s3 === peg$FAILED) {
|
|
5093
5624
|
s3 = null;
|
|
5094
5625
|
}
|
|
5095
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5096
|
-
s4 = peg$
|
|
5626
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5627
|
+
s4 = peg$c65;
|
|
5097
5628
|
peg$currPos += 2;
|
|
5098
5629
|
} else {
|
|
5099
5630
|
s4 = peg$FAILED;
|
|
5100
5631
|
if (peg$silentFails === 0) {
|
|
5101
|
-
peg$fail(peg$
|
|
5632
|
+
peg$fail(peg$e73);
|
|
5102
5633
|
}
|
|
5103
5634
|
}
|
|
5104
5635
|
if (s4 === peg$FAILED) {
|
|
5105
5636
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
5106
|
-
s4 = peg$
|
|
5637
|
+
s4 = peg$c66;
|
|
5107
5638
|
peg$currPos++;
|
|
5108
5639
|
} else {
|
|
5109
5640
|
s4 = peg$FAILED;
|
|
5110
5641
|
if (peg$silentFails === 0) {
|
|
5111
|
-
peg$fail(peg$
|
|
5642
|
+
peg$fail(peg$e74);
|
|
5112
5643
|
}
|
|
5113
5644
|
}
|
|
5114
5645
|
if (s4 === peg$FAILED) {
|
|
5115
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5116
|
-
s4 = peg$
|
|
5646
|
+
if (input.substr(peg$currPos, 2) === peg$c67) {
|
|
5647
|
+
s4 = peg$c67;
|
|
5117
5648
|
peg$currPos += 2;
|
|
5118
5649
|
} else {
|
|
5119
5650
|
s4 = peg$FAILED;
|
|
5120
5651
|
if (peg$silentFails === 0) {
|
|
5121
|
-
peg$fail(peg$
|
|
5652
|
+
peg$fail(peg$e75);
|
|
5122
5653
|
}
|
|
5123
5654
|
}
|
|
5124
5655
|
if (s4 === peg$FAILED) {
|
|
5125
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5126
|
-
s4 = peg$
|
|
5656
|
+
if (input.substr(peg$currPos, 3) === peg$c68) {
|
|
5657
|
+
s4 = peg$c68;
|
|
5127
5658
|
peg$currPos += 3;
|
|
5128
5659
|
} else {
|
|
5129
5660
|
s4 = peg$FAILED;
|
|
5130
5661
|
if (peg$silentFails === 0) {
|
|
5131
|
-
peg$fail(peg$
|
|
5662
|
+
peg$fail(peg$e76);
|
|
5132
5663
|
}
|
|
5133
5664
|
}
|
|
5134
5665
|
if (s4 === peg$FAILED) {
|
|
5135
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5136
|
-
s4 = peg$
|
|
5666
|
+
if (input.substr(peg$currPos, 2) === peg$c69) {
|
|
5667
|
+
s4 = peg$c69;
|
|
5137
5668
|
peg$currPos += 2;
|
|
5138
5669
|
} else {
|
|
5139
5670
|
s4 = peg$FAILED;
|
|
5140
5671
|
if (peg$silentFails === 0) {
|
|
5141
|
-
peg$fail(peg$
|
|
5672
|
+
peg$fail(peg$e77);
|
|
5142
5673
|
}
|
|
5143
5674
|
}
|
|
5144
5675
|
if (s4 === peg$FAILED) {
|
|
5145
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5146
|
-
s4 = peg$
|
|
5676
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5677
|
+
s4 = peg$c70;
|
|
5147
5678
|
peg$currPos += 2;
|
|
5148
5679
|
} else {
|
|
5149
5680
|
s4 = peg$FAILED;
|
|
5150
5681
|
if (peg$silentFails === 0) {
|
|
5151
|
-
peg$fail(peg$
|
|
5682
|
+
peg$fail(peg$e78);
|
|
5152
5683
|
}
|
|
5153
5684
|
}
|
|
5154
5685
|
}
|
|
@@ -5158,7 +5689,7 @@ function peg$parse(input, options) {
|
|
|
5158
5689
|
}
|
|
5159
5690
|
if (s4 !== peg$FAILED) {
|
|
5160
5691
|
peg$savedPos = s0;
|
|
5161
|
-
s0 = peg$
|
|
5692
|
+
s0 = peg$f95(s1, s2, s3, s4);
|
|
5162
5693
|
} else {
|
|
5163
5694
|
peg$currPos = s0;
|
|
5164
5695
|
s0 = peg$FAILED;
|
|
@@ -5171,7 +5702,7 @@ function peg$parse(input, options) {
|
|
|
5171
5702
|
if (s0 === peg$FAILED) {
|
|
5172
5703
|
s1 = peg$FAILED;
|
|
5173
5704
|
if (peg$silentFails === 0) {
|
|
5174
|
-
peg$fail(peg$
|
|
5705
|
+
peg$fail(peg$e72);
|
|
5175
5706
|
}
|
|
5176
5707
|
}
|
|
5177
5708
|
return s0;
|
|
@@ -5180,34 +5711,34 @@ function peg$parse(input, options) {
|
|
|
5180
5711
|
let s0, s1;
|
|
5181
5712
|
peg$silentFails++;
|
|
5182
5713
|
s0 = peg$currPos;
|
|
5183
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5184
|
-
s1 = peg$
|
|
5714
|
+
if (input.substr(peg$currPos, 4) === peg$c71) {
|
|
5715
|
+
s1 = peg$c71;
|
|
5185
5716
|
peg$currPos += 4;
|
|
5186
5717
|
} else {
|
|
5187
5718
|
s1 = peg$FAILED;
|
|
5188
5719
|
if (peg$silentFails === 0) {
|
|
5189
|
-
peg$fail(peg$
|
|
5720
|
+
peg$fail(peg$e80);
|
|
5190
5721
|
}
|
|
5191
5722
|
}
|
|
5192
5723
|
if (s1 !== peg$FAILED) {
|
|
5193
5724
|
peg$savedPos = s0;
|
|
5194
|
-
s1 = peg$
|
|
5725
|
+
s1 = peg$f96();
|
|
5195
5726
|
}
|
|
5196
5727
|
s0 = s1;
|
|
5197
5728
|
if (s0 === peg$FAILED) {
|
|
5198
5729
|
s0 = peg$currPos;
|
|
5199
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5200
|
-
s1 = peg$
|
|
5730
|
+
if (input.substr(peg$currPos, 5) === peg$c72) {
|
|
5731
|
+
s1 = peg$c72;
|
|
5201
5732
|
peg$currPos += 5;
|
|
5202
5733
|
} else {
|
|
5203
5734
|
s1 = peg$FAILED;
|
|
5204
5735
|
if (peg$silentFails === 0) {
|
|
5205
|
-
peg$fail(peg$
|
|
5736
|
+
peg$fail(peg$e81);
|
|
5206
5737
|
}
|
|
5207
5738
|
}
|
|
5208
5739
|
if (s1 !== peg$FAILED) {
|
|
5209
5740
|
peg$savedPos = s0;
|
|
5210
|
-
s1 = peg$
|
|
5741
|
+
s1 = peg$f97();
|
|
5211
5742
|
}
|
|
5212
5743
|
s0 = s1;
|
|
5213
5744
|
}
|
|
@@ -5215,7 +5746,7 @@ function peg$parse(input, options) {
|
|
|
5215
5746
|
if (s0 === peg$FAILED) {
|
|
5216
5747
|
s1 = peg$FAILED;
|
|
5217
5748
|
if (peg$silentFails === 0) {
|
|
5218
|
-
peg$fail(peg$
|
|
5749
|
+
peg$fail(peg$e79);
|
|
5219
5750
|
}
|
|
5220
5751
|
}
|
|
5221
5752
|
return s0;
|
|
@@ -5230,34 +5761,34 @@ function peg$parse(input, options) {
|
|
|
5230
5761
|
} else {
|
|
5231
5762
|
s1 = peg$FAILED;
|
|
5232
5763
|
if (peg$silentFails === 0) {
|
|
5233
|
-
peg$fail(peg$
|
|
5764
|
+
peg$fail(peg$e83);
|
|
5234
5765
|
}
|
|
5235
5766
|
}
|
|
5236
5767
|
if (s1 !== peg$FAILED) {
|
|
5237
5768
|
s2 = [];
|
|
5238
5769
|
s3 = input.charAt(peg$currPos);
|
|
5239
|
-
if (peg$
|
|
5770
|
+
if (peg$r2.test(s3)) {
|
|
5240
5771
|
peg$currPos++;
|
|
5241
5772
|
} else {
|
|
5242
5773
|
s3 = peg$FAILED;
|
|
5243
5774
|
if (peg$silentFails === 0) {
|
|
5244
|
-
peg$fail(peg$
|
|
5775
|
+
peg$fail(peg$e61);
|
|
5245
5776
|
}
|
|
5246
5777
|
}
|
|
5247
5778
|
while (s3 !== peg$FAILED) {
|
|
5248
5779
|
s2.push(s3);
|
|
5249
5780
|
s3 = input.charAt(peg$currPos);
|
|
5250
|
-
if (peg$
|
|
5781
|
+
if (peg$r2.test(s3)) {
|
|
5251
5782
|
peg$currPos++;
|
|
5252
5783
|
} else {
|
|
5253
5784
|
s3 = peg$FAILED;
|
|
5254
5785
|
if (peg$silentFails === 0) {
|
|
5255
|
-
peg$fail(peg$
|
|
5786
|
+
peg$fail(peg$e61);
|
|
5256
5787
|
}
|
|
5257
5788
|
}
|
|
5258
5789
|
}
|
|
5259
5790
|
peg$savedPos = s0;
|
|
5260
|
-
s0 = peg$
|
|
5791
|
+
s0 = peg$f98(s1, s2);
|
|
5261
5792
|
} else {
|
|
5262
5793
|
peg$currPos = s0;
|
|
5263
5794
|
s0 = peg$FAILED;
|
|
@@ -5266,7 +5797,7 @@ function peg$parse(input, options) {
|
|
|
5266
5797
|
if (s0 === peg$FAILED) {
|
|
5267
5798
|
s1 = peg$FAILED;
|
|
5268
5799
|
if (peg$silentFails === 0) {
|
|
5269
|
-
peg$fail(peg$
|
|
5800
|
+
peg$fail(peg$e82);
|
|
5270
5801
|
}
|
|
5271
5802
|
}
|
|
5272
5803
|
return s0;
|
|
@@ -5275,12 +5806,12 @@ function peg$parse(input, options) {
|
|
|
5275
5806
|
let s0, s1, s2, s3, s4, s5;
|
|
5276
5807
|
s0 = peg$currPos;
|
|
5277
5808
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
5278
|
-
s1 = peg$
|
|
5809
|
+
s1 = peg$c33;
|
|
5279
5810
|
peg$currPos++;
|
|
5280
5811
|
} else {
|
|
5281
5812
|
s1 = peg$FAILED;
|
|
5282
5813
|
if (peg$silentFails === 0) {
|
|
5283
|
-
peg$fail(peg$
|
|
5814
|
+
peg$fail(peg$e33);
|
|
5284
5815
|
}
|
|
5285
5816
|
}
|
|
5286
5817
|
if (s1 !== peg$FAILED) {
|
|
@@ -5291,17 +5822,17 @@ function peg$parse(input, options) {
|
|
|
5291
5822
|
}
|
|
5292
5823
|
s4 = peg$parse_();
|
|
5293
5824
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
5294
|
-
s5 = peg$
|
|
5825
|
+
s5 = peg$c35;
|
|
5295
5826
|
peg$currPos++;
|
|
5296
5827
|
} else {
|
|
5297
5828
|
s5 = peg$FAILED;
|
|
5298
5829
|
if (peg$silentFails === 0) {
|
|
5299
|
-
peg$fail(peg$
|
|
5830
|
+
peg$fail(peg$e35);
|
|
5300
5831
|
}
|
|
5301
5832
|
}
|
|
5302
5833
|
if (s5 !== peg$FAILED) {
|
|
5303
5834
|
peg$savedPos = s0;
|
|
5304
|
-
s0 = peg$
|
|
5835
|
+
s0 = peg$f99(s3);
|
|
5305
5836
|
} else {
|
|
5306
5837
|
peg$currPos = s0;
|
|
5307
5838
|
s0 = peg$FAILED;
|
|
@@ -5321,12 +5852,12 @@ function peg$parse(input, options) {
|
|
|
5321
5852
|
s3 = peg$currPos;
|
|
5322
5853
|
s4 = peg$parse_();
|
|
5323
5854
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5324
|
-
s5 = peg$
|
|
5855
|
+
s5 = peg$c34;
|
|
5325
5856
|
peg$currPos++;
|
|
5326
5857
|
} else {
|
|
5327
5858
|
s5 = peg$FAILED;
|
|
5328
5859
|
if (peg$silentFails === 0) {
|
|
5329
|
-
peg$fail(peg$
|
|
5860
|
+
peg$fail(peg$e34);
|
|
5330
5861
|
}
|
|
5331
5862
|
}
|
|
5332
5863
|
if (s5 === peg$FAILED) {
|
|
@@ -5346,12 +5877,12 @@ function peg$parse(input, options) {
|
|
|
5346
5877
|
s3 = peg$currPos;
|
|
5347
5878
|
s4 = peg$parse_();
|
|
5348
5879
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5349
|
-
s5 = peg$
|
|
5880
|
+
s5 = peg$c34;
|
|
5350
5881
|
peg$currPos++;
|
|
5351
5882
|
} else {
|
|
5352
5883
|
s5 = peg$FAILED;
|
|
5353
5884
|
if (peg$silentFails === 0) {
|
|
5354
|
-
peg$fail(peg$
|
|
5885
|
+
peg$fail(peg$e34);
|
|
5355
5886
|
}
|
|
5356
5887
|
}
|
|
5357
5888
|
if (s5 === peg$FAILED) {
|
|
@@ -5370,12 +5901,12 @@ function peg$parse(input, options) {
|
|
|
5370
5901
|
s3 = peg$currPos;
|
|
5371
5902
|
s4 = peg$parse_();
|
|
5372
5903
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5373
|
-
s5 = peg$
|
|
5904
|
+
s5 = peg$c34;
|
|
5374
5905
|
peg$currPos++;
|
|
5375
5906
|
} else {
|
|
5376
5907
|
s5 = peg$FAILED;
|
|
5377
5908
|
if (peg$silentFails === 0) {
|
|
5378
|
-
peg$fail(peg$
|
|
5909
|
+
peg$fail(peg$e34);
|
|
5379
5910
|
}
|
|
5380
5911
|
}
|
|
5381
5912
|
if (s5 !== peg$FAILED) {
|
|
@@ -5389,7 +5920,7 @@ function peg$parse(input, options) {
|
|
|
5389
5920
|
s3 = null;
|
|
5390
5921
|
}
|
|
5391
5922
|
peg$savedPos = s0;
|
|
5392
|
-
s0 = peg$
|
|
5923
|
+
s0 = peg$f100(s1, s2);
|
|
5393
5924
|
} else {
|
|
5394
5925
|
peg$currPos = s0;
|
|
5395
5926
|
s0 = peg$FAILED;
|
|
@@ -5443,7 +5974,7 @@ function peg$parse(input, options) {
|
|
|
5443
5974
|
}
|
|
5444
5975
|
if (s5 !== peg$FAILED) {
|
|
5445
5976
|
peg$savedPos = s0;
|
|
5446
|
-
s0 = peg$
|
|
5977
|
+
s0 = peg$f101(s3);
|
|
5447
5978
|
} else {
|
|
5448
5979
|
peg$currPos = s0;
|
|
5449
5980
|
s0 = peg$FAILED;
|
|
@@ -5463,12 +5994,12 @@ function peg$parse(input, options) {
|
|
|
5463
5994
|
s3 = peg$currPos;
|
|
5464
5995
|
s4 = peg$parse_();
|
|
5465
5996
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5466
|
-
s5 = peg$
|
|
5997
|
+
s5 = peg$c34;
|
|
5467
5998
|
peg$currPos++;
|
|
5468
5999
|
} else {
|
|
5469
6000
|
s5 = peg$FAILED;
|
|
5470
6001
|
if (peg$silentFails === 0) {
|
|
5471
|
-
peg$fail(peg$
|
|
6002
|
+
peg$fail(peg$e34);
|
|
5472
6003
|
}
|
|
5473
6004
|
}
|
|
5474
6005
|
if (s5 === peg$FAILED) {
|
|
@@ -5488,12 +6019,12 @@ function peg$parse(input, options) {
|
|
|
5488
6019
|
s3 = peg$currPos;
|
|
5489
6020
|
s4 = peg$parse_();
|
|
5490
6021
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5491
|
-
s5 = peg$
|
|
6022
|
+
s5 = peg$c34;
|
|
5492
6023
|
peg$currPos++;
|
|
5493
6024
|
} else {
|
|
5494
6025
|
s5 = peg$FAILED;
|
|
5495
6026
|
if (peg$silentFails === 0) {
|
|
5496
|
-
peg$fail(peg$
|
|
6027
|
+
peg$fail(peg$e34);
|
|
5497
6028
|
}
|
|
5498
6029
|
}
|
|
5499
6030
|
if (s5 === peg$FAILED) {
|
|
@@ -5510,7 +6041,7 @@ function peg$parse(input, options) {
|
|
|
5510
6041
|
}
|
|
5511
6042
|
}
|
|
5512
6043
|
peg$savedPos = s0;
|
|
5513
|
-
s0 = peg$
|
|
6044
|
+
s0 = peg$f102(s1, s2);
|
|
5514
6045
|
} else {
|
|
5515
6046
|
peg$currPos = s0;
|
|
5516
6047
|
s0 = peg$FAILED;
|
|
@@ -5524,12 +6055,12 @@ function peg$parse(input, options) {
|
|
|
5524
6055
|
if (s1 !== peg$FAILED) {
|
|
5525
6056
|
s2 = peg$parse_();
|
|
5526
6057
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
5527
|
-
s3 = peg$
|
|
6058
|
+
s3 = peg$c54;
|
|
5528
6059
|
peg$currPos++;
|
|
5529
6060
|
} else {
|
|
5530
6061
|
s3 = peg$FAILED;
|
|
5531
6062
|
if (peg$silentFails === 0) {
|
|
5532
|
-
peg$fail(peg$
|
|
6063
|
+
peg$fail(peg$e56);
|
|
5533
6064
|
}
|
|
5534
6065
|
}
|
|
5535
6066
|
if (s3 !== peg$FAILED) {
|
|
@@ -5537,7 +6068,7 @@ function peg$parse(input, options) {
|
|
|
5537
6068
|
s5 = peg$parseAttributeValue();
|
|
5538
6069
|
if (s5 !== peg$FAILED) {
|
|
5539
6070
|
peg$savedPos = s0;
|
|
5540
|
-
s0 = peg$
|
|
6071
|
+
s0 = peg$f103(s1, s5);
|
|
5541
6072
|
} else {
|
|
5542
6073
|
peg$currPos = s0;
|
|
5543
6074
|
s0 = peg$FAILED;
|
|
@@ -5555,7 +6086,7 @@ function peg$parse(input, options) {
|
|
|
5555
6086
|
s1 = peg$parseIdentifier();
|
|
5556
6087
|
if (s1 !== peg$FAILED) {
|
|
5557
6088
|
peg$savedPos = s0;
|
|
5558
|
-
s1 = peg$
|
|
6089
|
+
s1 = peg$f104(s1);
|
|
5559
6090
|
}
|
|
5560
6091
|
s0 = s1;
|
|
5561
6092
|
}
|
|
@@ -5588,7 +6119,7 @@ function peg$parse(input, options) {
|
|
|
5588
6119
|
} else {
|
|
5589
6120
|
s1 = peg$FAILED;
|
|
5590
6121
|
if (peg$silentFails === 0) {
|
|
5591
|
-
peg$fail(peg$
|
|
6122
|
+
peg$fail(peg$e84);
|
|
5592
6123
|
}
|
|
5593
6124
|
}
|
|
5594
6125
|
if (s1 !== peg$FAILED) {
|
|
@@ -5600,7 +6131,7 @@ function peg$parse(input, options) {
|
|
|
5600
6131
|
} else {
|
|
5601
6132
|
s1 = peg$FAILED;
|
|
5602
6133
|
if (peg$silentFails === 0) {
|
|
5603
|
-
peg$fail(peg$
|
|
6134
|
+
peg$fail(peg$e84);
|
|
5604
6135
|
}
|
|
5605
6136
|
}
|
|
5606
6137
|
}
|
|
@@ -5620,7 +6151,7 @@ function peg$parse(input, options) {
|
|
|
5620
6151
|
if (s0 === peg$FAILED) {
|
|
5621
6152
|
s1 = peg$FAILED;
|
|
5622
6153
|
if (peg$silentFails === 0) {
|
|
5623
|
-
peg$fail(peg$
|
|
6154
|
+
peg$fail(peg$e85);
|
|
5624
6155
|
}
|
|
5625
6156
|
}
|
|
5626
6157
|
return s0;
|
|
@@ -5628,13 +6159,13 @@ function peg$parse(input, options) {
|
|
|
5628
6159
|
function peg$parseLineComment() {
|
|
5629
6160
|
let s0, s1, s2, s3, s4;
|
|
5630
6161
|
s0 = peg$currPos;
|
|
5631
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5632
|
-
s1 = peg$
|
|
6162
|
+
if (input.substr(peg$currPos, 2) === peg$c55) {
|
|
6163
|
+
s1 = peg$c55;
|
|
5633
6164
|
peg$currPos += 2;
|
|
5634
6165
|
} else {
|
|
5635
6166
|
s1 = peg$FAILED;
|
|
5636
6167
|
if (peg$silentFails === 0) {
|
|
5637
|
-
peg$fail(peg$
|
|
6168
|
+
peg$fail(peg$e58);
|
|
5638
6169
|
}
|
|
5639
6170
|
}
|
|
5640
6171
|
if (s1 !== peg$FAILED) {
|
|
@@ -5645,7 +6176,7 @@ function peg$parse(input, options) {
|
|
|
5645
6176
|
} else {
|
|
5646
6177
|
s3 = peg$FAILED;
|
|
5647
6178
|
if (peg$silentFails === 0) {
|
|
5648
|
-
peg$fail(peg$
|
|
6179
|
+
peg$fail(peg$e86);
|
|
5649
6180
|
}
|
|
5650
6181
|
}
|
|
5651
6182
|
while (s3 !== peg$FAILED) {
|
|
@@ -5656,17 +6187,17 @@ function peg$parse(input, options) {
|
|
|
5656
6187
|
} else {
|
|
5657
6188
|
s3 = peg$FAILED;
|
|
5658
6189
|
if (peg$silentFails === 0) {
|
|
5659
|
-
peg$fail(peg$
|
|
6190
|
+
peg$fail(peg$e86);
|
|
5660
6191
|
}
|
|
5661
6192
|
}
|
|
5662
6193
|
}
|
|
5663
6194
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
5664
|
-
s3 = peg$
|
|
6195
|
+
s3 = peg$c73;
|
|
5665
6196
|
peg$currPos++;
|
|
5666
6197
|
} else {
|
|
5667
6198
|
s3 = peg$FAILED;
|
|
5668
6199
|
if (peg$silentFails === 0) {
|
|
5669
|
-
peg$fail(peg$
|
|
6200
|
+
peg$fail(peg$e87);
|
|
5670
6201
|
}
|
|
5671
6202
|
}
|
|
5672
6203
|
if (s3 === peg$FAILED) {
|
|
@@ -5678,7 +6209,7 @@ function peg$parse(input, options) {
|
|
|
5678
6209
|
} else {
|
|
5679
6210
|
s4 = peg$FAILED;
|
|
5680
6211
|
if (peg$silentFails === 0) {
|
|
5681
|
-
peg$fail(peg$
|
|
6212
|
+
peg$fail(peg$e60);
|
|
5682
6213
|
}
|
|
5683
6214
|
}
|
|
5684
6215
|
peg$silentFails--;
|
|
@@ -5705,13 +6236,13 @@ function peg$parse(input, options) {
|
|
|
5705
6236
|
function peg$parseBlockComment() {
|
|
5706
6237
|
let s0, s1, s2, s3, s4, s5;
|
|
5707
6238
|
s0 = peg$currPos;
|
|
5708
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5709
|
-
s1 = peg$
|
|
6239
|
+
if (input.substr(peg$currPos, 2) === peg$c56) {
|
|
6240
|
+
s1 = peg$c56;
|
|
5710
6241
|
peg$currPos += 2;
|
|
5711
6242
|
} else {
|
|
5712
6243
|
s1 = peg$FAILED;
|
|
5713
6244
|
if (peg$silentFails === 0) {
|
|
5714
|
-
peg$fail(peg$
|
|
6245
|
+
peg$fail(peg$e59);
|
|
5715
6246
|
}
|
|
5716
6247
|
}
|
|
5717
6248
|
if (s1 !== peg$FAILED) {
|
|
@@ -5719,13 +6250,13 @@ function peg$parse(input, options) {
|
|
|
5719
6250
|
s3 = peg$currPos;
|
|
5720
6251
|
s4 = peg$currPos;
|
|
5721
6252
|
peg$silentFails++;
|
|
5722
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5723
|
-
s5 = peg$
|
|
6253
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6254
|
+
s5 = peg$c74;
|
|
5724
6255
|
peg$currPos += 2;
|
|
5725
6256
|
} else {
|
|
5726
6257
|
s5 = peg$FAILED;
|
|
5727
6258
|
if (peg$silentFails === 0) {
|
|
5728
|
-
peg$fail(peg$
|
|
6259
|
+
peg$fail(peg$e88);
|
|
5729
6260
|
}
|
|
5730
6261
|
}
|
|
5731
6262
|
peg$silentFails--;
|
|
@@ -5742,7 +6273,7 @@ function peg$parse(input, options) {
|
|
|
5742
6273
|
} else {
|
|
5743
6274
|
s5 = peg$FAILED;
|
|
5744
6275
|
if (peg$silentFails === 0) {
|
|
5745
|
-
peg$fail(peg$
|
|
6276
|
+
peg$fail(peg$e60);
|
|
5746
6277
|
}
|
|
5747
6278
|
}
|
|
5748
6279
|
if (s5 !== peg$FAILED) {
|
|
@@ -5761,13 +6292,13 @@ function peg$parse(input, options) {
|
|
|
5761
6292
|
s3 = peg$currPos;
|
|
5762
6293
|
s4 = peg$currPos;
|
|
5763
6294
|
peg$silentFails++;
|
|
5764
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5765
|
-
s5 = peg$
|
|
6295
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6296
|
+
s5 = peg$c74;
|
|
5766
6297
|
peg$currPos += 2;
|
|
5767
6298
|
} else {
|
|
5768
6299
|
s5 = peg$FAILED;
|
|
5769
6300
|
if (peg$silentFails === 0) {
|
|
5770
|
-
peg$fail(peg$
|
|
6301
|
+
peg$fail(peg$e88);
|
|
5771
6302
|
}
|
|
5772
6303
|
}
|
|
5773
6304
|
peg$silentFails--;
|
|
@@ -5784,7 +6315,7 @@ function peg$parse(input, options) {
|
|
|
5784
6315
|
} else {
|
|
5785
6316
|
s5 = peg$FAILED;
|
|
5786
6317
|
if (peg$silentFails === 0) {
|
|
5787
|
-
peg$fail(peg$
|
|
6318
|
+
peg$fail(peg$e60);
|
|
5788
6319
|
}
|
|
5789
6320
|
}
|
|
5790
6321
|
if (s5 !== peg$FAILED) {
|
|
@@ -5799,13 +6330,13 @@ function peg$parse(input, options) {
|
|
|
5799
6330
|
s3 = peg$FAILED;
|
|
5800
6331
|
}
|
|
5801
6332
|
}
|
|
5802
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5803
|
-
s3 = peg$
|
|
6333
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6334
|
+
s3 = peg$c74;
|
|
5804
6335
|
peg$currPos += 2;
|
|
5805
6336
|
} else {
|
|
5806
6337
|
s3 = peg$FAILED;
|
|
5807
6338
|
if (peg$silentFails === 0) {
|
|
5808
|
-
peg$fail(peg$
|
|
6339
|
+
peg$fail(peg$e88);
|
|
5809
6340
|
}
|
|
5810
6341
|
}
|
|
5811
6342
|
if (s3 !== peg$FAILED) {
|