MCPcopy Create free account
hub / github.com/codemix/htmling / peg$parseMUTE_TEMPLATE_CONTENT

Function peg$parseMUTE_TEMPLATE_CONTENT

lib/parser.js:1489–1609  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1487 }
1488
1489 function peg$parseMUTE_TEMPLATE_CONTENT() {
1490 var s0, s1, s2, s3, s4;
1491
1492 peg$silentFails++;
1493 s0 = peg$currPos;
1494 s1 = [];
1495 s2 = peg$parseMUTE_TEMPLATE();
1496 if (s2 === peg$FAILED) {
1497 s2 = peg$currPos;
1498 s3 = peg$currPos;
1499 peg$silentFails++;
1500 if (input.substr(peg$currPos, 11) === peg$c6) {
1501 s4 = peg$c6;
1502 peg$currPos += 11;
1503 } else {
1504 s4 = peg$FAILED;
1505 if (peg$silentFails === 0) { peg$fail(peg$c7); }
1506 }
1507 if (s4 === peg$FAILED) {
1508 if (input.substr(peg$currPos, 9) === peg$c18) {
1509 s4 = peg$c18;
1510 peg$currPos += 9;
1511 } else {
1512 s4 = peg$FAILED;
1513 if (peg$silentFails === 0) { peg$fail(peg$c19); }
1514 }
1515 }
1516 peg$silentFails--;
1517 if (s4 === peg$FAILED) {
1518 s3 = peg$c5;
1519 } else {
1520 peg$currPos = s3;
1521 s3 = peg$c3;
1522 }
1523 if (s3 !== peg$FAILED) {
1524 if (input.length > peg$currPos) {
1525 s4 = input.charAt(peg$currPos);
1526 peg$currPos++;
1527 } else {
1528 s4 = peg$FAILED;
1529 if (peg$silentFails === 0) { peg$fail(peg$c14); }
1530 }
1531 if (s4 !== peg$FAILED) {
1532 s3 = [s3, s4];
1533 s2 = s3;
1534 } else {
1535 peg$currPos = s2;
1536 s2 = peg$c3;
1537 }
1538 } else {
1539 peg$currPos = s2;
1540 s2 = peg$c3;
1541 }
1542 }
1543 if (s2 !== peg$FAILED) {
1544 while (s2 !== peg$FAILED) {
1545 s1.push(s2);
1546 s2 = peg$parseMUTE_TEMPLATE();

Callers 1

peg$parseMUTE_TEMPLATEFunction · 0.85

Calls 2

peg$parseMUTE_TEMPLATEFunction · 0.85
peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…