emblem-source 0.3.14 → 0.3.15
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.
- checksums.yaml +4 -4
- data/dist/emblem.js +442 -372
- data/dist/emblem.min.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec575565624e91b3ea241c4a77c4703b27104f4
|
4
|
+
data.tar.gz: 8a8f4d05fabae91b09e36b80d83746d3ac8b0307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01777c1ddf51e3da31241bbf00e2d0261705e771e66f0d83e04467412cfd52119390d08ed7655565072dea7ce6d108769d13e48004e978d24a40980313a47dc4
|
7
|
+
data.tar.gz: dfaf2ce1e268057c794795ee03e980f4bebb39d686ef9b317d07cb263efbf7d346c916130197ca85aea12f3307ab5a8b24d845fbed3b613202fb2b2e25e1cee1
|
data/dist/emblem.js
CHANGED
@@ -103,7 +103,7 @@ this.Emblem = {};
|
|
103
103
|
|
104
104
|
Emblem = this.Emblem;
|
105
105
|
|
106
|
-
Emblem.VERSION = "0.3.
|
106
|
+
Emblem.VERSION = "0.3.15";
|
107
107
|
|
108
108
|
module.exports = Emblem;
|
109
109
|
|
@@ -412,23 +412,30 @@ Emblem.Parser = (function() {
|
|
412
412
|
peg$c53 = /^[a-zA-Z0-9_$\-!?\^@]/,
|
413
413
|
peg$c54 = "[a-zA-Z0-9_$\\-!?\\^@]",
|
414
414
|
peg$c55 = function(s) { return s; },
|
415
|
-
peg$c56 = "
|
416
|
-
peg$c57 = "
|
417
|
-
peg$c58 =
|
418
|
-
peg$c59 =
|
419
|
-
peg$c60 =
|
420
|
-
peg$c61 =
|
421
|
-
peg$c62 = function(
|
415
|
+
peg$c56 = "[",
|
416
|
+
peg$c57 = "\"[\"",
|
417
|
+
peg$c58 = /^[^\]]/,
|
418
|
+
peg$c59 = "[^\\]]",
|
419
|
+
peg$c60 = "]",
|
420
|
+
peg$c61 = "\"]\"",
|
421
|
+
peg$c62 = function(segmentLiteral) { return segmentLiteral; },
|
422
|
+
peg$c63 = "Key",
|
423
|
+
peg$c64 = ":",
|
424
|
+
peg$c65 = "\":\"",
|
425
|
+
peg$c66 = function(h) { return [h[0], h[2]]; },
|
426
|
+
peg$c67 = function(s) { s.isHelper = true; return s; },
|
427
|
+
peg$c68 = function(s, p) { return { part: p, separator: s }; },
|
428
|
+
peg$c69 = function(first, tail) {
|
422
429
|
var ret = [{ part: first }];
|
423
430
|
for(var i = 0; i < tail.length; ++i) {
|
424
431
|
ret.push(tail[i]);
|
425
432
|
}
|
426
433
|
return ret;
|
427
434
|
},
|
428
|
-
peg$
|
429
|
-
peg$
|
430
|
-
peg$
|
431
|
-
peg$
|
435
|
+
peg$c70 = "PathSeparator",
|
436
|
+
peg$c71 = /^[\/.]/,
|
437
|
+
peg$c72 = "[\\/.]",
|
438
|
+
peg$c73 = function(v) {
|
432
439
|
var last = v[v.length - 1];
|
433
440
|
|
434
441
|
// Support for data keywords that are prefixed with @ in the each
|
@@ -452,32 +459,32 @@ Emblem.Parser = (function() {
|
|
452
459
|
|
453
460
|
return idNode;
|
454
461
|
},
|
455
|
-
peg$
|
456
|
-
peg$
|
457
|
-
peg$
|
458
|
-
peg$
|
459
|
-
peg$
|
460
|
-
peg$
|
461
|
-
peg$
|
462
|
-
peg$
|
463
|
-
peg$
|
464
|
-
peg$
|
465
|
-
peg$
|
466
|
-
peg$
|
467
|
-
peg$
|
468
|
-
peg$
|
469
|
-
peg$
|
470
|
-
peg$
|
471
|
-
peg$
|
472
|
-
peg$
|
473
|
-
peg$
|
474
|
-
peg$
|
475
|
-
peg$
|
476
|
-
peg$
|
477
|
-
peg$
|
478
|
-
peg$
|
479
|
-
peg$
|
480
|
-
peg$
|
462
|
+
peg$c74 = function(v) { return new AST.StringNode(v); },
|
463
|
+
peg$c75 = function(v) { return new AST.IntegerNode(v); },
|
464
|
+
peg$c76 = function(v) { return new AST.BooleanNode(v); },
|
465
|
+
peg$c77 = "Boolean",
|
466
|
+
peg$c78 = "true",
|
467
|
+
peg$c79 = "\"true\"",
|
468
|
+
peg$c80 = "false",
|
469
|
+
peg$c81 = "\"false\"",
|
470
|
+
peg$c82 = "Integer",
|
471
|
+
peg$c83 = "-",
|
472
|
+
peg$c84 = "\"-\"",
|
473
|
+
peg$c85 = /^[0-9]/,
|
474
|
+
peg$c86 = "[0-9]",
|
475
|
+
peg$c87 = function(s) { return parseInt(s); },
|
476
|
+
peg$c88 = "\"",
|
477
|
+
peg$c89 = "\"\\\"\"",
|
478
|
+
peg$c90 = "'",
|
479
|
+
peg$c91 = "\"'\"",
|
480
|
+
peg$c92 = function(p) { return p[1]; },
|
481
|
+
peg$c93 = /^[^"}]/,
|
482
|
+
peg$c94 = "[^\"}]",
|
483
|
+
peg$c95 = /^[^'}]/,
|
484
|
+
peg$c96 = "[^'}]",
|
485
|
+
peg$c97 = /^[A-Za-z]/,
|
486
|
+
peg$c98 = "[A-Za-z]",
|
487
|
+
peg$c99 = function(ind, nodes, w) {
|
481
488
|
nodes.unshift(new AST.ContentNode(ind));
|
482
489
|
|
483
490
|
for(var i = 0; i < w.length; ++i) {
|
@@ -487,12 +494,12 @@ Emblem.Parser = (function() {
|
|
487
494
|
}
|
488
495
|
return nodes;
|
489
496
|
},
|
490
|
-
peg$
|
491
|
-
peg$
|
492
|
-
peg$
|
493
|
-
peg$
|
494
|
-
peg$
|
495
|
-
peg$
|
497
|
+
peg$c100 = /^[|`']/,
|
498
|
+
peg$c101 = "[|`']",
|
499
|
+
peg$c102 = "<",
|
500
|
+
peg$c103 = "\"<\"",
|
501
|
+
peg$c104 = function() { return '<'; },
|
502
|
+
peg$c105 = function(s, nodes, indentedNodes) {
|
496
503
|
if(nodes.length || !indentedNodes) {
|
497
504
|
nodes.push("\n");
|
498
505
|
}
|
@@ -525,56 +532,56 @@ Emblem.Parser = (function() {
|
|
525
532
|
|
526
533
|
return ret;
|
527
534
|
},
|
528
|
-
peg$
|
535
|
+
peg$c106 = function(first, tail) {
|
529
536
|
return textNodesResult(first, tail);
|
530
537
|
},
|
531
|
-
peg$
|
532
|
-
peg$
|
533
|
-
peg$
|
534
|
-
peg$
|
535
|
-
peg$
|
536
|
-
peg$
|
538
|
+
peg$c107 = function(first, tail) { return textNodesResult(first, tail); },
|
539
|
+
peg$c108 = "{",
|
540
|
+
peg$c109 = "\"{\"",
|
541
|
+
peg$c110 = /^[^}]/,
|
542
|
+
peg$c111 = "[^}]",
|
543
|
+
peg$c112 = function(text) {
|
537
544
|
// Force interpretation as mustache.
|
538
545
|
// TODO: change to just parse with a specific rule?
|
539
546
|
text = "=" + text;
|
540
547
|
return Emblem.parse(text).statements[0];
|
541
548
|
},
|
542
|
-
peg$
|
543
|
-
peg$
|
544
|
-
peg$
|
545
|
-
peg$
|
546
|
-
peg$
|
547
|
-
peg$
|
548
|
-
peg$
|
549
|
-
peg$
|
550
|
-
peg$
|
551
|
-
peg$
|
552
|
-
peg$
|
553
|
-
peg$
|
554
|
-
peg$
|
555
|
-
peg$
|
556
|
-
peg$
|
557
|
-
peg$
|
558
|
-
peg$
|
559
|
-
peg$
|
560
|
-
peg$
|
561
|
-
peg$
|
562
|
-
peg$
|
563
|
-
peg$
|
564
|
-
peg$
|
565
|
-
peg$
|
566
|
-
peg$
|
567
|
-
peg$
|
568
|
-
peg$
|
569
|
-
peg$
|
570
|
-
peg$
|
571
|
-
peg$
|
572
|
-
peg$
|
573
|
-
peg$
|
574
|
-
peg$
|
575
|
-
peg$
|
576
|
-
peg$
|
577
|
-
peg$
|
549
|
+
peg$c113 = function(m) { m.escaped = true; return m; },
|
550
|
+
peg$c114 = function(m) { m.escaped = false; return m; },
|
551
|
+
peg$c115 = function(a) { return new AST.ContentNode(a); },
|
552
|
+
peg$c116 = "any character",
|
553
|
+
peg$c117 = "SingleMustacheOpen",
|
554
|
+
peg$c118 = "DoubleMustacheOpen",
|
555
|
+
peg$c119 = "{{",
|
556
|
+
peg$c120 = "\"{{\"",
|
557
|
+
peg$c121 = "TripleMustacheOpen",
|
558
|
+
peg$c122 = "{{{",
|
559
|
+
peg$c123 = "\"{{{\"",
|
560
|
+
peg$c124 = "SingleMustacheClose",
|
561
|
+
peg$c125 = "}",
|
562
|
+
peg$c126 = "\"}\"",
|
563
|
+
peg$c127 = "DoubleMustacheClose",
|
564
|
+
peg$c128 = "}}",
|
565
|
+
peg$c129 = "\"}}\"",
|
566
|
+
peg$c130 = "TripleMustacheClose",
|
567
|
+
peg$c131 = "}}}",
|
568
|
+
peg$c132 = "\"}}}\"",
|
569
|
+
peg$c133 = "SubexpressionOpen",
|
570
|
+
peg$c134 = "(",
|
571
|
+
peg$c135 = "\"(\"",
|
572
|
+
peg$c136 = "SubexpressionClose",
|
573
|
+
peg$c137 = ")",
|
574
|
+
peg$c138 = "\")\"",
|
575
|
+
peg$c139 = "InterpolationOpen",
|
576
|
+
peg$c140 = "#{",
|
577
|
+
peg$c141 = "\"#{\"",
|
578
|
+
peg$c142 = "InterpolationClose",
|
579
|
+
peg$c143 = "==",
|
580
|
+
peg$c144 = "\"==\"",
|
581
|
+
peg$c145 = function() { return false; },
|
582
|
+
peg$c146 = function() { return true; },
|
583
|
+
peg$c147 = function(h, s) { return h || s; },
|
584
|
+
peg$c148 = function(h, inTagMustaches, fullAttributes) {
|
578
585
|
var tagName = h[0] || 'div',
|
579
586
|
shorthandAttributes = h[1] || [],
|
580
587
|
id = shorthandAttributes[0],
|
@@ -667,9 +674,9 @@ Emblem.Parser = (function() {
|
|
667
674
|
return [tagOpenContent, new AST.ContentNode('</' + tagName + '>')];
|
668
675
|
}
|
669
676
|
},
|
670
|
-
peg$
|
671
|
-
peg$
|
672
|
-
peg$
|
677
|
+
peg$c149 = function(s) { return { shorthand: s, id: true}; },
|
678
|
+
peg$c150 = function(s) { return { shorthand: s }; },
|
679
|
+
peg$c151 = function(shorthands) {
|
673
680
|
var id, classes = [];
|
674
681
|
for(var i = 0, len = shorthands.length; i < len; ++i) {
|
675
682
|
var shorthand = shorthands[i];
|
@@ -682,42 +689,42 @@ Emblem.Parser = (function() {
|
|
682
689
|
|
683
690
|
return [id, classes];
|
684
691
|
},
|
685
|
-
peg$
|
692
|
+
peg$c152 = function(a) {
|
686
693
|
if (a.length) {
|
687
694
|
return [new AST.ContentNode(' ')].concat(a);
|
688
695
|
} else {
|
689
696
|
return [];
|
690
697
|
}
|
691
698
|
},
|
692
|
-
peg$
|
693
|
-
peg$
|
694
|
-
peg$
|
695
|
-
peg$
|
699
|
+
peg$c153 = /^[A-Za-z.0-9_\-]/,
|
700
|
+
peg$c154 = "[A-Za-z.0-9_\\-]",
|
701
|
+
peg$c155 = function(id) { return createMustacheNode([id], null, true); },
|
702
|
+
peg$c156 = function(event, mustacheNode) {
|
696
703
|
// Replace the IdNode with a StringNode to prevent unquoted action deprecation warnings
|
697
704
|
mustacheNode.id = new AST.StringNode(mustacheNode.id.string);
|
698
705
|
|
699
706
|
// Unshift the action helper and augment the hash
|
700
707
|
return [unshiftParam(mustacheNode, 'action', [['on', new AST.StringNode(event)]])];
|
701
708
|
},
|
702
|
-
peg$
|
709
|
+
peg$c157 = function(key, boolValue) {
|
703
710
|
if (boolValue === 'true') {
|
704
711
|
return [ new AST.ContentNode(key) ];
|
705
712
|
} else {
|
706
713
|
return [];
|
707
714
|
}
|
708
715
|
},
|
709
|
-
peg$
|
710
|
-
peg$
|
711
|
-
peg$
|
712
|
-
peg$
|
713
|
-
peg$
|
716
|
+
peg$c158 = function(value) { return value.replace(/ *$/, ''); },
|
717
|
+
peg$c159 = "!",
|
718
|
+
peg$c160 = "\"!\"",
|
719
|
+
peg$c161 = function(key, value) { return IS_EMBER; },
|
720
|
+
peg$c162 = function(key, value) {
|
714
721
|
var hashNode = new AST.HashNode([[key, new AST.StringNode(value)]]);
|
715
722
|
var params = [new AST.IdNode([{part: 'bind-attr'}])];
|
716
723
|
var mustacheNode = createMustacheNode(params, hashNode);
|
717
724
|
|
718
725
|
return [mustacheNode];
|
719
726
|
},
|
720
|
-
peg$
|
727
|
+
peg$c163 = function(key, id) {
|
721
728
|
var mustacheNode = createMustacheNode([id], null, true);
|
722
729
|
|
723
730
|
if(IS_EMBER && id._emblemSuffixModifier === '!') {
|
@@ -730,52 +737,52 @@ Emblem.Parser = (function() {
|
|
730
737
|
new AST.ContentNode('"'),
|
731
738
|
];
|
732
739
|
},
|
733
|
-
peg$
|
740
|
+
peg$c164 = function(key, nodes) {
|
734
741
|
var result = [ new AST.ContentNode(key + '=' + '"') ].concat(nodes);
|
735
742
|
return result.concat([new AST.ContentNode('"')]);
|
736
743
|
},
|
737
|
-
peg$
|
738
|
-
peg$
|
739
|
-
peg$
|
740
|
-
peg$
|
741
|
-
peg$
|
742
|
-
peg$
|
743
|
-
peg$
|
744
|
-
peg$
|
745
|
-
peg$
|
746
|
-
peg$
|
747
|
-
peg$
|
748
|
-
peg$
|
749
|
-
peg$
|
750
|
-
peg$
|
751
|
-
peg$
|
752
|
-
peg$
|
753
|
-
peg$
|
754
|
-
peg$
|
755
|
-
peg$
|
756
|
-
peg$
|
757
|
-
peg$
|
758
|
-
peg$
|
759
|
-
peg$
|
760
|
-
peg$
|
761
|
-
peg$
|
762
|
-
peg$
|
763
|
-
peg$
|
764
|
-
peg$
|
765
|
-
peg$
|
766
|
-
peg$
|
767
|
-
peg$
|
768
|
-
peg$
|
769
|
-
peg$
|
770
|
-
peg$
|
771
|
-
peg$
|
772
|
-
peg$
|
773
|
-
peg$
|
774
|
-
peg$
|
775
|
-
peg$
|
776
|
-
peg$
|
777
|
-
peg$
|
778
|
-
peg$
|
744
|
+
peg$c165 = "_",
|
745
|
+
peg$c166 = "\"_\"",
|
746
|
+
peg$c167 = "%",
|
747
|
+
peg$c168 = "\"%\"",
|
748
|
+
peg$c169 = "#",
|
749
|
+
peg$c170 = "\"#\"",
|
750
|
+
peg$c171 = function(c) { return c;},
|
751
|
+
peg$c172 = "CSSIdentifier",
|
752
|
+
peg$c173 = /^[_a-zA-Z0-9\-]/,
|
753
|
+
peg$c174 = "[_a-zA-Z0-9\\-]",
|
754
|
+
peg$c175 = /^[_a-zA-Z]/,
|
755
|
+
peg$c176 = "[_a-zA-Z]",
|
756
|
+
peg$c177 = /^[\x80-\xFF]/,
|
757
|
+
peg$c178 = "[\\x80-\\xFF]",
|
758
|
+
peg$c179 = "KnownHTMLTagName",
|
759
|
+
peg$c180 = function(t) { return !!KNOWN_TAGS[t]; },
|
760
|
+
peg$c181 = function(t) { return t; },
|
761
|
+
peg$c182 = "a JS event",
|
762
|
+
peg$c183 = function(t) { return !!KNOWN_EVENTS[t]; },
|
763
|
+
peg$c184 = "INDENT",
|
764
|
+
peg$c185 = "\uEFEF",
|
765
|
+
peg$c186 = "\"\\uEFEF\"",
|
766
|
+
peg$c187 = function() { return ''; },
|
767
|
+
peg$c188 = "DEDENT",
|
768
|
+
peg$c189 = "\uEFFE",
|
769
|
+
peg$c190 = "\"\\uEFFE\"",
|
770
|
+
peg$c191 = "Unmatched DEDENT",
|
771
|
+
peg$c192 = "\uEFEE",
|
772
|
+
peg$c193 = "\"\\uEFEE\"",
|
773
|
+
peg$c194 = "LineEnd",
|
774
|
+
peg$c195 = "\r",
|
775
|
+
peg$c196 = "\"\\r\"",
|
776
|
+
peg$c197 = "\uEFFF",
|
777
|
+
peg$c198 = "\"\\uEFFF\"",
|
778
|
+
peg$c199 = "\n",
|
779
|
+
peg$c200 = "\"\\n\"",
|
780
|
+
peg$c201 = "ANYDEDENT",
|
781
|
+
peg$c202 = "RequiredWhitespace",
|
782
|
+
peg$c203 = "OptionalWhitespace",
|
783
|
+
peg$c204 = "InlineWhitespace",
|
784
|
+
peg$c205 = /^[ \t]/,
|
785
|
+
peg$c206 = "[ \\t]",
|
779
786
|
|
780
787
|
peg$currPos = 0,
|
781
788
|
peg$reportedPos = 0,
|
@@ -2232,7 +2239,7 @@ Emblem.Parser = (function() {
|
|
2232
2239
|
}
|
2233
2240
|
|
2234
2241
|
function peg$parsepathIdent() {
|
2235
|
-
var s0, s1, s2, s3;
|
2242
|
+
var s0, s1, s2, s3, s4;
|
2236
2243
|
|
2237
2244
|
peg$silentFails++;
|
2238
2245
|
if (input.substr(peg$currPos, 2) === peg$c49) {
|
@@ -2313,6 +2320,69 @@ Emblem.Parser = (function() {
|
|
2313
2320
|
peg$currPos = s0;
|
2314
2321
|
s0 = peg$c0;
|
2315
2322
|
}
|
2323
|
+
if (s0 === null) {
|
2324
|
+
s0 = peg$currPos;
|
2325
|
+
if (input.charCodeAt(peg$currPos) === 91) {
|
2326
|
+
s1 = peg$c56;
|
2327
|
+
peg$currPos++;
|
2328
|
+
} else {
|
2329
|
+
s1 = null;
|
2330
|
+
if (peg$silentFails === 0) { peg$fail(peg$c57); }
|
2331
|
+
}
|
2332
|
+
if (s1 !== null) {
|
2333
|
+
s2 = peg$currPos;
|
2334
|
+
s3 = [];
|
2335
|
+
if (peg$c58.test(input.charAt(peg$currPos))) {
|
2336
|
+
s4 = input.charAt(peg$currPos);
|
2337
|
+
peg$currPos++;
|
2338
|
+
} else {
|
2339
|
+
s4 = null;
|
2340
|
+
if (peg$silentFails === 0) { peg$fail(peg$c59); }
|
2341
|
+
}
|
2342
|
+
while (s4 !== null) {
|
2343
|
+
s3.push(s4);
|
2344
|
+
if (peg$c58.test(input.charAt(peg$currPos))) {
|
2345
|
+
s4 = input.charAt(peg$currPos);
|
2346
|
+
peg$currPos++;
|
2347
|
+
} else {
|
2348
|
+
s4 = null;
|
2349
|
+
if (peg$silentFails === 0) { peg$fail(peg$c59); }
|
2350
|
+
}
|
2351
|
+
}
|
2352
|
+
if (s3 !== null) {
|
2353
|
+
s3 = input.substring(s2, peg$currPos);
|
2354
|
+
}
|
2355
|
+
s2 = s3;
|
2356
|
+
if (s2 !== null) {
|
2357
|
+
if (input.charCodeAt(peg$currPos) === 93) {
|
2358
|
+
s3 = peg$c60;
|
2359
|
+
peg$currPos++;
|
2360
|
+
} else {
|
2361
|
+
s3 = null;
|
2362
|
+
if (peg$silentFails === 0) { peg$fail(peg$c61); }
|
2363
|
+
}
|
2364
|
+
if (s3 !== null) {
|
2365
|
+
peg$reportedPos = s0;
|
2366
|
+
s1 = peg$c62(s2);
|
2367
|
+
if (s1 === null) {
|
2368
|
+
peg$currPos = s0;
|
2369
|
+
s0 = s1;
|
2370
|
+
} else {
|
2371
|
+
s0 = s1;
|
2372
|
+
}
|
2373
|
+
} else {
|
2374
|
+
peg$currPos = s0;
|
2375
|
+
s0 = peg$c0;
|
2376
|
+
}
|
2377
|
+
} else {
|
2378
|
+
peg$currPos = s0;
|
2379
|
+
s0 = peg$c0;
|
2380
|
+
}
|
2381
|
+
} else {
|
2382
|
+
peg$currPos = s0;
|
2383
|
+
s0 = peg$c0;
|
2384
|
+
}
|
2385
|
+
}
|
2316
2386
|
}
|
2317
2387
|
}
|
2318
2388
|
peg$silentFails--;
|
@@ -2333,11 +2403,11 @@ Emblem.Parser = (function() {
|
|
2333
2403
|
s2 = peg$parsenmchar();
|
2334
2404
|
if (s2 === null) {
|
2335
2405
|
if (input.charCodeAt(peg$currPos) === 58) {
|
2336
|
-
s2 = peg$
|
2406
|
+
s2 = peg$c64;
|
2337
2407
|
peg$currPos++;
|
2338
2408
|
} else {
|
2339
2409
|
s2 = null;
|
2340
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2410
|
+
if (peg$silentFails === 0) { peg$fail(peg$c65); }
|
2341
2411
|
}
|
2342
2412
|
}
|
2343
2413
|
while (s2 !== null) {
|
@@ -2345,11 +2415,11 @@ Emblem.Parser = (function() {
|
|
2345
2415
|
s2 = peg$parsenmchar();
|
2346
2416
|
if (s2 === null) {
|
2347
2417
|
if (input.charCodeAt(peg$currPos) === 58) {
|
2348
|
-
s2 = peg$
|
2418
|
+
s2 = peg$c64;
|
2349
2419
|
peg$currPos++;
|
2350
2420
|
} else {
|
2351
2421
|
s2 = null;
|
2352
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2422
|
+
if (peg$silentFails === 0) { peg$fail(peg$c65); }
|
2353
2423
|
}
|
2354
2424
|
}
|
2355
2425
|
}
|
@@ -2360,7 +2430,7 @@ Emblem.Parser = (function() {
|
|
2360
2430
|
peg$silentFails--;
|
2361
2431
|
if (s0 === null) {
|
2362
2432
|
s1 = null;
|
2363
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2433
|
+
if (peg$silentFails === 0) { peg$fail(peg$c63); }
|
2364
2434
|
}
|
2365
2435
|
|
2366
2436
|
return s0;
|
@@ -2401,7 +2471,7 @@ Emblem.Parser = (function() {
|
|
2401
2471
|
}
|
2402
2472
|
if (s2 !== null) {
|
2403
2473
|
peg$reportedPos = s0;
|
2404
|
-
s1 = peg$
|
2474
|
+
s1 = peg$c66(s2);
|
2405
2475
|
if (s1 === null) {
|
2406
2476
|
peg$currPos = s0;
|
2407
2477
|
s0 = s1;
|
@@ -2439,7 +2509,7 @@ Emblem.Parser = (function() {
|
|
2439
2509
|
s3 = peg$parsesexprClose();
|
2440
2510
|
if (s3 !== null) {
|
2441
2511
|
peg$reportedPos = s0;
|
2442
|
-
s1 = peg$
|
2512
|
+
s1 = peg$c67(s2);
|
2443
2513
|
if (s1 === null) {
|
2444
2514
|
peg$currPos = s0;
|
2445
2515
|
s0 = s1;
|
@@ -2479,7 +2549,7 @@ Emblem.Parser = (function() {
|
|
2479
2549
|
s5 = peg$parsepathIdent();
|
2480
2550
|
if (s5 !== null) {
|
2481
2551
|
peg$reportedPos = s3;
|
2482
|
-
s4 = peg$
|
2552
|
+
s4 = peg$c68(s4, s5);
|
2483
2553
|
if (s4 === null) {
|
2484
2554
|
peg$currPos = s3;
|
2485
2555
|
s3 = s4;
|
@@ -2502,7 +2572,7 @@ Emblem.Parser = (function() {
|
|
2502
2572
|
s5 = peg$parsepathIdent();
|
2503
2573
|
if (s5 !== null) {
|
2504
2574
|
peg$reportedPos = s3;
|
2505
|
-
s4 = peg$
|
2575
|
+
s4 = peg$c68(s4, s5);
|
2506
2576
|
if (s4 === null) {
|
2507
2577
|
peg$currPos = s3;
|
2508
2578
|
s3 = s4;
|
@@ -2520,7 +2590,7 @@ Emblem.Parser = (function() {
|
|
2520
2590
|
}
|
2521
2591
|
if (s2 !== null) {
|
2522
2592
|
peg$reportedPos = s0;
|
2523
|
-
s1 = peg$
|
2593
|
+
s1 = peg$c69(s1, s2);
|
2524
2594
|
if (s1 === null) {
|
2525
2595
|
peg$currPos = s0;
|
2526
2596
|
s0 = s1;
|
@@ -2543,17 +2613,17 @@ Emblem.Parser = (function() {
|
|
2543
2613
|
var s0, s1;
|
2544
2614
|
|
2545
2615
|
peg$silentFails++;
|
2546
|
-
if (peg$
|
2616
|
+
if (peg$c71.test(input.charAt(peg$currPos))) {
|
2547
2617
|
s0 = input.charAt(peg$currPos);
|
2548
2618
|
peg$currPos++;
|
2549
2619
|
} else {
|
2550
2620
|
s0 = null;
|
2551
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2621
|
+
if (peg$silentFails === 0) { peg$fail(peg$c72); }
|
2552
2622
|
}
|
2553
2623
|
peg$silentFails--;
|
2554
2624
|
if (s0 === null) {
|
2555
2625
|
s1 = null;
|
2556
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2626
|
+
if (peg$silentFails === 0) { peg$fail(peg$c70); }
|
2557
2627
|
}
|
2558
2628
|
|
2559
2629
|
return s0;
|
@@ -2566,7 +2636,7 @@ Emblem.Parser = (function() {
|
|
2566
2636
|
s1 = peg$parsepath();
|
2567
2637
|
if (s1 !== null) {
|
2568
2638
|
peg$reportedPos = s0;
|
2569
|
-
s1 = peg$
|
2639
|
+
s1 = peg$c73(s1);
|
2570
2640
|
}
|
2571
2641
|
if (s1 === null) {
|
2572
2642
|
peg$currPos = s0;
|
@@ -2585,7 +2655,7 @@ Emblem.Parser = (function() {
|
|
2585
2655
|
s1 = peg$parsestring();
|
2586
2656
|
if (s1 !== null) {
|
2587
2657
|
peg$reportedPos = s0;
|
2588
|
-
s1 = peg$
|
2658
|
+
s1 = peg$c74(s1);
|
2589
2659
|
}
|
2590
2660
|
if (s1 === null) {
|
2591
2661
|
peg$currPos = s0;
|
@@ -2604,7 +2674,7 @@ Emblem.Parser = (function() {
|
|
2604
2674
|
s1 = peg$parseinteger();
|
2605
2675
|
if (s1 !== null) {
|
2606
2676
|
peg$reportedPos = s0;
|
2607
|
-
s1 = peg$
|
2677
|
+
s1 = peg$c75(s1);
|
2608
2678
|
}
|
2609
2679
|
if (s1 === null) {
|
2610
2680
|
peg$currPos = s0;
|
@@ -2623,7 +2693,7 @@ Emblem.Parser = (function() {
|
|
2623
2693
|
s1 = peg$parseboolean();
|
2624
2694
|
if (s1 !== null) {
|
2625
2695
|
peg$reportedPos = s0;
|
2626
|
-
s1 = peg$
|
2696
|
+
s1 = peg$c76(s1);
|
2627
2697
|
}
|
2628
2698
|
if (s1 === null) {
|
2629
2699
|
peg$currPos = s0;
|
@@ -2639,26 +2709,26 @@ Emblem.Parser = (function() {
|
|
2639
2709
|
var s0, s1;
|
2640
2710
|
|
2641
2711
|
peg$silentFails++;
|
2642
|
-
if (input.substr(peg$currPos, 4) === peg$
|
2643
|
-
s0 = peg$
|
2712
|
+
if (input.substr(peg$currPos, 4) === peg$c78) {
|
2713
|
+
s0 = peg$c78;
|
2644
2714
|
peg$currPos += 4;
|
2645
2715
|
} else {
|
2646
2716
|
s0 = null;
|
2647
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2717
|
+
if (peg$silentFails === 0) { peg$fail(peg$c79); }
|
2648
2718
|
}
|
2649
2719
|
if (s0 === null) {
|
2650
|
-
if (input.substr(peg$currPos, 5) === peg$
|
2651
|
-
s0 = peg$
|
2720
|
+
if (input.substr(peg$currPos, 5) === peg$c80) {
|
2721
|
+
s0 = peg$c80;
|
2652
2722
|
peg$currPos += 5;
|
2653
2723
|
} else {
|
2654
2724
|
s0 = null;
|
2655
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2725
|
+
if (peg$silentFails === 0) { peg$fail(peg$c81); }
|
2656
2726
|
}
|
2657
2727
|
}
|
2658
2728
|
peg$silentFails--;
|
2659
2729
|
if (s0 === null) {
|
2660
2730
|
s1 = null;
|
2661
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2731
|
+
if (peg$silentFails === 0) { peg$fail(peg$c77); }
|
2662
2732
|
}
|
2663
2733
|
|
2664
2734
|
return s0;
|
@@ -2672,33 +2742,33 @@ Emblem.Parser = (function() {
|
|
2672
2742
|
s1 = peg$currPos;
|
2673
2743
|
s2 = peg$currPos;
|
2674
2744
|
if (input.charCodeAt(peg$currPos) === 45) {
|
2675
|
-
s3 = peg$
|
2745
|
+
s3 = peg$c83;
|
2676
2746
|
peg$currPos++;
|
2677
2747
|
} else {
|
2678
2748
|
s3 = null;
|
2679
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2749
|
+
if (peg$silentFails === 0) { peg$fail(peg$c84); }
|
2680
2750
|
}
|
2681
2751
|
if (s3 === null) {
|
2682
2752
|
s3 = peg$c1;
|
2683
2753
|
}
|
2684
2754
|
if (s3 !== null) {
|
2685
2755
|
s4 = [];
|
2686
|
-
if (peg$
|
2756
|
+
if (peg$c85.test(input.charAt(peg$currPos))) {
|
2687
2757
|
s5 = input.charAt(peg$currPos);
|
2688
2758
|
peg$currPos++;
|
2689
2759
|
} else {
|
2690
2760
|
s5 = null;
|
2691
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2761
|
+
if (peg$silentFails === 0) { peg$fail(peg$c86); }
|
2692
2762
|
}
|
2693
2763
|
if (s5 !== null) {
|
2694
2764
|
while (s5 !== null) {
|
2695
2765
|
s4.push(s5);
|
2696
|
-
if (peg$
|
2766
|
+
if (peg$c85.test(input.charAt(peg$currPos))) {
|
2697
2767
|
s5 = input.charAt(peg$currPos);
|
2698
2768
|
peg$currPos++;
|
2699
2769
|
} else {
|
2700
2770
|
s5 = null;
|
2701
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2771
|
+
if (peg$silentFails === 0) { peg$fail(peg$c86); }
|
2702
2772
|
}
|
2703
2773
|
}
|
2704
2774
|
} else {
|
@@ -2721,7 +2791,7 @@ Emblem.Parser = (function() {
|
|
2721
2791
|
s1 = s2;
|
2722
2792
|
if (s1 !== null) {
|
2723
2793
|
peg$reportedPos = s0;
|
2724
|
-
s1 = peg$
|
2794
|
+
s1 = peg$c87(s1);
|
2725
2795
|
}
|
2726
2796
|
if (s1 === null) {
|
2727
2797
|
peg$currPos = s0;
|
@@ -2732,7 +2802,7 @@ Emblem.Parser = (function() {
|
|
2732
2802
|
peg$silentFails--;
|
2733
2803
|
if (s0 === null) {
|
2734
2804
|
s1 = null;
|
2735
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2805
|
+
if (peg$silentFails === 0) { peg$fail(peg$c82); }
|
2736
2806
|
}
|
2737
2807
|
|
2738
2808
|
return s0;
|
@@ -2744,21 +2814,21 @@ Emblem.Parser = (function() {
|
|
2744
2814
|
s0 = peg$currPos;
|
2745
2815
|
s1 = peg$currPos;
|
2746
2816
|
if (input.charCodeAt(peg$currPos) === 34) {
|
2747
|
-
s2 = peg$
|
2817
|
+
s2 = peg$c88;
|
2748
2818
|
peg$currPos++;
|
2749
2819
|
} else {
|
2750
2820
|
s2 = null;
|
2751
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2821
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
2752
2822
|
}
|
2753
2823
|
if (s2 !== null) {
|
2754
2824
|
s3 = peg$parsehashDoubleQuoteStringValue();
|
2755
2825
|
if (s3 !== null) {
|
2756
2826
|
if (input.charCodeAt(peg$currPos) === 34) {
|
2757
|
-
s4 = peg$
|
2827
|
+
s4 = peg$c88;
|
2758
2828
|
peg$currPos++;
|
2759
2829
|
} else {
|
2760
2830
|
s4 = null;
|
2761
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2831
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
2762
2832
|
}
|
2763
2833
|
if (s4 !== null) {
|
2764
2834
|
s2 = [s2, s3, s4];
|
@@ -2778,21 +2848,21 @@ Emblem.Parser = (function() {
|
|
2778
2848
|
if (s1 === null) {
|
2779
2849
|
s1 = peg$currPos;
|
2780
2850
|
if (input.charCodeAt(peg$currPos) === 39) {
|
2781
|
-
s2 = peg$
|
2851
|
+
s2 = peg$c90;
|
2782
2852
|
peg$currPos++;
|
2783
2853
|
} else {
|
2784
2854
|
s2 = null;
|
2785
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2855
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
2786
2856
|
}
|
2787
2857
|
if (s2 !== null) {
|
2788
2858
|
s3 = peg$parsehashSingleQuoteStringValue();
|
2789
2859
|
if (s3 !== null) {
|
2790
2860
|
if (input.charCodeAt(peg$currPos) === 39) {
|
2791
|
-
s4 = peg$
|
2861
|
+
s4 = peg$c90;
|
2792
2862
|
peg$currPos++;
|
2793
2863
|
} else {
|
2794
2864
|
s4 = null;
|
2795
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2865
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
2796
2866
|
}
|
2797
2867
|
if (s4 !== null) {
|
2798
2868
|
s2 = [s2, s3, s4];
|
@@ -2812,7 +2882,7 @@ Emblem.Parser = (function() {
|
|
2812
2882
|
}
|
2813
2883
|
if (s1 !== null) {
|
2814
2884
|
peg$reportedPos = s0;
|
2815
|
-
s1 = peg$
|
2885
|
+
s1 = peg$c92(s1);
|
2816
2886
|
}
|
2817
2887
|
if (s1 === null) {
|
2818
2888
|
peg$currPos = s0;
|
@@ -2841,12 +2911,12 @@ Emblem.Parser = (function() {
|
|
2841
2911
|
s3 = peg$c0;
|
2842
2912
|
}
|
2843
2913
|
if (s3 !== null) {
|
2844
|
-
if (peg$
|
2914
|
+
if (peg$c93.test(input.charAt(peg$currPos))) {
|
2845
2915
|
s4 = input.charAt(peg$currPos);
|
2846
2916
|
peg$currPos++;
|
2847
2917
|
} else {
|
2848
2918
|
s4 = null;
|
2849
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2919
|
+
if (peg$silentFails === 0) { peg$fail(peg$c94); }
|
2850
2920
|
}
|
2851
2921
|
if (s4 !== null) {
|
2852
2922
|
s3 = [s3, s4];
|
@@ -2873,12 +2943,12 @@ Emblem.Parser = (function() {
|
|
2873
2943
|
s3 = peg$c0;
|
2874
2944
|
}
|
2875
2945
|
if (s3 !== null) {
|
2876
|
-
if (peg$
|
2946
|
+
if (peg$c93.test(input.charAt(peg$currPos))) {
|
2877
2947
|
s4 = input.charAt(peg$currPos);
|
2878
2948
|
peg$currPos++;
|
2879
2949
|
} else {
|
2880
2950
|
s4 = null;
|
2881
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2951
|
+
if (peg$silentFails === 0) { peg$fail(peg$c94); }
|
2882
2952
|
}
|
2883
2953
|
if (s4 !== null) {
|
2884
2954
|
s3 = [s3, s4];
|
@@ -2917,12 +2987,12 @@ Emblem.Parser = (function() {
|
|
2917
2987
|
s3 = peg$c0;
|
2918
2988
|
}
|
2919
2989
|
if (s3 !== null) {
|
2920
|
-
if (peg$
|
2990
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
2921
2991
|
s4 = input.charAt(peg$currPos);
|
2922
2992
|
peg$currPos++;
|
2923
2993
|
} else {
|
2924
2994
|
s4 = null;
|
2925
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
2995
|
+
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
2926
2996
|
}
|
2927
2997
|
if (s4 !== null) {
|
2928
2998
|
s3 = [s3, s4];
|
@@ -2949,12 +3019,12 @@ Emblem.Parser = (function() {
|
|
2949
3019
|
s3 = peg$c0;
|
2950
3020
|
}
|
2951
3021
|
if (s3 !== null) {
|
2952
|
-
if (peg$
|
3022
|
+
if (peg$c95.test(input.charAt(peg$currPos))) {
|
2953
3023
|
s4 = input.charAt(peg$currPos);
|
2954
3024
|
peg$currPos++;
|
2955
3025
|
} else {
|
2956
3026
|
s4 = null;
|
2957
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3027
|
+
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
2958
3028
|
}
|
2959
3029
|
if (s4 !== null) {
|
2960
3030
|
s3 = [s3, s4];
|
@@ -2979,12 +3049,12 @@ Emblem.Parser = (function() {
|
|
2979
3049
|
function peg$parsealpha() {
|
2980
3050
|
var s0;
|
2981
3051
|
|
2982
|
-
if (peg$
|
3052
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
2983
3053
|
s0 = input.charAt(peg$currPos);
|
2984
3054
|
peg$currPos++;
|
2985
3055
|
} else {
|
2986
3056
|
s0 = null;
|
2987
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3057
|
+
if (peg$silentFails === 0) { peg$fail(peg$c98); }
|
2988
3058
|
}
|
2989
3059
|
|
2990
3060
|
return s0;
|
@@ -3008,7 +3078,7 @@ Emblem.Parser = (function() {
|
|
3008
3078
|
s4 = peg$parseanyDedent();
|
3009
3079
|
if (s4 !== null) {
|
3010
3080
|
peg$reportedPos = s0;
|
3011
|
-
s1 = peg$
|
3081
|
+
s1 = peg$c99(s1, s2, s3);
|
3012
3082
|
if (s1 === null) {
|
3013
3083
|
peg$currPos = s0;
|
3014
3084
|
s0 = s1;
|
@@ -3042,12 +3112,12 @@ Emblem.Parser = (function() {
|
|
3042
3112
|
var s0, s1, s2;
|
3043
3113
|
|
3044
3114
|
s0 = peg$currPos;
|
3045
|
-
if (peg$
|
3115
|
+
if (peg$c100.test(input.charAt(peg$currPos))) {
|
3046
3116
|
s1 = input.charAt(peg$currPos);
|
3047
3117
|
peg$currPos++;
|
3048
3118
|
} else {
|
3049
3119
|
s1 = null;
|
3050
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3120
|
+
if (peg$silentFails === 0) { peg$fail(peg$c101); }
|
3051
3121
|
}
|
3052
3122
|
if (s1 !== null) {
|
3053
3123
|
if (input.charCodeAt(peg$currPos) === 32) {
|
@@ -3082,11 +3152,11 @@ Emblem.Parser = (function() {
|
|
3082
3152
|
s1 = peg$currPos;
|
3083
3153
|
peg$silentFails++;
|
3084
3154
|
if (input.charCodeAt(peg$currPos) === 60) {
|
3085
|
-
s2 = peg$
|
3155
|
+
s2 = peg$c102;
|
3086
3156
|
peg$currPos++;
|
3087
3157
|
} else {
|
3088
3158
|
s2 = null;
|
3089
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3159
|
+
if (peg$silentFails === 0) { peg$fail(peg$c103); }
|
3090
3160
|
}
|
3091
3161
|
peg$silentFails--;
|
3092
3162
|
if (s2 !== null) {
|
@@ -3097,7 +3167,7 @@ Emblem.Parser = (function() {
|
|
3097
3167
|
}
|
3098
3168
|
if (s1 !== null) {
|
3099
3169
|
peg$reportedPos = s0;
|
3100
|
-
s1 = peg$
|
3170
|
+
s1 = peg$c104();
|
3101
3171
|
}
|
3102
3172
|
if (s1 === null) {
|
3103
3173
|
peg$currPos = s0;
|
@@ -3149,7 +3219,7 @@ Emblem.Parser = (function() {
|
|
3149
3219
|
}
|
3150
3220
|
if (s3 !== null) {
|
3151
3221
|
peg$reportedPos = s0;
|
3152
|
-
s1 = peg$
|
3222
|
+
s1 = peg$c105(s1, s2, s3);
|
3153
3223
|
if (s1 === null) {
|
3154
3224
|
peg$currPos = s0;
|
3155
3225
|
s0 = s1;
|
@@ -3225,7 +3295,7 @@ Emblem.Parser = (function() {
|
|
3225
3295
|
s3 = peg$parseTERM();
|
3226
3296
|
if (s3 !== null) {
|
3227
3297
|
peg$reportedPos = s0;
|
3228
|
-
s1 = peg$
|
3298
|
+
s1 = peg$c106(s1, s2);
|
3229
3299
|
if (s1 === null) {
|
3230
3300
|
peg$currPos = s0;
|
3231
3301
|
s0 = s1;
|
@@ -3253,21 +3323,21 @@ Emblem.Parser = (function() {
|
|
3253
3323
|
|
3254
3324
|
s0 = peg$currPos;
|
3255
3325
|
if (input.charCodeAt(peg$currPos) === 34) {
|
3256
|
-
s1 = peg$
|
3326
|
+
s1 = peg$c88;
|
3257
3327
|
peg$currPos++;
|
3258
3328
|
} else {
|
3259
3329
|
s1 = null;
|
3260
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3330
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
3261
3331
|
}
|
3262
3332
|
if (s1 !== null) {
|
3263
3333
|
s2 = peg$parseattributeTextNodesInner();
|
3264
3334
|
if (s2 !== null) {
|
3265
3335
|
if (input.charCodeAt(peg$currPos) === 34) {
|
3266
|
-
s3 = peg$
|
3336
|
+
s3 = peg$c88;
|
3267
3337
|
peg$currPos++;
|
3268
3338
|
} else {
|
3269
3339
|
s3 = null;
|
3270
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3340
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
3271
3341
|
}
|
3272
3342
|
if (s3 !== null) {
|
3273
3343
|
peg$reportedPos = s0;
|
@@ -3293,21 +3363,21 @@ Emblem.Parser = (function() {
|
|
3293
3363
|
if (s0 === null) {
|
3294
3364
|
s0 = peg$currPos;
|
3295
3365
|
if (input.charCodeAt(peg$currPos) === 39) {
|
3296
|
-
s1 = peg$
|
3366
|
+
s1 = peg$c90;
|
3297
3367
|
peg$currPos++;
|
3298
3368
|
} else {
|
3299
3369
|
s1 = null;
|
3300
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3370
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
3301
3371
|
}
|
3302
3372
|
if (s1 !== null) {
|
3303
3373
|
s2 = peg$parseattributeTextNodesInnerSingle();
|
3304
3374
|
if (s2 !== null) {
|
3305
3375
|
if (input.charCodeAt(peg$currPos) === 39) {
|
3306
|
-
s3 = peg$
|
3376
|
+
s3 = peg$c90;
|
3307
3377
|
peg$currPos++;
|
3308
3378
|
} else {
|
3309
3379
|
s3 = null;
|
3310
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3380
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
3311
3381
|
}
|
3312
3382
|
if (s3 !== null) {
|
3313
3383
|
peg$reportedPos = s0;
|
@@ -3386,7 +3456,7 @@ Emblem.Parser = (function() {
|
|
3386
3456
|
}
|
3387
3457
|
if (s2 !== null) {
|
3388
3458
|
peg$reportedPos = s0;
|
3389
|
-
s1 = peg$
|
3459
|
+
s1 = peg$c107(s1, s2);
|
3390
3460
|
if (s1 === null) {
|
3391
3461
|
peg$currPos = s0;
|
3392
3462
|
s0 = s1;
|
@@ -3456,7 +3526,7 @@ Emblem.Parser = (function() {
|
|
3456
3526
|
}
|
3457
3527
|
if (s2 !== null) {
|
3458
3528
|
peg$reportedPos = s0;
|
3459
|
-
s1 = peg$
|
3529
|
+
s1 = peg$c107(s1, s2);
|
3460
3530
|
if (s1 === null) {
|
3461
3531
|
peg$currPos = s0;
|
3462
3532
|
s0 = s1;
|
@@ -3493,11 +3563,11 @@ Emblem.Parser = (function() {
|
|
3493
3563
|
s1 = peg$currPos;
|
3494
3564
|
peg$silentFails++;
|
3495
3565
|
if (input.charCodeAt(peg$currPos) === 123) {
|
3496
|
-
s2 = peg$
|
3566
|
+
s2 = peg$c108;
|
3497
3567
|
peg$currPos++;
|
3498
3568
|
} else {
|
3499
3569
|
s2 = null;
|
3500
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3570
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
3501
3571
|
}
|
3502
3572
|
peg$silentFails--;
|
3503
3573
|
if (s2 === null) {
|
@@ -3509,21 +3579,21 @@ Emblem.Parser = (function() {
|
|
3509
3579
|
if (s1 !== null) {
|
3510
3580
|
s2 = peg$currPos;
|
3511
3581
|
s3 = [];
|
3512
|
-
if (peg$
|
3582
|
+
if (peg$c110.test(input.charAt(peg$currPos))) {
|
3513
3583
|
s4 = input.charAt(peg$currPos);
|
3514
3584
|
peg$currPos++;
|
3515
3585
|
} else {
|
3516
3586
|
s4 = null;
|
3517
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3587
|
+
if (peg$silentFails === 0) { peg$fail(peg$c111); }
|
3518
3588
|
}
|
3519
3589
|
while (s4 !== null) {
|
3520
3590
|
s3.push(s4);
|
3521
|
-
if (peg$
|
3591
|
+
if (peg$c110.test(input.charAt(peg$currPos))) {
|
3522
3592
|
s4 = input.charAt(peg$currPos);
|
3523
3593
|
peg$currPos++;
|
3524
3594
|
} else {
|
3525
3595
|
s4 = null;
|
3526
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3596
|
+
if (peg$silentFails === 0) { peg$fail(peg$c111); }
|
3527
3597
|
}
|
3528
3598
|
}
|
3529
3599
|
if (s3 !== null) {
|
@@ -3532,7 +3602,7 @@ Emblem.Parser = (function() {
|
|
3532
3602
|
s2 = s3;
|
3533
3603
|
if (s2 !== null) {
|
3534
3604
|
peg$reportedPos = s0;
|
3535
|
-
s1 = peg$
|
3605
|
+
s1 = peg$c112(s2);
|
3536
3606
|
if (s1 === null) {
|
3537
3607
|
peg$currPos = s0;
|
3538
3608
|
s0 = s1;
|
@@ -3566,7 +3636,7 @@ Emblem.Parser = (function() {
|
|
3566
3636
|
s5 = peg$parsedoubleClose();
|
3567
3637
|
if (s5 !== null) {
|
3568
3638
|
peg$reportedPos = s0;
|
3569
|
-
s1 = peg$
|
3639
|
+
s1 = peg$c113(s3);
|
3570
3640
|
if (s1 === null) {
|
3571
3641
|
peg$currPos = s0;
|
3572
3642
|
s0 = s1;
|
@@ -3606,7 +3676,7 @@ Emblem.Parser = (function() {
|
|
3606
3676
|
s5 = peg$parsehashStacheClose();
|
3607
3677
|
if (s5 !== null) {
|
3608
3678
|
peg$reportedPos = s0;
|
3609
|
-
s1 = peg$
|
3679
|
+
s1 = peg$c113(s3);
|
3610
3680
|
if (s1 === null) {
|
3611
3681
|
peg$currPos = s0;
|
3612
3682
|
s0 = s1;
|
@@ -3653,7 +3723,7 @@ Emblem.Parser = (function() {
|
|
3653
3723
|
s5 = peg$parsetripleClose();
|
3654
3724
|
if (s5 !== null) {
|
3655
3725
|
peg$reportedPos = s0;
|
3656
|
-
s1 = peg$
|
3726
|
+
s1 = peg$c114(s3);
|
3657
3727
|
if (s1 === null) {
|
3658
3728
|
peg$currPos = s0;
|
3659
3729
|
s0 = s1;
|
@@ -3705,7 +3775,7 @@ Emblem.Parser = (function() {
|
|
3705
3775
|
s1 = s2;
|
3706
3776
|
if (s1 !== null) {
|
3707
3777
|
peg$reportedPos = s0;
|
3708
|
-
s1 = peg$
|
3778
|
+
s1 = peg$c115(s1);
|
3709
3779
|
}
|
3710
3780
|
if (s1 === null) {
|
3711
3781
|
peg$currPos = s0;
|
@@ -3738,7 +3808,7 @@ Emblem.Parser = (function() {
|
|
3738
3808
|
s1 = s2;
|
3739
3809
|
if (s1 !== null) {
|
3740
3810
|
peg$reportedPos = s0;
|
3741
|
-
s1 = peg$
|
3811
|
+
s1 = peg$c115(s1);
|
3742
3812
|
}
|
3743
3813
|
if (s1 === null) {
|
3744
3814
|
peg$currPos = s0;
|
@@ -3759,11 +3829,11 @@ Emblem.Parser = (function() {
|
|
3759
3829
|
s2 = peg$parsenonMustacheUnit();
|
3760
3830
|
if (s2 === null) {
|
3761
3831
|
if (input.charCodeAt(peg$currPos) === 34) {
|
3762
|
-
s2 = peg$
|
3832
|
+
s2 = peg$c88;
|
3763
3833
|
peg$currPos++;
|
3764
3834
|
} else {
|
3765
3835
|
s2 = null;
|
3766
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3836
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
3767
3837
|
}
|
3768
3838
|
}
|
3769
3839
|
peg$silentFails--;
|
@@ -3779,7 +3849,7 @@ Emblem.Parser = (function() {
|
|
3779
3849
|
peg$currPos++;
|
3780
3850
|
} else {
|
3781
3851
|
s2 = null;
|
3782
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3852
|
+
if (peg$silentFails === 0) { peg$fail(peg$c116); }
|
3783
3853
|
}
|
3784
3854
|
if (s2 !== null) {
|
3785
3855
|
peg$reportedPos = s0;
|
@@ -3811,11 +3881,11 @@ Emblem.Parser = (function() {
|
|
3811
3881
|
s2 = peg$parsenonMustacheUnit();
|
3812
3882
|
if (s2 === null) {
|
3813
3883
|
if (input.charCodeAt(peg$currPos) === 39) {
|
3814
|
-
s2 = peg$
|
3884
|
+
s2 = peg$c90;
|
3815
3885
|
peg$currPos++;
|
3816
3886
|
} else {
|
3817
3887
|
s2 = null;
|
3818
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3888
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
3819
3889
|
}
|
3820
3890
|
}
|
3821
3891
|
peg$silentFails--;
|
@@ -3831,7 +3901,7 @@ Emblem.Parser = (function() {
|
|
3831
3901
|
peg$currPos++;
|
3832
3902
|
} else {
|
3833
3903
|
s2 = null;
|
3834
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3904
|
+
if (peg$silentFails === 0) { peg$fail(peg$c116); }
|
3835
3905
|
}
|
3836
3906
|
if (s2 !== null) {
|
3837
3907
|
peg$reportedPos = s0;
|
@@ -3875,7 +3945,7 @@ Emblem.Parser = (function() {
|
|
3875
3945
|
s1 = s2;
|
3876
3946
|
if (s1 !== null) {
|
3877
3947
|
peg$reportedPos = s0;
|
3878
|
-
s1 = peg$
|
3948
|
+
s1 = peg$c115(s1);
|
3879
3949
|
}
|
3880
3950
|
if (s1 === null) {
|
3881
3951
|
peg$currPos = s0;
|
@@ -3907,7 +3977,7 @@ Emblem.Parser = (function() {
|
|
3907
3977
|
peg$currPos++;
|
3908
3978
|
} else {
|
3909
3979
|
s2 = null;
|
3910
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
3980
|
+
if (peg$silentFails === 0) { peg$fail(peg$c116); }
|
3911
3981
|
}
|
3912
3982
|
if (s2 !== null) {
|
3913
3983
|
peg$reportedPos = s0;
|
@@ -3965,7 +4035,7 @@ Emblem.Parser = (function() {
|
|
3965
4035
|
s5 = peg$parsesingleClose();
|
3966
4036
|
if (s5 !== null) {
|
3967
4037
|
peg$reportedPos = s0;
|
3968
|
-
s1 = peg$
|
4038
|
+
s1 = peg$c113(s3);
|
3969
4039
|
if (s1 === null) {
|
3970
4040
|
peg$currPos = s0;
|
3971
4041
|
s0 = s1;
|
@@ -4015,16 +4085,16 @@ Emblem.Parser = (function() {
|
|
4015
4085
|
|
4016
4086
|
peg$silentFails++;
|
4017
4087
|
if (input.charCodeAt(peg$currPos) === 123) {
|
4018
|
-
s0 = peg$
|
4088
|
+
s0 = peg$c108;
|
4019
4089
|
peg$currPos++;
|
4020
4090
|
} else {
|
4021
4091
|
s0 = null;
|
4022
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4092
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
4023
4093
|
}
|
4024
4094
|
peg$silentFails--;
|
4025
4095
|
if (s0 === null) {
|
4026
4096
|
s1 = null;
|
4027
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4097
|
+
if (peg$silentFails === 0) { peg$fail(peg$c117); }
|
4028
4098
|
}
|
4029
4099
|
|
4030
4100
|
return s0;
|
@@ -4034,17 +4104,17 @@ Emblem.Parser = (function() {
|
|
4034
4104
|
var s0, s1;
|
4035
4105
|
|
4036
4106
|
peg$silentFails++;
|
4037
|
-
if (input.substr(peg$currPos, 2) === peg$
|
4038
|
-
s0 = peg$
|
4107
|
+
if (input.substr(peg$currPos, 2) === peg$c119) {
|
4108
|
+
s0 = peg$c119;
|
4039
4109
|
peg$currPos += 2;
|
4040
4110
|
} else {
|
4041
4111
|
s0 = null;
|
4042
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4112
|
+
if (peg$silentFails === 0) { peg$fail(peg$c120); }
|
4043
4113
|
}
|
4044
4114
|
peg$silentFails--;
|
4045
4115
|
if (s0 === null) {
|
4046
4116
|
s1 = null;
|
4047
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4117
|
+
if (peg$silentFails === 0) { peg$fail(peg$c118); }
|
4048
4118
|
}
|
4049
4119
|
|
4050
4120
|
return s0;
|
@@ -4054,17 +4124,17 @@ Emblem.Parser = (function() {
|
|
4054
4124
|
var s0, s1;
|
4055
4125
|
|
4056
4126
|
peg$silentFails++;
|
4057
|
-
if (input.substr(peg$currPos, 3) === peg$
|
4058
|
-
s0 = peg$
|
4127
|
+
if (input.substr(peg$currPos, 3) === peg$c122) {
|
4128
|
+
s0 = peg$c122;
|
4059
4129
|
peg$currPos += 3;
|
4060
4130
|
} else {
|
4061
4131
|
s0 = null;
|
4062
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4132
|
+
if (peg$silentFails === 0) { peg$fail(peg$c123); }
|
4063
4133
|
}
|
4064
4134
|
peg$silentFails--;
|
4065
4135
|
if (s0 === null) {
|
4066
4136
|
s1 = null;
|
4067
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4137
|
+
if (peg$silentFails === 0) { peg$fail(peg$c121); }
|
4068
4138
|
}
|
4069
4139
|
|
4070
4140
|
return s0;
|
@@ -4075,16 +4145,16 @@ Emblem.Parser = (function() {
|
|
4075
4145
|
|
4076
4146
|
peg$silentFails++;
|
4077
4147
|
if (input.charCodeAt(peg$currPos) === 125) {
|
4078
|
-
s0 = peg$
|
4148
|
+
s0 = peg$c125;
|
4079
4149
|
peg$currPos++;
|
4080
4150
|
} else {
|
4081
4151
|
s0 = null;
|
4082
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4152
|
+
if (peg$silentFails === 0) { peg$fail(peg$c126); }
|
4083
4153
|
}
|
4084
4154
|
peg$silentFails--;
|
4085
4155
|
if (s0 === null) {
|
4086
4156
|
s1 = null;
|
4087
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4157
|
+
if (peg$silentFails === 0) { peg$fail(peg$c124); }
|
4088
4158
|
}
|
4089
4159
|
|
4090
4160
|
return s0;
|
@@ -4094,17 +4164,17 @@ Emblem.Parser = (function() {
|
|
4094
4164
|
var s0, s1;
|
4095
4165
|
|
4096
4166
|
peg$silentFails++;
|
4097
|
-
if (input.substr(peg$currPos, 2) === peg$
|
4098
|
-
s0 = peg$
|
4167
|
+
if (input.substr(peg$currPos, 2) === peg$c128) {
|
4168
|
+
s0 = peg$c128;
|
4099
4169
|
peg$currPos += 2;
|
4100
4170
|
} else {
|
4101
4171
|
s0 = null;
|
4102
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4172
|
+
if (peg$silentFails === 0) { peg$fail(peg$c129); }
|
4103
4173
|
}
|
4104
4174
|
peg$silentFails--;
|
4105
4175
|
if (s0 === null) {
|
4106
4176
|
s1 = null;
|
4107
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4177
|
+
if (peg$silentFails === 0) { peg$fail(peg$c127); }
|
4108
4178
|
}
|
4109
4179
|
|
4110
4180
|
return s0;
|
@@ -4114,17 +4184,17 @@ Emblem.Parser = (function() {
|
|
4114
4184
|
var s0, s1;
|
4115
4185
|
|
4116
4186
|
peg$silentFails++;
|
4117
|
-
if (input.substr(peg$currPos, 3) === peg$
|
4118
|
-
s0 = peg$
|
4187
|
+
if (input.substr(peg$currPos, 3) === peg$c131) {
|
4188
|
+
s0 = peg$c131;
|
4119
4189
|
peg$currPos += 3;
|
4120
4190
|
} else {
|
4121
4191
|
s0 = null;
|
4122
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4192
|
+
if (peg$silentFails === 0) { peg$fail(peg$c132); }
|
4123
4193
|
}
|
4124
4194
|
peg$silentFails--;
|
4125
4195
|
if (s0 === null) {
|
4126
4196
|
s1 = null;
|
4127
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4197
|
+
if (peg$silentFails === 0) { peg$fail(peg$c130); }
|
4128
4198
|
}
|
4129
4199
|
|
4130
4200
|
return s0;
|
@@ -4135,16 +4205,16 @@ Emblem.Parser = (function() {
|
|
4135
4205
|
|
4136
4206
|
peg$silentFails++;
|
4137
4207
|
if (input.charCodeAt(peg$currPos) === 40) {
|
4138
|
-
s0 = peg$
|
4208
|
+
s0 = peg$c134;
|
4139
4209
|
peg$currPos++;
|
4140
4210
|
} else {
|
4141
4211
|
s0 = null;
|
4142
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4212
|
+
if (peg$silentFails === 0) { peg$fail(peg$c135); }
|
4143
4213
|
}
|
4144
4214
|
peg$silentFails--;
|
4145
4215
|
if (s0 === null) {
|
4146
4216
|
s1 = null;
|
4147
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4217
|
+
if (peg$silentFails === 0) { peg$fail(peg$c133); }
|
4148
4218
|
}
|
4149
4219
|
|
4150
4220
|
return s0;
|
@@ -4155,16 +4225,16 @@ Emblem.Parser = (function() {
|
|
4155
4225
|
|
4156
4226
|
peg$silentFails++;
|
4157
4227
|
if (input.charCodeAt(peg$currPos) === 41) {
|
4158
|
-
s0 = peg$
|
4228
|
+
s0 = peg$c137;
|
4159
4229
|
peg$currPos++;
|
4160
4230
|
} else {
|
4161
4231
|
s0 = null;
|
4162
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4232
|
+
if (peg$silentFails === 0) { peg$fail(peg$c138); }
|
4163
4233
|
}
|
4164
4234
|
peg$silentFails--;
|
4165
4235
|
if (s0 === null) {
|
4166
4236
|
s1 = null;
|
4167
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4237
|
+
if (peg$silentFails === 0) { peg$fail(peg$c136); }
|
4168
4238
|
}
|
4169
4239
|
|
4170
4240
|
return s0;
|
@@ -4174,17 +4244,17 @@ Emblem.Parser = (function() {
|
|
4174
4244
|
var s0, s1;
|
4175
4245
|
|
4176
4246
|
peg$silentFails++;
|
4177
|
-
if (input.substr(peg$currPos, 2) === peg$
|
4178
|
-
s0 = peg$
|
4247
|
+
if (input.substr(peg$currPos, 2) === peg$c140) {
|
4248
|
+
s0 = peg$c140;
|
4179
4249
|
peg$currPos += 2;
|
4180
4250
|
} else {
|
4181
4251
|
s0 = null;
|
4182
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4252
|
+
if (peg$silentFails === 0) { peg$fail(peg$c141); }
|
4183
4253
|
}
|
4184
4254
|
peg$silentFails--;
|
4185
4255
|
if (s0 === null) {
|
4186
4256
|
s1 = null;
|
4187
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4257
|
+
if (peg$silentFails === 0) { peg$fail(peg$c139); }
|
4188
4258
|
}
|
4189
4259
|
|
4190
4260
|
return s0;
|
@@ -4195,16 +4265,16 @@ Emblem.Parser = (function() {
|
|
4195
4265
|
|
4196
4266
|
peg$silentFails++;
|
4197
4267
|
if (input.charCodeAt(peg$currPos) === 125) {
|
4198
|
-
s0 = peg$
|
4268
|
+
s0 = peg$c125;
|
4199
4269
|
peg$currPos++;
|
4200
4270
|
} else {
|
4201
4271
|
s0 = null;
|
4202
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4272
|
+
if (peg$silentFails === 0) { peg$fail(peg$c126); }
|
4203
4273
|
}
|
4204
4274
|
peg$silentFails--;
|
4205
4275
|
if (s0 === null) {
|
4206
4276
|
s1 = null;
|
4207
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4277
|
+
if (peg$silentFails === 0) { peg$fail(peg$c142); }
|
4208
4278
|
}
|
4209
4279
|
|
4210
4280
|
return s0;
|
@@ -4214,12 +4284,12 @@ Emblem.Parser = (function() {
|
|
4214
4284
|
var s0, s1, s2;
|
4215
4285
|
|
4216
4286
|
s0 = peg$currPos;
|
4217
|
-
if (input.substr(peg$currPos, 2) === peg$
|
4218
|
-
s1 = peg$
|
4287
|
+
if (input.substr(peg$currPos, 2) === peg$c143) {
|
4288
|
+
s1 = peg$c143;
|
4219
4289
|
peg$currPos += 2;
|
4220
4290
|
} else {
|
4221
4291
|
s1 = null;
|
4222
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4292
|
+
if (peg$silentFails === 0) { peg$fail(peg$c144); }
|
4223
4293
|
}
|
4224
4294
|
if (s1 !== null) {
|
4225
4295
|
if (input.charCodeAt(peg$currPos) === 32) {
|
@@ -4234,7 +4304,7 @@ Emblem.Parser = (function() {
|
|
4234
4304
|
}
|
4235
4305
|
if (s2 !== null) {
|
4236
4306
|
peg$reportedPos = s0;
|
4237
|
-
s1 = peg$
|
4307
|
+
s1 = peg$c145();
|
4238
4308
|
if (s1 === null) {
|
4239
4309
|
peg$currPos = s0;
|
4240
4310
|
s0 = s1;
|
@@ -4271,7 +4341,7 @@ Emblem.Parser = (function() {
|
|
4271
4341
|
}
|
4272
4342
|
if (s2 !== null) {
|
4273
4343
|
peg$reportedPos = s0;
|
4274
|
-
s1 = peg$
|
4344
|
+
s1 = peg$c146();
|
4275
4345
|
if (s1 === null) {
|
4276
4346
|
peg$currPos = s0;
|
4277
4347
|
s0 = s1;
|
@@ -4317,7 +4387,7 @@ Emblem.Parser = (function() {
|
|
4317
4387
|
}
|
4318
4388
|
if (s3 !== null) {
|
4319
4389
|
peg$reportedPos = peg$currPos;
|
4320
|
-
s4 = peg$
|
4390
|
+
s4 = peg$c147(s1, s2);
|
4321
4391
|
if (s4) {
|
4322
4392
|
s4 = peg$c1;
|
4323
4393
|
} else {
|
@@ -4367,7 +4437,7 @@ Emblem.Parser = (function() {
|
|
4367
4437
|
}
|
4368
4438
|
if (s3 !== null) {
|
4369
4439
|
peg$reportedPos = s0;
|
4370
|
-
s1 = peg$
|
4440
|
+
s1 = peg$c148(s1, s2, s3);
|
4371
4441
|
if (s1 === null) {
|
4372
4442
|
peg$currPos = s0;
|
4373
4443
|
s0 = s1;
|
@@ -4399,7 +4469,7 @@ Emblem.Parser = (function() {
|
|
4399
4469
|
s3 = peg$parseidShorthand();
|
4400
4470
|
if (s3 !== null) {
|
4401
4471
|
peg$reportedPos = s2;
|
4402
|
-
s3 = peg$
|
4472
|
+
s3 = peg$c149(s3);
|
4403
4473
|
}
|
4404
4474
|
if (s3 === null) {
|
4405
4475
|
peg$currPos = s2;
|
@@ -4412,7 +4482,7 @@ Emblem.Parser = (function() {
|
|
4412
4482
|
s3 = peg$parseclassShorthand();
|
4413
4483
|
if (s3 !== null) {
|
4414
4484
|
peg$reportedPos = s2;
|
4415
|
-
s3 = peg$
|
4485
|
+
s3 = peg$c150(s3);
|
4416
4486
|
}
|
4417
4487
|
if (s3 === null) {
|
4418
4488
|
peg$currPos = s2;
|
@@ -4428,7 +4498,7 @@ Emblem.Parser = (function() {
|
|
4428
4498
|
s3 = peg$parseidShorthand();
|
4429
4499
|
if (s3 !== null) {
|
4430
4500
|
peg$reportedPos = s2;
|
4431
|
-
s3 = peg$
|
4501
|
+
s3 = peg$c149(s3);
|
4432
4502
|
}
|
4433
4503
|
if (s3 === null) {
|
4434
4504
|
peg$currPos = s2;
|
@@ -4441,7 +4511,7 @@ Emblem.Parser = (function() {
|
|
4441
4511
|
s3 = peg$parseclassShorthand();
|
4442
4512
|
if (s3 !== null) {
|
4443
4513
|
peg$reportedPos = s2;
|
4444
|
-
s3 = peg$
|
4514
|
+
s3 = peg$c150(s3);
|
4445
4515
|
}
|
4446
4516
|
if (s3 === null) {
|
4447
4517
|
peg$currPos = s2;
|
@@ -4456,7 +4526,7 @@ Emblem.Parser = (function() {
|
|
4456
4526
|
}
|
4457
4527
|
if (s1 !== null) {
|
4458
4528
|
peg$reportedPos = s0;
|
4459
|
-
s1 = peg$
|
4529
|
+
s1 = peg$c151(s1);
|
4460
4530
|
}
|
4461
4531
|
if (s1 === null) {
|
4462
4532
|
peg$currPos = s0;
|
@@ -4510,7 +4580,7 @@ Emblem.Parser = (function() {
|
|
4510
4580
|
}
|
4511
4581
|
if (s2 !== null) {
|
4512
4582
|
peg$reportedPos = s0;
|
4513
|
-
s1 = peg$
|
4583
|
+
s1 = peg$c152(s2);
|
4514
4584
|
if (s1 === null) {
|
4515
4585
|
peg$currPos = s0;
|
4516
4586
|
s0 = s1;
|
@@ -4532,12 +4602,12 @@ Emblem.Parser = (function() {
|
|
4532
4602
|
function peg$parseboundAttributeValueChar() {
|
4533
4603
|
var s0;
|
4534
4604
|
|
4535
|
-
if (peg$
|
4605
|
+
if (peg$c153.test(input.charAt(peg$currPos))) {
|
4536
4606
|
s0 = input.charAt(peg$currPos);
|
4537
4607
|
peg$currPos++;
|
4538
4608
|
} else {
|
4539
4609
|
s0 = null;
|
4540
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4610
|
+
if (peg$silentFails === 0) { peg$fail(peg$c154); }
|
4541
4611
|
}
|
4542
4612
|
if (s0 === null) {
|
4543
4613
|
s0 = peg$parsenonSeparatorColon();
|
@@ -4555,7 +4625,7 @@ Emblem.Parser = (function() {
|
|
4555
4625
|
s1 = peg$parsepathIdNode();
|
4556
4626
|
if (s1 !== null) {
|
4557
4627
|
peg$reportedPos = s0;
|
4558
|
-
s1 = peg$
|
4628
|
+
s1 = peg$c155(s1);
|
4559
4629
|
}
|
4560
4630
|
if (s1 === null) {
|
4561
4631
|
peg$currPos = s0;
|
@@ -4574,21 +4644,21 @@ Emblem.Parser = (function() {
|
|
4574
4644
|
s0 = peg$currPos;
|
4575
4645
|
s1 = peg$currPos;
|
4576
4646
|
if (input.charCodeAt(peg$currPos) === 34) {
|
4577
|
-
s2 = peg$
|
4647
|
+
s2 = peg$c88;
|
4578
4648
|
peg$currPos++;
|
4579
4649
|
} else {
|
4580
4650
|
s2 = null;
|
4581
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4651
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
4582
4652
|
}
|
4583
4653
|
if (s2 !== null) {
|
4584
4654
|
s3 = peg$parseinMustache();
|
4585
4655
|
if (s3 !== null) {
|
4586
4656
|
if (input.charCodeAt(peg$currPos) === 34) {
|
4587
|
-
s4 = peg$
|
4657
|
+
s4 = peg$c88;
|
4588
4658
|
peg$currPos++;
|
4589
4659
|
} else {
|
4590
4660
|
s4 = null;
|
4591
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4661
|
+
if (peg$silentFails === 0) { peg$fail(peg$c89); }
|
4592
4662
|
}
|
4593
4663
|
if (s4 !== null) {
|
4594
4664
|
s2 = [s2, s3, s4];
|
@@ -4608,21 +4678,21 @@ Emblem.Parser = (function() {
|
|
4608
4678
|
if (s1 === null) {
|
4609
4679
|
s1 = peg$currPos;
|
4610
4680
|
if (input.charCodeAt(peg$currPos) === 39) {
|
4611
|
-
s2 = peg$
|
4681
|
+
s2 = peg$c90;
|
4612
4682
|
peg$currPos++;
|
4613
4683
|
} else {
|
4614
4684
|
s2 = null;
|
4615
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4685
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
4616
4686
|
}
|
4617
4687
|
if (s2 !== null) {
|
4618
4688
|
s3 = peg$parseinMustache();
|
4619
4689
|
if (s3 !== null) {
|
4620
4690
|
if (input.charCodeAt(peg$currPos) === 39) {
|
4621
|
-
s4 = peg$
|
4691
|
+
s4 = peg$c90;
|
4622
4692
|
peg$currPos++;
|
4623
4693
|
} else {
|
4624
4694
|
s4 = null;
|
4625
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4695
|
+
if (peg$silentFails === 0) { peg$fail(peg$c91); }
|
4626
4696
|
}
|
4627
4697
|
if (s4 !== null) {
|
4628
4698
|
s2 = [s2, s3, s4];
|
@@ -4642,7 +4712,7 @@ Emblem.Parser = (function() {
|
|
4642
4712
|
}
|
4643
4713
|
if (s1 !== null) {
|
4644
4714
|
peg$reportedPos = s0;
|
4645
|
-
s1 = peg$
|
4715
|
+
s1 = peg$c92(s1);
|
4646
4716
|
}
|
4647
4717
|
if (s1 === null) {
|
4648
4718
|
peg$currPos = s0;
|
@@ -4671,7 +4741,7 @@ Emblem.Parser = (function() {
|
|
4671
4741
|
s3 = peg$parseactionValue();
|
4672
4742
|
if (s3 !== null) {
|
4673
4743
|
peg$reportedPos = s0;
|
4674
|
-
s1 = peg$
|
4744
|
+
s1 = peg$c156(s1, s3);
|
4675
4745
|
if (s1 === null) {
|
4676
4746
|
peg$currPos = s0;
|
4677
4747
|
s0 = s1;
|
@@ -4708,25 +4778,25 @@ Emblem.Parser = (function() {
|
|
4708
4778
|
if (peg$silentFails === 0) { peg$fail(peg$c5); }
|
4709
4779
|
}
|
4710
4780
|
if (s2 !== null) {
|
4711
|
-
if (input.substr(peg$currPos, 4) === peg$
|
4712
|
-
s3 = peg$
|
4781
|
+
if (input.substr(peg$currPos, 4) === peg$c78) {
|
4782
|
+
s3 = peg$c78;
|
4713
4783
|
peg$currPos += 4;
|
4714
4784
|
} else {
|
4715
4785
|
s3 = null;
|
4716
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4786
|
+
if (peg$silentFails === 0) { peg$fail(peg$c79); }
|
4717
4787
|
}
|
4718
4788
|
if (s3 === null) {
|
4719
|
-
if (input.substr(peg$currPos, 5) === peg$
|
4720
|
-
s3 = peg$
|
4789
|
+
if (input.substr(peg$currPos, 5) === peg$c80) {
|
4790
|
+
s3 = peg$c80;
|
4721
4791
|
peg$currPos += 5;
|
4722
4792
|
} else {
|
4723
4793
|
s3 = null;
|
4724
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4794
|
+
if (peg$silentFails === 0) { peg$fail(peg$c81); }
|
4725
4795
|
}
|
4726
4796
|
}
|
4727
4797
|
if (s3 !== null) {
|
4728
4798
|
peg$reportedPos = s0;
|
4729
|
-
s1 = peg$
|
4799
|
+
s1 = peg$c157(s1, s3);
|
4730
4800
|
if (s1 === null) {
|
4731
4801
|
peg$currPos = s0;
|
4732
4802
|
s0 = s1;
|
@@ -4754,11 +4824,11 @@ Emblem.Parser = (function() {
|
|
4754
4824
|
|
4755
4825
|
s0 = peg$currPos;
|
4756
4826
|
if (input.charCodeAt(peg$currPos) === 123) {
|
4757
|
-
s1 = peg$
|
4827
|
+
s1 = peg$c108;
|
4758
4828
|
peg$currPos++;
|
4759
4829
|
} else {
|
4760
4830
|
s1 = null;
|
4761
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4831
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
4762
4832
|
}
|
4763
4833
|
if (s1 !== null) {
|
4764
4834
|
s2 = peg$parse_();
|
@@ -4800,15 +4870,15 @@ Emblem.Parser = (function() {
|
|
4800
4870
|
s4 = peg$parse_();
|
4801
4871
|
if (s4 !== null) {
|
4802
4872
|
if (input.charCodeAt(peg$currPos) === 125) {
|
4803
|
-
s5 = peg$
|
4873
|
+
s5 = peg$c125;
|
4804
4874
|
peg$currPos++;
|
4805
4875
|
} else {
|
4806
4876
|
s5 = null;
|
4807
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4877
|
+
if (peg$silentFails === 0) { peg$fail(peg$c126); }
|
4808
4878
|
}
|
4809
4879
|
if (s5 !== null) {
|
4810
4880
|
peg$reportedPos = s0;
|
4811
|
-
s1 = peg$
|
4881
|
+
s1 = peg$c158(s3);
|
4812
4882
|
if (s1 === null) {
|
4813
4883
|
peg$currPos = s0;
|
4814
4884
|
s0 = s1;
|
@@ -4875,11 +4945,11 @@ Emblem.Parser = (function() {
|
|
4875
4945
|
s4 = peg$currPos;
|
4876
4946
|
peg$silentFails++;
|
4877
4947
|
if (input.charCodeAt(peg$currPos) === 33) {
|
4878
|
-
s5 = peg$
|
4948
|
+
s5 = peg$c159;
|
4879
4949
|
peg$currPos++;
|
4880
4950
|
} else {
|
4881
4951
|
s5 = null;
|
4882
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
4952
|
+
if (peg$silentFails === 0) { peg$fail(peg$c160); }
|
4883
4953
|
}
|
4884
4954
|
peg$silentFails--;
|
4885
4955
|
if (s5 === null) {
|
@@ -4890,7 +4960,7 @@ Emblem.Parser = (function() {
|
|
4890
4960
|
}
|
4891
4961
|
if (s4 !== null) {
|
4892
4962
|
peg$reportedPos = peg$currPos;
|
4893
|
-
s5 = peg$
|
4963
|
+
s5 = peg$c161(s1, s3);
|
4894
4964
|
if (s5) {
|
4895
4965
|
s5 = peg$c1;
|
4896
4966
|
} else {
|
@@ -4898,7 +4968,7 @@ Emblem.Parser = (function() {
|
|
4898
4968
|
}
|
4899
4969
|
if (s5 !== null) {
|
4900
4970
|
peg$reportedPos = s0;
|
4901
|
-
s1 = peg$
|
4971
|
+
s1 = peg$c162(s1, s3);
|
4902
4972
|
if (s1 === null) {
|
4903
4973
|
peg$currPos = s0;
|
4904
4974
|
s0 = s1;
|
@@ -4946,7 +5016,7 @@ Emblem.Parser = (function() {
|
|
4946
5016
|
s3 = peg$parsepathIdNode();
|
4947
5017
|
if (s3 !== null) {
|
4948
5018
|
peg$reportedPos = s0;
|
4949
|
-
s1 = peg$
|
5019
|
+
s1 = peg$c163(s1, s3);
|
4950
5020
|
if (s1 === null) {
|
4951
5021
|
peg$currPos = s0;
|
4952
5022
|
s0 = s1;
|
@@ -4986,7 +5056,7 @@ Emblem.Parser = (function() {
|
|
4986
5056
|
s3 = peg$parseattributeTextNodes();
|
4987
5057
|
if (s3 !== null) {
|
4988
5058
|
peg$reportedPos = s0;
|
4989
|
-
s1 = peg$
|
5059
|
+
s1 = peg$c164(s1, s3);
|
4990
5060
|
if (s1 === null) {
|
4991
5061
|
peg$currPos = s0;
|
4992
5062
|
s0 = s1;
|
@@ -5032,28 +5102,28 @@ Emblem.Parser = (function() {
|
|
5032
5102
|
|
5033
5103
|
s0 = peg$parsealpha();
|
5034
5104
|
if (s0 === null) {
|
5035
|
-
if (peg$
|
5105
|
+
if (peg$c85.test(input.charAt(peg$currPos))) {
|
5036
5106
|
s0 = input.charAt(peg$currPos);
|
5037
5107
|
peg$currPos++;
|
5038
5108
|
} else {
|
5039
5109
|
s0 = null;
|
5040
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5110
|
+
if (peg$silentFails === 0) { peg$fail(peg$c86); }
|
5041
5111
|
}
|
5042
5112
|
if (s0 === null) {
|
5043
5113
|
if (input.charCodeAt(peg$currPos) === 95) {
|
5044
|
-
s0 = peg$
|
5114
|
+
s0 = peg$c165;
|
5045
5115
|
peg$currPos++;
|
5046
5116
|
} else {
|
5047
5117
|
s0 = null;
|
5048
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5118
|
+
if (peg$silentFails === 0) { peg$fail(peg$c166); }
|
5049
5119
|
}
|
5050
5120
|
if (s0 === null) {
|
5051
5121
|
if (input.charCodeAt(peg$currPos) === 45) {
|
5052
|
-
s0 = peg$
|
5122
|
+
s0 = peg$c83;
|
5053
5123
|
peg$currPos++;
|
5054
5124
|
} else {
|
5055
5125
|
s0 = null;
|
5056
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5126
|
+
if (peg$silentFails === 0) { peg$fail(peg$c84); }
|
5057
5127
|
}
|
5058
5128
|
}
|
5059
5129
|
}
|
@@ -5067,11 +5137,11 @@ Emblem.Parser = (function() {
|
|
5067
5137
|
|
5068
5138
|
s0 = peg$currPos;
|
5069
5139
|
if (input.charCodeAt(peg$currPos) === 37) {
|
5070
|
-
s1 = peg$
|
5140
|
+
s1 = peg$c167;
|
5071
5141
|
peg$currPos++;
|
5072
5142
|
} else {
|
5073
5143
|
s1 = null;
|
5074
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5144
|
+
if (peg$silentFails === 0) { peg$fail(peg$c168); }
|
5075
5145
|
}
|
5076
5146
|
if (s1 !== null) {
|
5077
5147
|
s2 = peg$parsecssIdentifier();
|
@@ -5101,17 +5171,17 @@ Emblem.Parser = (function() {
|
|
5101
5171
|
|
5102
5172
|
s0 = peg$currPos;
|
5103
5173
|
if (input.charCodeAt(peg$currPos) === 35) {
|
5104
|
-
s1 = peg$
|
5174
|
+
s1 = peg$c169;
|
5105
5175
|
peg$currPos++;
|
5106
5176
|
} else {
|
5107
5177
|
s1 = null;
|
5108
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5178
|
+
if (peg$silentFails === 0) { peg$fail(peg$c170); }
|
5109
5179
|
}
|
5110
5180
|
if (s1 !== null) {
|
5111
5181
|
s2 = peg$parsecssIdentifier();
|
5112
5182
|
if (s2 !== null) {
|
5113
5183
|
peg$reportedPos = s0;
|
5114
|
-
s1 = peg$
|
5184
|
+
s1 = peg$c171(s2);
|
5115
5185
|
if (s1 === null) {
|
5116
5186
|
peg$currPos = s0;
|
5117
5187
|
s0 = s1;
|
@@ -5172,7 +5242,7 @@ Emblem.Parser = (function() {
|
|
5172
5242
|
peg$silentFails--;
|
5173
5243
|
if (s0 === null) {
|
5174
5244
|
s1 = null;
|
5175
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5245
|
+
if (peg$silentFails === 0) { peg$fail(peg$c172); }
|
5176
5246
|
}
|
5177
5247
|
|
5178
5248
|
return s0;
|
@@ -5199,12 +5269,12 @@ Emblem.Parser = (function() {
|
|
5199
5269
|
function peg$parsenmchar() {
|
5200
5270
|
var s0;
|
5201
5271
|
|
5202
|
-
if (peg$
|
5272
|
+
if (peg$c173.test(input.charAt(peg$currPos))) {
|
5203
5273
|
s0 = input.charAt(peg$currPos);
|
5204
5274
|
peg$currPos++;
|
5205
5275
|
} else {
|
5206
5276
|
s0 = null;
|
5207
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5277
|
+
if (peg$silentFails === 0) { peg$fail(peg$c174); }
|
5208
5278
|
}
|
5209
5279
|
if (s0 === null) {
|
5210
5280
|
s0 = peg$parsenonascii();
|
@@ -5216,12 +5286,12 @@ Emblem.Parser = (function() {
|
|
5216
5286
|
function peg$parsenmstart() {
|
5217
5287
|
var s0;
|
5218
5288
|
|
5219
|
-
if (peg$
|
5289
|
+
if (peg$c175.test(input.charAt(peg$currPos))) {
|
5220
5290
|
s0 = input.charAt(peg$currPos);
|
5221
5291
|
peg$currPos++;
|
5222
5292
|
} else {
|
5223
5293
|
s0 = null;
|
5224
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5294
|
+
if (peg$silentFails === 0) { peg$fail(peg$c176); }
|
5225
5295
|
}
|
5226
5296
|
if (s0 === null) {
|
5227
5297
|
s0 = peg$parsenonascii();
|
@@ -5233,12 +5303,12 @@ Emblem.Parser = (function() {
|
|
5233
5303
|
function peg$parsenonascii() {
|
5234
5304
|
var s0;
|
5235
5305
|
|
5236
|
-
if (peg$
|
5306
|
+
if (peg$c177.test(input.charAt(peg$currPos))) {
|
5237
5307
|
s0 = input.charAt(peg$currPos);
|
5238
5308
|
peg$currPos++;
|
5239
5309
|
} else {
|
5240
5310
|
s0 = null;
|
5241
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5311
|
+
if (peg$silentFails === 0) { peg$fail(peg$c178); }
|
5242
5312
|
}
|
5243
5313
|
|
5244
5314
|
return s0;
|
@@ -5272,11 +5342,11 @@ Emblem.Parser = (function() {
|
|
5272
5342
|
peg$silentFails++;
|
5273
5343
|
s0 = peg$currPos;
|
5274
5344
|
if (input.charCodeAt(peg$currPos) === 37) {
|
5275
|
-
s1 = peg$
|
5345
|
+
s1 = peg$c167;
|
5276
5346
|
peg$currPos++;
|
5277
5347
|
} else {
|
5278
5348
|
s1 = null;
|
5279
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5349
|
+
if (peg$silentFails === 0) { peg$fail(peg$c168); }
|
5280
5350
|
}
|
5281
5351
|
if (s1 !== null) {
|
5282
5352
|
s2 = peg$parse_();
|
@@ -5309,7 +5379,7 @@ Emblem.Parser = (function() {
|
|
5309
5379
|
peg$silentFails--;
|
5310
5380
|
if (s0 === null) {
|
5311
5381
|
s1 = null;
|
5312
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5382
|
+
if (peg$silentFails === 0) { peg$fail(peg$c179); }
|
5313
5383
|
}
|
5314
5384
|
|
5315
5385
|
return s0;
|
@@ -5322,7 +5392,7 @@ Emblem.Parser = (function() {
|
|
5322
5392
|
s1 = peg$parsetagString();
|
5323
5393
|
if (s1 !== null) {
|
5324
5394
|
peg$reportedPos = peg$currPos;
|
5325
|
-
s2 = peg$
|
5395
|
+
s2 = peg$c180(s1);
|
5326
5396
|
if (s2) {
|
5327
5397
|
s2 = peg$c1;
|
5328
5398
|
} else {
|
@@ -5330,7 +5400,7 @@ Emblem.Parser = (function() {
|
|
5330
5400
|
}
|
5331
5401
|
if (s2 !== null) {
|
5332
5402
|
peg$reportedPos = s0;
|
5333
|
-
s1 = peg$
|
5403
|
+
s1 = peg$c181(s1);
|
5334
5404
|
if (s1 === null) {
|
5335
5405
|
peg$currPos = s0;
|
5336
5406
|
s0 = s1;
|
@@ -5352,12 +5422,12 @@ Emblem.Parser = (function() {
|
|
5352
5422
|
function peg$parsetagChar() {
|
5353
5423
|
var s0;
|
5354
5424
|
|
5355
|
-
if (peg$
|
5425
|
+
if (peg$c173.test(input.charAt(peg$currPos))) {
|
5356
5426
|
s0 = input.charAt(peg$currPos);
|
5357
5427
|
peg$currPos++;
|
5358
5428
|
} else {
|
5359
5429
|
s0 = null;
|
5360
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5430
|
+
if (peg$silentFails === 0) { peg$fail(peg$c174); }
|
5361
5431
|
}
|
5362
5432
|
if (s0 === null) {
|
5363
5433
|
s0 = peg$parsenonSeparatorColon();
|
@@ -5371,11 +5441,11 @@ Emblem.Parser = (function() {
|
|
5371
5441
|
|
5372
5442
|
s0 = peg$currPos;
|
5373
5443
|
if (input.charCodeAt(peg$currPos) === 58) {
|
5374
|
-
s1 = peg$
|
5444
|
+
s1 = peg$c64;
|
5375
5445
|
peg$currPos++;
|
5376
5446
|
} else {
|
5377
5447
|
s1 = null;
|
5378
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5448
|
+
if (peg$silentFails === 0) { peg$fail(peg$c65); }
|
5379
5449
|
}
|
5380
5450
|
if (s1 !== null) {
|
5381
5451
|
s2 = peg$currPos;
|
@@ -5423,7 +5493,7 @@ Emblem.Parser = (function() {
|
|
5423
5493
|
s1 = peg$parsetagString();
|
5424
5494
|
if (s1 !== null) {
|
5425
5495
|
peg$reportedPos = peg$currPos;
|
5426
|
-
s2 = peg$
|
5496
|
+
s2 = peg$c183(s1);
|
5427
5497
|
if (s2) {
|
5428
5498
|
s2 = peg$c1;
|
5429
5499
|
} else {
|
@@ -5431,7 +5501,7 @@ Emblem.Parser = (function() {
|
|
5431
5501
|
}
|
5432
5502
|
if (s2 !== null) {
|
5433
5503
|
peg$reportedPos = s0;
|
5434
|
-
s1 = peg$
|
5504
|
+
s1 = peg$c181(s1);
|
5435
5505
|
if (s1 === null) {
|
5436
5506
|
peg$currPos = s0;
|
5437
5507
|
s0 = s1;
|
@@ -5449,7 +5519,7 @@ Emblem.Parser = (function() {
|
|
5449
5519
|
peg$silentFails--;
|
5450
5520
|
if (s0 === null) {
|
5451
5521
|
s1 = null;
|
5452
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5522
|
+
if (peg$silentFails === 0) { peg$fail(peg$c182); }
|
5453
5523
|
}
|
5454
5524
|
|
5455
5525
|
return s0;
|
@@ -5489,15 +5559,15 @@ Emblem.Parser = (function() {
|
|
5489
5559
|
peg$silentFails++;
|
5490
5560
|
s0 = peg$currPos;
|
5491
5561
|
if (input.charCodeAt(peg$currPos) === 61423) {
|
5492
|
-
s1 = peg$
|
5562
|
+
s1 = peg$c185;
|
5493
5563
|
peg$currPos++;
|
5494
5564
|
} else {
|
5495
5565
|
s1 = null;
|
5496
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5566
|
+
if (peg$silentFails === 0) { peg$fail(peg$c186); }
|
5497
5567
|
}
|
5498
5568
|
if (s1 !== null) {
|
5499
5569
|
peg$reportedPos = s0;
|
5500
|
-
s1 = peg$
|
5570
|
+
s1 = peg$c187();
|
5501
5571
|
}
|
5502
5572
|
if (s1 === null) {
|
5503
5573
|
peg$currPos = s0;
|
@@ -5508,7 +5578,7 @@ Emblem.Parser = (function() {
|
|
5508
5578
|
peg$silentFails--;
|
5509
5579
|
if (s0 === null) {
|
5510
5580
|
s1 = null;
|
5511
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5581
|
+
if (peg$silentFails === 0) { peg$fail(peg$c184); }
|
5512
5582
|
}
|
5513
5583
|
|
5514
5584
|
return s0;
|
@@ -5520,15 +5590,15 @@ Emblem.Parser = (function() {
|
|
5520
5590
|
peg$silentFails++;
|
5521
5591
|
s0 = peg$currPos;
|
5522
5592
|
if (input.charCodeAt(peg$currPos) === 61438) {
|
5523
|
-
s1 = peg$
|
5593
|
+
s1 = peg$c189;
|
5524
5594
|
peg$currPos++;
|
5525
5595
|
} else {
|
5526
5596
|
s1 = null;
|
5527
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5597
|
+
if (peg$silentFails === 0) { peg$fail(peg$c190); }
|
5528
5598
|
}
|
5529
5599
|
if (s1 !== null) {
|
5530
5600
|
peg$reportedPos = s0;
|
5531
|
-
s1 = peg$
|
5601
|
+
s1 = peg$c187();
|
5532
5602
|
}
|
5533
5603
|
if (s1 === null) {
|
5534
5604
|
peg$currPos = s0;
|
@@ -5539,7 +5609,7 @@ Emblem.Parser = (function() {
|
|
5539
5609
|
peg$silentFails--;
|
5540
5610
|
if (s0 === null) {
|
5541
5611
|
s1 = null;
|
5542
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5612
|
+
if (peg$silentFails === 0) { peg$fail(peg$c188); }
|
5543
5613
|
}
|
5544
5614
|
|
5545
5615
|
return s0;
|
@@ -5551,15 +5621,15 @@ Emblem.Parser = (function() {
|
|
5551
5621
|
peg$silentFails++;
|
5552
5622
|
s0 = peg$currPos;
|
5553
5623
|
if (input.charCodeAt(peg$currPos) === 61422) {
|
5554
|
-
s1 = peg$
|
5624
|
+
s1 = peg$c192;
|
5555
5625
|
peg$currPos++;
|
5556
5626
|
} else {
|
5557
5627
|
s1 = null;
|
5558
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5628
|
+
if (peg$silentFails === 0) { peg$fail(peg$c193); }
|
5559
5629
|
}
|
5560
5630
|
if (s1 !== null) {
|
5561
5631
|
peg$reportedPos = s0;
|
5562
|
-
s1 = peg$
|
5632
|
+
s1 = peg$c187();
|
5563
5633
|
}
|
5564
5634
|
if (s1 === null) {
|
5565
5635
|
peg$currPos = s0;
|
@@ -5570,7 +5640,7 @@ Emblem.Parser = (function() {
|
|
5570
5640
|
peg$silentFails--;
|
5571
5641
|
if (s0 === null) {
|
5572
5642
|
s1 = null;
|
5573
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5643
|
+
if (peg$silentFails === 0) { peg$fail(peg$c191); }
|
5574
5644
|
}
|
5575
5645
|
|
5576
5646
|
return s0;
|
@@ -5582,34 +5652,34 @@ Emblem.Parser = (function() {
|
|
5582
5652
|
peg$silentFails++;
|
5583
5653
|
s0 = peg$currPos;
|
5584
5654
|
if (input.charCodeAt(peg$currPos) === 13) {
|
5585
|
-
s1 = peg$
|
5655
|
+
s1 = peg$c195;
|
5586
5656
|
peg$currPos++;
|
5587
5657
|
} else {
|
5588
5658
|
s1 = null;
|
5589
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5659
|
+
if (peg$silentFails === 0) { peg$fail(peg$c196); }
|
5590
5660
|
}
|
5591
5661
|
if (s1 === null) {
|
5592
5662
|
s1 = peg$c1;
|
5593
5663
|
}
|
5594
5664
|
if (s1 !== null) {
|
5595
5665
|
if (input.charCodeAt(peg$currPos) === 61439) {
|
5596
|
-
s2 = peg$
|
5666
|
+
s2 = peg$c197;
|
5597
5667
|
peg$currPos++;
|
5598
5668
|
} else {
|
5599
5669
|
s2 = null;
|
5600
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5670
|
+
if (peg$silentFails === 0) { peg$fail(peg$c198); }
|
5601
5671
|
}
|
5602
5672
|
if (s2 !== null) {
|
5603
5673
|
if (input.charCodeAt(peg$currPos) === 10) {
|
5604
|
-
s3 = peg$
|
5674
|
+
s3 = peg$c199;
|
5605
5675
|
peg$currPos++;
|
5606
5676
|
} else {
|
5607
5677
|
s3 = null;
|
5608
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5678
|
+
if (peg$silentFails === 0) { peg$fail(peg$c200); }
|
5609
5679
|
}
|
5610
5680
|
if (s3 !== null) {
|
5611
5681
|
peg$reportedPos = s0;
|
5612
|
-
s1 = peg$
|
5682
|
+
s1 = peg$c145();
|
5613
5683
|
if (s1 === null) {
|
5614
5684
|
peg$currPos = s0;
|
5615
5685
|
s0 = s1;
|
@@ -5631,7 +5701,7 @@ Emblem.Parser = (function() {
|
|
5631
5701
|
peg$silentFails--;
|
5632
5702
|
if (s0 === null) {
|
5633
5703
|
s1 = null;
|
5634
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5704
|
+
if (peg$silentFails === 0) { peg$fail(peg$c194); }
|
5635
5705
|
}
|
5636
5706
|
|
5637
5707
|
return s0;
|
@@ -5648,7 +5718,7 @@ Emblem.Parser = (function() {
|
|
5648
5718
|
peg$silentFails--;
|
5649
5719
|
if (s0 === null) {
|
5650
5720
|
s1 = null;
|
5651
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5721
|
+
if (peg$silentFails === 0) { peg$fail(peg$c201); }
|
5652
5722
|
}
|
5653
5723
|
|
5654
5724
|
return s0;
|
@@ -5676,7 +5746,7 @@ Emblem.Parser = (function() {
|
|
5676
5746
|
peg$silentFails--;
|
5677
5747
|
if (s0 === null) {
|
5678
5748
|
s1 = null;
|
5679
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5749
|
+
if (peg$silentFails === 0) { peg$fail(peg$c202); }
|
5680
5750
|
}
|
5681
5751
|
|
5682
5752
|
return s0;
|
@@ -5695,7 +5765,7 @@ Emblem.Parser = (function() {
|
|
5695
5765
|
peg$silentFails--;
|
5696
5766
|
if (s0 === null) {
|
5697
5767
|
s1 = null;
|
5698
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5768
|
+
if (peg$silentFails === 0) { peg$fail(peg$c203); }
|
5699
5769
|
}
|
5700
5770
|
|
5701
5771
|
return s0;
|
@@ -5705,17 +5775,17 @@ Emblem.Parser = (function() {
|
|
5705
5775
|
var s0, s1;
|
5706
5776
|
|
5707
5777
|
peg$silentFails++;
|
5708
|
-
if (peg$
|
5778
|
+
if (peg$c205.test(input.charAt(peg$currPos))) {
|
5709
5779
|
s0 = input.charAt(peg$currPos);
|
5710
5780
|
peg$currPos++;
|
5711
5781
|
} else {
|
5712
5782
|
s0 = null;
|
5713
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5783
|
+
if (peg$silentFails === 0) { peg$fail(peg$c206); }
|
5714
5784
|
}
|
5715
5785
|
peg$silentFails--;
|
5716
5786
|
if (s0 === null) {
|
5717
5787
|
s1 = null;
|
5718
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5788
|
+
if (peg$silentFails === 0) { peg$fail(peg$c204); }
|
5719
5789
|
}
|
5720
5790
|
|
5721
5791
|
return s0;
|
@@ -5747,7 +5817,7 @@ Emblem.Parser = (function() {
|
|
5747
5817
|
peg$currPos++;
|
5748
5818
|
} else {
|
5749
5819
|
s2 = null;
|
5750
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
5820
|
+
if (peg$silentFails === 0) { peg$fail(peg$c116); }
|
5751
5821
|
}
|
5752
5822
|
if (s2 !== null) {
|
5753
5823
|
peg$reportedPos = s0;
|