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

Function peg$parseMUTE_TEMPLATE

lib/parser.js:1408–1487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1406 }
1407
1408 function peg$parseMUTE_TEMPLATE() {
1409 var s0, s1, s2, s3, s4, s5, s6, s7;
1410
1411 peg$silentFails++;
1412 s0 = peg$currPos;
1413 s1 = peg$currPos;
1414 if (input.substr(peg$currPos, 9) === peg$c18) {
1415 s2 = peg$c18;
1416 peg$currPos += 9;
1417 } else {
1418 s2 = peg$FAILED;
1419 if (peg$silentFails === 0) { peg$fail(peg$c19); }
1420 }
1421 if (s2 !== peg$FAILED) {
1422 s3 = peg$parseRAW_ATTRIBUTES();
1423 if (s3 === peg$FAILED) {
1424 s3 = peg$c0;
1425 }
1426 if (s3 !== peg$FAILED) {
1427 s4 = peg$parse_();
1428 if (s4 !== peg$FAILED) {
1429 if (input.charCodeAt(peg$currPos) === 62) {
1430 s5 = peg$c21;
1431 peg$currPos++;
1432 } else {
1433 s5 = peg$FAILED;
1434 if (peg$silentFails === 0) { peg$fail(peg$c22); }
1435 }
1436 if (s5 !== peg$FAILED) {
1437 s6 = peg$parseMUTE_TEMPLATE_CONTENT();
1438 if (s6 === peg$FAILED) {
1439 s6 = peg$c0;
1440 }
1441 if (s6 !== peg$FAILED) {
1442 if (input.substr(peg$currPos, 11) === peg$c6) {
1443 s7 = peg$c6;
1444 peg$currPos += 11;
1445 } else {
1446 s7 = peg$FAILED;
1447 if (peg$silentFails === 0) { peg$fail(peg$c7); }
1448 }
1449 if (s7 !== peg$FAILED) {
1450 s2 = [s2, s3, s4, s5, s6, s7];
1451 s1 = s2;
1452 } else {
1453 peg$currPos = s1;
1454 s1 = peg$c3;
1455 }
1456 } else {
1457 peg$currPos = s1;
1458 s1 = peg$c3;
1459 }
1460 } else {
1461 peg$currPos = s1;
1462 s1 = peg$c3;
1463 }
1464 } else {
1465 peg$currPos = s1;

Callers 2

Calls 4

peg$failFunction · 0.85
peg$parseRAW_ATTRIBUTESFunction · 0.85
peg$parse_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…