@env-spec/parser 0.3.0 → 0.3.2
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/{chunk-RRVAHNIY.mjs → chunk-N4D6RSUR.mjs} +19 -40
- package/dist/chunk-N4D6RSUR.mjs.map +1 -0
- package/dist/{chunk-CHM43IJO.js → chunk-X4PJ2KLO.js} +18 -40
- package/dist/chunk-X4PJ2KLO.js.map +1 -0
- package/dist/{classes-CgmCxTZQ.d.mts → classes-BhsV2JNw.d.mts} +18 -31
- package/dist/{classes-CgmCxTZQ.d.ts → classes-BhsV2JNw.d.ts} +18 -31
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +677 -989
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +555 -863
- package/dist/index.mjs.map +1 -1
- package/dist/simple-resolver.d.mts +1 -1
- package/dist/simple-resolver.d.ts +1 -1
- package/dist/simple-resolver.js +11 -12
- package/dist/simple-resolver.js.map +1 -1
- package/dist/simple-resolver.mjs +1 -2
- package/dist/simple-resolver.mjs.map +1 -1
- package/package.json +2 -4
- package/dist/chunk-CHM43IJO.js.map +0 -1
- package/dist/chunk-RRVAHNIY.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __name, ParsedEnvSpecCommentBlock, ParsedEnvSpecDivider, ParsedEnvSpecComment, ParsedEnvSpecBlankLine, ParsedEnvSpecDecoratorComment, ParsedEnvSpecConfigItem, ParsedEnvSpecFile, ParsedEnvSpecDecorator, ParsedEnvSpecFunctionCall, ParsedEnvSpecKeyValuePair, ParsedEnvSpecFunctionArgs, ParsedEnvSpecStaticValue
|
|
2
|
-
export { ParsedEnvSpecBlankLine, ParsedEnvSpecComment, ParsedEnvSpecCommentBlock, ParsedEnvSpecConfigItem, ParsedEnvSpecDecorator, ParsedEnvSpecDecoratorComment, ParsedEnvSpecDivider, ParsedEnvSpecFile, ParsedEnvSpecFunctionArgs, ParsedEnvSpecFunctionCall, ParsedEnvSpecKeyValuePair,
|
|
1
|
+
import { __name, ParsedEnvSpecCommentBlock, ParsedEnvSpecDivider, ParsedEnvSpecComment, ParsedEnvSpecBlankLine, ParsedEnvSpecDecoratorComment, ParsedEnvSpecConfigItem, ParsedEnvSpecFile, ParsedEnvSpecDecorator, ParsedEnvSpecFunctionCall, ParsedEnvSpecKeyValuePair, ParsedEnvSpecFunctionArgs, ParsedEnvSpecStaticValue } from './chunk-N4D6RSUR.mjs';
|
|
2
|
+
export { ParsedEnvSpecBlankLine, ParsedEnvSpecComment, ParsedEnvSpecCommentBlock, ParsedEnvSpecConfigItem, ParsedEnvSpecDecorator, ParsedEnvSpecDecoratorComment, ParsedEnvSpecDivider, ParsedEnvSpecFile, ParsedEnvSpecFunctionArgs, ParsedEnvSpecFunctionCall, ParsedEnvSpecKeyValuePair, ParsedEnvSpecStaticValue, expand } from './chunk-N4D6RSUR.mjs';
|
|
3
3
|
|
|
4
4
|
// src/updater.ts
|
|
5
5
|
function ensureHeader(file, newHeaderContents) {
|
|
@@ -246,40 +246,35 @@ function peg$parse(input, options) {
|
|
|
246
246
|
const peg$c2 = "=";
|
|
247
247
|
const peg$c3 = "#";
|
|
248
248
|
const peg$c4 = "@";
|
|
249
|
-
const peg$c5 = "
|
|
250
|
-
const peg$c6 = "
|
|
251
|
-
const peg$c7 = "
|
|
252
|
-
const peg$c8 = "
|
|
253
|
-
const peg$c9 = "
|
|
254
|
-
const peg$c10 = "
|
|
255
|
-
const peg$c11 = '
|
|
256
|
-
const peg$c12 = "
|
|
257
|
-
const peg$c13 = "
|
|
258
|
-
const peg$c14 =
|
|
259
|
-
const peg$c15 = '\\"""';
|
|
260
|
-
const peg$c16 = "```";
|
|
261
|
-
const peg$c17 = "\\```";
|
|
249
|
+
const peg$c5 = "(";
|
|
250
|
+
const peg$c6 = ",";
|
|
251
|
+
const peg$c7 = ")";
|
|
252
|
+
const peg$c8 = '\\"';
|
|
253
|
+
const peg$c9 = "\\'";
|
|
254
|
+
const peg$c10 = "\\`";
|
|
255
|
+
const peg$c11 = '"""';
|
|
256
|
+
const peg$c12 = '\\"""';
|
|
257
|
+
const peg$c13 = "```";
|
|
258
|
+
const peg$c14 = "\\```";
|
|
262
259
|
const peg$r0 = /^[a-zA-Z_]/;
|
|
263
260
|
const peg$r1 = /^[a-zA-Z0-9_.\-]/;
|
|
264
261
|
const peg$r2 = /^[^\n]/;
|
|
265
262
|
const peg$r3 = /^[a-zA-Z]/;
|
|
266
|
-
const peg$r4 = /^[
|
|
267
|
-
const peg$r5 = /^[
|
|
268
|
-
const peg$r6 = /^[
|
|
269
|
-
const peg$r7 = /^[
|
|
263
|
+
const peg$r4 = /^[^ \t\n=()#@]/;
|
|
264
|
+
const peg$r5 = /^[^ \n,)]/;
|
|
265
|
+
const peg$r6 = /^[ \t]/;
|
|
266
|
+
const peg$r7 = /^[a-zA-Z0-9_]/;
|
|
270
267
|
const peg$r8 = /^[ \t\n]/;
|
|
271
268
|
const peg$r9 = /^[\-=*#]/;
|
|
272
|
-
const peg$r10 = /^[
|
|
273
|
-
const peg$r11 = /^[
|
|
274
|
-
const peg$r12 = /^[
|
|
275
|
-
const peg$r13 = /^[
|
|
276
|
-
const peg$r14 = /^[
|
|
277
|
-
const peg$r15 = /^[
|
|
278
|
-
const peg$r16 = /^[^
|
|
279
|
-
const peg$r17 = /^[
|
|
280
|
-
const peg$r18 = /^[
|
|
281
|
-
const peg$r19 = /^[`]/;
|
|
282
|
-
const peg$r20 = /^[^`\n]/;
|
|
269
|
+
const peg$r10 = /^['"`]/;
|
|
270
|
+
const peg$r11 = /^[^#\n]/;
|
|
271
|
+
const peg$r12 = /^[^# \n]/;
|
|
272
|
+
const peg$r13 = /^["]/;
|
|
273
|
+
const peg$r14 = /^[^"\n]/;
|
|
274
|
+
const peg$r15 = /^[']/;
|
|
275
|
+
const peg$r16 = /^[^'\n]/;
|
|
276
|
+
const peg$r17 = /^[`]/;
|
|
277
|
+
const peg$r18 = /^[^`\n]/;
|
|
283
278
|
const peg$e0 = peg$literalExpectation("\n", false);
|
|
284
279
|
const peg$e1 = peg$literalExpectation("export ", false);
|
|
285
280
|
const peg$e2 = peg$literalExpectation("=", false);
|
|
@@ -289,37 +284,32 @@ function peg$parse(input, options) {
|
|
|
289
284
|
const peg$e6 = peg$literalExpectation("@", false);
|
|
290
285
|
const peg$e7 = peg$classExpectation(["\n"], true, false, false);
|
|
291
286
|
const peg$e8 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false, false);
|
|
292
|
-
const peg$e9 = peg$
|
|
293
|
-
const peg$e10 = peg$
|
|
294
|
-
const peg$e11 = peg$
|
|
295
|
-
const peg$e12 = peg$literalExpectation("
|
|
296
|
-
const peg$e13 = peg$
|
|
297
|
-
const peg$e14 = peg$
|
|
298
|
-
const peg$e15 = peg$classExpectation([" ", "
|
|
299
|
-
const peg$e16 = peg$classExpectation([" ", " "], false, false, false);
|
|
300
|
-
const peg$e17 = peg$classExpectation([" ", "
|
|
301
|
-
const peg$e18 = peg$classExpectation(["
|
|
302
|
-
const peg$e19 = peg$
|
|
303
|
-
const peg$e20 = peg$
|
|
304
|
-
const peg$e21 = peg$classExpectation(["
|
|
305
|
-
const peg$e22 = peg$
|
|
306
|
-
const peg$e23 = peg$classExpectation([
|
|
307
|
-
const peg$e24 = peg$classExpectation(["
|
|
308
|
-
const peg$e25 = peg$
|
|
309
|
-
const peg$e26 = peg$classExpectation(['"
|
|
310
|
-
const peg$e27 = peg$
|
|
311
|
-
const peg$e28 = peg$
|
|
312
|
-
const peg$e29 = peg$classExpectation(["
|
|
313
|
-
const peg$e30 = peg$literalExpectation("
|
|
314
|
-
const peg$e31 = peg$
|
|
315
|
-
const peg$e32 = peg$
|
|
316
|
-
const peg$e33 = peg$literalExpectation("
|
|
317
|
-
const peg$e34 = peg$
|
|
318
|
-
const peg$e35 = peg$literalExpectation('"""', false);
|
|
319
|
-
const peg$e36 = peg$literalExpectation('\\"""', false);
|
|
320
|
-
const peg$e37 = peg$literalExpectation("```", false);
|
|
321
|
-
const peg$e38 = peg$literalExpectation("\\```", false);
|
|
322
|
-
const peg$e39 = peg$anyExpectation();
|
|
287
|
+
const peg$e9 = peg$classExpectation([" ", " ", "\n", "=", "(", ")", "#", "@"], true, false, false);
|
|
288
|
+
const peg$e10 = peg$literalExpectation("(", false);
|
|
289
|
+
const peg$e11 = peg$literalExpectation(",", false);
|
|
290
|
+
const peg$e12 = peg$literalExpectation(")", false);
|
|
291
|
+
const peg$e13 = peg$classExpectation([" ", "\n", ",", ")"], true, false, false);
|
|
292
|
+
const peg$e14 = peg$classExpectation([" ", " "], false, false, false);
|
|
293
|
+
const peg$e15 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_"], false, false, false);
|
|
294
|
+
const peg$e16 = peg$classExpectation([" ", " ", "\n"], false, false, false);
|
|
295
|
+
const peg$e17 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
296
|
+
const peg$e18 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
297
|
+
const peg$e19 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
298
|
+
const peg$e20 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
299
|
+
const peg$e21 = peg$classExpectation(['"'], false, false, false);
|
|
300
|
+
const peg$e22 = peg$literalExpectation('\\"', false);
|
|
301
|
+
const peg$e23 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
302
|
+
const peg$e24 = peg$classExpectation(["'"], false, false, false);
|
|
303
|
+
const peg$e25 = peg$literalExpectation("\\'", false);
|
|
304
|
+
const peg$e26 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
305
|
+
const peg$e27 = peg$classExpectation(["`"], false, false, false);
|
|
306
|
+
const peg$e28 = peg$literalExpectation("\\`", false);
|
|
307
|
+
const peg$e29 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
308
|
+
const peg$e30 = peg$literalExpectation('"""', false);
|
|
309
|
+
const peg$e31 = peg$literalExpectation('\\"""', false);
|
|
310
|
+
const peg$e32 = peg$literalExpectation("```", false);
|
|
311
|
+
const peg$e33 = peg$literalExpectation("\\```", false);
|
|
312
|
+
const peg$e34 = peg$anyExpectation();
|
|
323
313
|
function peg$f0() {
|
|
324
314
|
return new ParsedEnvSpecBlankLine({ _location: location() });
|
|
325
315
|
}
|
|
@@ -354,20 +344,27 @@ function peg$parse(input, options) {
|
|
|
354
344
|
});
|
|
355
345
|
}
|
|
356
346
|
__name(peg$f4, "peg$f4");
|
|
357
|
-
function peg$f5(leadingSpace,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
347
|
+
function peg$f5(leadingSpace, first, rest, trailingText) {
|
|
348
|
+
const allDecorators = [first, ...rest];
|
|
349
|
+
let postComment;
|
|
350
|
+
if (trailingText) {
|
|
351
|
+
if (trailingText.startsWith("#")) {
|
|
352
|
+
postComment = trailingText;
|
|
353
|
+
} else {
|
|
354
|
+
const lastDec = allDecorators[allDecorators.length - 1];
|
|
355
|
+
lastDec.data.warning = `Unexpected trailing text after @${lastDec.name}`;
|
|
356
|
+
postComment = trailingText;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
362
359
|
return new ParsedEnvSpecDecoratorComment({
|
|
363
|
-
decorators:
|
|
360
|
+
decorators: allDecorators,
|
|
364
361
|
leadingSpace,
|
|
365
362
|
postComment,
|
|
366
363
|
_location: location()
|
|
367
364
|
});
|
|
368
365
|
}
|
|
369
|
-
__name(peg$
|
|
370
|
-
function peg$
|
|
366
|
+
__name(peg$f5, "peg$f5");
|
|
367
|
+
function peg$f6(name, val) {
|
|
371
368
|
return new ParsedEnvSpecDecorator({
|
|
372
369
|
name,
|
|
373
370
|
value: Array.isArray(val) ? val[1] : val,
|
|
@@ -375,76 +372,75 @@ function peg$parse(input, options) {
|
|
|
375
372
|
_location: location()
|
|
376
373
|
});
|
|
377
374
|
}
|
|
378
|
-
__name(peg$
|
|
379
|
-
function peg$
|
|
375
|
+
__name(peg$f6, "peg$f6");
|
|
376
|
+
function peg$f7(name, args) {
|
|
380
377
|
return new ParsedEnvSpecFunctionCall({
|
|
381
378
|
name,
|
|
382
379
|
args,
|
|
383
380
|
_location: location()
|
|
384
381
|
});
|
|
385
382
|
}
|
|
386
|
-
__name(peg$
|
|
387
|
-
function peg$
|
|
383
|
+
__name(peg$f7, "peg$f7");
|
|
384
|
+
function peg$f8(key, val) {
|
|
388
385
|
return new ParsedEnvSpecKeyValuePair({ key, val });
|
|
389
386
|
}
|
|
390
|
-
__name(peg$
|
|
391
|
-
function peg$
|
|
387
|
+
__name(peg$f8, "peg$f8");
|
|
388
|
+
function peg$f9(values) {
|
|
392
389
|
return new ParsedEnvSpecFunctionArgs({
|
|
393
390
|
values: values || [],
|
|
394
391
|
_location: location()
|
|
395
392
|
});
|
|
396
393
|
}
|
|
397
|
-
__name(peg$
|
|
398
|
-
function peg$
|
|
394
|
+
__name(peg$f9, "peg$f9");
|
|
395
|
+
function peg$f10() {
|
|
399
396
|
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
400
397
|
}
|
|
401
|
-
__name(peg$
|
|
402
|
-
function peg$
|
|
398
|
+
__name(peg$f10, "peg$f10");
|
|
399
|
+
function peg$f11(name, args) {
|
|
403
400
|
return new ParsedEnvSpecFunctionCall({
|
|
404
401
|
name,
|
|
405
402
|
args,
|
|
406
403
|
_location: location()
|
|
407
404
|
});
|
|
408
405
|
}
|
|
409
|
-
__name(peg$
|
|
410
|
-
function peg$
|
|
406
|
+
__name(peg$f11, "peg$f11");
|
|
407
|
+
function peg$f12(key, val) {
|
|
411
408
|
return new ParsedEnvSpecKeyValuePair({ key, val });
|
|
412
409
|
}
|
|
413
|
-
__name(peg$
|
|
414
|
-
function peg$
|
|
410
|
+
__name(peg$f12, "peg$f12");
|
|
411
|
+
function peg$f13(values) {
|
|
415
412
|
return new ParsedEnvSpecFunctionArgs({
|
|
416
413
|
values: values || [],
|
|
417
414
|
_location: location()
|
|
418
415
|
});
|
|
419
416
|
}
|
|
420
|
-
__name(peg$
|
|
421
|
-
function peg$
|
|
417
|
+
__name(peg$f13, "peg$f13");
|
|
418
|
+
function peg$f14() {
|
|
422
419
|
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
423
420
|
}
|
|
424
|
-
__name(peg$
|
|
425
|
-
function peg$
|
|
421
|
+
__name(peg$f14, "peg$f14");
|
|
422
|
+
function peg$f15(leadingSpace, contents) {
|
|
426
423
|
return new ParsedEnvSpecDivider({
|
|
427
424
|
contents,
|
|
428
425
|
leadingSpace,
|
|
429
426
|
_location: location()
|
|
430
427
|
});
|
|
431
428
|
}
|
|
429
|
+
__name(peg$f15, "peg$f15");
|
|
430
|
+
function peg$f16() {
|
|
431
|
+
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
432
|
+
}
|
|
432
433
|
__name(peg$f16, "peg$f16");
|
|
433
|
-
function peg$f17(
|
|
434
|
-
return new
|
|
435
|
-
rawValue: text(),
|
|
436
|
-
pattern: pattern.replaceAll("\\/", "/"),
|
|
437
|
-
flags,
|
|
438
|
-
_location: location()
|
|
439
|
-
});
|
|
434
|
+
function peg$f17() {
|
|
435
|
+
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
440
436
|
}
|
|
441
437
|
__name(peg$f17, "peg$f17");
|
|
442
|
-
function peg$f18() {
|
|
443
|
-
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
438
|
+
function peg$f18(quote) {
|
|
439
|
+
return new ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
444
440
|
}
|
|
445
441
|
__name(peg$f18, "peg$f18");
|
|
446
|
-
function peg$f19() {
|
|
447
|
-
return new ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
442
|
+
function peg$f19(quote) {
|
|
443
|
+
return new ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
448
444
|
}
|
|
449
445
|
__name(peg$f19, "peg$f19");
|
|
450
446
|
function peg$f20(quote) {
|
|
@@ -452,11 +448,11 @@ function peg$parse(input, options) {
|
|
|
452
448
|
}
|
|
453
449
|
__name(peg$f20, "peg$f20");
|
|
454
450
|
function peg$f21(quote) {
|
|
455
|
-
return new ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
451
|
+
return new ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
456
452
|
}
|
|
457
453
|
__name(peg$f21, "peg$f21");
|
|
458
454
|
function peg$f22(quote) {
|
|
459
|
-
return new ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
455
|
+
return new ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
460
456
|
}
|
|
461
457
|
__name(peg$f22, "peg$f22");
|
|
462
458
|
function peg$f23(quote) {
|
|
@@ -467,14 +463,6 @@ function peg$parse(input, options) {
|
|
|
467
463
|
return new ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
468
464
|
}
|
|
469
465
|
__name(peg$f24, "peg$f24");
|
|
470
|
-
function peg$f25(quote) {
|
|
471
|
-
return new ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
472
|
-
}
|
|
473
|
-
__name(peg$f25, "peg$f25");
|
|
474
|
-
function peg$f26(quote) {
|
|
475
|
-
return new ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
476
|
-
}
|
|
477
|
-
__name(peg$f26, "peg$f26");
|
|
478
466
|
let peg$currPos = options.peg$currPos | 0;
|
|
479
467
|
let peg$savedPos = peg$currPos;
|
|
480
468
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -695,12 +683,9 @@ function peg$parse(input, options) {
|
|
|
695
683
|
s0 = peg$currPos;
|
|
696
684
|
s1 = [];
|
|
697
685
|
s2 = peg$currPos;
|
|
698
|
-
s3 = peg$
|
|
686
|
+
s3 = peg$parseDecoratorComment();
|
|
699
687
|
if (s3 === peg$FAILED) {
|
|
700
|
-
s3 = peg$
|
|
701
|
-
if (s3 === peg$FAILED) {
|
|
702
|
-
s3 = peg$parseComment();
|
|
703
|
-
}
|
|
688
|
+
s3 = peg$parseComment();
|
|
704
689
|
}
|
|
705
690
|
if (s3 !== peg$FAILED) {
|
|
706
691
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -725,12 +710,9 @@ function peg$parse(input, options) {
|
|
|
725
710
|
while (s2 !== peg$FAILED) {
|
|
726
711
|
s1.push(s2);
|
|
727
712
|
s2 = peg$currPos;
|
|
728
|
-
s3 = peg$
|
|
713
|
+
s3 = peg$parseDecoratorComment();
|
|
729
714
|
if (s3 === peg$FAILED) {
|
|
730
|
-
s3 = peg$
|
|
731
|
-
if (s3 === peg$FAILED) {
|
|
732
|
-
s3 = peg$parseComment();
|
|
733
|
-
}
|
|
715
|
+
s3 = peg$parseComment();
|
|
734
716
|
}
|
|
735
717
|
if (s3 !== peg$FAILED) {
|
|
736
718
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -795,12 +777,9 @@ function peg$parse(input, options) {
|
|
|
795
777
|
}
|
|
796
778
|
peg$parse_();
|
|
797
779
|
s9 = peg$currPos;
|
|
798
|
-
s10 = peg$
|
|
780
|
+
s10 = peg$parseDecoratorComment();
|
|
799
781
|
if (s10 === peg$FAILED) {
|
|
800
|
-
s10 = peg$
|
|
801
|
-
if (s10 === peg$FAILED) {
|
|
802
|
-
s10 = peg$parseComment();
|
|
803
|
-
}
|
|
782
|
+
s10 = peg$parseComment();
|
|
804
783
|
}
|
|
805
784
|
if (s10 !== peg$FAILED) {
|
|
806
785
|
s9 = s10;
|
|
@@ -884,14 +863,11 @@ function peg$parse(input, options) {
|
|
|
884
863
|
let s0;
|
|
885
864
|
s0 = peg$parseFunctionCall();
|
|
886
865
|
if (s0 === peg$FAILED) {
|
|
887
|
-
s0 = peg$
|
|
866
|
+
s0 = peg$parsemultiLineString();
|
|
888
867
|
if (s0 === peg$FAILED) {
|
|
889
|
-
s0 = peg$
|
|
868
|
+
s0 = peg$parsequotedString();
|
|
890
869
|
if (s0 === peg$FAILED) {
|
|
891
|
-
s0 = peg$
|
|
892
|
-
if (s0 === peg$FAILED) {
|
|
893
|
-
s0 = peg$parseunquotedString();
|
|
894
|
-
}
|
|
870
|
+
s0 = peg$parseunquotedString();
|
|
895
871
|
}
|
|
896
872
|
}
|
|
897
873
|
}
|
|
@@ -903,12 +879,9 @@ function peg$parse(input, options) {
|
|
|
903
879
|
s0 = peg$currPos;
|
|
904
880
|
s1 = [];
|
|
905
881
|
s2 = peg$currPos;
|
|
906
|
-
s3 = peg$
|
|
882
|
+
s3 = peg$parseDecoratorComment();
|
|
907
883
|
if (s3 === peg$FAILED) {
|
|
908
|
-
s3 = peg$
|
|
909
|
-
if (s3 === peg$FAILED) {
|
|
910
|
-
s3 = peg$parseComment();
|
|
911
|
-
}
|
|
884
|
+
s3 = peg$parseComment();
|
|
912
885
|
}
|
|
913
886
|
if (s3 !== peg$FAILED) {
|
|
914
887
|
s4 = peg$parse_n();
|
|
@@ -926,12 +899,9 @@ function peg$parse(input, options) {
|
|
|
926
899
|
while (s2 !== peg$FAILED) {
|
|
927
900
|
s1.push(s2);
|
|
928
901
|
s2 = peg$currPos;
|
|
929
|
-
s3 = peg$
|
|
902
|
+
s3 = peg$parseDecoratorComment();
|
|
930
903
|
if (s3 === peg$FAILED) {
|
|
931
|
-
s3 = peg$
|
|
932
|
-
if (s3 === peg$FAILED) {
|
|
933
|
-
s3 = peg$parseComment();
|
|
934
|
-
}
|
|
904
|
+
s3 = peg$parseComment();
|
|
935
905
|
}
|
|
936
906
|
if (s3 !== peg$FAILED) {
|
|
937
907
|
s4 = peg$parse_n();
|
|
@@ -1063,7 +1033,7 @@ function peg$parse(input, options) {
|
|
|
1063
1033
|
return s0;
|
|
1064
1034
|
}
|
|
1065
1035
|
__name(peg$parseComment, "peg$parseComment");
|
|
1066
|
-
function peg$
|
|
1036
|
+
function peg$parseDecoratorComment() {
|
|
1067
1037
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1068
1038
|
s0 = peg$currPos;
|
|
1069
1039
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
@@ -1079,65 +1049,55 @@ function peg$parse(input, options) {
|
|
|
1079
1049
|
s2 = peg$currPos;
|
|
1080
1050
|
s3 = peg$parse_();
|
|
1081
1051
|
s2 = input.substring(s2, peg$currPos);
|
|
1082
|
-
s3 = peg$
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
s5 = peg$
|
|
1086
|
-
peg$
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
s6 = [];
|
|
1095
|
-
s7 = input.charAt(peg$currPos);
|
|
1096
|
-
if (peg$r3.test(s7)) {
|
|
1097
|
-
peg$currPos++;
|
|
1098
|
-
} else {
|
|
1099
|
-
s7 = peg$FAILED;
|
|
1100
|
-
if (peg$silentFails === 0) {
|
|
1101
|
-
peg$fail(peg$e8);
|
|
1052
|
+
s3 = peg$parseDecorator();
|
|
1053
|
+
if (s3 !== peg$FAILED) {
|
|
1054
|
+
s4 = [];
|
|
1055
|
+
s5 = peg$currPos;
|
|
1056
|
+
s6 = peg$parse__();
|
|
1057
|
+
if (s6 !== peg$FAILED) {
|
|
1058
|
+
s7 = peg$parseDecorator();
|
|
1059
|
+
if (s7 !== peg$FAILED) {
|
|
1060
|
+
s5 = s7;
|
|
1061
|
+
} else {
|
|
1062
|
+
peg$currPos = s5;
|
|
1063
|
+
s5 = peg$FAILED;
|
|
1102
1064
|
}
|
|
1065
|
+
} else {
|
|
1066
|
+
peg$currPos = s5;
|
|
1067
|
+
s5 = peg$FAILED;
|
|
1103
1068
|
}
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1069
|
+
while (s5 !== peg$FAILED) {
|
|
1070
|
+
s4.push(s5);
|
|
1071
|
+
s5 = peg$currPos;
|
|
1072
|
+
s6 = peg$parse__();
|
|
1073
|
+
if (s6 !== peg$FAILED) {
|
|
1074
|
+
s7 = peg$parseDecorator();
|
|
1075
|
+
if (s7 !== peg$FAILED) {
|
|
1076
|
+
s5 = s7;
|
|
1110
1077
|
} else {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
peg$fail(peg$e8);
|
|
1114
|
-
}
|
|
1078
|
+
peg$currPos = s5;
|
|
1079
|
+
s5 = peg$FAILED;
|
|
1115
1080
|
}
|
|
1081
|
+
} else {
|
|
1082
|
+
peg$currPos = s5;
|
|
1083
|
+
s5 = peg$FAILED;
|
|
1116
1084
|
}
|
|
1117
|
-
} else {
|
|
1118
|
-
s6 = peg$FAILED;
|
|
1119
1085
|
}
|
|
1086
|
+
s5 = peg$currPos;
|
|
1087
|
+
s6 = peg$parse__();
|
|
1120
1088
|
if (s6 !== peg$FAILED) {
|
|
1121
|
-
|
|
1122
|
-
|
|
1089
|
+
s7 = peg$currPos;
|
|
1090
|
+
s8 = [];
|
|
1091
|
+
s9 = input.charAt(peg$currPos);
|
|
1092
|
+
if (peg$r2.test(s9)) {
|
|
1123
1093
|
peg$currPos++;
|
|
1124
1094
|
} else {
|
|
1125
|
-
|
|
1095
|
+
s9 = peg$FAILED;
|
|
1126
1096
|
if (peg$silentFails === 0) {
|
|
1127
|
-
peg$fail(peg$
|
|
1097
|
+
peg$fail(peg$e7);
|
|
1128
1098
|
}
|
|
1129
1099
|
}
|
|
1130
|
-
if (
|
|
1131
|
-
s8 = [];
|
|
1132
|
-
s9 = input.charAt(peg$currPos);
|
|
1133
|
-
if (peg$r2.test(s9)) {
|
|
1134
|
-
peg$currPos++;
|
|
1135
|
-
} else {
|
|
1136
|
-
s9 = peg$FAILED;
|
|
1137
|
-
if (peg$silentFails === 0) {
|
|
1138
|
-
peg$fail(peg$e7);
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1100
|
+
if (s9 !== peg$FAILED) {
|
|
1141
1101
|
while (s9 !== peg$FAILED) {
|
|
1142
1102
|
s8.push(s9);
|
|
1143
1103
|
s9 = input.charAt(peg$currPos);
|
|
@@ -1150,163 +1110,14 @@ function peg$parse(input, options) {
|
|
|
1150
1110
|
}
|
|
1151
1111
|
}
|
|
1152
1112
|
}
|
|
1153
|
-
s5 = [s5, s6, s7, s8];
|
|
1154
|
-
s4 = s5;
|
|
1155
1113
|
} else {
|
|
1156
|
-
|
|
1157
|
-
s4 = peg$FAILED;
|
|
1114
|
+
s8 = peg$FAILED;
|
|
1158
1115
|
}
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
s4 = peg$FAILED;
|
|
1162
|
-
}
|
|
1163
|
-
} else {
|
|
1164
|
-
peg$currPos = s4;
|
|
1165
|
-
s4 = peg$FAILED;
|
|
1166
|
-
}
|
|
1167
|
-
if (s4 === peg$FAILED) {
|
|
1168
|
-
s4 = peg$currPos;
|
|
1169
|
-
if (input.charCodeAt(peg$currPos) === 64) {
|
|
1170
|
-
s5 = peg$c4;
|
|
1171
|
-
peg$currPos++;
|
|
1172
|
-
} else {
|
|
1173
|
-
s5 = peg$FAILED;
|
|
1174
|
-
if (peg$silentFails === 0) {
|
|
1175
|
-
peg$fail(peg$e6);
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
if (s5 !== peg$FAILED) {
|
|
1179
|
-
s6 = [];
|
|
1180
|
-
s7 = input.charAt(peg$currPos);
|
|
1181
|
-
if (peg$r3.test(s7)) {
|
|
1182
|
-
peg$currPos++;
|
|
1183
|
-
} else {
|
|
1184
|
-
s7 = peg$FAILED;
|
|
1185
|
-
if (peg$silentFails === 0) {
|
|
1186
|
-
peg$fail(peg$e8);
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
if (s7 !== peg$FAILED) {
|
|
1190
|
-
while (s7 !== peg$FAILED) {
|
|
1191
|
-
s6.push(s7);
|
|
1192
|
-
s7 = input.charAt(peg$currPos);
|
|
1193
|
-
if (peg$r3.test(s7)) {
|
|
1194
|
-
peg$currPos++;
|
|
1195
|
-
} else {
|
|
1196
|
-
s7 = peg$FAILED;
|
|
1197
|
-
if (peg$silentFails === 0) {
|
|
1198
|
-
peg$fail(peg$e8);
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
} else {
|
|
1203
|
-
s6 = peg$FAILED;
|
|
1204
|
-
}
|
|
1205
|
-
if (s6 !== peg$FAILED) {
|
|
1206
|
-
s7 = peg$parse__();
|
|
1207
|
-
if (s7 !== peg$FAILED) {
|
|
1208
|
-
s8 = peg$currPos;
|
|
1209
|
-
peg$silentFails++;
|
|
1210
|
-
s9 = input.charAt(peg$currPos);
|
|
1211
|
-
if (peg$r4.test(s9)) {
|
|
1212
|
-
peg$currPos++;
|
|
1213
|
-
} else {
|
|
1214
|
-
s9 = peg$FAILED;
|
|
1215
|
-
if (peg$silentFails === 0) {
|
|
1216
|
-
peg$fail(peg$e10);
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
peg$silentFails--;
|
|
1220
|
-
if (s9 === peg$FAILED) {
|
|
1221
|
-
s8 = void 0;
|
|
1222
|
-
} else {
|
|
1223
|
-
peg$currPos = s8;
|
|
1224
|
-
s8 = peg$FAILED;
|
|
1225
|
-
}
|
|
1226
|
-
if (s8 !== peg$FAILED) {
|
|
1227
|
-
s9 = [];
|
|
1228
|
-
s10 = input.charAt(peg$currPos);
|
|
1229
|
-
if (peg$r2.test(s10)) {
|
|
1230
|
-
peg$currPos++;
|
|
1231
|
-
} else {
|
|
1232
|
-
s10 = peg$FAILED;
|
|
1233
|
-
if (peg$silentFails === 0) {
|
|
1234
|
-
peg$fail(peg$e7);
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
while (s10 !== peg$FAILED) {
|
|
1238
|
-
s9.push(s10);
|
|
1239
|
-
s10 = input.charAt(peg$currPos);
|
|
1240
|
-
if (peg$r2.test(s10)) {
|
|
1241
|
-
peg$currPos++;
|
|
1242
|
-
} else {
|
|
1243
|
-
s10 = peg$FAILED;
|
|
1244
|
-
if (peg$silentFails === 0) {
|
|
1245
|
-
peg$fail(peg$e7);
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
s5 = [s5, s6, s7, s8, s9];
|
|
1250
|
-
s4 = s5;
|
|
1251
|
-
} else {
|
|
1252
|
-
peg$currPos = s4;
|
|
1253
|
-
s4 = peg$FAILED;
|
|
1254
|
-
}
|
|
1255
|
-
} else {
|
|
1256
|
-
peg$currPos = s4;
|
|
1257
|
-
s4 = peg$FAILED;
|
|
1258
|
-
}
|
|
1116
|
+
if (s8 !== peg$FAILED) {
|
|
1117
|
+
s7 = input.substring(s7, peg$currPos);
|
|
1259
1118
|
} else {
|
|
1260
|
-
|
|
1261
|
-
s4 = peg$FAILED;
|
|
1119
|
+
s7 = s8;
|
|
1262
1120
|
}
|
|
1263
|
-
} else {
|
|
1264
|
-
peg$currPos = s4;
|
|
1265
|
-
s4 = peg$FAILED;
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
if (s4 !== peg$FAILED) {
|
|
1269
|
-
s3 = input.substring(s3, peg$currPos);
|
|
1270
|
-
} else {
|
|
1271
|
-
s3 = s4;
|
|
1272
|
-
}
|
|
1273
|
-
if (s3 !== peg$FAILED) {
|
|
1274
|
-
peg$savedPos = s0;
|
|
1275
|
-
s0 = peg$f5(s2, s3);
|
|
1276
|
-
} else {
|
|
1277
|
-
peg$currPos = s0;
|
|
1278
|
-
s0 = peg$FAILED;
|
|
1279
|
-
}
|
|
1280
|
-
} else {
|
|
1281
|
-
peg$currPos = s0;
|
|
1282
|
-
s0 = peg$FAILED;
|
|
1283
|
-
}
|
|
1284
|
-
return s0;
|
|
1285
|
-
}
|
|
1286
|
-
__name(peg$parseIgnoredDecoratorComment, "peg$parseIgnoredDecoratorComment");
|
|
1287
|
-
function peg$parseDecoratorComment() {
|
|
1288
|
-
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1289
|
-
s0 = peg$currPos;
|
|
1290
|
-
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1291
|
-
s1 = peg$c3;
|
|
1292
|
-
peg$currPos++;
|
|
1293
|
-
} else {
|
|
1294
|
-
s1 = peg$FAILED;
|
|
1295
|
-
if (peg$silentFails === 0) {
|
|
1296
|
-
peg$fail(peg$e5);
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
if (s1 !== peg$FAILED) {
|
|
1300
|
-
s2 = peg$currPos;
|
|
1301
|
-
s3 = peg$parse_();
|
|
1302
|
-
s2 = input.substring(s2, peg$currPos);
|
|
1303
|
-
s3 = peg$parseDecorator();
|
|
1304
|
-
if (s3 !== peg$FAILED) {
|
|
1305
|
-
s4 = [];
|
|
1306
|
-
s5 = peg$currPos;
|
|
1307
|
-
s6 = peg$parse__();
|
|
1308
|
-
if (s6 !== peg$FAILED) {
|
|
1309
|
-
s7 = peg$parseDecorator();
|
|
1310
1121
|
if (s7 !== peg$FAILED) {
|
|
1311
1122
|
s5 = s7;
|
|
1312
1123
|
} else {
|
|
@@ -1317,48 +1128,21 @@ function peg$parse(input, options) {
|
|
|
1317
1128
|
peg$currPos = s5;
|
|
1318
1129
|
s5 = peg$FAILED;
|
|
1319
1130
|
}
|
|
1320
|
-
|
|
1321
|
-
s4.push(s5);
|
|
1131
|
+
if (s5 === peg$FAILED) {
|
|
1322
1132
|
s5 = peg$currPos;
|
|
1323
|
-
s6 = peg$
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
s5 = s7;
|
|
1328
|
-
} else {
|
|
1329
|
-
peg$currPos = s5;
|
|
1330
|
-
s5 = peg$FAILED;
|
|
1331
|
-
}
|
|
1332
|
-
} else {
|
|
1333
|
-
peg$currPos = s5;
|
|
1334
|
-
s5 = peg$FAILED;
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
s5 = peg$parse_();
|
|
1338
|
-
s6 = peg$currPos;
|
|
1339
|
-
s7 = peg$currPos;
|
|
1340
|
-
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1341
|
-
s8 = peg$c3;
|
|
1342
|
-
peg$currPos++;
|
|
1343
|
-
} else {
|
|
1344
|
-
s8 = peg$FAILED;
|
|
1345
|
-
if (peg$silentFails === 0) {
|
|
1346
|
-
peg$fail(peg$e5);
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
if (s8 !== peg$FAILED) {
|
|
1350
|
-
s9 = [];
|
|
1351
|
-
s10 = input.charAt(peg$currPos);
|
|
1352
|
-
if (peg$r2.test(s10)) {
|
|
1133
|
+
s6 = peg$currPos;
|
|
1134
|
+
s7 = peg$currPos;
|
|
1135
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1136
|
+
s8 = peg$c3;
|
|
1353
1137
|
peg$currPos++;
|
|
1354
1138
|
} else {
|
|
1355
|
-
|
|
1139
|
+
s8 = peg$FAILED;
|
|
1356
1140
|
if (peg$silentFails === 0) {
|
|
1357
|
-
peg$fail(peg$
|
|
1141
|
+
peg$fail(peg$e5);
|
|
1358
1142
|
}
|
|
1359
1143
|
}
|
|
1360
|
-
|
|
1361
|
-
s9
|
|
1144
|
+
if (s8 !== peg$FAILED) {
|
|
1145
|
+
s9 = [];
|
|
1362
1146
|
s10 = input.charAt(peg$currPos);
|
|
1363
1147
|
if (peg$r2.test(s10)) {
|
|
1364
1148
|
peg$currPos++;
|
|
@@ -1368,19 +1152,42 @@ function peg$parse(input, options) {
|
|
|
1368
1152
|
peg$fail(peg$e7);
|
|
1369
1153
|
}
|
|
1370
1154
|
}
|
|
1155
|
+
while (s10 !== peg$FAILED) {
|
|
1156
|
+
s9.push(s10);
|
|
1157
|
+
s10 = input.charAt(peg$currPos);
|
|
1158
|
+
if (peg$r2.test(s10)) {
|
|
1159
|
+
peg$currPos++;
|
|
1160
|
+
} else {
|
|
1161
|
+
s10 = peg$FAILED;
|
|
1162
|
+
if (peg$silentFails === 0) {
|
|
1163
|
+
peg$fail(peg$e7);
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
s8 = [s8, s9];
|
|
1168
|
+
s7 = s8;
|
|
1169
|
+
} else {
|
|
1170
|
+
peg$currPos = s7;
|
|
1171
|
+
s7 = peg$FAILED;
|
|
1172
|
+
}
|
|
1173
|
+
if (s7 !== peg$FAILED) {
|
|
1174
|
+
s6 = input.substring(s6, peg$currPos);
|
|
1175
|
+
} else {
|
|
1176
|
+
s6 = s7;
|
|
1177
|
+
}
|
|
1178
|
+
if (s6 !== peg$FAILED) {
|
|
1179
|
+
s5 = s6;
|
|
1180
|
+
} else {
|
|
1181
|
+
peg$currPos = s5;
|
|
1182
|
+
s5 = peg$FAILED;
|
|
1371
1183
|
}
|
|
1372
|
-
s8 = [s8, s9];
|
|
1373
|
-
s7 = s8;
|
|
1374
|
-
} else {
|
|
1375
|
-
peg$currPos = s7;
|
|
1376
|
-
s7 = peg$FAILED;
|
|
1377
1184
|
}
|
|
1378
|
-
if (
|
|
1379
|
-
|
|
1185
|
+
if (s5 === peg$FAILED) {
|
|
1186
|
+
s5 = null;
|
|
1380
1187
|
}
|
|
1381
|
-
s6 =
|
|
1188
|
+
s6 = peg$parse_();
|
|
1382
1189
|
peg$savedPos = s0;
|
|
1383
|
-
s0 = peg$
|
|
1190
|
+
s0 = peg$f5(s2, s3, s4, s5);
|
|
1384
1191
|
} else {
|
|
1385
1192
|
peg$currPos = s0;
|
|
1386
1193
|
s0 = peg$FAILED;
|
|
@@ -1437,7 +1244,7 @@ function peg$parse(input, options) {
|
|
|
1437
1244
|
s3 = null;
|
|
1438
1245
|
}
|
|
1439
1246
|
peg$savedPos = s0;
|
|
1440
|
-
s0 = peg$
|
|
1247
|
+
s0 = peg$f6(s2, s3);
|
|
1441
1248
|
} else {
|
|
1442
1249
|
peg$currPos = s0;
|
|
1443
1250
|
s0 = peg$FAILED;
|
|
@@ -1465,23 +1272,23 @@ function peg$parse(input, options) {
|
|
|
1465
1272
|
if (s2 !== peg$FAILED) {
|
|
1466
1273
|
s3 = [];
|
|
1467
1274
|
s4 = input.charAt(peg$currPos);
|
|
1468
|
-
if (peg$
|
|
1275
|
+
if (peg$r4.test(s4)) {
|
|
1469
1276
|
peg$currPos++;
|
|
1470
1277
|
} else {
|
|
1471
1278
|
s4 = peg$FAILED;
|
|
1472
1279
|
if (peg$silentFails === 0) {
|
|
1473
|
-
peg$fail(peg$
|
|
1280
|
+
peg$fail(peg$e9);
|
|
1474
1281
|
}
|
|
1475
1282
|
}
|
|
1476
1283
|
while (s4 !== peg$FAILED) {
|
|
1477
1284
|
s3.push(s4);
|
|
1478
1285
|
s4 = input.charAt(peg$currPos);
|
|
1479
|
-
if (peg$
|
|
1286
|
+
if (peg$r4.test(s4)) {
|
|
1480
1287
|
peg$currPos++;
|
|
1481
1288
|
} else {
|
|
1482
1289
|
s4 = peg$FAILED;
|
|
1483
1290
|
if (peg$silentFails === 0) {
|
|
1484
|
-
peg$fail(peg$
|
|
1291
|
+
peg$fail(peg$e9);
|
|
1485
1292
|
}
|
|
1486
1293
|
}
|
|
1487
1294
|
}
|
|
@@ -1503,12 +1310,9 @@ function peg$parse(input, options) {
|
|
|
1503
1310
|
let s0;
|
|
1504
1311
|
s0 = peg$parseDecoratorFunctionCall();
|
|
1505
1312
|
if (s0 === peg$FAILED) {
|
|
1506
|
-
s0 = peg$
|
|
1313
|
+
s0 = peg$parsequotedString();
|
|
1507
1314
|
if (s0 === peg$FAILED) {
|
|
1508
|
-
s0 = peg$
|
|
1509
|
-
if (s0 === peg$FAILED) {
|
|
1510
|
-
s0 = peg$parseunquotedStringWithoutSpaces();
|
|
1511
|
-
}
|
|
1315
|
+
s0 = peg$parseunquotedStringWithoutSpaces();
|
|
1512
1316
|
}
|
|
1513
1317
|
}
|
|
1514
1318
|
return s0;
|
|
@@ -1522,7 +1326,7 @@ function peg$parse(input, options) {
|
|
|
1522
1326
|
s2 = peg$parseDecoratorFunctionArgs();
|
|
1523
1327
|
if (s2 !== peg$FAILED) {
|
|
1524
1328
|
peg$savedPos = s0;
|
|
1525
|
-
s0 = peg$
|
|
1329
|
+
s0 = peg$f7(s1, s2);
|
|
1526
1330
|
} else {
|
|
1527
1331
|
peg$currPos = s0;
|
|
1528
1332
|
s0 = peg$FAILED;
|
|
@@ -1538,12 +1342,12 @@ function peg$parse(input, options) {
|
|
|
1538
1342
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1539
1343
|
s0 = peg$currPos;
|
|
1540
1344
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
1541
|
-
s1 = peg$
|
|
1345
|
+
s1 = peg$c5;
|
|
1542
1346
|
peg$currPos++;
|
|
1543
1347
|
} else {
|
|
1544
1348
|
s1 = peg$FAILED;
|
|
1545
1349
|
if (peg$silentFails === 0) {
|
|
1546
|
-
peg$fail(peg$
|
|
1350
|
+
peg$fail(peg$e10);
|
|
1547
1351
|
}
|
|
1548
1352
|
}
|
|
1549
1353
|
if (s1 !== peg$FAILED) {
|
|
@@ -1566,7 +1370,7 @@ function peg$parse(input, options) {
|
|
|
1566
1370
|
s8 = peg$parseDecoratorFunctionArgValue();
|
|
1567
1371
|
if (s8 !== peg$FAILED) {
|
|
1568
1372
|
peg$savedPos = s5;
|
|
1569
|
-
s5 = peg$
|
|
1373
|
+
s5 = peg$f8(s6, s8);
|
|
1570
1374
|
} else {
|
|
1571
1375
|
peg$currPos = s5;
|
|
1572
1376
|
s5 = peg$FAILED;
|
|
@@ -1588,12 +1392,12 @@ function peg$parse(input, options) {
|
|
|
1588
1392
|
s6 = peg$currPos;
|
|
1589
1393
|
s7 = peg$parse_decWs();
|
|
1590
1394
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1591
|
-
s8 = peg$
|
|
1395
|
+
s8 = peg$c6;
|
|
1592
1396
|
peg$currPos++;
|
|
1593
1397
|
} else {
|
|
1594
1398
|
s8 = peg$FAILED;
|
|
1595
1399
|
if (peg$silentFails === 0) {
|
|
1596
|
-
peg$fail(peg$
|
|
1400
|
+
peg$fail(peg$e11);
|
|
1597
1401
|
}
|
|
1598
1402
|
}
|
|
1599
1403
|
if (s8 !== peg$FAILED) {
|
|
@@ -1621,7 +1425,7 @@ function peg$parse(input, options) {
|
|
|
1621
1425
|
s9 = peg$parseDecoratorFunctionArgValue();
|
|
1622
1426
|
if (s9 !== peg$FAILED) {
|
|
1623
1427
|
peg$savedPos = s6;
|
|
1624
|
-
s6 = peg$
|
|
1428
|
+
s6 = peg$f8(s7, s9);
|
|
1625
1429
|
} else {
|
|
1626
1430
|
peg$currPos = s6;
|
|
1627
1431
|
s6 = peg$FAILED;
|
|
@@ -1659,12 +1463,12 @@ function peg$parse(input, options) {
|
|
|
1659
1463
|
s4 = peg$currPos;
|
|
1660
1464
|
s5 = peg$parse_decWs();
|
|
1661
1465
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1662
|
-
s6 = peg$
|
|
1466
|
+
s6 = peg$c6;
|
|
1663
1467
|
peg$currPos++;
|
|
1664
1468
|
} else {
|
|
1665
1469
|
s6 = peg$FAILED;
|
|
1666
1470
|
if (peg$silentFails === 0) {
|
|
1667
|
-
peg$fail(peg$
|
|
1471
|
+
peg$fail(peg$e11);
|
|
1668
1472
|
}
|
|
1669
1473
|
}
|
|
1670
1474
|
if (s6 !== peg$FAILED) {
|
|
@@ -1679,17 +1483,17 @@ function peg$parse(input, options) {
|
|
|
1679
1483
|
}
|
|
1680
1484
|
s5 = peg$parse_decWs();
|
|
1681
1485
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1682
|
-
s6 = peg$
|
|
1486
|
+
s6 = peg$c7;
|
|
1683
1487
|
peg$currPos++;
|
|
1684
1488
|
} else {
|
|
1685
1489
|
s6 = peg$FAILED;
|
|
1686
1490
|
if (peg$silentFails === 0) {
|
|
1687
|
-
peg$fail(peg$
|
|
1491
|
+
peg$fail(peg$e12);
|
|
1688
1492
|
}
|
|
1689
1493
|
}
|
|
1690
1494
|
if (s6 !== peg$FAILED) {
|
|
1691
1495
|
peg$savedPos = s0;
|
|
1692
|
-
s0 = peg$
|
|
1496
|
+
s0 = peg$f9(s3);
|
|
1693
1497
|
} else {
|
|
1694
1498
|
peg$currPos = s0;
|
|
1695
1499
|
s0 = peg$FAILED;
|
|
@@ -1705,49 +1509,46 @@ function peg$parse(input, options) {
|
|
|
1705
1509
|
let s0, s1, s2, s3;
|
|
1706
1510
|
s0 = peg$parseDecoratorFunctionCall();
|
|
1707
1511
|
if (s0 === peg$FAILED) {
|
|
1708
|
-
s0 = peg$
|
|
1512
|
+
s0 = peg$parsequotedString();
|
|
1709
1513
|
if (s0 === peg$FAILED) {
|
|
1710
|
-
s0 = peg$
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
if (peg$silentFails === 0) {
|
|
1721
|
-
peg$fail(peg$e15);
|
|
1722
|
-
}
|
|
1514
|
+
s0 = peg$currPos;
|
|
1515
|
+
s1 = peg$currPos;
|
|
1516
|
+
s2 = [];
|
|
1517
|
+
s3 = input.charAt(peg$currPos);
|
|
1518
|
+
if (peg$r5.test(s3)) {
|
|
1519
|
+
peg$currPos++;
|
|
1520
|
+
} else {
|
|
1521
|
+
s3 = peg$FAILED;
|
|
1522
|
+
if (peg$silentFails === 0) {
|
|
1523
|
+
peg$fail(peg$e13);
|
|
1723
1524
|
}
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1525
|
+
}
|
|
1526
|
+
if (s3 !== peg$FAILED) {
|
|
1527
|
+
while (s3 !== peg$FAILED) {
|
|
1528
|
+
s2.push(s3);
|
|
1529
|
+
s3 = input.charAt(peg$currPos);
|
|
1530
|
+
if (peg$r5.test(s3)) {
|
|
1531
|
+
peg$currPos++;
|
|
1532
|
+
} else {
|
|
1533
|
+
s3 = peg$FAILED;
|
|
1534
|
+
if (peg$silentFails === 0) {
|
|
1535
|
+
peg$fail(peg$e13);
|
|
1735
1536
|
}
|
|
1736
1537
|
}
|
|
1737
|
-
} else {
|
|
1738
|
-
s2 = peg$FAILED;
|
|
1739
|
-
}
|
|
1740
|
-
if (s2 !== peg$FAILED) {
|
|
1741
|
-
s1 = input.substring(s1, peg$currPos);
|
|
1742
|
-
} else {
|
|
1743
|
-
s1 = s2;
|
|
1744
|
-
}
|
|
1745
|
-
if (s1 !== peg$FAILED) {
|
|
1746
|
-
peg$savedPos = s0;
|
|
1747
|
-
s1 = peg$f11();
|
|
1748
1538
|
}
|
|
1749
|
-
|
|
1539
|
+
} else {
|
|
1540
|
+
s2 = peg$FAILED;
|
|
1541
|
+
}
|
|
1542
|
+
if (s2 !== peg$FAILED) {
|
|
1543
|
+
s1 = input.substring(s1, peg$currPos);
|
|
1544
|
+
} else {
|
|
1545
|
+
s1 = s2;
|
|
1750
1546
|
}
|
|
1547
|
+
if (s1 !== peg$FAILED) {
|
|
1548
|
+
peg$savedPos = s0;
|
|
1549
|
+
s1 = peg$f10();
|
|
1550
|
+
}
|
|
1551
|
+
s0 = s1;
|
|
1751
1552
|
}
|
|
1752
1553
|
}
|
|
1753
1554
|
return s0;
|
|
@@ -1757,12 +1558,12 @@ function peg$parse(input, options) {
|
|
|
1757
1558
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
1758
1559
|
s0 = [];
|
|
1759
1560
|
s1 = input.charAt(peg$currPos);
|
|
1760
|
-
if (peg$
|
|
1561
|
+
if (peg$r6.test(s1)) {
|
|
1761
1562
|
peg$currPos++;
|
|
1762
1563
|
} else {
|
|
1763
1564
|
s1 = peg$FAILED;
|
|
1764
1565
|
if (peg$silentFails === 0) {
|
|
1765
|
-
peg$fail(peg$
|
|
1566
|
+
peg$fail(peg$e14);
|
|
1766
1567
|
}
|
|
1767
1568
|
}
|
|
1768
1569
|
if (s1 === peg$FAILED) {
|
|
@@ -1779,23 +1580,23 @@ function peg$parse(input, options) {
|
|
|
1779
1580
|
if (s2 !== peg$FAILED) {
|
|
1780
1581
|
s3 = [];
|
|
1781
1582
|
s4 = input.charAt(peg$currPos);
|
|
1782
|
-
if (peg$
|
|
1583
|
+
if (peg$r6.test(s4)) {
|
|
1783
1584
|
peg$currPos++;
|
|
1784
1585
|
} else {
|
|
1785
1586
|
s4 = peg$FAILED;
|
|
1786
1587
|
if (peg$silentFails === 0) {
|
|
1787
|
-
peg$fail(peg$
|
|
1588
|
+
peg$fail(peg$e14);
|
|
1788
1589
|
}
|
|
1789
1590
|
}
|
|
1790
1591
|
while (s4 !== peg$FAILED) {
|
|
1791
1592
|
s3.push(s4);
|
|
1792
1593
|
s4 = input.charAt(peg$currPos);
|
|
1793
|
-
if (peg$
|
|
1594
|
+
if (peg$r6.test(s4)) {
|
|
1794
1595
|
peg$currPos++;
|
|
1795
1596
|
} else {
|
|
1796
1597
|
s4 = peg$FAILED;
|
|
1797
1598
|
if (peg$silentFails === 0) {
|
|
1798
|
-
peg$fail(peg$
|
|
1599
|
+
peg$fail(peg$e14);
|
|
1799
1600
|
}
|
|
1800
1601
|
}
|
|
1801
1602
|
}
|
|
@@ -1811,23 +1612,23 @@ function peg$parse(input, options) {
|
|
|
1811
1612
|
if (s4 !== peg$FAILED) {
|
|
1812
1613
|
s5 = [];
|
|
1813
1614
|
s6 = input.charAt(peg$currPos);
|
|
1814
|
-
if (peg$
|
|
1615
|
+
if (peg$r6.test(s6)) {
|
|
1815
1616
|
peg$currPos++;
|
|
1816
1617
|
} else {
|
|
1817
1618
|
s6 = peg$FAILED;
|
|
1818
1619
|
if (peg$silentFails === 0) {
|
|
1819
|
-
peg$fail(peg$
|
|
1620
|
+
peg$fail(peg$e14);
|
|
1820
1621
|
}
|
|
1821
1622
|
}
|
|
1822
1623
|
while (s6 !== peg$FAILED) {
|
|
1823
1624
|
s5.push(s6);
|
|
1824
1625
|
s6 = input.charAt(peg$currPos);
|
|
1825
|
-
if (peg$
|
|
1626
|
+
if (peg$r6.test(s6)) {
|
|
1826
1627
|
peg$currPos++;
|
|
1827
1628
|
} else {
|
|
1828
1629
|
s6 = peg$FAILED;
|
|
1829
1630
|
if (peg$silentFails === 0) {
|
|
1830
|
-
peg$fail(peg$
|
|
1631
|
+
peg$fail(peg$e14);
|
|
1831
1632
|
}
|
|
1832
1633
|
}
|
|
1833
1634
|
}
|
|
@@ -1845,12 +1646,12 @@ function peg$parse(input, options) {
|
|
|
1845
1646
|
while (s1 !== peg$FAILED) {
|
|
1846
1647
|
s0.push(s1);
|
|
1847
1648
|
s1 = input.charAt(peg$currPos);
|
|
1848
|
-
if (peg$
|
|
1649
|
+
if (peg$r6.test(s1)) {
|
|
1849
1650
|
peg$currPos++;
|
|
1850
1651
|
} else {
|
|
1851
1652
|
s1 = peg$FAILED;
|
|
1852
1653
|
if (peg$silentFails === 0) {
|
|
1853
|
-
peg$fail(peg$
|
|
1654
|
+
peg$fail(peg$e14);
|
|
1854
1655
|
}
|
|
1855
1656
|
}
|
|
1856
1657
|
if (s1 === peg$FAILED) {
|
|
@@ -1867,23 +1668,23 @@ function peg$parse(input, options) {
|
|
|
1867
1668
|
if (s2 !== peg$FAILED) {
|
|
1868
1669
|
s3 = [];
|
|
1869
1670
|
s4 = input.charAt(peg$currPos);
|
|
1870
|
-
if (peg$
|
|
1671
|
+
if (peg$r6.test(s4)) {
|
|
1871
1672
|
peg$currPos++;
|
|
1872
1673
|
} else {
|
|
1873
1674
|
s4 = peg$FAILED;
|
|
1874
1675
|
if (peg$silentFails === 0) {
|
|
1875
|
-
peg$fail(peg$
|
|
1676
|
+
peg$fail(peg$e14);
|
|
1876
1677
|
}
|
|
1877
1678
|
}
|
|
1878
1679
|
while (s4 !== peg$FAILED) {
|
|
1879
1680
|
s3.push(s4);
|
|
1880
1681
|
s4 = input.charAt(peg$currPos);
|
|
1881
|
-
if (peg$
|
|
1682
|
+
if (peg$r6.test(s4)) {
|
|
1882
1683
|
peg$currPos++;
|
|
1883
1684
|
} else {
|
|
1884
1685
|
s4 = peg$FAILED;
|
|
1885
1686
|
if (peg$silentFails === 0) {
|
|
1886
|
-
peg$fail(peg$
|
|
1687
|
+
peg$fail(peg$e14);
|
|
1887
1688
|
}
|
|
1888
1689
|
}
|
|
1889
1690
|
}
|
|
@@ -1899,23 +1700,23 @@ function peg$parse(input, options) {
|
|
|
1899
1700
|
if (s4 !== peg$FAILED) {
|
|
1900
1701
|
s5 = [];
|
|
1901
1702
|
s6 = input.charAt(peg$currPos);
|
|
1902
|
-
if (peg$
|
|
1703
|
+
if (peg$r6.test(s6)) {
|
|
1903
1704
|
peg$currPos++;
|
|
1904
1705
|
} else {
|
|
1905
1706
|
s6 = peg$FAILED;
|
|
1906
1707
|
if (peg$silentFails === 0) {
|
|
1907
|
-
peg$fail(peg$
|
|
1708
|
+
peg$fail(peg$e14);
|
|
1908
1709
|
}
|
|
1909
1710
|
}
|
|
1910
1711
|
while (s6 !== peg$FAILED) {
|
|
1911
1712
|
s5.push(s6);
|
|
1912
1713
|
s6 = input.charAt(peg$currPos);
|
|
1913
|
-
if (peg$
|
|
1714
|
+
if (peg$r6.test(s6)) {
|
|
1914
1715
|
peg$currPos++;
|
|
1915
1716
|
} else {
|
|
1916
1717
|
s6 = peg$FAILED;
|
|
1917
1718
|
if (peg$silentFails === 0) {
|
|
1918
|
-
peg$fail(peg$
|
|
1719
|
+
peg$fail(peg$e14);
|
|
1919
1720
|
}
|
|
1920
1721
|
}
|
|
1921
1722
|
}
|
|
@@ -1942,7 +1743,7 @@ function peg$parse(input, options) {
|
|
|
1942
1743
|
s2 = peg$parseFunctionArgs();
|
|
1943
1744
|
if (s2 !== peg$FAILED) {
|
|
1944
1745
|
peg$savedPos = s0;
|
|
1945
|
-
s0 = peg$
|
|
1746
|
+
s0 = peg$f11(s1, s2);
|
|
1946
1747
|
} else {
|
|
1947
1748
|
peg$currPos = s0;
|
|
1948
1749
|
s0 = peg$FAILED;
|
|
@@ -1970,23 +1771,23 @@ function peg$parse(input, options) {
|
|
|
1970
1771
|
if (s2 !== peg$FAILED) {
|
|
1971
1772
|
s3 = [];
|
|
1972
1773
|
s4 = input.charAt(peg$currPos);
|
|
1973
|
-
if (peg$
|
|
1774
|
+
if (peg$r7.test(s4)) {
|
|
1974
1775
|
peg$currPos++;
|
|
1975
1776
|
} else {
|
|
1976
1777
|
s4 = peg$FAILED;
|
|
1977
1778
|
if (peg$silentFails === 0) {
|
|
1978
|
-
peg$fail(peg$
|
|
1779
|
+
peg$fail(peg$e15);
|
|
1979
1780
|
}
|
|
1980
1781
|
}
|
|
1981
1782
|
while (s4 !== peg$FAILED) {
|
|
1982
1783
|
s3.push(s4);
|
|
1983
1784
|
s4 = input.charAt(peg$currPos);
|
|
1984
|
-
if (peg$
|
|
1785
|
+
if (peg$r7.test(s4)) {
|
|
1985
1786
|
peg$currPos++;
|
|
1986
1787
|
} else {
|
|
1987
1788
|
s4 = peg$FAILED;
|
|
1988
1789
|
if (peg$silentFails === 0) {
|
|
1989
|
-
peg$fail(peg$
|
|
1790
|
+
peg$fail(peg$e15);
|
|
1990
1791
|
}
|
|
1991
1792
|
}
|
|
1992
1793
|
}
|
|
@@ -2008,12 +1809,12 @@ function peg$parse(input, options) {
|
|
|
2008
1809
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
2009
1810
|
s0 = peg$currPos;
|
|
2010
1811
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
2011
|
-
s1 = peg$
|
|
1812
|
+
s1 = peg$c5;
|
|
2012
1813
|
peg$currPos++;
|
|
2013
1814
|
} else {
|
|
2014
1815
|
s1 = peg$FAILED;
|
|
2015
1816
|
if (peg$silentFails === 0) {
|
|
2016
|
-
peg$fail(peg$
|
|
1817
|
+
peg$fail(peg$e10);
|
|
2017
1818
|
}
|
|
2018
1819
|
}
|
|
2019
1820
|
if (s1 !== peg$FAILED) {
|
|
@@ -2036,7 +1837,7 @@ function peg$parse(input, options) {
|
|
|
2036
1837
|
s8 = peg$parseFunctionArgValue();
|
|
2037
1838
|
if (s8 !== peg$FAILED) {
|
|
2038
1839
|
peg$savedPos = s5;
|
|
2039
|
-
s5 = peg$
|
|
1840
|
+
s5 = peg$f12(s6, s8);
|
|
2040
1841
|
} else {
|
|
2041
1842
|
peg$currPos = s5;
|
|
2042
1843
|
s5 = peg$FAILED;
|
|
@@ -2058,12 +1859,12 @@ function peg$parse(input, options) {
|
|
|
2058
1859
|
s6 = peg$currPos;
|
|
2059
1860
|
s7 = peg$parse_valWs();
|
|
2060
1861
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2061
|
-
s8 = peg$
|
|
1862
|
+
s8 = peg$c6;
|
|
2062
1863
|
peg$currPos++;
|
|
2063
1864
|
} else {
|
|
2064
1865
|
s8 = peg$FAILED;
|
|
2065
1866
|
if (peg$silentFails === 0) {
|
|
2066
|
-
peg$fail(peg$
|
|
1867
|
+
peg$fail(peg$e11);
|
|
2067
1868
|
}
|
|
2068
1869
|
}
|
|
2069
1870
|
if (s8 !== peg$FAILED) {
|
|
@@ -2091,7 +1892,7 @@ function peg$parse(input, options) {
|
|
|
2091
1892
|
s9 = peg$parseFunctionArgValue();
|
|
2092
1893
|
if (s9 !== peg$FAILED) {
|
|
2093
1894
|
peg$savedPos = s6;
|
|
2094
|
-
s6 = peg$
|
|
1895
|
+
s6 = peg$f12(s7, s9);
|
|
2095
1896
|
} else {
|
|
2096
1897
|
peg$currPos = s6;
|
|
2097
1898
|
s6 = peg$FAILED;
|
|
@@ -2129,12 +1930,12 @@ function peg$parse(input, options) {
|
|
|
2129
1930
|
s4 = peg$currPos;
|
|
2130
1931
|
s5 = peg$parse_valWs();
|
|
2131
1932
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2132
|
-
s6 = peg$
|
|
1933
|
+
s6 = peg$c6;
|
|
2133
1934
|
peg$currPos++;
|
|
2134
1935
|
} else {
|
|
2135
1936
|
s6 = peg$FAILED;
|
|
2136
1937
|
if (peg$silentFails === 0) {
|
|
2137
|
-
peg$fail(peg$
|
|
1938
|
+
peg$fail(peg$e11);
|
|
2138
1939
|
}
|
|
2139
1940
|
}
|
|
2140
1941
|
if (s6 !== peg$FAILED) {
|
|
@@ -2149,17 +1950,17 @@ function peg$parse(input, options) {
|
|
|
2149
1950
|
}
|
|
2150
1951
|
s5 = peg$parse_valWs();
|
|
2151
1952
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
2152
|
-
s6 = peg$
|
|
1953
|
+
s6 = peg$c7;
|
|
2153
1954
|
peg$currPos++;
|
|
2154
1955
|
} else {
|
|
2155
1956
|
s6 = peg$FAILED;
|
|
2156
1957
|
if (peg$silentFails === 0) {
|
|
2157
|
-
peg$fail(peg$
|
|
1958
|
+
peg$fail(peg$e12);
|
|
2158
1959
|
}
|
|
2159
1960
|
}
|
|
2160
1961
|
if (s6 !== peg$FAILED) {
|
|
2161
1962
|
peg$savedPos = s0;
|
|
2162
|
-
s0 = peg$
|
|
1963
|
+
s0 = peg$f13(s3);
|
|
2163
1964
|
} else {
|
|
2164
1965
|
peg$currPos = s0;
|
|
2165
1966
|
s0 = peg$FAILED;
|
|
@@ -2187,23 +1988,23 @@ function peg$parse(input, options) {
|
|
|
2187
1988
|
if (s2 !== peg$FAILED) {
|
|
2188
1989
|
s3 = [];
|
|
2189
1990
|
s4 = input.charAt(peg$currPos);
|
|
2190
|
-
if (peg$
|
|
1991
|
+
if (peg$r7.test(s4)) {
|
|
2191
1992
|
peg$currPos++;
|
|
2192
1993
|
} else {
|
|
2193
1994
|
s4 = peg$FAILED;
|
|
2194
1995
|
if (peg$silentFails === 0) {
|
|
2195
|
-
peg$fail(peg$
|
|
1996
|
+
peg$fail(peg$e15);
|
|
2196
1997
|
}
|
|
2197
1998
|
}
|
|
2198
1999
|
while (s4 !== peg$FAILED) {
|
|
2199
2000
|
s3.push(s4);
|
|
2200
2001
|
s4 = input.charAt(peg$currPos);
|
|
2201
|
-
if (peg$
|
|
2002
|
+
if (peg$r7.test(s4)) {
|
|
2202
2003
|
peg$currPos++;
|
|
2203
2004
|
} else {
|
|
2204
2005
|
s4 = peg$FAILED;
|
|
2205
2006
|
if (peg$silentFails === 0) {
|
|
2206
|
-
peg$fail(peg$
|
|
2007
|
+
peg$fail(peg$e15);
|
|
2207
2008
|
}
|
|
2208
2009
|
}
|
|
2209
2010
|
}
|
|
@@ -2219,55 +2020,52 @@ function peg$parse(input, options) {
|
|
|
2219
2020
|
s0 = s1;
|
|
2220
2021
|
}
|
|
2221
2022
|
return s0;
|
|
2222
|
-
}
|
|
2223
|
-
__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
2224
|
-
function peg$parseFunctionArgValue() {
|
|
2225
|
-
let s0, s1, s2, s3;
|
|
2226
|
-
s0 = peg$parseFunctionCall();
|
|
2227
|
-
if (s0 === peg$FAILED) {
|
|
2228
|
-
s0 = peg$
|
|
2229
|
-
if (s0 === peg$FAILED) {
|
|
2230
|
-
s0 = peg$
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
if (peg$silentFails === 0) {
|
|
2241
|
-
peg$fail(peg$e15);
|
|
2242
|
-
}
|
|
2023
|
+
}
|
|
2024
|
+
__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
2025
|
+
function peg$parseFunctionArgValue() {
|
|
2026
|
+
let s0, s1, s2, s3;
|
|
2027
|
+
s0 = peg$parseFunctionCall();
|
|
2028
|
+
if (s0 === peg$FAILED) {
|
|
2029
|
+
s0 = peg$parsequotedString();
|
|
2030
|
+
if (s0 === peg$FAILED) {
|
|
2031
|
+
s0 = peg$currPos;
|
|
2032
|
+
s1 = peg$currPos;
|
|
2033
|
+
s2 = [];
|
|
2034
|
+
s3 = input.charAt(peg$currPos);
|
|
2035
|
+
if (peg$r5.test(s3)) {
|
|
2036
|
+
peg$currPos++;
|
|
2037
|
+
} else {
|
|
2038
|
+
s3 = peg$FAILED;
|
|
2039
|
+
if (peg$silentFails === 0) {
|
|
2040
|
+
peg$fail(peg$e13);
|
|
2243
2041
|
}
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2042
|
+
}
|
|
2043
|
+
if (s3 !== peg$FAILED) {
|
|
2044
|
+
while (s3 !== peg$FAILED) {
|
|
2045
|
+
s2.push(s3);
|
|
2046
|
+
s3 = input.charAt(peg$currPos);
|
|
2047
|
+
if (peg$r5.test(s3)) {
|
|
2048
|
+
peg$currPos++;
|
|
2049
|
+
} else {
|
|
2050
|
+
s3 = peg$FAILED;
|
|
2051
|
+
if (peg$silentFails === 0) {
|
|
2052
|
+
peg$fail(peg$e13);
|
|
2255
2053
|
}
|
|
2256
2054
|
}
|
|
2257
|
-
} else {
|
|
2258
|
-
s2 = peg$FAILED;
|
|
2259
|
-
}
|
|
2260
|
-
if (s2 !== peg$FAILED) {
|
|
2261
|
-
s1 = input.substring(s1, peg$currPos);
|
|
2262
|
-
} else {
|
|
2263
|
-
s1 = s2;
|
|
2264
2055
|
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2056
|
+
} else {
|
|
2057
|
+
s2 = peg$FAILED;
|
|
2058
|
+
}
|
|
2059
|
+
if (s2 !== peg$FAILED) {
|
|
2060
|
+
s1 = input.substring(s1, peg$currPos);
|
|
2061
|
+
} else {
|
|
2062
|
+
s1 = s2;
|
|
2063
|
+
}
|
|
2064
|
+
if (s1 !== peg$FAILED) {
|
|
2065
|
+
peg$savedPos = s0;
|
|
2066
|
+
s1 = peg$f14();
|
|
2270
2067
|
}
|
|
2068
|
+
s0 = s1;
|
|
2271
2069
|
}
|
|
2272
2070
|
}
|
|
2273
2071
|
return s0;
|
|
@@ -2282,7 +2080,7 @@ function peg$parse(input, options) {
|
|
|
2282
2080
|
} else {
|
|
2283
2081
|
s1 = peg$FAILED;
|
|
2284
2082
|
if (peg$silentFails === 0) {
|
|
2285
|
-
peg$fail(peg$
|
|
2083
|
+
peg$fail(peg$e16);
|
|
2286
2084
|
}
|
|
2287
2085
|
}
|
|
2288
2086
|
while (s1 !== peg$FAILED) {
|
|
@@ -2293,7 +2091,7 @@ function peg$parse(input, options) {
|
|
|
2293
2091
|
} else {
|
|
2294
2092
|
s1 = peg$FAILED;
|
|
2295
2093
|
if (peg$silentFails === 0) {
|
|
2296
|
-
peg$fail(peg$
|
|
2094
|
+
peg$fail(peg$e16);
|
|
2297
2095
|
}
|
|
2298
2096
|
}
|
|
2299
2097
|
}
|
|
@@ -2326,7 +2124,7 @@ function peg$parse(input, options) {
|
|
|
2326
2124
|
} else {
|
|
2327
2125
|
s7 = peg$FAILED;
|
|
2328
2126
|
if (peg$silentFails === 0) {
|
|
2329
|
-
peg$fail(peg$
|
|
2127
|
+
peg$fail(peg$e17);
|
|
2330
2128
|
}
|
|
2331
2129
|
}
|
|
2332
2130
|
while (s7 !== peg$FAILED) {
|
|
@@ -2337,7 +2135,7 @@ function peg$parse(input, options) {
|
|
|
2337
2135
|
} else {
|
|
2338
2136
|
s7 = peg$FAILED;
|
|
2339
2137
|
if (peg$silentFails === 0) {
|
|
2340
|
-
peg$fail(peg$
|
|
2138
|
+
peg$fail(peg$e17);
|
|
2341
2139
|
}
|
|
2342
2140
|
}
|
|
2343
2141
|
}
|
|
@@ -2385,7 +2183,7 @@ function peg$parse(input, options) {
|
|
|
2385
2183
|
s4 = peg$parse_n();
|
|
2386
2184
|
if (s4 !== peg$FAILED) {
|
|
2387
2185
|
peg$savedPos = s0;
|
|
2388
|
-
s0 = peg$
|
|
2186
|
+
s0 = peg$f15(s2, s3);
|
|
2389
2187
|
} else {
|
|
2390
2188
|
peg$currPos = s0;
|
|
2391
2189
|
s0 = peg$FAILED;
|
|
@@ -2401,112 +2199,6 @@ function peg$parse(input, options) {
|
|
|
2401
2199
|
return s0;
|
|
2402
2200
|
}
|
|
2403
2201
|
__name(peg$parseDivider, "peg$parseDivider");
|
|
2404
|
-
function peg$parseRegexLiteral() {
|
|
2405
|
-
let s0, s1, s2, s3, s4, s5, s6;
|
|
2406
|
-
s0 = peg$currPos;
|
|
2407
|
-
if (input.charCodeAt(peg$currPos) === 47) {
|
|
2408
|
-
s1 = peg$c9;
|
|
2409
|
-
peg$currPos++;
|
|
2410
|
-
} else {
|
|
2411
|
-
s1 = peg$FAILED;
|
|
2412
|
-
if (peg$silentFails === 0) {
|
|
2413
|
-
peg$fail(peg$e19);
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
|
-
if (s1 !== peg$FAILED) {
|
|
2417
|
-
s2 = peg$currPos;
|
|
2418
|
-
s3 = [];
|
|
2419
|
-
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2420
|
-
s4 = peg$c10;
|
|
2421
|
-
peg$currPos += 2;
|
|
2422
|
-
} else {
|
|
2423
|
-
s4 = peg$FAILED;
|
|
2424
|
-
if (peg$silentFails === 0) {
|
|
2425
|
-
peg$fail(peg$e20);
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
if (s4 === peg$FAILED) {
|
|
2429
|
-
s4 = input.charAt(peg$currPos);
|
|
2430
|
-
if (peg$r10.test(s4)) {
|
|
2431
|
-
peg$currPos++;
|
|
2432
|
-
} else {
|
|
2433
|
-
s4 = peg$FAILED;
|
|
2434
|
-
if (peg$silentFails === 0) {
|
|
2435
|
-
peg$fail(peg$e21);
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
while (s4 !== peg$FAILED) {
|
|
2440
|
-
s3.push(s4);
|
|
2441
|
-
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2442
|
-
s4 = peg$c10;
|
|
2443
|
-
peg$currPos += 2;
|
|
2444
|
-
} else {
|
|
2445
|
-
s4 = peg$FAILED;
|
|
2446
|
-
if (peg$silentFails === 0) {
|
|
2447
|
-
peg$fail(peg$e20);
|
|
2448
|
-
}
|
|
2449
|
-
}
|
|
2450
|
-
if (s4 === peg$FAILED) {
|
|
2451
|
-
s4 = input.charAt(peg$currPos);
|
|
2452
|
-
if (peg$r10.test(s4)) {
|
|
2453
|
-
peg$currPos++;
|
|
2454
|
-
} else {
|
|
2455
|
-
s4 = peg$FAILED;
|
|
2456
|
-
if (peg$silentFails === 0) {
|
|
2457
|
-
peg$fail(peg$e21);
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
s2 = input.substring(s2, peg$currPos);
|
|
2463
|
-
if (input.charCodeAt(peg$currPos) === 47) {
|
|
2464
|
-
s3 = peg$c9;
|
|
2465
|
-
peg$currPos++;
|
|
2466
|
-
} else {
|
|
2467
|
-
s3 = peg$FAILED;
|
|
2468
|
-
if (peg$silentFails === 0) {
|
|
2469
|
-
peg$fail(peg$e19);
|
|
2470
|
-
}
|
|
2471
|
-
}
|
|
2472
|
-
if (s3 !== peg$FAILED) {
|
|
2473
|
-
s4 = peg$currPos;
|
|
2474
|
-
s5 = [];
|
|
2475
|
-
s6 = input.charAt(peg$currPos);
|
|
2476
|
-
if (peg$r11.test(s6)) {
|
|
2477
|
-
peg$currPos++;
|
|
2478
|
-
} else {
|
|
2479
|
-
s6 = peg$FAILED;
|
|
2480
|
-
if (peg$silentFails === 0) {
|
|
2481
|
-
peg$fail(peg$e22);
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
while (s6 !== peg$FAILED) {
|
|
2485
|
-
s5.push(s6);
|
|
2486
|
-
s6 = input.charAt(peg$currPos);
|
|
2487
|
-
if (peg$r11.test(s6)) {
|
|
2488
|
-
peg$currPos++;
|
|
2489
|
-
} else {
|
|
2490
|
-
s6 = peg$FAILED;
|
|
2491
|
-
if (peg$silentFails === 0) {
|
|
2492
|
-
peg$fail(peg$e22);
|
|
2493
|
-
}
|
|
2494
|
-
}
|
|
2495
|
-
}
|
|
2496
|
-
s4 = input.substring(s4, peg$currPos);
|
|
2497
|
-
peg$savedPos = s0;
|
|
2498
|
-
s0 = peg$f17(s2, s4);
|
|
2499
|
-
} else {
|
|
2500
|
-
peg$currPos = s0;
|
|
2501
|
-
s0 = peg$FAILED;
|
|
2502
|
-
}
|
|
2503
|
-
} else {
|
|
2504
|
-
peg$currPos = s0;
|
|
2505
|
-
s0 = peg$FAILED;
|
|
2506
|
-
}
|
|
2507
|
-
return s0;
|
|
2508
|
-
}
|
|
2509
|
-
__name(peg$parseRegexLiteral, "peg$parseRegexLiteral");
|
|
2510
2202
|
function peg$parseunquotedString() {
|
|
2511
2203
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
2512
2204
|
s0 = peg$currPos;
|
|
@@ -2516,12 +2208,12 @@ function peg$parse(input, options) {
|
|
|
2516
2208
|
s4 = peg$currPos;
|
|
2517
2209
|
peg$silentFails++;
|
|
2518
2210
|
s5 = input.charAt(peg$currPos);
|
|
2519
|
-
if (peg$
|
|
2211
|
+
if (peg$r10.test(s5)) {
|
|
2520
2212
|
peg$currPos++;
|
|
2521
2213
|
} else {
|
|
2522
2214
|
s5 = peg$FAILED;
|
|
2523
2215
|
if (peg$silentFails === 0) {
|
|
2524
|
-
peg$fail(peg$
|
|
2216
|
+
peg$fail(peg$e18);
|
|
2525
2217
|
}
|
|
2526
2218
|
}
|
|
2527
2219
|
peg$silentFails--;
|
|
@@ -2534,24 +2226,24 @@ function peg$parse(input, options) {
|
|
|
2534
2226
|
if (s4 !== peg$FAILED) {
|
|
2535
2227
|
s5 = [];
|
|
2536
2228
|
s6 = input.charAt(peg$currPos);
|
|
2537
|
-
if (peg$
|
|
2229
|
+
if (peg$r11.test(s6)) {
|
|
2538
2230
|
peg$currPos++;
|
|
2539
2231
|
} else {
|
|
2540
2232
|
s6 = peg$FAILED;
|
|
2541
2233
|
if (peg$silentFails === 0) {
|
|
2542
|
-
peg$fail(peg$
|
|
2234
|
+
peg$fail(peg$e19);
|
|
2543
2235
|
}
|
|
2544
2236
|
}
|
|
2545
2237
|
if (s6 !== peg$FAILED) {
|
|
2546
2238
|
while (s6 !== peg$FAILED) {
|
|
2547
2239
|
s5.push(s6);
|
|
2548
2240
|
s6 = input.charAt(peg$currPos);
|
|
2549
|
-
if (peg$
|
|
2241
|
+
if (peg$r11.test(s6)) {
|
|
2550
2242
|
peg$currPos++;
|
|
2551
2243
|
} else {
|
|
2552
2244
|
s6 = peg$FAILED;
|
|
2553
2245
|
if (peg$silentFails === 0) {
|
|
2554
|
-
peg$fail(peg$
|
|
2246
|
+
peg$fail(peg$e19);
|
|
2555
2247
|
}
|
|
2556
2248
|
}
|
|
2557
2249
|
}
|
|
@@ -2576,7 +2268,7 @@ function peg$parse(input, options) {
|
|
|
2576
2268
|
}
|
|
2577
2269
|
if (s1 !== peg$FAILED) {
|
|
2578
2270
|
peg$savedPos = s0;
|
|
2579
|
-
s1 = peg$
|
|
2271
|
+
s1 = peg$f16();
|
|
2580
2272
|
}
|
|
2581
2273
|
s0 = s1;
|
|
2582
2274
|
return s0;
|
|
@@ -2590,12 +2282,12 @@ function peg$parse(input, options) {
|
|
|
2590
2282
|
s3 = peg$currPos;
|
|
2591
2283
|
peg$silentFails++;
|
|
2592
2284
|
s4 = input.charAt(peg$currPos);
|
|
2593
|
-
if (peg$
|
|
2285
|
+
if (peg$r10.test(s4)) {
|
|
2594
2286
|
peg$currPos++;
|
|
2595
2287
|
} else {
|
|
2596
2288
|
s4 = peg$FAILED;
|
|
2597
2289
|
if (peg$silentFails === 0) {
|
|
2598
|
-
peg$fail(peg$
|
|
2290
|
+
peg$fail(peg$e18);
|
|
2599
2291
|
}
|
|
2600
2292
|
}
|
|
2601
2293
|
peg$silentFails--;
|
|
@@ -2608,24 +2300,24 @@ function peg$parse(input, options) {
|
|
|
2608
2300
|
if (s3 !== peg$FAILED) {
|
|
2609
2301
|
s4 = [];
|
|
2610
2302
|
s5 = input.charAt(peg$currPos);
|
|
2611
|
-
if (peg$
|
|
2303
|
+
if (peg$r12.test(s5)) {
|
|
2612
2304
|
peg$currPos++;
|
|
2613
2305
|
} else {
|
|
2614
2306
|
s5 = peg$FAILED;
|
|
2615
2307
|
if (peg$silentFails === 0) {
|
|
2616
|
-
peg$fail(peg$
|
|
2308
|
+
peg$fail(peg$e20);
|
|
2617
2309
|
}
|
|
2618
2310
|
}
|
|
2619
2311
|
if (s5 !== peg$FAILED) {
|
|
2620
2312
|
while (s5 !== peg$FAILED) {
|
|
2621
2313
|
s4.push(s5);
|
|
2622
2314
|
s5 = input.charAt(peg$currPos);
|
|
2623
|
-
if (peg$
|
|
2315
|
+
if (peg$r12.test(s5)) {
|
|
2624
2316
|
peg$currPos++;
|
|
2625
2317
|
} else {
|
|
2626
2318
|
s5 = peg$FAILED;
|
|
2627
2319
|
if (peg$silentFails === 0) {
|
|
2628
|
-
peg$fail(peg$
|
|
2320
|
+
peg$fail(peg$e20);
|
|
2629
2321
|
}
|
|
2630
2322
|
}
|
|
2631
2323
|
}
|
|
@@ -2650,7 +2342,7 @@ function peg$parse(input, options) {
|
|
|
2650
2342
|
}
|
|
2651
2343
|
if (s1 !== peg$FAILED) {
|
|
2652
2344
|
peg$savedPos = s0;
|
|
2653
|
-
s1 = peg$
|
|
2345
|
+
s1 = peg$f17();
|
|
2654
2346
|
}
|
|
2655
2347
|
s0 = s1;
|
|
2656
2348
|
return s0;
|
|
@@ -2672,71 +2364,71 @@ function peg$parse(input, options) {
|
|
|
2672
2364
|
let s0, s1, s2, s3;
|
|
2673
2365
|
s0 = peg$currPos;
|
|
2674
2366
|
s1 = input.charAt(peg$currPos);
|
|
2675
|
-
if (peg$
|
|
2367
|
+
if (peg$r13.test(s1)) {
|
|
2676
2368
|
peg$currPos++;
|
|
2677
2369
|
} else {
|
|
2678
2370
|
s1 = peg$FAILED;
|
|
2679
2371
|
if (peg$silentFails === 0) {
|
|
2680
|
-
peg$fail(peg$
|
|
2372
|
+
peg$fail(peg$e21);
|
|
2681
2373
|
}
|
|
2682
2374
|
}
|
|
2683
2375
|
if (s1 !== peg$FAILED) {
|
|
2684
2376
|
s2 = [];
|
|
2685
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2686
|
-
s3 = peg$
|
|
2377
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2378
|
+
s3 = peg$c8;
|
|
2687
2379
|
peg$currPos += 2;
|
|
2688
2380
|
} else {
|
|
2689
2381
|
s3 = peg$FAILED;
|
|
2690
2382
|
if (peg$silentFails === 0) {
|
|
2691
|
-
peg$fail(peg$
|
|
2383
|
+
peg$fail(peg$e22);
|
|
2692
2384
|
}
|
|
2693
2385
|
}
|
|
2694
2386
|
if (s3 === peg$FAILED) {
|
|
2695
2387
|
s3 = input.charAt(peg$currPos);
|
|
2696
|
-
if (peg$
|
|
2388
|
+
if (peg$r14.test(s3)) {
|
|
2697
2389
|
peg$currPos++;
|
|
2698
2390
|
} else {
|
|
2699
2391
|
s3 = peg$FAILED;
|
|
2700
2392
|
if (peg$silentFails === 0) {
|
|
2701
|
-
peg$fail(peg$
|
|
2393
|
+
peg$fail(peg$e23);
|
|
2702
2394
|
}
|
|
2703
2395
|
}
|
|
2704
2396
|
}
|
|
2705
2397
|
while (s3 !== peg$FAILED) {
|
|
2706
2398
|
s2.push(s3);
|
|
2707
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2708
|
-
s3 = peg$
|
|
2399
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2400
|
+
s3 = peg$c8;
|
|
2709
2401
|
peg$currPos += 2;
|
|
2710
2402
|
} else {
|
|
2711
2403
|
s3 = peg$FAILED;
|
|
2712
2404
|
if (peg$silentFails === 0) {
|
|
2713
|
-
peg$fail(peg$
|
|
2405
|
+
peg$fail(peg$e22);
|
|
2714
2406
|
}
|
|
2715
2407
|
}
|
|
2716
2408
|
if (s3 === peg$FAILED) {
|
|
2717
2409
|
s3 = input.charAt(peg$currPos);
|
|
2718
|
-
if (peg$
|
|
2410
|
+
if (peg$r14.test(s3)) {
|
|
2719
2411
|
peg$currPos++;
|
|
2720
2412
|
} else {
|
|
2721
2413
|
s3 = peg$FAILED;
|
|
2722
2414
|
if (peg$silentFails === 0) {
|
|
2723
|
-
peg$fail(peg$
|
|
2415
|
+
peg$fail(peg$e23);
|
|
2724
2416
|
}
|
|
2725
2417
|
}
|
|
2726
2418
|
}
|
|
2727
2419
|
}
|
|
2728
2420
|
s3 = input.charAt(peg$currPos);
|
|
2729
|
-
if (peg$
|
|
2421
|
+
if (peg$r13.test(s3)) {
|
|
2730
2422
|
peg$currPos++;
|
|
2731
2423
|
} else {
|
|
2732
2424
|
s3 = peg$FAILED;
|
|
2733
2425
|
if (peg$silentFails === 0) {
|
|
2734
|
-
peg$fail(peg$
|
|
2426
|
+
peg$fail(peg$e21);
|
|
2735
2427
|
}
|
|
2736
2428
|
}
|
|
2737
2429
|
if (s3 !== peg$FAILED) {
|
|
2738
2430
|
peg$savedPos = s0;
|
|
2739
|
-
s0 = peg$
|
|
2431
|
+
s0 = peg$f18(s1);
|
|
2740
2432
|
} else {
|
|
2741
2433
|
peg$currPos = s0;
|
|
2742
2434
|
s0 = peg$FAILED;
|
|
@@ -2752,71 +2444,71 @@ function peg$parse(input, options) {
|
|
|
2752
2444
|
let s0, s1, s2, s3;
|
|
2753
2445
|
s0 = peg$currPos;
|
|
2754
2446
|
s1 = input.charAt(peg$currPos);
|
|
2755
|
-
if (peg$
|
|
2447
|
+
if (peg$r15.test(s1)) {
|
|
2756
2448
|
peg$currPos++;
|
|
2757
2449
|
} else {
|
|
2758
2450
|
s1 = peg$FAILED;
|
|
2759
2451
|
if (peg$silentFails === 0) {
|
|
2760
|
-
peg$fail(peg$
|
|
2452
|
+
peg$fail(peg$e24);
|
|
2761
2453
|
}
|
|
2762
2454
|
}
|
|
2763
2455
|
if (s1 !== peg$FAILED) {
|
|
2764
2456
|
s2 = [];
|
|
2765
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2766
|
-
s3 = peg$
|
|
2457
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2458
|
+
s3 = peg$c9;
|
|
2767
2459
|
peg$currPos += 2;
|
|
2768
2460
|
} else {
|
|
2769
2461
|
s3 = peg$FAILED;
|
|
2770
2462
|
if (peg$silentFails === 0) {
|
|
2771
|
-
peg$fail(peg$
|
|
2463
|
+
peg$fail(peg$e25);
|
|
2772
2464
|
}
|
|
2773
2465
|
}
|
|
2774
2466
|
if (s3 === peg$FAILED) {
|
|
2775
2467
|
s3 = input.charAt(peg$currPos);
|
|
2776
|
-
if (peg$
|
|
2468
|
+
if (peg$r16.test(s3)) {
|
|
2777
2469
|
peg$currPos++;
|
|
2778
2470
|
} else {
|
|
2779
2471
|
s3 = peg$FAILED;
|
|
2780
2472
|
if (peg$silentFails === 0) {
|
|
2781
|
-
peg$fail(peg$
|
|
2473
|
+
peg$fail(peg$e26);
|
|
2782
2474
|
}
|
|
2783
2475
|
}
|
|
2784
2476
|
}
|
|
2785
2477
|
while (s3 !== peg$FAILED) {
|
|
2786
2478
|
s2.push(s3);
|
|
2787
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2788
|
-
s3 = peg$
|
|
2479
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2480
|
+
s3 = peg$c9;
|
|
2789
2481
|
peg$currPos += 2;
|
|
2790
2482
|
} else {
|
|
2791
2483
|
s3 = peg$FAILED;
|
|
2792
2484
|
if (peg$silentFails === 0) {
|
|
2793
|
-
peg$fail(peg$
|
|
2485
|
+
peg$fail(peg$e25);
|
|
2794
2486
|
}
|
|
2795
2487
|
}
|
|
2796
2488
|
if (s3 === peg$FAILED) {
|
|
2797
2489
|
s3 = input.charAt(peg$currPos);
|
|
2798
|
-
if (peg$
|
|
2490
|
+
if (peg$r16.test(s3)) {
|
|
2799
2491
|
peg$currPos++;
|
|
2800
2492
|
} else {
|
|
2801
2493
|
s3 = peg$FAILED;
|
|
2802
2494
|
if (peg$silentFails === 0) {
|
|
2803
|
-
peg$fail(peg$
|
|
2495
|
+
peg$fail(peg$e26);
|
|
2804
2496
|
}
|
|
2805
2497
|
}
|
|
2806
2498
|
}
|
|
2807
2499
|
}
|
|
2808
2500
|
s3 = input.charAt(peg$currPos);
|
|
2809
|
-
if (peg$
|
|
2501
|
+
if (peg$r15.test(s3)) {
|
|
2810
2502
|
peg$currPos++;
|
|
2811
2503
|
} else {
|
|
2812
2504
|
s3 = peg$FAILED;
|
|
2813
2505
|
if (peg$silentFails === 0) {
|
|
2814
|
-
peg$fail(peg$
|
|
2506
|
+
peg$fail(peg$e24);
|
|
2815
2507
|
}
|
|
2816
2508
|
}
|
|
2817
2509
|
if (s3 !== peg$FAILED) {
|
|
2818
2510
|
peg$savedPos = s0;
|
|
2819
|
-
s0 = peg$
|
|
2511
|
+
s0 = peg$f19(s1);
|
|
2820
2512
|
} else {
|
|
2821
2513
|
peg$currPos = s0;
|
|
2822
2514
|
s0 = peg$FAILED;
|
|
@@ -2832,71 +2524,71 @@ function peg$parse(input, options) {
|
|
|
2832
2524
|
let s0, s1, s2, s3;
|
|
2833
2525
|
s0 = peg$currPos;
|
|
2834
2526
|
s1 = input.charAt(peg$currPos);
|
|
2835
|
-
if (peg$
|
|
2527
|
+
if (peg$r17.test(s1)) {
|
|
2836
2528
|
peg$currPos++;
|
|
2837
2529
|
} else {
|
|
2838
2530
|
s1 = peg$FAILED;
|
|
2839
2531
|
if (peg$silentFails === 0) {
|
|
2840
|
-
peg$fail(peg$
|
|
2532
|
+
peg$fail(peg$e27);
|
|
2841
2533
|
}
|
|
2842
2534
|
}
|
|
2843
2535
|
if (s1 !== peg$FAILED) {
|
|
2844
2536
|
s2 = [];
|
|
2845
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2846
|
-
s3 = peg$
|
|
2537
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2538
|
+
s3 = peg$c10;
|
|
2847
2539
|
peg$currPos += 2;
|
|
2848
2540
|
} else {
|
|
2849
2541
|
s3 = peg$FAILED;
|
|
2850
2542
|
if (peg$silentFails === 0) {
|
|
2851
|
-
peg$fail(peg$
|
|
2543
|
+
peg$fail(peg$e28);
|
|
2852
2544
|
}
|
|
2853
2545
|
}
|
|
2854
2546
|
if (s3 === peg$FAILED) {
|
|
2855
2547
|
s3 = input.charAt(peg$currPos);
|
|
2856
|
-
if (peg$
|
|
2548
|
+
if (peg$r18.test(s3)) {
|
|
2857
2549
|
peg$currPos++;
|
|
2858
2550
|
} else {
|
|
2859
2551
|
s3 = peg$FAILED;
|
|
2860
2552
|
if (peg$silentFails === 0) {
|
|
2861
|
-
peg$fail(peg$
|
|
2553
|
+
peg$fail(peg$e29);
|
|
2862
2554
|
}
|
|
2863
2555
|
}
|
|
2864
2556
|
}
|
|
2865
2557
|
while (s3 !== peg$FAILED) {
|
|
2866
2558
|
s2.push(s3);
|
|
2867
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2868
|
-
s3 = peg$
|
|
2559
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2560
|
+
s3 = peg$c10;
|
|
2869
2561
|
peg$currPos += 2;
|
|
2870
2562
|
} else {
|
|
2871
2563
|
s3 = peg$FAILED;
|
|
2872
2564
|
if (peg$silentFails === 0) {
|
|
2873
|
-
peg$fail(peg$
|
|
2565
|
+
peg$fail(peg$e28);
|
|
2874
2566
|
}
|
|
2875
2567
|
}
|
|
2876
2568
|
if (s3 === peg$FAILED) {
|
|
2877
2569
|
s3 = input.charAt(peg$currPos);
|
|
2878
|
-
if (peg$
|
|
2570
|
+
if (peg$r18.test(s3)) {
|
|
2879
2571
|
peg$currPos++;
|
|
2880
2572
|
} else {
|
|
2881
2573
|
s3 = peg$FAILED;
|
|
2882
2574
|
if (peg$silentFails === 0) {
|
|
2883
|
-
peg$fail(peg$
|
|
2575
|
+
peg$fail(peg$e29);
|
|
2884
2576
|
}
|
|
2885
2577
|
}
|
|
2886
2578
|
}
|
|
2887
2579
|
}
|
|
2888
2580
|
s3 = input.charAt(peg$currPos);
|
|
2889
|
-
if (peg$
|
|
2581
|
+
if (peg$r17.test(s3)) {
|
|
2890
2582
|
peg$currPos++;
|
|
2891
2583
|
} else {
|
|
2892
2584
|
s3 = peg$FAILED;
|
|
2893
2585
|
if (peg$silentFails === 0) {
|
|
2894
|
-
peg$fail(peg$
|
|
2586
|
+
peg$fail(peg$e27);
|
|
2895
2587
|
}
|
|
2896
2588
|
}
|
|
2897
2589
|
if (s3 !== peg$FAILED) {
|
|
2898
2590
|
peg$savedPos = s0;
|
|
2899
|
-
s0 = peg$
|
|
2591
|
+
s0 = peg$f20(s1);
|
|
2900
2592
|
} else {
|
|
2901
2593
|
peg$currPos = s0;
|
|
2902
2594
|
s0 = peg$FAILED;
|
|
@@ -2927,57 +2619,57 @@ function peg$parse(input, options) {
|
|
|
2927
2619
|
let s0, s1, s2, s3, s4, s5;
|
|
2928
2620
|
s0 = peg$currPos;
|
|
2929
2621
|
s1 = input.charAt(peg$currPos);
|
|
2930
|
-
if (peg$
|
|
2622
|
+
if (peg$r15.test(s1)) {
|
|
2931
2623
|
peg$currPos++;
|
|
2932
2624
|
} else {
|
|
2933
2625
|
s1 = peg$FAILED;
|
|
2934
2626
|
if (peg$silentFails === 0) {
|
|
2935
|
-
peg$fail(peg$
|
|
2627
|
+
peg$fail(peg$e24);
|
|
2936
2628
|
}
|
|
2937
2629
|
}
|
|
2938
2630
|
if (s1 !== peg$FAILED) {
|
|
2939
2631
|
s2 = [];
|
|
2940
2632
|
s3 = peg$currPos;
|
|
2941
2633
|
s4 = [];
|
|
2942
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2943
|
-
s5 = peg$
|
|
2634
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2635
|
+
s5 = peg$c9;
|
|
2944
2636
|
peg$currPos += 2;
|
|
2945
2637
|
} else {
|
|
2946
2638
|
s5 = peg$FAILED;
|
|
2947
2639
|
if (peg$silentFails === 0) {
|
|
2948
|
-
peg$fail(peg$
|
|
2640
|
+
peg$fail(peg$e25);
|
|
2949
2641
|
}
|
|
2950
2642
|
}
|
|
2951
2643
|
if (s5 === peg$FAILED) {
|
|
2952
2644
|
s5 = input.charAt(peg$currPos);
|
|
2953
|
-
if (peg$
|
|
2645
|
+
if (peg$r16.test(s5)) {
|
|
2954
2646
|
peg$currPos++;
|
|
2955
2647
|
} else {
|
|
2956
2648
|
s5 = peg$FAILED;
|
|
2957
2649
|
if (peg$silentFails === 0) {
|
|
2958
|
-
peg$fail(peg$
|
|
2650
|
+
peg$fail(peg$e26);
|
|
2959
2651
|
}
|
|
2960
2652
|
}
|
|
2961
2653
|
}
|
|
2962
2654
|
while (s5 !== peg$FAILED) {
|
|
2963
2655
|
s4.push(s5);
|
|
2964
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2965
|
-
s5 = peg$
|
|
2656
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2657
|
+
s5 = peg$c9;
|
|
2966
2658
|
peg$currPos += 2;
|
|
2967
2659
|
} else {
|
|
2968
2660
|
s5 = peg$FAILED;
|
|
2969
2661
|
if (peg$silentFails === 0) {
|
|
2970
|
-
peg$fail(peg$
|
|
2662
|
+
peg$fail(peg$e25);
|
|
2971
2663
|
}
|
|
2972
2664
|
}
|
|
2973
2665
|
if (s5 === peg$FAILED) {
|
|
2974
2666
|
s5 = input.charAt(peg$currPos);
|
|
2975
|
-
if (peg$
|
|
2667
|
+
if (peg$r16.test(s5)) {
|
|
2976
2668
|
peg$currPos++;
|
|
2977
2669
|
} else {
|
|
2978
2670
|
s5 = peg$FAILED;
|
|
2979
2671
|
if (peg$silentFails === 0) {
|
|
2980
|
-
peg$fail(peg$
|
|
2672
|
+
peg$fail(peg$e26);
|
|
2981
2673
|
}
|
|
2982
2674
|
}
|
|
2983
2675
|
}
|
|
@@ -3003,45 +2695,45 @@ function peg$parse(input, options) {
|
|
|
3003
2695
|
s2.push(s3);
|
|
3004
2696
|
s3 = peg$currPos;
|
|
3005
2697
|
s4 = [];
|
|
3006
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3007
|
-
s5 = peg$
|
|
2698
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2699
|
+
s5 = peg$c9;
|
|
3008
2700
|
peg$currPos += 2;
|
|
3009
2701
|
} else {
|
|
3010
2702
|
s5 = peg$FAILED;
|
|
3011
2703
|
if (peg$silentFails === 0) {
|
|
3012
|
-
peg$fail(peg$
|
|
2704
|
+
peg$fail(peg$e25);
|
|
3013
2705
|
}
|
|
3014
2706
|
}
|
|
3015
2707
|
if (s5 === peg$FAILED) {
|
|
3016
2708
|
s5 = input.charAt(peg$currPos);
|
|
3017
|
-
if (peg$
|
|
2709
|
+
if (peg$r16.test(s5)) {
|
|
3018
2710
|
peg$currPos++;
|
|
3019
2711
|
} else {
|
|
3020
2712
|
s5 = peg$FAILED;
|
|
3021
2713
|
if (peg$silentFails === 0) {
|
|
3022
|
-
peg$fail(peg$
|
|
2714
|
+
peg$fail(peg$e26);
|
|
3023
2715
|
}
|
|
3024
2716
|
}
|
|
3025
2717
|
}
|
|
3026
2718
|
while (s5 !== peg$FAILED) {
|
|
3027
2719
|
s4.push(s5);
|
|
3028
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3029
|
-
s5 = peg$
|
|
2720
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2721
|
+
s5 = peg$c9;
|
|
3030
2722
|
peg$currPos += 2;
|
|
3031
2723
|
} else {
|
|
3032
2724
|
s5 = peg$FAILED;
|
|
3033
2725
|
if (peg$silentFails === 0) {
|
|
3034
|
-
peg$fail(peg$
|
|
2726
|
+
peg$fail(peg$e25);
|
|
3035
2727
|
}
|
|
3036
2728
|
}
|
|
3037
2729
|
if (s5 === peg$FAILED) {
|
|
3038
2730
|
s5 = input.charAt(peg$currPos);
|
|
3039
|
-
if (peg$
|
|
2731
|
+
if (peg$r16.test(s5)) {
|
|
3040
2732
|
peg$currPos++;
|
|
3041
2733
|
} else {
|
|
3042
2734
|
s5 = peg$FAILED;
|
|
3043
2735
|
if (peg$silentFails === 0) {
|
|
3044
|
-
peg$fail(peg$
|
|
2736
|
+
peg$fail(peg$e26);
|
|
3045
2737
|
}
|
|
3046
2738
|
}
|
|
3047
2739
|
}
|
|
@@ -3068,61 +2760,61 @@ function peg$parse(input, options) {
|
|
|
3068
2760
|
}
|
|
3069
2761
|
if (s2 !== peg$FAILED) {
|
|
3070
2762
|
s3 = [];
|
|
3071
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3072
|
-
s4 = peg$
|
|
2763
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2764
|
+
s4 = peg$c9;
|
|
3073
2765
|
peg$currPos += 2;
|
|
3074
2766
|
} else {
|
|
3075
2767
|
s4 = peg$FAILED;
|
|
3076
2768
|
if (peg$silentFails === 0) {
|
|
3077
|
-
peg$fail(peg$
|
|
2769
|
+
peg$fail(peg$e25);
|
|
3078
2770
|
}
|
|
3079
2771
|
}
|
|
3080
2772
|
if (s4 === peg$FAILED) {
|
|
3081
2773
|
s4 = input.charAt(peg$currPos);
|
|
3082
|
-
if (peg$
|
|
2774
|
+
if (peg$r16.test(s4)) {
|
|
3083
2775
|
peg$currPos++;
|
|
3084
2776
|
} else {
|
|
3085
2777
|
s4 = peg$FAILED;
|
|
3086
2778
|
if (peg$silentFails === 0) {
|
|
3087
|
-
peg$fail(peg$
|
|
2779
|
+
peg$fail(peg$e26);
|
|
3088
2780
|
}
|
|
3089
2781
|
}
|
|
3090
2782
|
}
|
|
3091
2783
|
while (s4 !== peg$FAILED) {
|
|
3092
2784
|
s3.push(s4);
|
|
3093
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3094
|
-
s4 = peg$
|
|
2785
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2786
|
+
s4 = peg$c9;
|
|
3095
2787
|
peg$currPos += 2;
|
|
3096
2788
|
} else {
|
|
3097
2789
|
s4 = peg$FAILED;
|
|
3098
2790
|
if (peg$silentFails === 0) {
|
|
3099
|
-
peg$fail(peg$
|
|
2791
|
+
peg$fail(peg$e25);
|
|
3100
2792
|
}
|
|
3101
2793
|
}
|
|
3102
2794
|
if (s4 === peg$FAILED) {
|
|
3103
2795
|
s4 = input.charAt(peg$currPos);
|
|
3104
|
-
if (peg$
|
|
2796
|
+
if (peg$r16.test(s4)) {
|
|
3105
2797
|
peg$currPos++;
|
|
3106
2798
|
} else {
|
|
3107
2799
|
s4 = peg$FAILED;
|
|
3108
2800
|
if (peg$silentFails === 0) {
|
|
3109
|
-
peg$fail(peg$
|
|
2801
|
+
peg$fail(peg$e26);
|
|
3110
2802
|
}
|
|
3111
2803
|
}
|
|
3112
2804
|
}
|
|
3113
2805
|
}
|
|
3114
2806
|
s4 = input.charAt(peg$currPos);
|
|
3115
|
-
if (peg$
|
|
2807
|
+
if (peg$r15.test(s4)) {
|
|
3116
2808
|
peg$currPos++;
|
|
3117
2809
|
} else {
|
|
3118
2810
|
s4 = peg$FAILED;
|
|
3119
2811
|
if (peg$silentFails === 0) {
|
|
3120
|
-
peg$fail(peg$
|
|
2812
|
+
peg$fail(peg$e24);
|
|
3121
2813
|
}
|
|
3122
2814
|
}
|
|
3123
2815
|
if (s4 !== peg$FAILED) {
|
|
3124
2816
|
peg$savedPos = s0;
|
|
3125
|
-
s0 = peg$
|
|
2817
|
+
s0 = peg$f21(s1);
|
|
3126
2818
|
} else {
|
|
3127
2819
|
peg$currPos = s0;
|
|
3128
2820
|
s0 = peg$FAILED;
|
|
@@ -3142,57 +2834,57 @@ function peg$parse(input, options) {
|
|
|
3142
2834
|
let s0, s1, s2, s3, s4, s5;
|
|
3143
2835
|
s0 = peg$currPos;
|
|
3144
2836
|
s1 = input.charAt(peg$currPos);
|
|
3145
|
-
if (peg$
|
|
2837
|
+
if (peg$r13.test(s1)) {
|
|
3146
2838
|
peg$currPos++;
|
|
3147
2839
|
} else {
|
|
3148
2840
|
s1 = peg$FAILED;
|
|
3149
2841
|
if (peg$silentFails === 0) {
|
|
3150
|
-
peg$fail(peg$
|
|
2842
|
+
peg$fail(peg$e21);
|
|
3151
2843
|
}
|
|
3152
2844
|
}
|
|
3153
2845
|
if (s1 !== peg$FAILED) {
|
|
3154
2846
|
s2 = [];
|
|
3155
2847
|
s3 = peg$currPos;
|
|
3156
2848
|
s4 = [];
|
|
3157
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3158
|
-
s5 = peg$
|
|
2849
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2850
|
+
s5 = peg$c8;
|
|
3159
2851
|
peg$currPos += 2;
|
|
3160
2852
|
} else {
|
|
3161
2853
|
s5 = peg$FAILED;
|
|
3162
2854
|
if (peg$silentFails === 0) {
|
|
3163
|
-
peg$fail(peg$
|
|
2855
|
+
peg$fail(peg$e22);
|
|
3164
2856
|
}
|
|
3165
2857
|
}
|
|
3166
2858
|
if (s5 === peg$FAILED) {
|
|
3167
2859
|
s5 = input.charAt(peg$currPos);
|
|
3168
|
-
if (peg$
|
|
2860
|
+
if (peg$r14.test(s5)) {
|
|
3169
2861
|
peg$currPos++;
|
|
3170
2862
|
} else {
|
|
3171
2863
|
s5 = peg$FAILED;
|
|
3172
2864
|
if (peg$silentFails === 0) {
|
|
3173
|
-
peg$fail(peg$
|
|
2865
|
+
peg$fail(peg$e23);
|
|
3174
2866
|
}
|
|
3175
2867
|
}
|
|
3176
2868
|
}
|
|
3177
2869
|
while (s5 !== peg$FAILED) {
|
|
3178
2870
|
s4.push(s5);
|
|
3179
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3180
|
-
s5 = peg$
|
|
2871
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2872
|
+
s5 = peg$c8;
|
|
3181
2873
|
peg$currPos += 2;
|
|
3182
2874
|
} else {
|
|
3183
2875
|
s5 = peg$FAILED;
|
|
3184
2876
|
if (peg$silentFails === 0) {
|
|
3185
|
-
peg$fail(peg$
|
|
2877
|
+
peg$fail(peg$e22);
|
|
3186
2878
|
}
|
|
3187
2879
|
}
|
|
3188
2880
|
if (s5 === peg$FAILED) {
|
|
3189
2881
|
s5 = input.charAt(peg$currPos);
|
|
3190
|
-
if (peg$
|
|
2882
|
+
if (peg$r14.test(s5)) {
|
|
3191
2883
|
peg$currPos++;
|
|
3192
2884
|
} else {
|
|
3193
2885
|
s5 = peg$FAILED;
|
|
3194
2886
|
if (peg$silentFails === 0) {
|
|
3195
|
-
peg$fail(peg$
|
|
2887
|
+
peg$fail(peg$e23);
|
|
3196
2888
|
}
|
|
3197
2889
|
}
|
|
3198
2890
|
}
|
|
@@ -3218,45 +2910,45 @@ function peg$parse(input, options) {
|
|
|
3218
2910
|
s2.push(s3);
|
|
3219
2911
|
s3 = peg$currPos;
|
|
3220
2912
|
s4 = [];
|
|
3221
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3222
|
-
s5 = peg$
|
|
2913
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2914
|
+
s5 = peg$c8;
|
|
3223
2915
|
peg$currPos += 2;
|
|
3224
2916
|
} else {
|
|
3225
2917
|
s5 = peg$FAILED;
|
|
3226
2918
|
if (peg$silentFails === 0) {
|
|
3227
|
-
peg$fail(peg$
|
|
2919
|
+
peg$fail(peg$e22);
|
|
3228
2920
|
}
|
|
3229
2921
|
}
|
|
3230
2922
|
if (s5 === peg$FAILED) {
|
|
3231
2923
|
s5 = input.charAt(peg$currPos);
|
|
3232
|
-
if (peg$
|
|
2924
|
+
if (peg$r14.test(s5)) {
|
|
3233
2925
|
peg$currPos++;
|
|
3234
2926
|
} else {
|
|
3235
2927
|
s5 = peg$FAILED;
|
|
3236
2928
|
if (peg$silentFails === 0) {
|
|
3237
|
-
peg$fail(peg$
|
|
2929
|
+
peg$fail(peg$e23);
|
|
3238
2930
|
}
|
|
3239
2931
|
}
|
|
3240
2932
|
}
|
|
3241
2933
|
while (s5 !== peg$FAILED) {
|
|
3242
2934
|
s4.push(s5);
|
|
3243
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3244
|
-
s5 = peg$
|
|
2935
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2936
|
+
s5 = peg$c8;
|
|
3245
2937
|
peg$currPos += 2;
|
|
3246
2938
|
} else {
|
|
3247
2939
|
s5 = peg$FAILED;
|
|
3248
2940
|
if (peg$silentFails === 0) {
|
|
3249
|
-
peg$fail(peg$
|
|
2941
|
+
peg$fail(peg$e22);
|
|
3250
2942
|
}
|
|
3251
2943
|
}
|
|
3252
2944
|
if (s5 === peg$FAILED) {
|
|
3253
2945
|
s5 = input.charAt(peg$currPos);
|
|
3254
|
-
if (peg$
|
|
2946
|
+
if (peg$r14.test(s5)) {
|
|
3255
2947
|
peg$currPos++;
|
|
3256
2948
|
} else {
|
|
3257
2949
|
s5 = peg$FAILED;
|
|
3258
2950
|
if (peg$silentFails === 0) {
|
|
3259
|
-
peg$fail(peg$
|
|
2951
|
+
peg$fail(peg$e23);
|
|
3260
2952
|
}
|
|
3261
2953
|
}
|
|
3262
2954
|
}
|
|
@@ -3283,61 +2975,61 @@ function peg$parse(input, options) {
|
|
|
3283
2975
|
}
|
|
3284
2976
|
if (s2 !== peg$FAILED) {
|
|
3285
2977
|
s3 = [];
|
|
3286
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3287
|
-
s4 = peg$
|
|
2978
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
2979
|
+
s4 = peg$c8;
|
|
3288
2980
|
peg$currPos += 2;
|
|
3289
2981
|
} else {
|
|
3290
2982
|
s4 = peg$FAILED;
|
|
3291
2983
|
if (peg$silentFails === 0) {
|
|
3292
|
-
peg$fail(peg$
|
|
2984
|
+
peg$fail(peg$e22);
|
|
3293
2985
|
}
|
|
3294
2986
|
}
|
|
3295
2987
|
if (s4 === peg$FAILED) {
|
|
3296
2988
|
s4 = input.charAt(peg$currPos);
|
|
3297
|
-
if (peg$
|
|
2989
|
+
if (peg$r14.test(s4)) {
|
|
3298
2990
|
peg$currPos++;
|
|
3299
2991
|
} else {
|
|
3300
2992
|
s4 = peg$FAILED;
|
|
3301
2993
|
if (peg$silentFails === 0) {
|
|
3302
|
-
peg$fail(peg$
|
|
2994
|
+
peg$fail(peg$e23);
|
|
3303
2995
|
}
|
|
3304
2996
|
}
|
|
3305
2997
|
}
|
|
3306
2998
|
while (s4 !== peg$FAILED) {
|
|
3307
2999
|
s3.push(s4);
|
|
3308
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3309
|
-
s4 = peg$
|
|
3000
|
+
if (input.substr(peg$currPos, 2) === peg$c8) {
|
|
3001
|
+
s4 = peg$c8;
|
|
3310
3002
|
peg$currPos += 2;
|
|
3311
3003
|
} else {
|
|
3312
3004
|
s4 = peg$FAILED;
|
|
3313
3005
|
if (peg$silentFails === 0) {
|
|
3314
|
-
peg$fail(peg$
|
|
3006
|
+
peg$fail(peg$e22);
|
|
3315
3007
|
}
|
|
3316
3008
|
}
|
|
3317
3009
|
if (s4 === peg$FAILED) {
|
|
3318
3010
|
s4 = input.charAt(peg$currPos);
|
|
3319
|
-
if (peg$
|
|
3011
|
+
if (peg$r14.test(s4)) {
|
|
3320
3012
|
peg$currPos++;
|
|
3321
3013
|
} else {
|
|
3322
3014
|
s4 = peg$FAILED;
|
|
3323
3015
|
if (peg$silentFails === 0) {
|
|
3324
|
-
peg$fail(peg$
|
|
3016
|
+
peg$fail(peg$e23);
|
|
3325
3017
|
}
|
|
3326
3018
|
}
|
|
3327
3019
|
}
|
|
3328
3020
|
}
|
|
3329
3021
|
s4 = input.charAt(peg$currPos);
|
|
3330
|
-
if (peg$
|
|
3022
|
+
if (peg$r13.test(s4)) {
|
|
3331
3023
|
peg$currPos++;
|
|
3332
3024
|
} else {
|
|
3333
3025
|
s4 = peg$FAILED;
|
|
3334
3026
|
if (peg$silentFails === 0) {
|
|
3335
|
-
peg$fail(peg$
|
|
3027
|
+
peg$fail(peg$e21);
|
|
3336
3028
|
}
|
|
3337
3029
|
}
|
|
3338
3030
|
if (s4 !== peg$FAILED) {
|
|
3339
3031
|
peg$savedPos = s0;
|
|
3340
|
-
s0 = peg$
|
|
3032
|
+
s0 = peg$f22(s1);
|
|
3341
3033
|
} else {
|
|
3342
3034
|
peg$currPos = s0;
|
|
3343
3035
|
s0 = peg$FAILED;
|
|
@@ -3356,39 +3048,39 @@ function peg$parse(input, options) {
|
|
|
3356
3048
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
3357
3049
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3358
3050
|
s0 = peg$currPos;
|
|
3359
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3360
|
-
s1 = peg$
|
|
3051
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3052
|
+
s1 = peg$c11;
|
|
3361
3053
|
peg$currPos += 3;
|
|
3362
3054
|
} else {
|
|
3363
3055
|
s1 = peg$FAILED;
|
|
3364
3056
|
if (peg$silentFails === 0) {
|
|
3365
|
-
peg$fail(peg$
|
|
3057
|
+
peg$fail(peg$e30);
|
|
3366
3058
|
}
|
|
3367
3059
|
}
|
|
3368
3060
|
if (s1 !== peg$FAILED) {
|
|
3369
3061
|
s2 = [];
|
|
3370
3062
|
s3 = peg$currPos;
|
|
3371
3063
|
s4 = [];
|
|
3372
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3373
|
-
s5 = peg$
|
|
3064
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3065
|
+
s5 = peg$c12;
|
|
3374
3066
|
peg$currPos += 4;
|
|
3375
3067
|
} else {
|
|
3376
3068
|
s5 = peg$FAILED;
|
|
3377
3069
|
if (peg$silentFails === 0) {
|
|
3378
|
-
peg$fail(peg$
|
|
3070
|
+
peg$fail(peg$e31);
|
|
3379
3071
|
}
|
|
3380
3072
|
}
|
|
3381
3073
|
if (s5 === peg$FAILED) {
|
|
3382
3074
|
s5 = peg$currPos;
|
|
3383
3075
|
s6 = peg$currPos;
|
|
3384
3076
|
peg$silentFails++;
|
|
3385
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3386
|
-
s7 = peg$
|
|
3077
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3078
|
+
s7 = peg$c11;
|
|
3387
3079
|
peg$currPos += 3;
|
|
3388
3080
|
} else {
|
|
3389
3081
|
s7 = peg$FAILED;
|
|
3390
3082
|
if (peg$silentFails === 0) {
|
|
3391
|
-
peg$fail(peg$
|
|
3083
|
+
peg$fail(peg$e30);
|
|
3392
3084
|
}
|
|
3393
3085
|
}
|
|
3394
3086
|
peg$silentFails--;
|
|
@@ -3422,26 +3114,26 @@ function peg$parse(input, options) {
|
|
|
3422
3114
|
}
|
|
3423
3115
|
while (s5 !== peg$FAILED) {
|
|
3424
3116
|
s4.push(s5);
|
|
3425
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3426
|
-
s5 = peg$
|
|
3117
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3118
|
+
s5 = peg$c12;
|
|
3427
3119
|
peg$currPos += 4;
|
|
3428
3120
|
} else {
|
|
3429
3121
|
s5 = peg$FAILED;
|
|
3430
3122
|
if (peg$silentFails === 0) {
|
|
3431
|
-
peg$fail(peg$
|
|
3123
|
+
peg$fail(peg$e31);
|
|
3432
3124
|
}
|
|
3433
3125
|
}
|
|
3434
3126
|
if (s5 === peg$FAILED) {
|
|
3435
3127
|
s5 = peg$currPos;
|
|
3436
3128
|
s6 = peg$currPos;
|
|
3437
3129
|
peg$silentFails++;
|
|
3438
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3439
|
-
s7 = peg$
|
|
3130
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3131
|
+
s7 = peg$c11;
|
|
3440
3132
|
peg$currPos += 3;
|
|
3441
3133
|
} else {
|
|
3442
3134
|
s7 = peg$FAILED;
|
|
3443
3135
|
if (peg$silentFails === 0) {
|
|
3444
|
-
peg$fail(peg$
|
|
3136
|
+
peg$fail(peg$e30);
|
|
3445
3137
|
}
|
|
3446
3138
|
}
|
|
3447
3139
|
peg$silentFails--;
|
|
@@ -3495,26 +3187,26 @@ function peg$parse(input, options) {
|
|
|
3495
3187
|
s2.push(s3);
|
|
3496
3188
|
s3 = peg$currPos;
|
|
3497
3189
|
s4 = [];
|
|
3498
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3499
|
-
s5 = peg$
|
|
3190
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3191
|
+
s5 = peg$c12;
|
|
3500
3192
|
peg$currPos += 4;
|
|
3501
3193
|
} else {
|
|
3502
3194
|
s5 = peg$FAILED;
|
|
3503
3195
|
if (peg$silentFails === 0) {
|
|
3504
|
-
peg$fail(peg$
|
|
3196
|
+
peg$fail(peg$e31);
|
|
3505
3197
|
}
|
|
3506
3198
|
}
|
|
3507
3199
|
if (s5 === peg$FAILED) {
|
|
3508
3200
|
s5 = peg$currPos;
|
|
3509
3201
|
s6 = peg$currPos;
|
|
3510
3202
|
peg$silentFails++;
|
|
3511
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3512
|
-
s7 = peg$
|
|
3203
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3204
|
+
s7 = peg$c11;
|
|
3513
3205
|
peg$currPos += 3;
|
|
3514
3206
|
} else {
|
|
3515
3207
|
s7 = peg$FAILED;
|
|
3516
3208
|
if (peg$silentFails === 0) {
|
|
3517
|
-
peg$fail(peg$
|
|
3209
|
+
peg$fail(peg$e30);
|
|
3518
3210
|
}
|
|
3519
3211
|
}
|
|
3520
3212
|
peg$silentFails--;
|
|
@@ -3548,26 +3240,26 @@ function peg$parse(input, options) {
|
|
|
3548
3240
|
}
|
|
3549
3241
|
while (s5 !== peg$FAILED) {
|
|
3550
3242
|
s4.push(s5);
|
|
3551
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3552
|
-
s5 = peg$
|
|
3243
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3244
|
+
s5 = peg$c12;
|
|
3553
3245
|
peg$currPos += 4;
|
|
3554
3246
|
} else {
|
|
3555
3247
|
s5 = peg$FAILED;
|
|
3556
3248
|
if (peg$silentFails === 0) {
|
|
3557
|
-
peg$fail(peg$
|
|
3249
|
+
peg$fail(peg$e31);
|
|
3558
3250
|
}
|
|
3559
3251
|
}
|
|
3560
3252
|
if (s5 === peg$FAILED) {
|
|
3561
3253
|
s5 = peg$currPos;
|
|
3562
3254
|
s6 = peg$currPos;
|
|
3563
3255
|
peg$silentFails++;
|
|
3564
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3565
|
-
s7 = peg$
|
|
3256
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3257
|
+
s7 = peg$c11;
|
|
3566
3258
|
peg$currPos += 3;
|
|
3567
3259
|
} else {
|
|
3568
3260
|
s7 = peg$FAILED;
|
|
3569
3261
|
if (peg$silentFails === 0) {
|
|
3570
|
-
peg$fail(peg$
|
|
3262
|
+
peg$fail(peg$e30);
|
|
3571
3263
|
}
|
|
3572
3264
|
}
|
|
3573
3265
|
peg$silentFails--;
|
|
@@ -3622,26 +3314,26 @@ function peg$parse(input, options) {
|
|
|
3622
3314
|
}
|
|
3623
3315
|
if (s2 !== peg$FAILED) {
|
|
3624
3316
|
s3 = [];
|
|
3625
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3626
|
-
s4 = peg$
|
|
3317
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3318
|
+
s4 = peg$c12;
|
|
3627
3319
|
peg$currPos += 4;
|
|
3628
3320
|
} else {
|
|
3629
3321
|
s4 = peg$FAILED;
|
|
3630
3322
|
if (peg$silentFails === 0) {
|
|
3631
|
-
peg$fail(peg$
|
|
3323
|
+
peg$fail(peg$e31);
|
|
3632
3324
|
}
|
|
3633
3325
|
}
|
|
3634
3326
|
if (s4 === peg$FAILED) {
|
|
3635
3327
|
s4 = peg$currPos;
|
|
3636
3328
|
s5 = peg$currPos;
|
|
3637
3329
|
peg$silentFails++;
|
|
3638
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3639
|
-
s6 = peg$
|
|
3330
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3331
|
+
s6 = peg$c11;
|
|
3640
3332
|
peg$currPos += 3;
|
|
3641
3333
|
} else {
|
|
3642
3334
|
s6 = peg$FAILED;
|
|
3643
3335
|
if (peg$silentFails === 0) {
|
|
3644
|
-
peg$fail(peg$
|
|
3336
|
+
peg$fail(peg$e30);
|
|
3645
3337
|
}
|
|
3646
3338
|
}
|
|
3647
3339
|
peg$silentFails--;
|
|
@@ -3675,26 +3367,26 @@ function peg$parse(input, options) {
|
|
|
3675
3367
|
}
|
|
3676
3368
|
while (s4 !== peg$FAILED) {
|
|
3677
3369
|
s3.push(s4);
|
|
3678
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3679
|
-
s4 = peg$
|
|
3370
|
+
if (input.substr(peg$currPos, 4) === peg$c12) {
|
|
3371
|
+
s4 = peg$c12;
|
|
3680
3372
|
peg$currPos += 4;
|
|
3681
3373
|
} else {
|
|
3682
3374
|
s4 = peg$FAILED;
|
|
3683
3375
|
if (peg$silentFails === 0) {
|
|
3684
|
-
peg$fail(peg$
|
|
3376
|
+
peg$fail(peg$e31);
|
|
3685
3377
|
}
|
|
3686
3378
|
}
|
|
3687
3379
|
if (s4 === peg$FAILED) {
|
|
3688
3380
|
s4 = peg$currPos;
|
|
3689
3381
|
s5 = peg$currPos;
|
|
3690
3382
|
peg$silentFails++;
|
|
3691
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3692
|
-
s6 = peg$
|
|
3383
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3384
|
+
s6 = peg$c11;
|
|
3693
3385
|
peg$currPos += 3;
|
|
3694
3386
|
} else {
|
|
3695
3387
|
s6 = peg$FAILED;
|
|
3696
3388
|
if (peg$silentFails === 0) {
|
|
3697
|
-
peg$fail(peg$
|
|
3389
|
+
peg$fail(peg$e30);
|
|
3698
3390
|
}
|
|
3699
3391
|
}
|
|
3700
3392
|
peg$silentFails--;
|
|
@@ -3727,18 +3419,18 @@ function peg$parse(input, options) {
|
|
|
3727
3419
|
}
|
|
3728
3420
|
}
|
|
3729
3421
|
}
|
|
3730
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3731
|
-
s4 = peg$
|
|
3422
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
3423
|
+
s4 = peg$c11;
|
|
3732
3424
|
peg$currPos += 3;
|
|
3733
3425
|
} else {
|
|
3734
3426
|
s4 = peg$FAILED;
|
|
3735
3427
|
if (peg$silentFails === 0) {
|
|
3736
|
-
peg$fail(peg$
|
|
3428
|
+
peg$fail(peg$e30);
|
|
3737
3429
|
}
|
|
3738
3430
|
}
|
|
3739
3431
|
if (s4 !== peg$FAILED) {
|
|
3740
3432
|
peg$savedPos = s0;
|
|
3741
|
-
s0 = peg$
|
|
3433
|
+
s0 = peg$f23(s1);
|
|
3742
3434
|
} else {
|
|
3743
3435
|
peg$currPos = s0;
|
|
3744
3436
|
s0 = peg$FAILED;
|
|
@@ -3757,39 +3449,39 @@ function peg$parse(input, options) {
|
|
|
3757
3449
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3758
3450
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3759
3451
|
s0 = peg$currPos;
|
|
3760
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3761
|
-
s1 = peg$
|
|
3452
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3453
|
+
s1 = peg$c13;
|
|
3762
3454
|
peg$currPos += 3;
|
|
3763
3455
|
} else {
|
|
3764
3456
|
s1 = peg$FAILED;
|
|
3765
3457
|
if (peg$silentFails === 0) {
|
|
3766
|
-
peg$fail(peg$
|
|
3458
|
+
peg$fail(peg$e32);
|
|
3767
3459
|
}
|
|
3768
3460
|
}
|
|
3769
3461
|
if (s1 !== peg$FAILED) {
|
|
3770
3462
|
s2 = [];
|
|
3771
3463
|
s3 = peg$currPos;
|
|
3772
3464
|
s4 = [];
|
|
3773
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3774
|
-
s5 = peg$
|
|
3465
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3466
|
+
s5 = peg$c14;
|
|
3775
3467
|
peg$currPos += 4;
|
|
3776
3468
|
} else {
|
|
3777
3469
|
s5 = peg$FAILED;
|
|
3778
3470
|
if (peg$silentFails === 0) {
|
|
3779
|
-
peg$fail(peg$
|
|
3471
|
+
peg$fail(peg$e33);
|
|
3780
3472
|
}
|
|
3781
3473
|
}
|
|
3782
3474
|
if (s5 === peg$FAILED) {
|
|
3783
3475
|
s5 = peg$currPos;
|
|
3784
3476
|
s6 = peg$currPos;
|
|
3785
3477
|
peg$silentFails++;
|
|
3786
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3787
|
-
s7 = peg$
|
|
3478
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3479
|
+
s7 = peg$c13;
|
|
3788
3480
|
peg$currPos += 3;
|
|
3789
3481
|
} else {
|
|
3790
3482
|
s7 = peg$FAILED;
|
|
3791
3483
|
if (peg$silentFails === 0) {
|
|
3792
|
-
peg$fail(peg$
|
|
3484
|
+
peg$fail(peg$e32);
|
|
3793
3485
|
}
|
|
3794
3486
|
}
|
|
3795
3487
|
peg$silentFails--;
|
|
@@ -3823,26 +3515,26 @@ function peg$parse(input, options) {
|
|
|
3823
3515
|
}
|
|
3824
3516
|
while (s5 !== peg$FAILED) {
|
|
3825
3517
|
s4.push(s5);
|
|
3826
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3827
|
-
s5 = peg$
|
|
3518
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3519
|
+
s5 = peg$c14;
|
|
3828
3520
|
peg$currPos += 4;
|
|
3829
3521
|
} else {
|
|
3830
3522
|
s5 = peg$FAILED;
|
|
3831
3523
|
if (peg$silentFails === 0) {
|
|
3832
|
-
peg$fail(peg$
|
|
3524
|
+
peg$fail(peg$e33);
|
|
3833
3525
|
}
|
|
3834
3526
|
}
|
|
3835
3527
|
if (s5 === peg$FAILED) {
|
|
3836
3528
|
s5 = peg$currPos;
|
|
3837
3529
|
s6 = peg$currPos;
|
|
3838
3530
|
peg$silentFails++;
|
|
3839
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3840
|
-
s7 = peg$
|
|
3531
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3532
|
+
s7 = peg$c13;
|
|
3841
3533
|
peg$currPos += 3;
|
|
3842
3534
|
} else {
|
|
3843
3535
|
s7 = peg$FAILED;
|
|
3844
3536
|
if (peg$silentFails === 0) {
|
|
3845
|
-
peg$fail(peg$
|
|
3537
|
+
peg$fail(peg$e32);
|
|
3846
3538
|
}
|
|
3847
3539
|
}
|
|
3848
3540
|
peg$silentFails--;
|
|
@@ -3896,26 +3588,26 @@ function peg$parse(input, options) {
|
|
|
3896
3588
|
s2.push(s3);
|
|
3897
3589
|
s3 = peg$currPos;
|
|
3898
3590
|
s4 = [];
|
|
3899
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3900
|
-
s5 = peg$
|
|
3591
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3592
|
+
s5 = peg$c14;
|
|
3901
3593
|
peg$currPos += 4;
|
|
3902
3594
|
} else {
|
|
3903
3595
|
s5 = peg$FAILED;
|
|
3904
3596
|
if (peg$silentFails === 0) {
|
|
3905
|
-
peg$fail(peg$
|
|
3597
|
+
peg$fail(peg$e33);
|
|
3906
3598
|
}
|
|
3907
3599
|
}
|
|
3908
3600
|
if (s5 === peg$FAILED) {
|
|
3909
3601
|
s5 = peg$currPos;
|
|
3910
3602
|
s6 = peg$currPos;
|
|
3911
3603
|
peg$silentFails++;
|
|
3912
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3913
|
-
s7 = peg$
|
|
3604
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3605
|
+
s7 = peg$c13;
|
|
3914
3606
|
peg$currPos += 3;
|
|
3915
3607
|
} else {
|
|
3916
3608
|
s7 = peg$FAILED;
|
|
3917
3609
|
if (peg$silentFails === 0) {
|
|
3918
|
-
peg$fail(peg$
|
|
3610
|
+
peg$fail(peg$e32);
|
|
3919
3611
|
}
|
|
3920
3612
|
}
|
|
3921
3613
|
peg$silentFails--;
|
|
@@ -3949,26 +3641,26 @@ function peg$parse(input, options) {
|
|
|
3949
3641
|
}
|
|
3950
3642
|
while (s5 !== peg$FAILED) {
|
|
3951
3643
|
s4.push(s5);
|
|
3952
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3953
|
-
s5 = peg$
|
|
3644
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3645
|
+
s5 = peg$c14;
|
|
3954
3646
|
peg$currPos += 4;
|
|
3955
3647
|
} else {
|
|
3956
3648
|
s5 = peg$FAILED;
|
|
3957
3649
|
if (peg$silentFails === 0) {
|
|
3958
|
-
peg$fail(peg$
|
|
3650
|
+
peg$fail(peg$e33);
|
|
3959
3651
|
}
|
|
3960
3652
|
}
|
|
3961
3653
|
if (s5 === peg$FAILED) {
|
|
3962
3654
|
s5 = peg$currPos;
|
|
3963
3655
|
s6 = peg$currPos;
|
|
3964
3656
|
peg$silentFails++;
|
|
3965
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3966
|
-
s7 = peg$
|
|
3657
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3658
|
+
s7 = peg$c13;
|
|
3967
3659
|
peg$currPos += 3;
|
|
3968
3660
|
} else {
|
|
3969
3661
|
s7 = peg$FAILED;
|
|
3970
3662
|
if (peg$silentFails === 0) {
|
|
3971
|
-
peg$fail(peg$
|
|
3663
|
+
peg$fail(peg$e32);
|
|
3972
3664
|
}
|
|
3973
3665
|
}
|
|
3974
3666
|
peg$silentFails--;
|
|
@@ -4023,26 +3715,26 @@ function peg$parse(input, options) {
|
|
|
4023
3715
|
}
|
|
4024
3716
|
if (s2 !== peg$FAILED) {
|
|
4025
3717
|
s3 = [];
|
|
4026
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4027
|
-
s4 = peg$
|
|
3718
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3719
|
+
s4 = peg$c14;
|
|
4028
3720
|
peg$currPos += 4;
|
|
4029
3721
|
} else {
|
|
4030
3722
|
s4 = peg$FAILED;
|
|
4031
3723
|
if (peg$silentFails === 0) {
|
|
4032
|
-
peg$fail(peg$
|
|
3724
|
+
peg$fail(peg$e33);
|
|
4033
3725
|
}
|
|
4034
3726
|
}
|
|
4035
3727
|
if (s4 === peg$FAILED) {
|
|
4036
3728
|
s4 = peg$currPos;
|
|
4037
3729
|
s5 = peg$currPos;
|
|
4038
3730
|
peg$silentFails++;
|
|
4039
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4040
|
-
s6 = peg$
|
|
3731
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3732
|
+
s6 = peg$c13;
|
|
4041
3733
|
peg$currPos += 3;
|
|
4042
3734
|
} else {
|
|
4043
3735
|
s6 = peg$FAILED;
|
|
4044
3736
|
if (peg$silentFails === 0) {
|
|
4045
|
-
peg$fail(peg$
|
|
3737
|
+
peg$fail(peg$e32);
|
|
4046
3738
|
}
|
|
4047
3739
|
}
|
|
4048
3740
|
peg$silentFails--;
|
|
@@ -4076,26 +3768,26 @@ function peg$parse(input, options) {
|
|
|
4076
3768
|
}
|
|
4077
3769
|
while (s4 !== peg$FAILED) {
|
|
4078
3770
|
s3.push(s4);
|
|
4079
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4080
|
-
s4 = peg$
|
|
3771
|
+
if (input.substr(peg$currPos, 4) === peg$c14) {
|
|
3772
|
+
s4 = peg$c14;
|
|
4081
3773
|
peg$currPos += 4;
|
|
4082
3774
|
} else {
|
|
4083
3775
|
s4 = peg$FAILED;
|
|
4084
3776
|
if (peg$silentFails === 0) {
|
|
4085
|
-
peg$fail(peg$
|
|
3777
|
+
peg$fail(peg$e33);
|
|
4086
3778
|
}
|
|
4087
3779
|
}
|
|
4088
3780
|
if (s4 === peg$FAILED) {
|
|
4089
3781
|
s4 = peg$currPos;
|
|
4090
3782
|
s5 = peg$currPos;
|
|
4091
3783
|
peg$silentFails++;
|
|
4092
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4093
|
-
s6 = peg$
|
|
3784
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3785
|
+
s6 = peg$c13;
|
|
4094
3786
|
peg$currPos += 3;
|
|
4095
3787
|
} else {
|
|
4096
3788
|
s6 = peg$FAILED;
|
|
4097
3789
|
if (peg$silentFails === 0) {
|
|
4098
|
-
peg$fail(peg$
|
|
3790
|
+
peg$fail(peg$e32);
|
|
4099
3791
|
}
|
|
4100
3792
|
}
|
|
4101
3793
|
peg$silentFails--;
|
|
@@ -4128,18 +3820,18 @@ function peg$parse(input, options) {
|
|
|
4128
3820
|
}
|
|
4129
3821
|
}
|
|
4130
3822
|
}
|
|
4131
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4132
|
-
s4 = peg$
|
|
3823
|
+
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
3824
|
+
s4 = peg$c13;
|
|
4133
3825
|
peg$currPos += 3;
|
|
4134
3826
|
} else {
|
|
4135
3827
|
s4 = peg$FAILED;
|
|
4136
3828
|
if (peg$silentFails === 0) {
|
|
4137
|
-
peg$fail(peg$
|
|
3829
|
+
peg$fail(peg$e32);
|
|
4138
3830
|
}
|
|
4139
3831
|
}
|
|
4140
3832
|
if (s4 !== peg$FAILED) {
|
|
4141
3833
|
peg$savedPos = s0;
|
|
4142
|
-
s0 = peg$
|
|
3834
|
+
s0 = peg$f24(s1);
|
|
4143
3835
|
} else {
|
|
4144
3836
|
peg$currPos = s0;
|
|
4145
3837
|
s0 = peg$FAILED;
|
|
@@ -4175,7 +3867,7 @@ function peg$parse(input, options) {
|
|
|
4175
3867
|
} else {
|
|
4176
3868
|
s1 = peg$FAILED;
|
|
4177
3869
|
if (peg$silentFails === 0) {
|
|
4178
|
-
peg$fail(peg$
|
|
3870
|
+
peg$fail(peg$e34);
|
|
4179
3871
|
}
|
|
4180
3872
|
}
|
|
4181
3873
|
peg$silentFails--;
|
|
@@ -4193,23 +3885,23 @@ function peg$parse(input, options) {
|
|
|
4193
3885
|
let s0, s1;
|
|
4194
3886
|
s0 = [];
|
|
4195
3887
|
s1 = input.charAt(peg$currPos);
|
|
4196
|
-
if (peg$
|
|
3888
|
+
if (peg$r6.test(s1)) {
|
|
4197
3889
|
peg$currPos++;
|
|
4198
3890
|
} else {
|
|
4199
3891
|
s1 = peg$FAILED;
|
|
4200
3892
|
if (peg$silentFails === 0) {
|
|
4201
|
-
peg$fail(peg$
|
|
3893
|
+
peg$fail(peg$e14);
|
|
4202
3894
|
}
|
|
4203
3895
|
}
|
|
4204
3896
|
while (s1 !== peg$FAILED) {
|
|
4205
3897
|
s0.push(s1);
|
|
4206
3898
|
s1 = input.charAt(peg$currPos);
|
|
4207
|
-
if (peg$
|
|
3899
|
+
if (peg$r6.test(s1)) {
|
|
4208
3900
|
peg$currPos++;
|
|
4209
3901
|
} else {
|
|
4210
3902
|
s1 = peg$FAILED;
|
|
4211
3903
|
if (peg$silentFails === 0) {
|
|
4212
|
-
peg$fail(peg$
|
|
3904
|
+
peg$fail(peg$e14);
|
|
4213
3905
|
}
|
|
4214
3906
|
}
|
|
4215
3907
|
}
|
|
@@ -4220,24 +3912,24 @@ function peg$parse(input, options) {
|
|
|
4220
3912
|
let s0, s1;
|
|
4221
3913
|
s0 = [];
|
|
4222
3914
|
s1 = input.charAt(peg$currPos);
|
|
4223
|
-
if (peg$
|
|
3915
|
+
if (peg$r6.test(s1)) {
|
|
4224
3916
|
peg$currPos++;
|
|
4225
3917
|
} else {
|
|
4226
3918
|
s1 = peg$FAILED;
|
|
4227
3919
|
if (peg$silentFails === 0) {
|
|
4228
|
-
peg$fail(peg$
|
|
3920
|
+
peg$fail(peg$e14);
|
|
4229
3921
|
}
|
|
4230
3922
|
}
|
|
4231
3923
|
if (s1 !== peg$FAILED) {
|
|
4232
3924
|
while (s1 !== peg$FAILED) {
|
|
4233
3925
|
s0.push(s1);
|
|
4234
3926
|
s1 = input.charAt(peg$currPos);
|
|
4235
|
-
if (peg$
|
|
3927
|
+
if (peg$r6.test(s1)) {
|
|
4236
3928
|
peg$currPos++;
|
|
4237
3929
|
} else {
|
|
4238
3930
|
s1 = peg$FAILED;
|
|
4239
3931
|
if (peg$silentFails === 0) {
|
|
4240
|
-
peg$fail(peg$
|
|
3932
|
+
peg$fail(peg$e14);
|
|
4241
3933
|
}
|
|
4242
3934
|
}
|
|
4243
3935
|
}
|