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

Function peg$parseComment

lib/parser.js:3106–3121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3104 }
3105
3106 function peg$parseComment() {
3107 var s0, s1;
3108
3109 peg$silentFails++;
3110 s0 = peg$parseMultiLineComment();
3111 if (s0 === peg$FAILED) {
3112 s0 = peg$parseSingleLineComment();
3113 }
3114 peg$silentFails--;
3115 if (s0 === peg$FAILED) {
3116 s1 = peg$FAILED;
3117 if (peg$silentFails === 0) { peg$fail(peg$c106); }
3118 }
3119
3120 return s0;
3121 }
3122
3123 function peg$parseMultiLineComment() {
3124 var s0, s1, s2, s3, s4, s5;

Callers 2

peg$parseCOMMENTFunction · 0.85
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…