MCPcopy
hub / github.com/pegjs/pegjs / peg$parseComment

Function peg$parseComment

lib/parser.js:1529–1544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1527 }
1528
1529 function peg$parseComment() {
1530 var s0, s1;
1531
1532 peg$silentFails++;
1533 s0 = peg$parseMultiLineComment();
1534 if (s0 === peg$FAILED) {
1535 s0 = peg$parseSingleLineComment();
1536 }
1537 peg$silentFails--;
1538 if (s0 === peg$FAILED) {
1539 s1 = peg$FAILED;
1540 if (peg$silentFails === 0) { peg$fail(peg$c61); }
1541 }
1542
1543 return s0;
1544 }
1545
1546 function peg$parseMultiLineComment() {
1547 var s0, s1, s2, s3, s4, s5;

Callers 1

peg$parse__Function · 0.85

Calls 3

peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…