@weborigami/language 0.5.2-test.1 → 0.5.3

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.
@@ -323,16 +323,17 @@ function peg$parse(input, options) {
323
323
  templateSubstitution: peg$parsetemplateSubstitution,
324
324
  textChar: peg$parsetextChar,
325
325
  unaryExpression: peg$parseunaryExpression,
326
+ unaryOperator: peg$parseunaryOperator,
326
327
  uri: peg$parseuri,
327
328
  uriExpression: peg$parseuriExpression,
328
329
  uriKey: peg$parseuriKey,
329
330
  uriKeyChar: peg$parseuriKeyChar,
330
331
  uriPath: peg$parseuriPath,
331
332
  uriScheme: peg$parseuriScheme,
332
- unaryOperator: peg$parseunaryOperator,
333
333
  whitespace: peg$parsewhitespace,
334
334
  whitespaceChar: peg$parsewhitespaceChar,
335
335
  whitespaceOptionalForProgram: peg$parsewhitespaceOptionalForProgram,
336
+ whitespaceOrParenthesis: peg$parsewhitespaceOrParenthesis,
336
337
  whitespaceWithNewLine: peg$parsewhitespaceWithNewLine,
337
338
  };
338
339
  let peg$startRuleFunction = peg$parse__;
@@ -345,80 +346,84 @@ function peg$parse(input, options) {
345
346
  const peg$c5 = "/";
346
347
  const peg$c6 = "[";
347
348
  const peg$c7 = "]";
348
- const peg$c8 = "(";
349
- const peg$c9 = ")";
350
- const peg$c10 = "&";
351
- const peg$c11 = "|";
352
- const peg$c12 = "^";
353
- const peg$c13 = ",";
354
- const peg$c14 = "?";
355
- const peg$c15 = ":";
356
- const peg$c16 = "\u21D2";
357
- const peg$c17 = "=>";
358
- const peg$c18 = "\"";
359
- const peg$c19 = "...";
360
- const peg$c20 = "\u2026";
361
- const peg$c21 = "===";
362
- const peg$c22 = "!==";
363
- const peg$c23 = "==";
364
- const peg$c24 = "!=";
365
- const peg$c25 = "\\0";
366
- const peg$c26 = "\\b";
367
- const peg$c27 = "\\f";
368
- const peg$c28 = "\\n";
369
- const peg$c29 = "\\r";
370
- const peg$c30 = "\\t";
371
- const peg$c31 = "\\v";
372
- const peg$c32 = "\\";
373
- const peg$c33 = "`";
374
- const peg$c34 = "}";
375
- const peg$c35 = "\xBB";
376
- const peg$c36 = "'";
377
- const peg$c37 = "**";
378
- const peg$c38 = ".";
379
- const peg$c39 = "---\n";
380
- const peg$c40 = "\xAB";
381
- const peg$c41 = "&&";
382
- const peg$c42 = "||";
383
- const peg$c43 = "-";
384
- const peg$c44 = "-\n";
385
- const peg$c45 = "/*";
386
- const peg$c46 = "*/";
387
- const peg$c47 = "new";
388
- const peg$c48 = "new:";
389
- const peg$c49 = "\n";
390
- const peg$c50 = "\r\n";
391
- const peg$c51 = "\r";
392
- const peg$c52 = "??";
393
- const peg$c53 = "{";
394
- const peg$c54 = "=";
395
- const peg$c55 = "?.";
396
- const peg$c56 = "<=";
397
- const peg$c57 = ">=";
398
- const peg$c58 = "#!";
399
- const peg$c59 = "<<";
400
- const peg$c60 = ">>>";
401
- const peg$c61 = ">>";
402
- const peg$c62 = "\u2192";
403
- const peg$c63 = "->";
404
- const peg$c64 = "${";
405
- const peg$c65 = "~";
349
+ const peg$c8 = "async";
350
+ const peg$c9 = "(";
351
+ const peg$c10 = ")";
352
+ const peg$c11 = "&";
353
+ const peg$c12 = "|";
354
+ const peg$c13 = "^";
355
+ const peg$c14 = ",";
356
+ const peg$c15 = "?";
357
+ const peg$c16 = ":";
358
+ const peg$c17 = "\u21D2";
359
+ const peg$c18 = "=>";
360
+ const peg$c19 = "\"";
361
+ const peg$c20 = "...";
362
+ const peg$c21 = "\u2026";
363
+ const peg$c22 = "===";
364
+ const peg$c23 = "!==";
365
+ const peg$c24 = "==";
366
+ const peg$c25 = "!=";
367
+ const peg$c26 = "\\0";
368
+ const peg$c27 = "\\b";
369
+ const peg$c28 = "\\f";
370
+ const peg$c29 = "\\n";
371
+ const peg$c30 = "\\r";
372
+ const peg$c31 = "\\t";
373
+ const peg$c32 = "\\v";
374
+ const peg$c33 = "\\";
375
+ const peg$c34 = "`";
376
+ const peg$c35 = "}";
377
+ const peg$c36 = "\xBB";
378
+ const peg$c37 = "'";
379
+ const peg$c38 = "**";
380
+ const peg$c39 = ".";
381
+ const peg$c40 = "---\n";
382
+ const peg$c41 = "\xAB";
383
+ const peg$c42 = "&&";
384
+ const peg$c43 = "||";
385
+ const peg$c44 = "-";
386
+ const peg$c45 = "-\n";
387
+ const peg$c46 = "/*";
388
+ const peg$c47 = "*/";
389
+ const peg$c48 = "new";
390
+ const peg$c49 = "new:";
391
+ const peg$c50 = "\n";
392
+ const peg$c51 = "\r\n";
393
+ const peg$c52 = "\r";
394
+ const peg$c53 = "??";
395
+ const peg$c54 = "{";
396
+ const peg$c55 = "=";
397
+ const peg$c56 = "?.";
398
+ const peg$c57 = "<=";
399
+ const peg$c58 = ">=";
400
+ const peg$c59 = "#!";
401
+ const peg$c60 = "<<";
402
+ const peg$c61 = ">>>";
403
+ const peg$c62 = ">>";
404
+ const peg$c63 = "\u2192";
405
+ const peg$c64 = "->";
406
+ const peg$c65 = "${";
407
+ const peg$c66 = "~";
408
+ const peg$c67 = "await";
409
+ const peg$c68 = "typeof";
410
+ const peg$c69 = "void";
406
411
 
407
412
  const peg$r0 = /^[^\/>\t\n\r]/;
408
413
  const peg$r1 = /^[0-9]/;
409
414
  const peg$r2 = /^[ \t]/;
410
- const peg$r3 = /^[!+]/;
411
- const peg$r4 = /^[%-&*\^|]/;
412
- const peg$r5 = /^[.@~]/;
413
- const peg$r6 = /^[%*\/]/;
414
- const peg$r7 = /^[gimuy]/;
415
- const peg$r8 = /^[^\/\n\r]/;
416
- const peg$r9 = /^[^\n\r]/;
417
- const peg$r10 = /^[^\/,)\]}]/;
418
- const peg$r11 = /^[a-z]/;
419
- const peg$r12 = /^[a-z0-9+-.]/;
420
- const peg$r13 = /^[:]/;
421
- const peg$r14 = /^[\/)\]}]/;
415
+ const peg$r3 = /^[!%-&*-+\^|]/;
416
+ const peg$r4 = /^[.@~]/;
417
+ const peg$r5 = /^[%*\/]/;
418
+ const peg$r6 = /^[gimuy]/;
419
+ const peg$r7 = /^[^\/\n\r]/;
420
+ const peg$r8 = /^[^\n\r]/;
421
+ const peg$r9 = /^[!+]/;
422
+ const peg$r10 = /^[\/)\]}]/;
423
+ const peg$r11 = /^[^\/,)\]}]/;
424
+ const peg$r12 = /^[a-z]/;
425
+ const peg$r13 = /^[a-z0-9+-.]/;
426
+ const peg$r14 = /^[:]/;
422
427
 
423
428
  const peg$e0 = peg$literalExpectation("+", false);
424
429
  const peg$e1 = peg$literalExpectation("<", false);
