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

Function peg$parseCOMMENT

lib/parser.js:1279–1296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1277 }
1278
1279 function peg$parseCOMMENT() {
1280 var s0, s1, s2;
1281
1282 s0 = peg$currPos;
1283 s1 = peg$currPos;
1284 s2 = peg$parseComment();
1285 if (s2 !== peg$FAILED) {
1286 s2 = input.substring(s1, peg$currPos);
1287 }
1288 s1 = s2;
1289 if (s1 !== peg$FAILED) {
1290 peg$reportedPos = s0;
1291 s1 = peg$c16(s1);
1292 }
1293 s0 = s1;
1294
1295 return s0;
1296 }
1297
1298 function peg$parseTEMPLATE_ELEMENT() {
1299 var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;

Callers 1

peg$parseHTMLFunction · 0.85

Calls 2

peg$parseCommentFunction · 0.85
peg$c16Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…