MCPcopy Create free account
hub / github.com/aradzie/keybr.com / peg$parseComment

Function peg$parseComment

packages/keybr-code/lib/parser.js:1260–1275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1258 }
1259
1260 function peg$parseComment() {
1261 let s0, s1;
1262
1263 peg$silentFails++;
1264 s0 = peg$parseSingleLineComment();
1265 if (s0 === peg$FAILED) {
1266 s0 = peg$parseMultiLineComment();
1267 }
1268 peg$silentFails--;
1269 if (s0 === peg$FAILED) {
1270 s1 = peg$FAILED;
1271 if (peg$silentFails === 0) { peg$fail(peg$e29); }
1272 }
1273
1274 return s0;
1275 }
1276
1277 function peg$parseSingleLineComment() {
1278 let 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