@@ -431,57 +436,57 @@ function peg$parse(input, options) {
431
436
  const peg$e8 = peg$otherExpectation("array");
432
437
  const peg$e9 = peg$literalExpectation("[", false);
433
438
  const peg$e10 = peg$literalExpectation("]", false);
434
- const peg$e11 = peg$literalExpectation("(", false);
435
- const peg$e12 = peg$literalExpectation(")", false);
436
- const peg$e13 = peg$literalExpectation("&", false);
437
- const peg$e14 = peg$literalExpectation("|", false);
438
- const peg$e15 = peg$literalExpectation("^", false);
439
- const peg$e16 = peg$otherExpectation("function call");
440
- const peg$e17 = peg$literalExpectation(",", false);
441
- const peg$e18 = peg$otherExpectation("comment");
442
- const peg$e19 = peg$literalExpectation("?", false);
443
- const peg$e20 = peg$literalExpectation(":", false);
444
- const peg$e21 = peg$classExpectation([["0", "9"]], false, false, false);
445
- const peg$e22 = peg$literalExpectation("\u21D2", false);
446
- const peg$e23 = peg$literalExpectation("=>", false);
447
- const peg$e24 = peg$otherExpectation("double quote string");
448
- const peg$e25 = peg$literalExpectation("\"", false);
449
- const peg$e26 = peg$literalExpectation("...", false);
450
- const peg$e27 = peg$literalExpectation("\u2026", false);
451
- const peg$e28 = peg$literalExpectation("===", false);
452
- const peg$e29 = peg$literalExpectation("!==", false);
453
- const peg$e30 = peg$literalExpectation("==", false);
454
- const peg$e31 = peg$literalExpectation("!=", false);
455
- const peg$e32 = peg$otherExpectation("backslash-escaped character");
456
- const peg$e33 = peg$literalExpectation("\\0", false);
457
- const peg$e34 = peg$literalExpectation("\\b", false);
458
- const peg$e35 = peg$literalExpectation("\\f", false);
459
- const peg$e36 = peg$literalExpectation("\\n", false);
460
- const peg$e37 = peg$literalExpectation("\\r", false);
461
- const peg$e38 = peg$literalExpectation("\\t", false);
462
- const peg$e39 = peg$literalExpectation("\\v", false);
463
- const peg$e40 = peg$literalExpectation("\\", false);
464
- const peg$e41 = peg$anyExpectation();
465
- const peg$e42 = peg$literalExpectation("`", false);
466
- const peg$e43 = peg$literalExpectation("}", false);
467
- const peg$e44 = peg$literalExpectation("\xBB", false);
468
- const peg$e45 = peg$literalExpectation("'", false);
469
- const peg$e46 = peg$literalExpectation("**", false);
470
- const peg$e47 = peg$otherExpectation("floating-point number");
471
- const peg$e48 = peg$literalExpectation(".", false);
472
- const peg$e49 = peg$literalExpectation("---\n", false);
473
- const peg$e50 = peg$otherExpectation("YAML front matter");
474
- const peg$e51 = peg$otherExpectation("parenthetical group");
475
- const peg$e52 = peg$otherExpectation("guillemet string");
476
- const peg$e53 = peg$literalExpectation("\xAB", false);
477
- const peg$e54 = peg$otherExpectation("HTTP/HTTPS host");
478
- const peg$e55 = peg$otherExpectation("JavaScript identifier continuation");
479
- const peg$e56 = peg$otherExpectation("JavaScript identifier start");
480
- const peg$e57 = peg$otherExpectation("function call with implicit parentheses");
481
- const peg$e58 = peg$classExpectation([" ", "\t"], false, false, false);
482
- const peg$e59 = peg$otherExpectation("integer");
483
- const peg$e60 = peg$classExpectation(["!", "+"], false, false, false);
484
- const peg$e61 = peg$classExpectation([["%", "&"], "*", "^", "|"], false, false, false);
439
+ const peg$e11 = peg$literalExpectation("async", false);
440
+ const peg$e12 = peg$literalExpectation("(", false);
441
+ const peg$e13 = peg$literalExpectation(")", false);
442
+ const peg$e14 = peg$literalExpectation("&", false);
443
+ const peg$e15 = peg$literalExpectation("|", false);
444
+ const peg$e16 = peg$literalExpectation("^", false);
445
+ const peg$e17 = peg$otherExpectation("function call");
446
+ const peg$e18 = peg$literalExpectation(",", false);
447
+ const peg$e19 = peg$otherExpectation("comment");
448
+ const peg$e20 = peg$literalExpectation("?", false);
449
+ const peg$e21 = peg$literalExpectation(":", false);
450
+ const peg$e22 = peg$classExpectation([["0", "9"]], false, false, false);
451
+ const peg$e23 = peg$literalExpectation("\u21D2", false);
452
+ const peg$e24 = peg$literalExpectation("=>", false);
453
+ const peg$e25 = peg$otherExpectation("double quote string");
454
+ const peg$e26 = peg$literalExpectation("\"", false);
455
+ const peg$e27 = peg$literalExpectation("...", false);
456
+ const peg$e28 = peg$literalExpectation("\u2026", false);
457
+ const peg$e29 = peg$literalExpectation("===", false);
458
+ const peg$e30 = peg$literalExpectation("!==", false);
459
+ const peg$e31 = peg$literalExpectation("==", false);
460
+ const peg$e32 = peg$literalExpectation("!=", false);
461
+ const peg$e33 = peg$otherExpectation("backslash-escaped character");
462
+ const peg$e34 = peg$literalExpectation("\\0", false);
463
+ const peg$e35 = peg$literalExpectation("\\b", false);
464
+ const peg$e36 = peg$literalExpectation("\\f", false);
465
+ const peg$e37 = peg$literalExpectation("\\n", false);
466
+ const peg$e38 = peg$literalExpectation("\\r", false);
467
+ const peg$e39 = peg$literalExpectation("\\t", false);
468
+ const peg$e40 = peg$literalExpectation("\\v", false);
469
+ const peg$e41 = peg$literalExpectation("\\", false);
470
+ const peg$e42 = peg$anyExpectation();
471
+ const peg$e43 = peg$literalExpectation("`", false);
472
+ const peg$e44 = peg$literalExpectation("}", false);
473
+ const peg$e45 = peg$literalExpectation("\xBB", false);
474
+ const peg$e46 = peg$literalExpectation("'", false);
475
+ const peg$e47 = peg$literalExpectation("**", false);
476
+ const peg$e48 = peg$otherExpectation("floating-point number");
477
+ const peg$e49 = peg$literalExpectation(".", false);
478
+ const peg$e50 = peg$literalExpectation("---\n", false);
479
+ const peg$e51 = peg$otherExpectation("YAML front matter");
480
+ const peg$e52 = peg$otherExpectation("parenthetical group");
481
+ const peg$e53 = peg$otherExpectation("guillemet string");
482
+ const peg$e54 = peg$literalExpectation("\xAB", false);
483
+ const peg$e55 = peg$otherExpectation("HTTP/HTTPS host");
484
+ const peg$e56 = peg$otherExpectation("JavaScript identifier continuation");
485
+ const peg$e57 = peg$otherExpectation("JavaScript identifier start");
486
+ const peg$e58 = peg$otherExpectation("function call with implicit parentheses");
487
+ const peg$e59 = peg$classExpectation([" ", "\t"], false, false, false);
488
+ const peg$e60 = peg$otherExpectation("integer");
489
+ const peg$e61 = peg$classExpectation(["!", ["%", "&"], ["*", "+"], "^", "|"], false, false, false);
485
490
  const peg$e62 = peg$classExpectation([".", "@", "~"], false, false, false);
486
491
  const peg$e63 = peg$otherExpectation("list");
487
492
  const peg$e64 = peg$literalExpectation("&&", false);
@@ -526,13 +531,17 @@ function peg$parse(input, options) {
526
531
  const peg$e103 = peg$otherExpectation("template document");
527
532
  const peg$e104 = peg$otherExpectation("template literal");
528
533
  const peg$e105 = peg$otherExpectation("template substitution");
529
- const peg$e106 = peg$classExpectation(["/", ",", ")", "]", "}"], true, false, false);
530
- const peg$e107 = peg$otherExpectation("slash-separated path");
531
- const peg$e108 = peg$classExpectation([["a", "z"]], false, false, false);
532
- const peg$e109 = peg$classExpectation([["a", "z"], ["0", "9"], ["+", "."]], false, false, false);
533
- const peg$e110 = peg$classExpectation([":"], false, false, false);
534
- const peg$e111 = peg$literalExpectation("~", false);
535
- const peg$e112 = peg$classExpectation(["/", ")", "]", "}"], false, false, false);
534
+ const peg$e106 = peg$classExpectation(["!", "+"], false, false, false);
535
+ const peg$e107 = peg$literalExpectation("~", false);
536
+ const peg$e108 = peg$classExpectation(["/", ")", "]", "}"], false, false, false);
537
+ const peg$e109 = peg$literalExpectation("await", false);
538
+ const peg$e110 = peg$literalExpectation("typeof", false);
539
+ const peg$e111 = peg$literalExpectation("void", false);
540
+ const peg$e112 = peg$classExpectation(["/", ",", ")", "]", "}"], true, false, false);
541
+ const peg$e113 = peg$otherExpectation("slash-separated path");
542
+ const peg$e114 = peg$classExpectation([["a", "z"]], false, false, false);
543
+ const peg$e115 = peg$classExpectation([["a", "z"], ["0", "9"], ["+", "."]], false, false, false);
544
+ const peg$e116 = peg$classExpectation([":"], false, false, false);
536
545
 
537
546
  function peg$f0() {
538
547
  return null;
@@ -761,16 +770,17 @@ function peg$parse(input, options) {
761
770
  function peg$f69(key, pipeline) {
762
771
  return annotate([key, pipeline], location());
763
772
  }
764
- function peg$f70(key) {
765
- const reference = annotate([markers.reference, key], location());
766
- const traverse = annotate([markers.traverse, reference], location());
767
- return annotate([key, traverse], location());
773
+ function peg$f70(path) {
774
+ const lastKey = path[0] === ops.unpack
775
+ // [ops.unpack, [markers.traverse, [markers.reference, lastKey]]]
776
+ ? path[1][1][1]
777
+ // [markers.traverse, ..., [markers.reference, lastKey]
778
+ : path.at(-1)[1];
779
+ return annotate([lastKey, path], location());
768
780
  }
769
781
  function peg$f71(path) {
770
- let lastKey = path.at(-1);
771
- if (lastKey instanceof Array) {
772
- lastKey = lastKey[1]; // get scope identifier or literal
773
- }
782
+ // [markers.traverse, ..., [markers.reference, lastKey]]
783
+ const lastKey = path.at(-1)[1];
774
784
  return annotate([lastKey, path], location());
775
785
  }
776
786
  function peg$f72(key, slash) {
@@ -1543,39 +1553,58 @@ function peg$parse(input, options) {
1543
1553
  }
1544
1554
 
1545
1555
  function peg$parsearrowFunction() {
1546
- let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
1556
+ let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
1547
1557
 
1548
1558
  s0 = peg$currPos;
1559
+ s1 = peg$currPos;
1560
+ if (input.substr(peg$currPos, 5) === peg$c8) {
1561
+ s2 = peg$c8;
1562
+ peg$currPos += 5;
1563
+ } else {
1564
+ s2 = peg$FAILED;
1565
+ if (peg$silentFails === 0) { peg$fail(peg$e11); }
1566
+ }
1567
+ if (s2 !== peg$FAILED) {
1568
+ s3 = peg$parse__();
1569
+ s2 = [s2, s3];
1570
+ s1 = s2;
1571
+ } else {
1572
+ peg$currPos = s1;
1573
+ s1 = peg$FAILED;
1574
+ }
1575
+ if (s1 === peg$FAILED) {
1576
+ s1 = null;
1577
+ }
1549
1578
  if (input.charCodeAt(peg$currPos) === 40) {
1550
- s1 = peg$c8;
1579
+ s2 = peg$c9;
1551
1580
  peg$currPos++;
1552
1581
  } else {
1553
- s1 = peg$FAILED;
1554
- if (peg$silentFails === 0) { peg$fail(peg$e11); }
1582
+ s2 = peg$FAILED;
1583
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
1555
1584
  }
1556
- if (s1 !== peg$FAILED) {
1557
- s2 = peg$parse__();
1558
- s3 = peg$parseparameterList();
1559
- if (s3 === peg$FAILED) {
1560
- s3 = null;
1585
+ if (s2 !== peg$FAILED) {
1586
+ s3 = peg$parse__();
1587
+ s4 = peg$parseparameterList();
1588
+ if (s4 === peg$FAILED) {
1589
+ s4 = null;
1561
1590
  }
1562
- s4 = peg$parse__();
1591
+ s5 = peg$parse__();
1563
1592
  if (input.charCodeAt(peg$currPos) === 41) {
1564
- s5 = peg$c9;
1593
+ s6 = peg$c10;
1565
1594
  peg$currPos++;
1566
1595
  } else {
1567
- s5 = peg$FAILED;
1568
- if (peg$silentFails === 0) { peg$fail(peg$e12); }
1596
+ s6 = peg$FAILED;
1597
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
1569
1598
  }
1570
- if (s5 !== peg$FAILED) {
1571
- s6 = peg$parse__();
1572
- s7 = peg$parsedoubleArrow();
1573
- if (s7 !== peg$FAILED) {
1574
- s8 = peg$parse__();
1575
- s9 = peg$parseexpectPipelineExpression();
1576
- if (s9 !== peg$FAILED) {
1599
+ if (s6 !== peg$FAILED) {
1600
+ s7 = peg$parse__();
1601
+ s8 = peg$parsedoubleArrow();
1602
+ if (s8 !== peg$FAILED) {
1603
+ s9 = peg$parse__();
1604
+ s10 = peg$parseexpectPipelineExpression();
1605
+ if (s10 !== peg$FAILED) {
1577
1606
  peg$savedPos = s0;
1578
- s0 = peg$f9(s3, s9);
1607
+ s0 = peg$f9(s4, s10);
1579
1608
  } else {
1580
1609
  peg$currPos = s0;
1581
1610
  s0 = peg$FAILED;
@@ -1701,21 +1730,21 @@ function peg$parse(input, options) {
1701
1730
 
1702
1731
  s0 = peg$currPos;
1703
1732
  if (input.charCodeAt(peg$currPos) === 38) {
1704
- s1 = peg$c10;
1733
+ s1 = peg$c11;
1705
1734
  peg$currPos++;
1706
1735
  } else {
1707
1736
  s1 = peg$FAILED;
1708
- if (peg$silentFails === 0) { peg$fail(peg$e13); }
1737
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
1709
1738
  }
1710
1739
  if (s1 !== peg$FAILED) {
1711
1740
  s2 = peg$currPos;
1712
1741
  peg$silentFails++;
1713
1742
  if (input.charCodeAt(peg$currPos) === 38) {
1714
- s3 = peg$c10;
1743
+ s3 = peg$c11;
1715
1744
  peg$currPos++;
1716
1745
  } else {
1717
1746
  s3 = peg$FAILED;
1718
- if (peg$silentFails === 0) { peg$fail(peg$e13); }
1747
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
1719
1748
  }
1720
1749
  peg$silentFails--;
1721
1750
  if (s3 === peg$FAILED) {
@@ -1815,21 +1844,21 @@ function peg$parse(input, options) {
1815
1844
 
1816
1845
  s0 = peg$currPos;
1817
1846
  if (input.charCodeAt(peg$currPos) === 124) {
1818
- s1 = peg$c11;
1847
+ s1 = peg$c12;
1819
1848
  peg$currPos++;
1820
1849
  } else {
1821
1850
  s1 = peg$FAILED;
1822
- if (peg$silentFails === 0) { peg$fail(peg$e14); }
1851
+ if (peg$silentFails === 0) { peg$fail(peg$e15); }
1823
1852
  }
1824
1853
  if (s1 !== peg$FAILED) {
1825
1854
  s2 = peg$currPos;
1826
1855
  peg$silentFails++;
1827
1856
  if (input.charCodeAt(peg$currPos) === 124) {
1828
- s3 = peg$c11;
1857
+ s3 = peg$c12;
1829
1858
  peg$currPos++;
1830
1859
  } else {
1831
1860
  s3 = peg$FAILED;
1832
- if (peg$silentFails === 0) { peg$fail(peg$e14); }
1861
+ if (peg$silentFails === 0) { peg$fail(peg$e15); }
1833
1862
  }
1834
1863
  peg$silentFails--;
1835
1864
  if (s3 === peg$FAILED) {
@@ -1928,11 +1957,11 @@ function peg$parse(input, options) {
1928
1957
  let s0;
1929
1958
 
1930
1959
  if (input.charCodeAt(peg$currPos) === 94) {
1931
- s0 = peg$c12;
1960
+ s0 = peg$c13;
1932
1961
  peg$currPos++;
1933
1962
  } else {
1934
1963
  s0 = peg$FAILED;
1935
- if (peg$silentFails === 0) { peg$fail(peg$e15); }
1964
+ if (peg$silentFails === 0) { peg$fail(peg$e16); }
1936
1965
  }
1937
1966
 
1938
1967
  return s0;
@@ -1960,7 +1989,7 @@ function peg$parse(input, options) {
1960
1989
  peg$silentFails--;
1961
1990
  if (s0 === peg$FAILED) {
1962
1991
  s1 = peg$FAILED;
1963
- if (peg$silentFails === 0) { peg$fail(peg$e16); }
1992
+ if (peg$silentFails === 0) { peg$fail(peg$e17); }
1964
1993
  }
1965
1994
 
1966
1995
  return s0;
@@ -1979,11 +2008,11 @@ function peg$parse(input, options) {
1979
2008
  s4 = peg$currPos;
1980
2009
  s5 = peg$parse__();
1981
2010
  if (input.charCodeAt(peg$currPos) === 44) {
1982
- s6 = peg$c13;
2011
+ s6 = peg$c14;
1983
2012
  peg$currPos++;
1984
2013
  } else {
1985
2014
  s6 = peg$FAILED;
1986
- if (peg$silentFails === 0) { peg$fail(peg$e17); }
2015
+ if (peg$silentFails === 0) { peg$fail(peg$e18); }
1987
2016
  }
1988
2017
  if (s6 !== peg$FAILED) {
1989
2018
  s7 = peg$parse__();
@@ -2031,7 +2060,7 @@ function peg$parse(input, options) {
2031
2060
  peg$silentFails--;
2032
2061
  if (s0 === peg$FAILED) {
2033
2062
  s1 = peg$FAILED;
2034
- if (peg$silentFails === 0) { peg$fail(peg$e18); }
2063
+ if (peg$silentFails === 0) { peg$fail(peg$e19); }
2035
2064
  }
2036
2065
 
2037
2066
  return s0;
@@ -2115,11 +2144,11 @@ function peg$parse(input, options) {
2115
2144
  s2 = peg$currPos;
2116
2145
  s3 = peg$parse__();
2117
2146
  if (input.charCodeAt(peg$currPos) === 63) {
2118
- s4 = peg$c14;
2147
+ s4 = peg$c15;
2119
2148
  peg$currPos++;
2120
2149
  } else {
2121
2150
  s4 = peg$FAILED;
2122
- if (peg$silentFails === 0) { peg$fail(peg$e19); }
2151
+ if (peg$silentFails === 0) { peg$fail(peg$e20); }
2123
2152
  }
2124
2153
  if (s4 !== peg$FAILED) {
2125
2154
  s5 = peg$parse__();
@@ -2127,11 +2156,11 @@ function peg$parse(input, options) {
2127
2156
  if (s6 !== peg$FAILED) {
2128
2157
  s7 = peg$parse__();
2129
2158
  if (input.charCodeAt(peg$currPos) === 58) {
2130
- s8 = peg$c15;
2159
+ s8 = peg$c16;
2131
2160
  peg$currPos++;
2132
2161
  } else {
2133
2162
  s8 = peg$FAILED;
2134
- if (peg$silentFails === 0) { peg$fail(peg$e20); }
2163
+ if (peg$silentFails === 0) { peg$fail(peg$e21); }
2135
2164
  }
2136
2165
  if (s8 !== peg$FAILED) {
2137
2166
  s9 = peg$parse__();
@@ -2177,7 +2206,7 @@ function peg$parse(input, options) {
2177
2206
  peg$currPos++;
2178
2207
  } else {
2179
2208
  s2 = peg$FAILED;
2180
- if (peg$silentFails === 0) { peg$fail(peg$e21); }
2209
+ if (peg$silentFails === 0) { peg$fail(peg$e22); }
2181
2210
  }
2182
2211
  if (s2 !== peg$FAILED) {
2183
2212
  while (s2 !== peg$FAILED) {
@@ -2187,7 +2216,7 @@ function peg$parse(input, options) {
2187
2216
  peg$currPos++;
2188
2217
  } else {
2189
2218
  s2 = peg$FAILED;
2190
- if (peg$silentFails === 0) { peg$fail(peg$e21); }
2219
+ if (peg$silentFails === 0) { peg$fail(peg$e22); }
2191
2220
  }
2192
2221
  }
2193
2222
  } else {
@@ -2207,19 +2236,19 @@ function peg$parse(input, options) {
2207
2236
  let s0;
2208
2237
 
2209
2238
  if (input.charCodeAt(peg$currPos) === 8658) {
2210
- s0 = peg$c16;
2239
+ s0 = peg$c17;
2211
2240
  peg$currPos++;
2212
2241
  } else {
2213
2242
  s0 = peg$FAILED;
2214
- if (peg$silentFails === 0) { peg$fail(peg$e22); }
2243
+ if (peg$silentFails === 0) { peg$fail(peg$e23); }
2215
2244
  }
2216
2245
  if (s0 === peg$FAILED) {
2217
- if (input.substr(peg$currPos, 2) === peg$c17) {
2218
- s0 = peg$c17;
2246
+ if (input.substr(peg$currPos, 2) === peg$c18) {
2247
+ s0 = peg$c18;
2219
2248
  peg$currPos += 2;
2220
2249
  } else {
2221
2250
  s0 = peg$FAILED;
2222
- if (peg$silentFails === 0) { peg$fail(peg$e23); }
2251
+ if (peg$silentFails === 0) { peg$fail(peg$e24); }
2223
2252
  }
2224
2253
  }
2225
2254
 
@@ -2232,11 +2261,11 @@ function peg$parse(input, options) {
2232
2261
  peg$silentFails++;
2233
2262
  s0 = peg$currPos;
2234
2263
  if (input.charCodeAt(peg$currPos) === 34) {
2235
- s1 = peg$c18;
2264
+ s1 = peg$c19;
2236
2265
  peg$currPos++;
2237
2266
  } else {
2238
2267
  s1 = peg$FAILED;
2239
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2268
+ if (peg$silentFails === 0) { peg$fail(peg$e26); }
2240
2269
  }
2241
2270
  if (s1 !== peg$FAILED) {
2242
2271
  s2 = [];
@@ -2260,7 +2289,7 @@ function peg$parse(input, options) {
2260
2289
  peg$silentFails--;
2261
2290
  if (s0 === peg$FAILED) {
2262
2291
  s1 = peg$FAILED;
2263
- if (peg$silentFails === 0) { peg$fail(peg$e24); }
2292
+ if (peg$silentFails === 0) { peg$fail(peg$e25); }
2264
2293
  }
2265
2294
 
2266
2295
  return s0;
@@ -2273,11 +2302,11 @@ function peg$parse(input, options) {
2273
2302
  s1 = peg$currPos;
2274
2303
  peg$silentFails++;
2275
2304
  if (input.charCodeAt(peg$currPos) === 34) {
2276
- s2 = peg$c18;
2305
+ s2 = peg$c19;
2277
2306
  peg$currPos++;
2278
2307
  } else {
2279
2308
  s2 = peg$FAILED;
2280
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2309
+ if (peg$silentFails === 0) { peg$fail(peg$e26); }
2281
2310
  }
2282
2311
  if (s2 === peg$FAILED) {
2283
2312
  s2 = peg$parsenewLine();
@@ -2308,21 +2337,21 @@ function peg$parse(input, options) {
2308
2337
  function peg$parseellipsis() {
2309
2338
  let s0, s1;
2310
2339
 
2311
- if (input.substr(peg$currPos, 3) === peg$c19) {
2312
- s0 = peg$c19;
2340
+ if (input.substr(peg$currPos, 3) === peg$c20) {
2341
+ s0 = peg$c20;
2313
2342
  peg$currPos += 3;
2314
2343
  } else {
2315
2344
  s0 = peg$FAILED;
2316
- if (peg$silentFails === 0) { peg$fail(peg$e26); }
2345
+ if (peg$silentFails === 0) { peg$fail(peg$e27); }
2317
2346
  }
2318
2347
  if (s0 === peg$FAILED) {
2319
2348
  s0 = peg$currPos;
2320
2349
  if (input.charCodeAt(peg$currPos) === 8230) {
2321
- s1 = peg$c20;
2350
+ s1 = peg$c21;
2322
2351
  peg$currPos++;
2323
2352
  } else {
2324
2353
  s1 = peg$FAILED;
2325
- if (peg$silentFails === 0) { peg$fail(peg$e27); }
2354
+ if (peg$silentFails === 0) { peg$fail(peg$e28); }
2326
2355
  }
2327
2356
  if (s1 !== peg$FAILED) {
2328
2357
  peg$savedPos = s0;
@@ -2389,36 +2418,36 @@ function peg$parse(input, options) {
2389
2418
  function peg$parseequalityOperator() {
2390
2419
  let s0;
2391
2420
 
2392
- if (input.substr(peg$currPos, 3) === peg$c21) {
2393
- s0 = peg$c21;
2421
+ if (input.substr(peg$currPos, 3) === peg$c22) {
2422
+ s0 = peg$c22;
2394
2423
  peg$currPos += 3;
2395
2424
  } else {
2396
2425
  s0 = peg$FAILED;
2397
- if (peg$silentFails === 0) { peg$fail(peg$e28); }
2426
+ if (peg$silentFails === 0) { peg$fail(peg$e29); }
2398
2427
  }
2399
2428
  if (s0 === peg$FAILED) {
2400
- if (input.substr(peg$currPos, 3) === peg$c22) {
2401
- s0 = peg$c22;
2429
+ if (input.substr(peg$currPos, 3) === peg$c23) {
2430
+ s0 = peg$c23;
2402
2431
  peg$currPos += 3;
2403
2432
  } else {
2404
2433
  s0 = peg$FAILED;
2405
- if (peg$silentFails === 0) { peg$fail(peg$e29); }
2434
+ if (peg$silentFails === 0) { peg$fail(peg$e30); }
2406
2435
  }
2407
2436
  if (s0 === peg$FAILED) {
2408
- if (input.substr(peg$currPos, 2) === peg$c23) {
2409
- s0 = peg$c23;
2437
+ if (input.substr(peg$currPos, 2) === peg$c24) {
2438
+ s0 = peg$c24;
2410
2439
  peg$currPos += 2;
2411
2440
  } else {
2412
2441
  s0 = peg$FAILED;
2413
- if (peg$silentFails === 0) { peg$fail(peg$e30); }
2442
+ if (peg$silentFails === 0) { peg$fail(peg$e31); }
2414
2443
  }
2415
2444
  if (s0 === peg$FAILED) {
2416
- if (input.substr(peg$currPos, 2) === peg$c24) {
2417
- s0 = peg$c24;
2445
+ if (input.substr(peg$currPos, 2) === peg$c25) {
2446
+ s0 = peg$c25;
2418
2447
  peg$currPos += 2;
2419
2448
  } else {
2420
2449
  s0 = peg$FAILED;
2421
- if (peg$silentFails === 0) { peg$fail(peg$e31); }
2450
+ if (peg$silentFails === 0) { peg$fail(peg$e32); }
2422
2451
  }
2423
2452
  }
2424
2453
  }
@@ -2432,12 +2461,12 @@ function peg$parse(input, options) {
2432
2461
 
2433
2462
  peg$silentFails++;
2434
2463
  s0 = peg$currPos;
2435
- if (input.substr(peg$currPos, 2) === peg$c25) {
2436
- s1 = peg$c25;
2464
+ if (input.substr(peg$currPos, 2) === peg$c26) {
2465
+ s1 = peg$c26;
2437
2466
  peg$currPos += 2;
2438
2467
  } else {
2439
2468
  s1 = peg$FAILED;
2440
- if (peg$silentFails === 0) { peg$fail(peg$e33); }
2469
+ if (peg$silentFails === 0) { peg$fail(peg$e34); }
2441
2470
  }
2442
2471
  if (s1 !== peg$FAILED) {
2443
2472
  peg$savedPos = s0;
@@ -2446,12 +2475,12 @@ function peg$parse(input, options) {
2446
2475
  s0 = s1;
2447
2476
  if (s0 === peg$FAILED) {
2448
2477
  s0 = peg$currPos;
2449
- if (input.substr(peg$currPos, 2) === peg$c26) {
2450
- s1 = peg$c26;
2478
+ if (input.substr(peg$currPos, 2) === peg$c27) {
2479
+ s1 = peg$c27;
2451
2480
  peg$currPos += 2;
2452
2481
  } else {
2453
2482
  s1 = peg$FAILED;
2454
- if (peg$silentFails === 0) { peg$fail(peg$e34); }
2483
+ if (peg$silentFails === 0) { peg$fail(peg$e35); }
2455
2484
  }
2456
2485
  if (s1 !== peg$FAILED) {
2457
2486
  peg$savedPos = s0;
@@ -2460,12 +2489,12 @@ function peg$parse(input, options) {
2460
2489
  s0 = s1;
2461
2490
  if (s0 === peg$FAILED) {
2462
2491
  s0 = peg$currPos;
2463
- if (input.substr(peg$currPos, 2) === peg$c27) {
2464
- s1 = peg$c27;
2492
+ if (input.substr(peg$currPos, 2) === peg$c28) {
2493
+ s1 = peg$c28;
2465
2494
  peg$currPos += 2;
2466
2495
  } else {
2467
2496
  s1 = peg$FAILED;
2468
- if (peg$silentFails === 0) { peg$fail(peg$e35); }
2497
+ if (peg$silentFails === 0) { peg$fail(peg$e36); }
2469
2498
  }
2470
2499
  if (s1 !== peg$FAILED) {
2471
2500
  peg$savedPos = s0;
@@ -2474,12 +2503,12 @@ function peg$parse(input, options) {
2474
2503
  s0 = s1;
2475
2504
  if (s0 === peg$FAILED) {
2476
2505
  s0 = peg$currPos;
2477
- if (input.substr(peg$currPos, 2) === peg$c28) {
2478
- s1 = peg$c28;
2506
+ if (input.substr(peg$currPos, 2) === peg$c29) {
2507
+ s1 = peg$c29;
2479
2508
  peg$currPos += 2;
2480
2509
  } else {
2481
2510
  s1 = peg$FAILED;
2482
- if (peg$silentFails === 0) { peg$fail(peg$e36); }
2511
+ if (peg$silentFails === 0) { peg$fail(peg$e37); }
2483
2512
  }
2484
2513
  if (s1 !== peg$FAILED) {
2485
2514
  peg$savedPos = s0;
@@ -2488,12 +2517,12 @@ function peg$parse(input, options) {
2488
2517
  s0 = s1;
2489
2518
  if (s0 === peg$FAILED) {
2490
2519
  s0 = peg$currPos;
2491
- if (input.substr(peg$currPos, 2) === peg$c29) {
2492
- s1 = peg$c29;
2520
+ if (input.substr(peg$currPos, 2) === peg$c30) {
2521
+ s1 = peg$c30;
2493
2522
  peg$currPos += 2;
2494
2523
  } else {
2495
2524
  s1 = peg$FAILED;
2496
- if (peg$silentFails === 0) { peg$fail(peg$e37); }
2525
+ if (peg$silentFails === 0) { peg$fail(peg$e38); }
2497
2526
  }
2498
2527
  if (s1 !== peg$FAILED) {
2499
2528
  peg$savedPos = s0;
@@ -2502,12 +2531,12 @@ function peg$parse(input, options) {
2502
2531
  s0 = s1;
2503
2532
  if (s0 === peg$FAILED) {
2504
2533
  s0 = peg$currPos;
2505
- if (input.substr(peg$currPos, 2) === peg$c30) {
2506
- s1 = peg$c30;
2534
+ if (input.substr(peg$currPos, 2) === peg$c31) {
2535
+ s1 = peg$c31;
2507
2536
  peg$currPos += 2;
2508
2537
  } else {
2509
2538
  s1 = peg$FAILED;
2510
- if (peg$silentFails === 0) { peg$fail(peg$e38); }
2539
+ if (peg$silentFails === 0) { peg$fail(peg$e39); }
2511
2540
  }
2512
2541
  if (s1 !== peg$FAILED) {
2513
2542
  peg$savedPos = s0;
@@ -2516,12 +2545,12 @@ function peg$parse(input, options) {
2516
2545
  s0 = s1;
2517
2546
  if (s0 === peg$FAILED) {
2518
2547
  s0 = peg$currPos;
2519
- if (input.substr(peg$currPos, 2) === peg$c31) {
2520
- s1 = peg$c31;
2548
+ if (input.substr(peg$currPos, 2) === peg$c32) {
2549
+ s1 = peg$c32;
2521
2550
  peg$currPos += 2;
2522
2551
  } else {
2523
2552
  s1 = peg$FAILED;
2524
- if (peg$silentFails === 0) { peg$fail(peg$e39); }
2553
+ if (peg$silentFails === 0) { peg$fail(peg$e40); }
2525
2554
  }
2526
2555
  if (s1 !== peg$FAILED) {
2527
2556
  peg$savedPos = s0;
@@ -2531,11 +2560,11 @@ function peg$parse(input, options) {
2531
2560
  if (s0 === peg$FAILED) {
2532
2561
  s0 = peg$currPos;
2533
2562
  if (input.charCodeAt(peg$currPos) === 92) {
2534
- s1 = peg$c32;
2563
+ s1 = peg$c33;
2535
2564
  peg$currPos++;
2536
2565
  } else {
2537
2566
  s1 = peg$FAILED;
2538
- if (peg$silentFails === 0) { peg$fail(peg$e40); }
2567
+ if (peg$silentFails === 0) { peg$fail(peg$e41); }
2539
2568
  }
2540
2569
  if (s1 !== peg$FAILED) {
2541
2570
  if (input.length > peg$currPos) {
@@ -2543,7 +2572,7 @@ function peg$parse(input, options) {
2543
2572
  peg$currPos++;
2544
2573
  } else {
2545
2574
  s2 = peg$FAILED;
2546
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2575
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2547
2576
  }
2548
2577
  if (s2 !== peg$FAILED) {
2549
2578
  s0 = s2;
@@ -2565,7 +2594,7 @@ function peg$parse(input, options) {
2565
2594
  peg$silentFails--;
2566
2595
  if (s0 === peg$FAILED) {
2567
2596
  s1 = peg$FAILED;
2568
- if (peg$silentFails === 0) { peg$fail(peg$e32); }
2597
+ if (peg$silentFails === 0) { peg$fail(peg$e33); }
2569
2598
  }
2570
2599
 
2571
2600
  return s0;
@@ -2575,11 +2604,11 @@ function peg$parse(input, options) {
2575
2604
  let s0, s1;
2576
2605
 
2577
2606
  if (input.charCodeAt(peg$currPos) === 96) {
2578
- s0 = peg$c33;
2607
+ s0 = peg$c34;
2579
2608
  peg$currPos++;
2580
2609
  } else {
2581
2610
  s0 = peg$FAILED;
2582
- if (peg$silentFails === 0) { peg$fail(peg$e42); }
2611
+ if (peg$silentFails === 0) { peg$fail(peg$e43); }
2583
2612
  }
2584
2613
  if (s0 === peg$FAILED) {
2585
2614
  s0 = peg$currPos;
@@ -2588,7 +2617,7 @@ function peg$parse(input, options) {
2588
2617
  peg$currPos++;
2589
2618
  } else {
2590
2619
  s1 = peg$FAILED;
2591
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2620
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2592
2621
  }
2593
2622
  if (s1 === peg$FAILED) {
2594
2623
  s1 = null;
@@ -2605,11 +2634,11 @@ function peg$parse(input, options) {
2605
2634
  let s0, s1;
2606
2635
 
2607
2636
  if (input.charCodeAt(peg$currPos) === 125) {
2608
- s0 = peg$c34;
2637
+ s0 = peg$c35;
2609
2638
  peg$currPos++;
2610
2639
  } else {
2611
2640
  s0 = peg$FAILED;
2612
- if (peg$silentFails === 0) { peg$fail(peg$e43); }
2641
+ if (peg$silentFails === 0) { peg$fail(peg$e44); }
2613
2642
  }
2614
2643
  if (s0 === peg$FAILED) {
2615
2644
  s0 = peg$currPos;
@@ -2618,7 +2647,7 @@ function peg$parse(input, options) {
2618
2647
  peg$currPos++;
2619
2648
  } else {
2620
2649
  s1 = peg$FAILED;
2621
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2650
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2622
2651
  }
2623
2652
  if (s1 === peg$FAILED) {
2624
2653
  s1 = null;
@@ -2648,7 +2677,7 @@ function peg$parse(input, options) {
2648
2677
  peg$currPos++;
2649
2678
  } else {
2650
2679
  s1 = peg$FAILED;
2651
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2680
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2652
2681
  }
2653
2682
  if (s1 === peg$FAILED) {
2654
2683
  s1 = null;
@@ -2665,11 +2694,11 @@ function peg$parse(input, options) {
2665
2694
  let s0, s1;
2666
2695
 
2667
2696
  if (input.charCodeAt(peg$currPos) === 41) {
2668
- s0 = peg$c9;
2697
+ s0 = peg$c10;
2669
2698
  peg$currPos++;
2670
2699
  } else {
2671
2700
  s0 = peg$FAILED;
2672
- if (peg$silentFails === 0) { peg$fail(peg$e12); }
2701
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
2673
2702
  }
2674
2703
  if (s0 === peg$FAILED) {
2675
2704
  s0 = peg$currPos;
@@ -2678,7 +2707,7 @@ function peg$parse(input, options) {
2678
2707
  peg$currPos++;
2679
2708
  } else {
2680
2709
  s1 = peg$FAILED;
2681
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2710
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2682
2711
  }
2683
2712
  if (s1 === peg$FAILED) {
2684
2713
  s1 = null;
@@ -2695,11 +2724,11 @@ function peg$parse(input, options) {
2695
2724
  let s0, s1;
2696
2725
 
2697
2726
  if (input.charCodeAt(peg$currPos) === 34) {
2698
- s0 = peg$c18;
2727
+ s0 = peg$c19;
2699
2728
  peg$currPos++;
2700
2729
  } else {
2701
2730
  s0 = peg$FAILED;
2702
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2731
+ if (peg$silentFails === 0) { peg$fail(peg$e26); }
2703
2732
  }
2704
2733
  if (s0 === peg$FAILED) {
2705
2734
  s0 = peg$currPos;
@@ -2708,7 +2737,7 @@ function peg$parse(input, options) {
2708
2737
  peg$currPos++;
2709
2738
  } else {
2710
2739
  s1 = peg$FAILED;
2711
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2740
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2712
2741
  }
2713
2742
  if (s1 === peg$FAILED) {
2714
2743
  s1 = null;
@@ -2732,7 +2761,7 @@ function peg$parse(input, options) {
2732
2761
  peg$currPos++;
2733
2762
  } else {
2734
2763
  s1 = peg$FAILED;
2735
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2764
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2736
2765
  }
2737
2766
  if (s1 === peg$FAILED) {
2738
2767
  s1 = null;
@@ -2756,7 +2785,7 @@ function peg$parse(input, options) {
2756
2785
  peg$currPos++;
2757
2786
  } else {
2758
2787
  s1 = peg$FAILED;
2759
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2788
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2760
2789
  }
2761
2790
  if (s1 === peg$FAILED) {
2762
2791
  s1 = null;
@@ -2773,11 +2802,11 @@ function peg$parse(input, options) {
2773
2802
  let s0, s1;
2774
2803
 
2775
2804
  if (input.charCodeAt(peg$currPos) === 187) {
2776
- s0 = peg$c35;
2805
+ s0 = peg$c36;
2777
2806
  peg$currPos++;
2778
2807
  } else {
2779
2808
  s0 = peg$FAILED;
2780
- if (peg$silentFails === 0) { peg$fail(peg$e44); }
2809
+ if (peg$silentFails === 0) { peg$fail(peg$e45); }
2781
2810
  }
2782
2811
  if (s0 === peg$FAILED) {
2783
2812
  s0 = peg$currPos;
@@ -2786,7 +2815,7 @@ function peg$parse(input, options) {
2786
2815
  peg$currPos++;
2787
2816
  } else {
2788
2817
  s1 = peg$FAILED;
2789
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2818
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2790
2819
  }
2791
2820
  if (s1 === peg$FAILED) {
2792
2821
  s1 = null;
@@ -2803,11 +2832,11 @@ function peg$parse(input, options) {
2803
2832
  let s0, s1;
2804
2833
 
2805
2834
  if (input.charCodeAt(peg$currPos) === 39) {
2806
- s0 = peg$c36;
2835
+ s0 = peg$c37;
2807
2836
  peg$currPos++;
2808
2837
  } else {
2809
2838
  s0 = peg$FAILED;
2810
- if (peg$silentFails === 0) { peg$fail(peg$e45); }
2839
+ if (peg$silentFails === 0) { peg$fail(peg$e46); }
2811
2840
  }
2812
2841
  if (s0 === peg$FAILED) {
2813
2842
  s0 = peg$currPos;
@@ -2816,7 +2845,7 @@ function peg$parse(input, options) {
2816
2845
  peg$currPos++;
2817
2846
  } else {
2818
2847
  s1 = peg$FAILED;
2819
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2848
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2820
2849
  }
2821
2850
  if (s1 === peg$FAILED) {
2822
2851
  s1 = null;
@@ -2840,7 +2869,7 @@ function peg$parse(input, options) {
2840
2869
  peg$currPos++;
2841
2870
  } else {
2842
2871
  s1 = peg$FAILED;
2843
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2872
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2844
2873
  }
2845
2874
  if (s1 === peg$FAILED) {
2846
2875
  s1 = null;
@@ -2864,7 +2893,7 @@ function peg$parse(input, options) {
2864
2893
  peg$currPos++;
2865
2894
  } else {
2866
2895
  s1 = peg$FAILED;
2867
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2896
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
2868
2897
  }
2869
2898
  if (s1 === peg$FAILED) {
2870
2899
  s1 = null;
@@ -2886,12 +2915,12 @@ function peg$parse(input, options) {
2886
2915
  s2 = peg$currPos;
2887
2916
  s3 = peg$parsewhitespace();
2888
2917
  if (s3 !== peg$FAILED) {
2889
- if (input.substr(peg$currPos, 2) === peg$c37) {
2890
- s4 = peg$c37;
2918
+ if (input.substr(peg$currPos, 2) === peg$c38) {
2919
+ s4 = peg$c38;
2891
2920
  peg$currPos += 2;
2892
2921
  } else {
2893
2922
  s4 = peg$FAILED;
2894
- if (peg$silentFails === 0) { peg$fail(peg$e46); }
2923
+ if (peg$silentFails === 0) { peg$fail(peg$e47); }
2895
2924
  }
2896
2925
  if (s4 !== peg$FAILED) {
2897
2926
  s5 = peg$parsewhitespace();
@@ -2955,11 +2984,11 @@ function peg$parse(input, options) {
2955
2984
  s1 = null;
2956
2985
  }
2957
2986
  if (input.charCodeAt(peg$currPos) === 46) {
2958
- s2 = peg$c38;
2987
+ s2 = peg$c39;
2959
2988
  peg$currPos++;
2960
2989
  } else {
2961
2990
  s2 = peg$FAILED;
2962
- if (peg$silentFails === 0) { peg$fail(peg$e48); }
2991
+ if (peg$silentFails === 0) { peg$fail(peg$e49); }
2963
2992
  }
2964
2993
  if (s2 !== peg$FAILED) {
2965
2994
  s3 = peg$parsedigits();
@@ -2977,7 +3006,7 @@ function peg$parse(input, options) {
2977
3006
  peg$silentFails--;
2978
3007
  if (s0 === peg$FAILED) {
2979
3008
  s1 = peg$FAILED;
2980
- if (peg$silentFails === 0) { peg$fail(peg$e47); }
3009
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
2981
3010
  }
2982
3011
 
2983
3012
  return s0;
@@ -2986,12 +3015,12 @@ function peg$parse(input, options) {
2986
3015
  function peg$parsefrontDelimiter() {
2987
3016
  let s0;
2988
3017
 
2989
- if (input.substr(peg$currPos, 4) === peg$c39) {
2990
- s0 = peg$c39;
3018
+ if (input.substr(peg$currPos, 4) === peg$c40) {
3019
+ s0 = peg$c40;
2991
3020
  peg$currPos += 4;
2992
3021
  } else {
2993
3022
  s0 = peg$FAILED;
2994
- if (peg$silentFails === 0) { peg$fail(peg$e49); }
3023
+ if (peg$silentFails === 0) { peg$fail(peg$e50); }
2995
3024
  }
2996
3025
 
2997
3026
  return s0;
@@ -3058,7 +3087,7 @@ function peg$parse(input, options) {
3058
3087
  peg$currPos++;
3059
3088
  } else {
3060
3089
  s4 = peg$FAILED;
3061
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3090
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3062
3091
  }
3063
3092
  if (s4 !== peg$FAILED) {
3064
3093
  s2 = s4;
@@ -3089,7 +3118,7 @@ function peg$parse(input, options) {
3089
3118
  peg$currPos++;
3090
3119
  } else {
3091
3120
  s4 = peg$FAILED;
3092
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3121
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3093
3122
  }
3094
3123
  if (s4 !== peg$FAILED) {
3095
3124
  s2 = s4;
@@ -3132,7 +3161,7 @@ function peg$parse(input, options) {
3132
3161
  peg$silentFails--;
3133
3162
  if (s0 === peg$FAILED) {
3134
3163
  s1 = peg$FAILED;
3135
- if (peg$silentFails === 0) { peg$fail(peg$e50); }
3164
+ if (peg$silentFails === 0) { peg$fail(peg$e51); }
3136
3165
  }
3137
3166
 
3138
3167
  return s0;
@@ -3144,11 +3173,11 @@ function peg$parse(input, options) {
3144
3173
  peg$silentFails++;
3145
3174
  s0 = peg$currPos;
3146
3175
  if (input.charCodeAt(peg$currPos) === 40) {
3147
- s1 = peg$c8;
3176
+ s1 = peg$c9;
3148
3177
  peg$currPos++;
3149
3178
  } else {
3150
3179
  s1 = peg$FAILED;
3151
- if (peg$silentFails === 0) { peg$fail(peg$e11); }
3180
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
3152
3181
  }
3153
3182
  if (s1 !== peg$FAILED) {
3154
3183
  s2 = peg$parseexpectExpression();
@@ -3172,7 +3201,7 @@ function peg$parse(input, options) {
3172
3201
  peg$silentFails--;
3173
3202
  if (s0 === peg$FAILED) {
3174
3203
  s1 = peg$FAILED;
3175
- if (peg$silentFails === 0) { peg$fail(peg$e51); }
3204
+ if (peg$silentFails === 0) { peg$fail(peg$e52); }
3176
3205
  }
3177
3206
 
3178
3207
  return s0;
@@ -3184,11 +3213,11 @@ function peg$parse(input, options) {
3184
3213
  peg$silentFails++;
3185
3214
  s0 = peg$currPos;
3186
3215
  if (input.charCodeAt(peg$currPos) === 171) {
3187
- s1 = peg$c40;
3216
+ s1 = peg$c41;
3188
3217
  peg$currPos++;
3189
3218
  } else {
3190
3219
  s1 = peg$FAILED;
3191
- if (peg$silentFails === 0) { peg$fail(peg$e53); }
3220
+ if (peg$silentFails === 0) { peg$fail(peg$e54); }
3192
3221
  }
3193
3222
  if (s1 !== peg$FAILED) {
3194
3223
  s2 = [];
@@ -3212,7 +3241,7 @@ function peg$parse(input, options) {
3212
3241
  peg$silentFails--;
3213
3242
  if (s0 === peg$FAILED) {
3214
3243
  s1 = peg$FAILED;
3215
- if (peg$silentFails === 0) { peg$fail(peg$e52); }
3244
+ if (peg$silentFails === 0) { peg$fail(peg$e53); }
3216
3245
  }
3217
3246
 
3218
3247
  return s0;
@@ -3225,11 +3254,11 @@ function peg$parse(input, options) {
3225
3254
  s1 = peg$currPos;
3226
3255
  peg$silentFails++;
3227
3256
  if (input.charCodeAt(peg$currPos) === 187) {
3228
- s2 = peg$c35;
3257
+ s2 = peg$c36;
3229
3258
  peg$currPos++;
3230
3259
  } else {
3231
3260
  s2 = peg$FAILED;
3232
- if (peg$silentFails === 0) { peg$fail(peg$e44); }
3261
+ if (peg$silentFails === 0) { peg$fail(peg$e45); }
3233
3262
  }
3234
3263
  if (s2 === peg$FAILED) {
3235
3264
  s2 = peg$parsenewLine();
@@ -3266,11 +3295,11 @@ function peg$parse(input, options) {
3266
3295
  if (s1 !== peg$FAILED) {
3267
3296
  s2 = peg$currPos;
3268
3297
  if (input.charCodeAt(peg$currPos) === 58) {
3269
- s3 = peg$c15;
3298
+ s3 = peg$c16;
3270
3299
  peg$currPos++;
3271
3300
  } else {
3272
3301
  s3 = peg$FAILED;
3273
- if (peg$silentFails === 0) { peg$fail(peg$e20); }
3302
+ if (peg$silentFails === 0) { peg$fail(peg$e21); }
3274
3303
  }
3275
3304
  if (s3 !== peg$FAILED) {
3276
3305
  s4 = peg$parseintegerLiteral();
@@ -3300,7 +3329,7 @@ function peg$parse(input, options) {
3300
3329
  peg$silentFails--;
3301
3330
  if (s0 === peg$FAILED) {
3302
3331
  s1 = peg$FAILED;
3303
- if (peg$silentFails === 0) { peg$fail(peg$e54); }
3332
+ if (peg$silentFails === 0) { peg$fail(peg$e55); }
3304
3333
  }
3305
3334
 
3306
3335
  return s0;
@@ -3378,7 +3407,7 @@ function peg$parse(input, options) {
3378
3407
  peg$currPos++;
3379
3408
  } else {
3380
3409
  s1 = peg$FAILED;
3381
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3410
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3382
3411
  }
3383
3412
  if (s1 !== peg$FAILED) {
3384
3413
  peg$savedPos = peg$currPos;
@@ -3402,7 +3431,7 @@ function peg$parse(input, options) {
3402
3431
  peg$silentFails--;
3403
3432
  if (s0 === peg$FAILED) {
3404
3433
  s1 = peg$FAILED;
3405
- if (peg$silentFails === 0) { peg$fail(peg$e55); }
3434
+ if (peg$silentFails === 0) { peg$fail(peg$e56); }
3406
3435
  }
3407
3436
 
3408
3437
  return s0;
@@ -3418,7 +3447,7 @@ function peg$parse(input, options) {
3418
3447
  peg$currPos++;
3419
3448
  } else {
3420
3449
  s1 = peg$FAILED;
3421
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3450
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3422
3451
  }
3423
3452
  if (s1 !== peg$FAILED) {
3424
3453
  peg$savedPos = peg$currPos;
@@ -3442,7 +3471,7 @@ function peg$parse(input, options) {
3442
3471
  peg$silentFails--;
3443
3472
  if (s0 === peg$FAILED) {
3444
3473
  s1 = peg$FAILED;
3445
- if (peg$silentFails === 0) { peg$fail(peg$e56); }
3474
+ if (peg$silentFails === 0) { peg$fail(peg$e57); }
3446
3475
  }
3447
3476
 
3448
3477
  return s0;
@@ -3490,7 +3519,7 @@ function peg$parse(input, options) {
3490
3519
  peg$silentFails--;
3491
3520
  if (s0 === peg$FAILED) {
3492
3521
  s1 = peg$FAILED;
3493
- if (peg$silentFails === 0) { peg$fail(peg$e57); }
3522
+ if (peg$silentFails === 0) { peg$fail(peg$e58); }
3494
3523
  }
3495
3524
 
3496
3525
  return s0;
@@ -3554,7 +3583,7 @@ function peg$parse(input, options) {
3554
3583
  peg$currPos++;
3555
3584
  } else {
3556
3585
  s0 = peg$FAILED;
3557
- if (peg$silentFails === 0) { peg$fail(peg$e58); }
3586
+ if (peg$silentFails === 0) { peg$fail(peg$e59); }
3558
3587
  }
3559
3588
 
3560
3589
  return s0;
@@ -3574,7 +3603,7 @@ function peg$parse(input, options) {
3574
3603
  peg$silentFails--;
3575
3604
  if (s0 === peg$FAILED) {
3576
3605
  s1 = peg$FAILED;
3577
- if (peg$silentFails === 0) { peg$fail(peg$e59); }
3606
+ if (peg$silentFails === 0) { peg$fail(peg$e60); }
3578
3607
  }
3579
3608
 
3580
3609
  return s0;
@@ -3612,19 +3641,10 @@ function peg$parse(input, options) {
3612
3641
  peg$currPos++;
3613
3642
  } else {
3614
3643
  s0 = peg$FAILED;
3615
- if (peg$silentFails === 0) { peg$fail(peg$e60); }
3644
+ if (peg$silentFails === 0) { peg$fail(peg$e61); }
3616
3645
  }
3617
3646
  if (s0 === peg$FAILED) {
3618
3647
  s0 = peg$parseminus();
3619
- if (s0 === peg$FAILED) {
3620
- s0 = input.charAt(peg$currPos);
3621
- if (peg$r4.test(s0)) {
3622
- peg$currPos++;
3623
- } else {
3624
- s0 = peg$FAILED;
3625
- if (peg$silentFails === 0) { peg$fail(peg$e61); }
3626
- }
3627
- }
3628
3648
  }
3629
3649
  }
3630
3650
 
@@ -3640,7 +3660,7 @@ function peg$parse(input, options) {
3640
3660
  peg$currPos++;
3641
3661
  } else {
3642
3662
  s1 = peg$FAILED;
3643
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3663
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3644
3664
  }
3645
3665
  if (s1 !== peg$FAILED) {
3646
3666
  peg$savedPos = peg$currPos;
@@ -3663,7 +3683,7 @@ function peg$parse(input, options) {
3663
3683
  }
3664
3684
  if (s0 === peg$FAILED) {
3665
3685
  s0 = input.charAt(peg$currPos);
3666
- if (peg$r5.test(s0)) {
3686
+ if (peg$r4.test(s0)) {
3667
3687
  peg$currPos++;
3668
3688
  } else {
3669
3689
  s0 = peg$FAILED;
@@ -3733,8 +3753,8 @@ function peg$parse(input, options) {
3733
3753
  s2 = [];
3734
3754
  s3 = peg$currPos;
3735
3755
  s4 = peg$parse__();
3736
- if (input.substr(peg$currPos, 2) === peg$c41) {
3737
- s5 = peg$c41;
3756
+ if (input.substr(peg$currPos, 2) === peg$c42) {
3757
+ s5 = peg$c42;
3738
3758
  peg$currPos += 2;
3739
3759
  } else {
3740
3760
  s5 = peg$FAILED;
@@ -3757,8 +3777,8 @@ function peg$parse(input, options) {
3757
3777
  s2.push(s3);
3758
3778
  s3 = peg$currPos;
3759
3779
  s4 = peg$parse__();
3760
- if (input.substr(peg$currPos, 2) === peg$c41) {
3761
- s5 = peg$c41;
3780
+ if (input.substr(peg$currPos, 2) === peg$c42) {
3781
+ s5 = peg$c42;
3762
3782
  peg$currPos += 2;
3763
3783
  } else {
3764
3784
  s5 = peg$FAILED;
@@ -3797,8 +3817,8 @@ function peg$parse(input, options) {
3797
3817
  s2 = [];
3798
3818
  s3 = peg$currPos;
3799
3819
  s4 = peg$parse__();
3800
- if (input.substr(peg$currPos, 2) === peg$c42) {
3801
- s5 = peg$c42;
3820
+ if (input.substr(peg$currPos, 2) === peg$c43) {
3821
+ s5 = peg$c43;
3802
3822
  peg$currPos += 2;
3803
3823
  } else {
3804
3824
  s5 = peg$FAILED;
@@ -3821,8 +3841,8 @@ function peg$parse(input, options) {
3821
3841
  s2.push(s3);
3822
3842
  s3 = peg$currPos;
3823
3843
  s4 = peg$parse__();
3824
- if (input.substr(peg$currPos, 2) === peg$c42) {
3825
- s5 = peg$c42;
3844
+ if (input.substr(peg$currPos, 2) === peg$c43) {
3845
+ s5 = peg$c43;
3826
3846
  peg$currPos += 2;
3827
3847
  } else {
3828
3848
  s5 = peg$FAILED;
@@ -3857,7 +3877,7 @@ function peg$parse(input, options) {
3857
3877
 
3858
3878
  s0 = peg$currPos;
3859
3879
  if (input.charCodeAt(peg$currPos) === 45) {
3860
- s1 = peg$c43;
3880
+ s1 = peg$c44;
3861
3881
  peg$currPos++;
3862
3882
  } else {
3863
3883
  s1 = peg$FAILED;
@@ -3866,8 +3886,8 @@ function peg$parse(input, options) {
3866
3886
  if (s1 !== peg$FAILED) {
3867
3887
  s2 = peg$currPos;
3868
3888
  peg$silentFails++;
3869
- if (input.substr(peg$currPos, 2) === peg$c44) {
3870
- s3 = peg$c44;
3889
+ if (input.substr(peg$currPos, 2) === peg$c45) {
3890
+ s3 = peg$c45;
3871
3891
  peg$currPos += 2;
3872
3892
  } else {
3873
3893
  s3 = peg$FAILED;
@@ -3919,8 +3939,8 @@ function peg$parse(input, options) {
3919
3939
  let s0, s1, s2, s3, s4, s5;
3920
3940
 
3921
3941
  s0 = peg$currPos;
3922
- if (input.substr(peg$currPos, 2) === peg$c45) {
3923
- s1 = peg$c45;
3942
+ if (input.substr(peg$currPos, 2) === peg$c46) {
3943
+ s1 = peg$c46;
3924
3944
  peg$currPos += 2;
3925
3945
  } else {
3926
3946
  s1 = peg$FAILED;
@@ -3931,8 +3951,8 @@ function peg$parse(input, options) {
3931
3951
  s3 = peg$currPos;
3932
3952
  s4 = peg$currPos;
3933
3953
  peg$silentFails++;
3934
- if (input.substr(peg$currPos, 2) === peg$c46) {
3935
- s5 = peg$c46;
3954
+ if (input.substr(peg$currPos, 2) === peg$c47) {
3955
+ s5 = peg$c47;
3936
3956
  peg$currPos += 2;
3937
3957
  } else {
3938
3958
  s5 = peg$FAILED;
@@ -3951,7 +3971,7 @@ function peg$parse(input, options) {
3951
3971
  peg$currPos++;
3952
3972
  } else {
3953
3973
  s5 = peg$FAILED;
3954
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
3974
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3955
3975
  }
3956
3976
  if (s5 !== peg$FAILED) {
3957
3977
  s4 = [s4, s5];
@@ -3969,8 +3989,8 @@ function peg$parse(input, options) {
3969
3989
  s3 = peg$currPos;
3970
3990
  s4 = peg$currPos;
3971
3991
  peg$silentFails++;
3972
- if (input.substr(peg$currPos, 2) === peg$c46) {
3973
- s5 = peg$c46;
3992
+ if (input.substr(peg$currPos, 2) === peg$c47) {
3993
+ s5 = peg$c47;
3974
3994
  peg$currPos += 2;
3975
3995
  } else {
3976
3996
  s5 = peg$FAILED;
@@ -3989,7 +4009,7 @@ function peg$parse(input, options) {
3989
4009
  peg$currPos++;
3990
4010
  } else {
3991
4011
  s5 = peg$FAILED;
3992
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
4012
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
3993
4013
  }
3994
4014
  if (s5 !== peg$FAILED) {
3995
4015
  s4 = [s4, s5];
@@ -4003,8 +4023,8 @@ function peg$parse(input, options) {
4003
4023
  s3 = peg$FAILED;
4004
4024
  }
4005
4025
  }
4006
- if (input.substr(peg$currPos, 2) === peg$c46) {
4007
- s3 = peg$c46;
4026
+ if (input.substr(peg$currPos, 2) === peg$c47) {
4027
+ s3 = peg$c47;
4008
4028
  peg$currPos += 2;
4009
4029
  } else {
4010
4030
  s3 = peg$FAILED;
@@ -4101,7 +4121,7 @@ function peg$parse(input, options) {
4101
4121
  let s0;
4102
4122
 
4103
4123
  s0 = input.charAt(peg$currPos);
4104
- if (peg$r6.test(s0)) {
4124
+ if (peg$r5.test(s0)) {
4105
4125
  peg$currPos++;
4106
4126
  } else {
4107
4127
  s0 = peg$FAILED;
@@ -4115,8 +4135,8 @@ function peg$parse(input, options) {
4115
4135
  let s0, s1, s2, s3, s4;
4116
4136
 
4117
4137
  s0 = peg$currPos;
4118
- if (input.substr(peg$currPos, 3) === peg$c47) {
4119
- s1 = peg$c47;
4138
+ if (input.substr(peg$currPos, 3) === peg$c48) {
4139
+ s1 = peg$c48;
4120
4140
  peg$currPos += 3;
4121
4141
  } else {
4122
4142
  s1 = peg$FAILED;
@@ -4142,8 +4162,8 @@ function peg$parse(input, options) {
4142
4162
  }
4143
4163
  if (s0 === peg$FAILED) {
4144
4164
  s0 = peg$currPos;
4145
- if (input.substr(peg$currPos, 4) === peg$c48) {
4146
- s1 = peg$c48;
4165
+ if (input.substr(peg$currPos, 4) === peg$c49) {
4166
+ s1 = peg$c49;
4147
4167
  peg$currPos += 4;
4148
4168
  } else {
4149
4169
  s1 = peg$FAILED;
@@ -4177,15 +4197,15 @@ function peg$parse(input, options) {
4177
4197
  let s0;
4178
4198
 
4179
4199
  if (input.charCodeAt(peg$currPos) === 10) {
4180
- s0 = peg$c49;
4200
+ s0 = peg$c50;
4181
4201
  peg$currPos++;
4182
4202
  } else {
4183
4203
  s0 = peg$FAILED;
4184
4204
  if (peg$silentFails === 0) { peg$fail(peg$e73); }
4185
4205
  }
4186
4206
  if (s0 === peg$FAILED) {
4187
- if (input.substr(peg$currPos, 2) === peg$c50) {
4188
- s0 = peg$c50;
4207
+ if (input.substr(peg$currPos, 2) === peg$c51) {
4208
+ s0 = peg$c51;
4189
4209
  peg$currPos += 2;
4190
4210
  } else {
4191
4211
  s0 = peg$FAILED;
@@ -4193,7 +4213,7 @@ function peg$parse(input, options) {
4193
4213
  }
4194
4214
  if (s0 === peg$FAILED) {
4195
4215
  if (input.charCodeAt(peg$currPos) === 13) {
4196
- s0 = peg$c51;
4216
+ s0 = peg$c52;
4197
4217
  peg$currPos++;
4198
4218
  } else {
4199
4219
  s0 = peg$FAILED;
@@ -4231,8 +4251,8 @@ function peg$parse(input, options) {
4231
4251
  s2 = [];
4232
4252
  s3 = peg$currPos;
4233
4253
  s4 = peg$parse__();
4234
- if (input.substr(peg$currPos, 2) === peg$c52) {
4235
- s5 = peg$c52;
4254
+ if (input.substr(peg$currPos, 2) === peg$c53) {
4255
+ s5 = peg$c53;
4236
4256
  peg$currPos += 2;
4237
4257
  } else {
4238
4258
  s5 = peg$FAILED;
@@ -4255,8 +4275,8 @@ function peg$parse(input, options) {
4255
4275
  s2.push(s3);
4256
4276
  s3 = peg$currPos;
4257
4277
  s4 = peg$parse__();
4258
- if (input.substr(peg$currPos, 2) === peg$c52) {
4259
- s5 = peg$c52;
4278
+ if (input.substr(peg$currPos, 2) === peg$c53) {
4279
+ s5 = peg$c53;
4260
4280
  peg$currPos += 2;
4261
4281
  } else {
4262
4282
  s5 = peg$FAILED;
@@ -4292,7 +4312,7 @@ function peg$parse(input, options) {
4292
4312
  peg$silentFails++;
4293
4313
  s0 = peg$currPos;
4294
4314
  if (input.charCodeAt(peg$currPos) === 123) {
4295
- s1 = peg$c53;
4315
+ s1 = peg$c54;
4296
4316
  peg$currPos++;
4297
4317
  } else {
4298
4318
  s1 = peg$FAILED;
@@ -4396,7 +4416,7 @@ function peg$parse(input, options) {
4396
4416
  if (s1 !== peg$FAILED) {
4397
4417
  s2 = peg$parse__();
4398
4418
  if (input.charCodeAt(peg$currPos) === 61) {
4399
- s3 = peg$c54;
4419
+ s3 = peg$c55;
4400
4420
  peg$currPos++;
4401
4421
  } else {
4402
4422
  s3 = peg$FAILED;
@@ -4435,21 +4455,21 @@ function peg$parse(input, options) {
4435
4455
  s0 = peg$currPos;
4436
4456
  s1 = peg$currPos;
4437
4457
  if (input.charCodeAt(peg$currPos) === 40) {
4438
- s2 = peg$c8;
4458
+ s2 = peg$c9;
4439
4459
  peg$currPos++;
4440
4460
  } else {
4441
4461
  s2 = peg$FAILED;
4442
- if (peg$silentFails === 0) { peg$fail(peg$e11); }
4462
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
4443
4463
  }
4444
4464
  if (s2 !== peg$FAILED) {
4445
4465
  s3 = peg$parseobjectPublicKey();
4446
4466
  if (s3 !== peg$FAILED) {
4447
4467
  if (input.charCodeAt(peg$currPos) === 41) {
4448
- s4 = peg$c9;
4468
+ s4 = peg$c10;
4449
4469
  peg$currPos++;
4450
4470
  } else {
4451
4471
  s4 = peg$FAILED;
4452
- if (peg$silentFails === 0) { peg$fail(peg$e12); }
4472
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
4453
4473
  }
4454
4474
  if (s4 !== peg$FAILED) {
4455
4475
  s2 = [s2, s3, s4];
@@ -4501,11 +4521,11 @@ function peg$parse(input, options) {
4501
4521
  if (s1 !== peg$FAILED) {
4502
4522
  s2 = peg$parse__();
4503
4523
  if (input.charCodeAt(peg$currPos) === 58) {
4504
- s3 = peg$c15;
4524
+ s3 = peg$c16;
4505
4525
  peg$currPos++;
4506
4526
  } else {
4507
4527
  s3 = peg$FAILED;
4508
- if (peg$silentFails === 0) { peg$fail(peg$e20); }
4528
+ if (peg$silentFails === 0) { peg$fail(peg$e21); }
4509
4529
  }
4510
4530
  if (s3 !== peg$FAILED) {
4511
4531
  s4 = peg$parse__();
@@ -4539,7 +4559,7 @@ function peg$parse(input, options) {
4539
4559
 
4540
4560
  peg$silentFails++;
4541
4561
  s0 = peg$currPos;
4542
- s1 = peg$parseobjectPublicKey();
4562
+ s1 = peg$parsepathLiteral();
4543
4563
  if (s1 !== peg$FAILED) {
4544
4564
  peg$savedPos = s0;
4545
4565
  s1 = peg$f70(s1);
@@ -4603,8 +4623,8 @@ function peg$parse(input, options) {
4603
4623
 
4604
4624
  s0 = peg$currPos;
4605
4625
  s1 = peg$parse__();
4606
- if (input.substr(peg$currPos, 2) === peg$c55) {
4607
- s2 = peg$c55;
4626
+ if (input.substr(peg$currPos, 2) === peg$c56) {
4627
+ s2 = peg$c56;
4608
4628
  peg$currPos += 2;
4609
4629
  } else {
4610
4630
  s2 = peg$FAILED;
@@ -4706,11 +4726,11 @@ function peg$parse(input, options) {
4706
4726
  peg$silentFails++;
4707
4727
  s0 = peg$currPos;
4708
4728
  if (input.charCodeAt(peg$currPos) === 40) {
4709
- s1 = peg$c8;
4729
+ s1 = peg$c9;
4710
4730
  peg$currPos++;
4711
4731
  } else {
4712
4732
  s1 = peg$FAILED;
4713
- if (peg$silentFails === 0) { peg$fail(peg$e11); }
4733
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
4714
4734
  }
4715
4735
  if (s1 !== peg$FAILED) {
4716
4736
  s2 = peg$parse__();
@@ -4993,11 +5013,11 @@ function peg$parse(input, options) {
4993
5013
  s1 = peg$parsewhitespaceOptionalForProgram();
4994
5014
  if (s1 !== peg$FAILED) {
4995
5015
  if (input.charCodeAt(peg$currPos) === 46) {
4996
- s2 = peg$c38;
5016
+ s2 = peg$c39;
4997
5017
  peg$currPos++;
4998
5018
  } else {
4999
5019
  s2 = peg$FAILED;
5000
- if (peg$silentFails === 0) { peg$fail(peg$e48); }
5020
+ if (peg$silentFails === 0) { peg$fail(peg$e49); }
5001
5021
  }
5002
5022
  if (s2 !== peg$FAILED) {
5003
5023
  s3 = peg$parsewhitespaceOptionalForProgram();
@@ -5032,7 +5052,7 @@ function peg$parse(input, options) {
5032
5052
  s0 = peg$currPos;
5033
5053
  s1 = [];
5034
5054
  s2 = input.charAt(peg$currPos);
5035
- if (peg$r7.test(s2)) {
5055
+ if (peg$r6.test(s2)) {
5036
5056
  peg$currPos++;
5037
5057
  } else {
5038
5058
  s2 = peg$FAILED;
@@ -5041,7 +5061,7 @@ function peg$parse(input, options) {
5041
5061
  while (s2 !== peg$FAILED) {
5042
5062
  s1.push(s2);
5043
5063
  s2 = input.charAt(peg$currPos);
5044
- if (peg$r7.test(s2)) {
5064
+ if (peg$r6.test(s2)) {
5045
5065
  peg$currPos++;
5046
5066
  } else {
5047
5067
  s2 = peg$FAILED;
@@ -5100,7 +5120,7 @@ function peg$parse(input, options) {
5100
5120
  let s0;
5101
5121
 
5102
5122
  s0 = input.charAt(peg$currPos);
5103
- if (peg$r8.test(s0)) {
5123
+ if (peg$r7.test(s0)) {
5104
5124
  peg$currPos++;
5105
5125
  } else {
5106
5126
  s0 = peg$FAILED;
@@ -5178,8 +5198,8 @@ function peg$parse(input, options) {
5178
5198
  function peg$parserelationalOperator() {
5179
5199
  let s0;
5180
5200
 
5181
- if (input.substr(peg$currPos, 2) === peg$c56) {
5182
- s0 = peg$c56;
5201
+ if (input.substr(peg$currPos, 2) === peg$c57) {
5202
+ s0 = peg$c57;
5183
5203
  peg$currPos += 2;
5184
5204
  } else {
5185
5205
  s0 = peg$FAILED;
@@ -5194,8 +5214,8 @@ function peg$parse(input, options) {
5194
5214
  if (peg$silentFails === 0) { peg$fail(peg$e1); }
5195
5215
  }
5196
5216
  if (s0 === peg$FAILED) {
5197
- if (input.substr(peg$currPos, 2) === peg$c57) {
5198
- s0 = peg$c57;
5217
+ if (input.substr(peg$currPos, 2) === peg$c58) {
5218
+ s0 = peg$c58;
5199
5219
  peg$currPos += 2;
5200
5220
  } else {
5201
5221
  s0 = peg$FAILED;
@@ -5222,11 +5242,11 @@ function peg$parse(input, options) {
5222
5242
  s0 = peg$currPos;
5223
5243
  s1 = peg$parse__();
5224
5244
  if (input.charCodeAt(peg$currPos) === 44) {
5225
- s2 = peg$c13;
5245
+ s2 = peg$c14;
5226
5246
  peg$currPos++;
5227
5247
  } else {
5228
5248
  s2 = peg$FAILED;
5229
- if (peg$silentFails === 0) { peg$fail(peg$e17); }
5249
+ if (peg$silentFails === 0) { peg$fail(peg$e18); }
5230
5250
  }
5231
5251
  if (s2 !== peg$FAILED) {
5232
5252
  s3 = peg$parse__();
@@ -5254,8 +5274,8 @@ function peg$parse(input, options) {
5254
5274
  let s0, s1, s2, s3;
5255
5275
 
5256
5276
  s0 = peg$currPos;
5257
- if (input.substr(peg$currPos, 2) === peg$c58) {
5258
- s1 = peg$c58;
5277
+ if (input.substr(peg$currPos, 2) === peg$c59) {
5278
+ s1 = peg$c59;
5259
5279
  peg$currPos += 2;
5260
5280
  } else {
5261
5281
  s1 = peg$FAILED;
@@ -5264,7 +5284,7 @@ function peg$parse(input, options) {
5264
5284
  if (s1 !== peg$FAILED) {
5265
5285
  s2 = [];
5266
5286
  s3 = input.charAt(peg$currPos);
5267
- if (peg$r9.test(s3)) {
5287
+ if (peg$r8.test(s3)) {
5268
5288
  peg$currPos++;
5269
5289
  } else {
5270
5290
  s3 = peg$FAILED;
@@ -5273,7 +5293,7 @@ function peg$parse(input, options) {
5273
5293
  while (s3 !== peg$FAILED) {
5274
5294
  s2.push(s3);
5275
5295
  s3 = input.charAt(peg$currPos);
5276
- if (peg$r9.test(s3)) {
5296
+ if (peg$r8.test(s3)) {
5277
5297
  peg$currPos++;
5278
5298
  } else {
5279
5299
  s3 = peg$FAILED;
@@ -5359,24 +5379,24 @@ function peg$parse(input, options) {
5359
5379
  function peg$parseshiftOperator() {
5360
5380
  let s0;
5361
5381
 
5362
- if (input.substr(peg$currPos, 2) === peg$c59) {
5363
- s0 = peg$c59;
5382
+ if (input.substr(peg$currPos, 2) === peg$c60) {
5383
+ s0 = peg$c60;
5364
5384
  peg$currPos += 2;
5365
5385
  } else {
5366
5386
  s0 = peg$FAILED;
5367
5387
  if (peg$silentFails === 0) { peg$fail(peg$e94); }
5368
5388
  }
5369
5389
  if (s0 === peg$FAILED) {
5370
- if (input.substr(peg$currPos, 3) === peg$c60) {
5371
- s0 = peg$c60;
5390
+ if (input.substr(peg$currPos, 3) === peg$c61) {
5391
+ s0 = peg$c61;
5372
5392
  peg$currPos += 3;
5373
5393
  } else {
5374
5394
  s0 = peg$FAILED;
5375
5395
  if (peg$silentFails === 0) { peg$fail(peg$e95); }
5376
5396
  }
5377
5397
  if (s0 === peg$FAILED) {
5378
- if (input.substr(peg$currPos, 2) === peg$c61) {
5379
- s0 = peg$c61;
5398
+ if (input.substr(peg$currPos, 2) === peg$c62) {
5399
+ s0 = peg$c62;
5380
5400
  peg$currPos += 2;
5381
5401
  } else {
5382
5402
  s0 = peg$FAILED;
@@ -5399,7 +5419,7 @@ function peg$parse(input, options) {
5399
5419
  }
5400
5420
  if (s1 !== peg$FAILED) {
5401
5421
  if (input.charCodeAt(peg$currPos) === 61) {
5402
- s2 = peg$c54;
5422
+ s2 = peg$c55;
5403
5423
  peg$currPos++;
5404
5424
  } else {
5405
5425
  s2 = peg$FAILED;
@@ -5409,7 +5429,7 @@ function peg$parse(input, options) {
5409
5429
  s3 = peg$currPos;
5410
5430
  peg$silentFails++;
5411
5431
  if (input.charCodeAt(peg$currPos) === 61) {
5412
- s4 = peg$c54;
5432
+ s4 = peg$c55;
5413
5433
  peg$currPos++;
5414
5434
  } else {
5415
5435
  s4 = peg$FAILED;
@@ -5460,15 +5480,15 @@ function peg$parse(input, options) {
5460
5480
  let s0;
5461
5481
 
5462
5482
  if (input.charCodeAt(peg$currPos) === 8594) {
5463
- s0 = peg$c62;
5483
+ s0 = peg$c63;
5464
5484
  peg$currPos++;
5465
5485
  } else {
5466
5486
  s0 = peg$FAILED;
5467
5487
  if (peg$silentFails === 0) { peg$fail(peg$e98); }
5468
5488
  }
5469
5489
  if (s0 === peg$FAILED) {
5470
- if (input.substr(peg$currPos, 2) === peg$c63) {
5471
- s0 = peg$c63;
5490
+ if (input.substr(peg$currPos, 2) === peg$c64) {
5491
+ s0 = peg$c64;
5472
5492
  peg$currPos += 2;
5473
5493
  } else {
5474
5494
  s0 = peg$FAILED;
@@ -5493,7 +5513,7 @@ function peg$parse(input, options) {
5493
5513
  if (s1 !== peg$FAILED) {
5494
5514
  s2 = [];
5495
5515
  s3 = input.charAt(peg$currPos);
5496
- if (peg$r9.test(s3)) {
5516
+ if (peg$r8.test(s3)) {
5497
5517
  peg$currPos++;
5498
5518
  } else {
5499
5519
  s3 = peg$FAILED;
@@ -5502,7 +5522,7 @@ function peg$parse(input, options) {
5502
5522
  while (s3 !== peg$FAILED) {
5503
5523
  s2.push(s3);
5504
5524
  s3 = input.charAt(peg$currPos);
5505
- if (peg$r9.test(s3)) {
5525
+ if (peg$r8.test(s3)) {
5506
5526
  peg$currPos++;
5507
5527
  } else {
5508
5528
  s3 = peg$FAILED;
@@ -5525,11 +5545,11 @@ function peg$parse(input, options) {
5525
5545
  peg$silentFails++;
5526
5546
  s0 = peg$currPos;
5527
5547
  if (input.charCodeAt(peg$currPos) === 39) {
5528
- s1 = peg$c36;
5548
+ s1 = peg$c37;
5529
5549
  peg$currPos++;
5530
5550
  } else {
5531
5551
  s1 = peg$FAILED;
5532
- if (peg$silentFails === 0) { peg$fail(peg$e45); }
5552
+ if (peg$silentFails === 0) { peg$fail(peg$e46); }
5533
5553
  }
5534
5554
  if (s1 !== peg$FAILED) {
5535
5555
  s2 = [];
@@ -5566,11 +5586,11 @@ function peg$parse(input, options) {
5566
5586
  s1 = peg$currPos;
5567
5587
  peg$silentFails++;
5568
5588
  if (input.charCodeAt(peg$currPos) === 39) {
5569
- s2 = peg$c36;
5589
+ s2 = peg$c37;
5570
5590
  peg$currPos++;
5571
5591
  } else {
5572
5592
  s2 = peg$FAILED;
5573
- if (peg$silentFails === 0) { peg$fail(peg$e45); }
5593
+ if (peg$silentFails === 0) { peg$fail(peg$e46); }
5574
5594
  }
5575
5595
  if (s2 === peg$FAILED) {
5576
5596
  s2 = peg$parsenewLine();
@@ -5775,8 +5795,8 @@ function peg$parse(input, options) {
5775
5795
  s0 = peg$currPos;
5776
5796
  s1 = peg$currPos;
5777
5797
  peg$silentFails++;
5778
- if (input.substr(peg$currPos, 2) === peg$c64) {
5779
- s2 = peg$c64;
5798
+ if (input.substr(peg$currPos, 2) === peg$c65) {
5799
+ s2 = peg$c65;
5780
5800
  peg$currPos += 2;
5781
5801
  } else {
5782
5802
  s2 = peg$FAILED;
@@ -5873,11 +5893,11 @@ function peg$parse(input, options) {
5873
5893
  peg$silentFails++;
5874
5894
  s0 = peg$currPos;
5875
5895
  if (input.charCodeAt(peg$currPos) === 96) {
5876
- s1 = peg$c33;
5896
+ s1 = peg$c34;
5877
5897
  peg$currPos++;
5878
5898
  } else {
5879
5899
  s1 = peg$FAILED;
5880
- if (peg$silentFails === 0) { peg$fail(peg$e42); }
5900
+ if (peg$silentFails === 0) { peg$fail(peg$e43); }
5881
5901
  }
5882
5902
  if (s1 !== peg$FAILED) {
5883
5903
  s2 = peg$parsetemplateLiteralText();
@@ -5933,15 +5953,15 @@ function peg$parse(input, options) {
5933
5953
  s1 = peg$currPos;
5934
5954
  peg$silentFails++;
5935
5955
  if (input.charCodeAt(peg$currPos) === 96) {
5936
- s2 = peg$c33;
5956
+ s2 = peg$c34;
5937
5957
  peg$currPos++;
5938
5958
  } else {
5939
5959
  s2 = peg$FAILED;
5940
- if (peg$silentFails === 0) { peg$fail(peg$e42); }
5960
+ if (peg$silentFails === 0) { peg$fail(peg$e43); }
5941
5961
  }
5942
5962
  if (s2 === peg$FAILED) {
5943
- if (input.substr(peg$currPos, 2) === peg$c64) {
5944
- s2 = peg$c64;
5963
+ if (input.substr(peg$currPos, 2) === peg$c65) {
5964
+ s2 = peg$c65;
5945
5965
  peg$currPos += 2;
5946
5966
  } else {
5947
5967
  s2 = peg$FAILED;
@@ -5993,8 +6013,8 @@ function peg$parse(input, options) {
5993
6013
 
5994
6014
  peg$silentFails++;
5995
6015
  s0 = peg$currPos;
5996
- if (input.substr(peg$currPos, 2) === peg$c64) {
5997
- s1 = peg$c64;
6016
+ if (input.substr(peg$currPos, 2) === peg$c65) {
6017
+ s1 = peg$c65;
5998
6018
  peg$currPos += 2;
5999
6019
  } else {
6000
6020
  s1 = peg$FAILED;
@@ -6004,11 +6024,11 @@ function peg$parse(input, options) {
6004
6024
  s2 = peg$parseexpectExpression();
6005
6025
  if (s2 !== peg$FAILED) {
6006
6026
  if (input.charCodeAt(peg$currPos) === 125) {
6007
- s3 = peg$c34;
6027
+ s3 = peg$c35;
6008
6028
  peg$currPos++;
6009
6029
  } else {
6010
6030
  s3 = peg$FAILED;
6011
- if (peg$silentFails === 0) { peg$fail(peg$e43); }
6031
+ if (peg$silentFails === 0) { peg$fail(peg$e44); }
6012
6032
  }
6013
6033
  if (s3 !== peg$FAILED) {
6014
6034
  peg$savedPos = s0;
@@ -6044,7 +6064,7 @@ function peg$parse(input, options) {
6044
6064
  peg$currPos++;
6045
6065
  } else {
6046
6066
  s0 = peg$FAILED;
6047
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
6067
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
6048
6068
  }
6049
6069
  }
6050
6070
 
@@ -6077,6 +6097,153 @@ function peg$parse(input, options) {
6077
6097
  return s0;
6078
6098
  }
6079
6099
 
6100
+ function peg$parseunaryOperator() {
6101
+ let s0, s1, s2, s3;
6102
+
6103
+ s0 = input.charAt(peg$currPos);
6104
+ if (peg$r9.test(s0)) {
6105
+ peg$currPos++;
6106
+ } else {
6107
+ s0 = peg$FAILED;
6108
+ if (peg$silentFails === 0) { peg$fail(peg$e106); }
6109
+ }
6110
+ if (s0 === peg$FAILED) {
6111
+ s0 = peg$currPos;
6112
+ if (input.charCodeAt(peg$currPos) === 126) {
6113
+ s1 = peg$c66;
6114
+ peg$currPos++;
6115
+ } else {
6116
+ s1 = peg$FAILED;
6117
+ if (peg$silentFails === 0) { peg$fail(peg$e107); }
6118
+ }
6119
+ if (s1 !== peg$FAILED) {
6120
+ s2 = peg$currPos;
6121
+ peg$silentFails++;
6122
+ s3 = input.charAt(peg$currPos);
6123
+ if (peg$r10.test(s3)) {
6124
+ peg$currPos++;
6125
+ } else {
6126
+ s3 = peg$FAILED;
6127
+ if (peg$silentFails === 0) { peg$fail(peg$e108); }
6128
+ }
6129
+ peg$silentFails--;
6130
+ if (s3 === peg$FAILED) {
6131
+ s2 = undefined;
6132
+ } else {
6133
+ peg$currPos = s2;
6134
+ s2 = peg$FAILED;
6135
+ }
6136
+ if (s2 !== peg$FAILED) {
6137
+ s0 = s1;
6138
+ } else {
6139
+ peg$currPos = s0;
6140
+ s0 = peg$FAILED;
6141
+ }
6142
+ } else {
6143
+ peg$currPos = s0;
6144
+ s0 = peg$FAILED;
6145
+ }
6146
+ if (s0 === peg$FAILED) {
6147
+ s0 = peg$parseminus();
6148
+ if (s0 === peg$FAILED) {
6149
+ s0 = peg$currPos;
6150
+ if (input.substr(peg$currPos, 5) === peg$c67) {
6151
+ s1 = peg$c67;
6152
+ peg$currPos += 5;
6153
+ } else {
6154
+ s1 = peg$FAILED;
6155
+ if (peg$silentFails === 0) { peg$fail(peg$e109); }
6156
+ }
6157
+ if (s1 !== peg$FAILED) {
6158
+ s2 = peg$currPos;
6159
+ peg$silentFails++;
6160
+ s3 = peg$parsewhitespaceOrParenthesis();
6161
+ peg$silentFails--;
6162
+ if (s3 !== peg$FAILED) {
6163
+ peg$currPos = s2;
6164
+ s2 = undefined;
6165
+ } else {
6166
+ s2 = peg$FAILED;
6167
+ }
6168
+ if (s2 !== peg$FAILED) {
6169
+ s0 = s1;
6170
+ } else {
6171
+ peg$currPos = s0;
6172
+ s0 = peg$FAILED;
6173
+ }
6174
+ } else {
6175
+ peg$currPos = s0;
6176
+ s0 = peg$FAILED;
6177
+ }
6178
+ if (s0 === peg$FAILED) {
6179
+ s0 = peg$currPos;
6180
+ if (input.substr(peg$currPos, 6) === peg$c68) {
6181
+ s1 = peg$c68;
6182
+ peg$currPos += 6;
6183
+ } else {
6184
+ s1 = peg$FAILED;
6185
+ if (peg$silentFails === 0) { peg$fail(peg$e110); }
6186
+ }
6187
+ if (s1 !== peg$FAILED) {
6188
+ s2 = peg$currPos;
6189
+ peg$silentFails++;
6190
+ s3 = peg$parsewhitespaceOrParenthesis();
6191
+ peg$silentFails--;
6192
+ if (s3 !== peg$FAILED) {
6193
+ peg$currPos = s2;
6194
+ s2 = undefined;
6195
+ } else {
6196
+ s2 = peg$FAILED;
6197
+ }
6198
+ if (s2 !== peg$FAILED) {
6199
+ s0 = s1;
6200
+ } else {
6201
+ peg$currPos = s0;
6202
+ s0 = peg$FAILED;
6203
+ }
6204
+ } else {
6205
+ peg$currPos = s0;
6206
+ s0 = peg$FAILED;
6207
+ }
6208
+ if (s0 === peg$FAILED) {
6209
+ s0 = peg$currPos;
6210
+ if (input.substr(peg$currPos, 4) === peg$c69) {
6211
+ s1 = peg$c69;
6212
+ peg$currPos += 4;
6213
+ } else {
6214
+ s1 = peg$FAILED;
6215
+ if (peg$silentFails === 0) { peg$fail(peg$e111); }
6216
+ }
6217
+ if (s1 !== peg$FAILED) {
6218
+ s2 = peg$currPos;
6219
+ peg$silentFails++;
6220
+ s3 = peg$parsewhitespaceOrParenthesis();
6221
+ peg$silentFails--;
6222
+ if (s3 !== peg$FAILED) {
6223
+ peg$currPos = s2;
6224
+ s2 = undefined;
6225
+ } else {
6226
+ s2 = peg$FAILED;
6227
+ }
6228
+ if (s2 !== peg$FAILED) {
6229
+ s0 = s1;
6230
+ } else {
6231
+ peg$currPos = s0;
6232
+ s0 = peg$FAILED;
6233
+ }
6234
+ } else {
6235
+ peg$currPos = s0;
6236
+ s0 = peg$FAILED;
6237
+ }
6238
+ }
6239
+ }
6240
+ }
6241
+ }
6242
+ }
6243
+
6244
+ return s0;
6245
+ }
6246
+
6080
6247
  function peg$parseuri() {
6081
6248
  let s0, s1, s2, s3, s4, s5, s6;
6082
6249
 
@@ -6221,11 +6388,11 @@ function peg$parse(input, options) {
6221
6388
 
6222
6389
  s0 = peg$currPos;
6223
6390
  s1 = input.charAt(peg$currPos);
6224
- if (peg$r10.test(s1)) {
6391
+ if (peg$r11.test(s1)) {
6225
6392
  peg$currPos++;
6226
6393
  } else {
6227
6394
  s1 = peg$FAILED;
6228
- if (peg$silentFails === 0) { peg$fail(peg$e106); }
6395
+ if (peg$silentFails === 0) { peg$fail(peg$e112); }
6229
6396
  }
6230
6397
  if (s1 !== peg$FAILED) {
6231
6398
  s2 = peg$currPos;
@@ -6288,7 +6455,7 @@ function peg$parse(input, options) {
6288
6455
  peg$silentFails--;
6289
6456
  if (s0 === peg$FAILED) {
6290
6457
  s1 = peg$FAILED;
6291
- if (peg$silentFails === 0) { peg$fail(peg$e107); }
6458
+ if (peg$silentFails === 0) { peg$fail(peg$e113); }
6292
6459
  }
6293
6460
 
6294
6461
  return s0;
@@ -6299,37 +6466,37 @@ function peg$parse(input, options) {
6299
6466
 
6300
6467
  s0 = peg$currPos;
6301
6468
  s1 = input.charAt(peg$currPos);
6302
- if (peg$r11.test(s1)) {
6469
+ if (peg$r12.test(s1)) {
6303
6470
  peg$currPos++;
6304
6471
  } else {
6305
6472
  s1 = peg$FAILED;
6306
- if (peg$silentFails === 0) { peg$fail(peg$e108); }
6473
+ if (peg$silentFails === 0) { peg$fail(peg$e114); }
6307
6474
  }
6308
6475
  if (s1 !== peg$FAILED) {
6309
6476
  s2 = [];
6310
6477
  s3 = input.charAt(peg$currPos);
6311
- if (peg$r12.test(s3)) {
6478
+ if (peg$r13.test(s3)) {
6312
6479
  peg$currPos++;
6313
6480
  } else {
6314
6481
  s3 = peg$FAILED;
6315
- if (peg$silentFails === 0) { peg$fail(peg$e109); }
6482
+ if (peg$silentFails === 0) { peg$fail(peg$e115); }
6316
6483
  }
6317
6484
  while (s3 !== peg$FAILED) {
6318
6485
  s2.push(s3);
6319
6486
  s3 = input.charAt(peg$currPos);
6320
- if (peg$r12.test(s3)) {
6487
+ if (peg$r13.test(s3)) {
6321
6488
  peg$currPos++;
6322
6489
  } else {
6323
6490
  s3 = peg$FAILED;
6324
- if (peg$silentFails === 0) { peg$fail(peg$e109); }
6491
+ if (peg$silentFails === 0) { peg$fail(peg$e115); }
6325
6492
  }
6326
6493
  }
6327
6494
  s3 = input.charAt(peg$currPos);
6328
- if (peg$r13.test(s3)) {
6495
+ if (peg$r14.test(s3)) {
6329
6496
  peg$currPos++;
6330
6497
  } else {
6331
6498
  s3 = peg$FAILED;
6332
- if (peg$silentFails === 0) { peg$fail(peg$e110); }
6499
+ if (peg$silentFails === 0) { peg$fail(peg$e116); }
6333
6500
  }
6334
6501
  if (s3 !== peg$FAILED) {
6335
6502
  peg$savedPos = s0;
@@ -6346,60 +6513,6 @@ function peg$parse(input, options) {
6346
6513
  return s0;
6347
6514
  }
6348
6515
 
6349
- function peg$parseunaryOperator() {
6350
- let s0, s1, s2, s3;
6351
-
6352
- s0 = input.charAt(peg$currPos);
6353
- if (peg$r3.test(s0)) {
6354
- peg$currPos++;
6355
- } else {
6356
- s0 = peg$FAILED;
6357
- if (peg$silentFails === 0) { peg$fail(peg$e60); }
6358
- }
6359
- if (s0 === peg$FAILED) {
6360
- s0 = peg$currPos;
6361
- if (input.charCodeAt(peg$currPos) === 126) {
6362
- s1 = peg$c65;
6363
- peg$currPos++;
6364
- } else {
6365
- s1 = peg$FAILED;
6366
- if (peg$silentFails === 0) { peg$fail(peg$e111); }
6367
- }
6368
- if (s1 !== peg$FAILED) {
6369
- s2 = peg$currPos;
6370
- peg$silentFails++;
6371
- s3 = input.charAt(peg$currPos);
6372
- if (peg$r14.test(s3)) {
6373
- peg$currPos++;
6374
- } else {
6375
- s3 = peg$FAILED;
6376
- if (peg$silentFails === 0) { peg$fail(peg$e112); }
6377
- }
6378
- peg$silentFails--;
6379
- if (s3 === peg$FAILED) {
6380
- s2 = undefined;
6381
- } else {
6382
- peg$currPos = s2;
6383
- s2 = peg$FAILED;
6384
- }
6385
- if (s2 !== peg$FAILED) {
6386
- s0 = s1;
6387
- } else {
6388
- peg$currPos = s0;
6389
- s0 = peg$FAILED;
6390
- }
6391
- } else {
6392
- peg$currPos = s0;
6393
- s0 = peg$FAILED;
6394
- }
6395
- if (s0 === peg$FAILED) {
6396
- s0 = peg$parseminus();
6397
- }
6398
- }
6399
-
6400
- return s0;
6401
- }
6402
-
6403
6516
  function peg$parsewhitespace() {
6404
6517
  let s0, s1;
6405
6518
 
@@ -6432,7 +6545,7 @@ function peg$parse(input, options) {
6432
6545
  peg$currPos++;
6433
6546
  } else {
6434
6547
  s1 = peg$FAILED;
6435
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
6548
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
6436
6549
  }
6437
6550
  if (s1 !== peg$FAILED) {
6438
6551
  peg$savedPos = peg$currPos;
@@ -6477,6 +6590,23 @@ function peg$parse(input, options) {
6477
6590
  return s0;
6478
6591
  }
6479
6592
 
6593
+ function peg$parsewhitespaceOrParenthesis() {
6594
+ let s0;
6595
+
6596
+ s0 = peg$parsewhitespace();
6597
+ if (s0 === peg$FAILED) {
6598
+ if (input.charCodeAt(peg$currPos) === 40) {
6599
+ s0 = peg$c9;
6600
+ peg$currPos++;
6601
+ } else {
6602
+ s0 = peg$FAILED;
6603
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
6604
+ }
6605
+ }
6606
+
6607
+ return s0;
6608
+ }
6609
+
6480
6610
  function peg$parsewhitespaceWithNewLine() {
6481
6611
  let s0, s1, s2, s3, s4;
6482
6612
 
@@ -6669,16 +6799,17 @@ const peg$allowedStartRules = [
6669
6799
  "templateSubstitution",
6670
6800
  "textChar",
6671
6801
  "unaryExpression",
6802
+ "unaryOperator",
6672
6803
  "uri",
6673
6804
  "uriExpression",
6674
6805
  "uriKey",
6675
6806
  "uriKeyChar",
6676
6807
  "uriPath",
6677
6808
  "uriScheme",
6678
- "unaryOperator",
6679
6809
  "whitespace",
6680
6810
  "whitespaceChar",
6681
6811
  "whitespaceOptionalForProgram",
6812
+ "whitespaceOrParenthesis",
6682
6813
  "whitespaceWithNewLine"
6683
6814
  ];
6684
6815