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

Function peg$parseRAW

lib/parser.js:1079–1277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1077 }
1078
1079 function peg$parseRAW() {
1080 var s0, s1, s2, s3, s4, s5;
1081
1082 peg$silentFails++;
1083 s0 = peg$currPos;
1084 s1 = peg$currPos;
1085 s2 = [];
1086 s3 = peg$currPos;
1087 s4 = peg$currPos;
1088 peg$silentFails++;
1089 s5 = peg$parseTEMPLATE_ELEMENT();
1090 if (s5 === peg$FAILED) {
1091 s5 = peg$parseCUSTOM_ELEMENT();
1092 if (s5 === peg$FAILED) {
1093 s5 = peg$parseCONTENT_ELEMENT();
1094 if (s5 === peg$FAILED) {
1095 s5 = peg$parseINCLUDE_ELEMENT();
1096 if (s5 === peg$FAILED) {
1097 s5 = peg$parseOUTPUT_STATEMENT();
1098 if (s5 === peg$FAILED) {
1099 s5 = peg$parseSCRIPT_ELEMENT();
1100 if (s5 === peg$FAILED) {
1101 if (input.substr(peg$currPos, 11) === peg$c6) {
1102 s5 = peg$c6;
1103 peg$currPos += 11;
1104 } else {
1105 s5 = peg$FAILED;
1106 if (peg$silentFails === 0) { peg$fail(peg$c7); }
1107 }
1108 if (s5 === peg$FAILED) {
1109 if (input.substr(peg$currPos, 10) === peg$c8) {
1110 s5 = peg$c8;
1111 peg$currPos += 10;
1112 } else {
1113 s5 = peg$FAILED;
1114 if (peg$silentFails === 0) { peg$fail(peg$c9); }
1115 }
1116 if (s5 === peg$FAILED) {
1117 if (input.substr(peg$currPos, 10) === peg$c10) {
1118 s5 = peg$c10;
1119 peg$currPos += 10;
1120 } else {
1121 s5 = peg$FAILED;
1122 if (peg$silentFails === 0) { peg$fail(peg$c11); }
1123 }
1124 if (s5 === peg$FAILED) {
1125 if (input.substr(peg$currPos, 9) === peg$c12) {
1126 s5 = peg$c12;
1127 peg$currPos += 9;
1128 } else {
1129 s5 = peg$FAILED;
1130 if (peg$silentFails === 0) { peg$fail(peg$c13); }
1131 }
1132 if (s5 === peg$FAILED) {
1133 s5 = peg$parseCustomElementEnder();
1134 }
1135 }
1136 }

Callers 1

peg$parseHTMLFunction · 0.85

Calls 9

peg$parseCUSTOM_ELEMENTFunction · 0.85
peg$parseCONTENT_ELEMENTFunction · 0.85
peg$parseINCLUDE_ELEMENTFunction · 0.85
peg$parseSCRIPT_ELEMENTFunction · 0.85
peg$failFunction · 0.85
peg$c15Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…