()
| 1373 | } |
| 1374 | |
| 1375 | function peg$parseMultiLineComment() { |
| 1376 | let s0, s1, s2, s3, s4, s5; |
| 1377 | |
| 1378 | s0 = peg$currPos; |
| 1379 | if (input.substr(peg$currPos, 2) === peg$c23) { |
| 1380 | s1 = peg$c23; |
| 1381 | peg$currPos += 2; |
| 1382 | } else { |
| 1383 | s1 = peg$FAILED; |
| 1384 | if (peg$silentFails === 0) { peg$fail(peg$e33); } |
| 1385 | } |
| 1386 | if (s1 !== peg$FAILED) { |
| 1387 | s2 = []; |
| 1388 | s3 = peg$currPos; |
| 1389 | s4 = peg$currPos; |
| 1390 | peg$silentFails++; |
| 1391 | if (input.substr(peg$currPos, 2) === peg$c24) { |
| 1392 | s5 = peg$c24; |
| 1393 | peg$currPos += 2; |
| 1394 | } else { |
| 1395 | s5 = peg$FAILED; |
| 1396 | if (peg$silentFails === 0) { peg$fail(peg$e34); } |
| 1397 | } |
| 1398 | peg$silentFails--; |
| 1399 | if (s5 === peg$FAILED) { |
| 1400 | s4 = undefined; |
| 1401 | } else { |
| 1402 | peg$currPos = s4; |
| 1403 | s4 = peg$FAILED; |
| 1404 | } |
| 1405 | if (s4 !== peg$FAILED) { |
| 1406 | if (input.length > peg$currPos) { |
| 1407 | s5 = input.charAt(peg$currPos); |
| 1408 | peg$currPos++; |
| 1409 | } else { |
| 1410 | s5 = peg$FAILED; |
| 1411 | if (peg$silentFails === 0) { peg$fail(peg$e32); } |
| 1412 | } |
| 1413 | if (s5 !== peg$FAILED) { |
| 1414 | s4 = [s4, s5]; |
| 1415 | s3 = s4; |
| 1416 | } else { |
| 1417 | peg$currPos = s3; |
| 1418 | s3 = peg$FAILED; |
| 1419 | } |
| 1420 | } else { |
| 1421 | peg$currPos = s3; |
| 1422 | s3 = peg$FAILED; |
| 1423 | } |
| 1424 | while (s3 !== peg$FAILED) { |
| 1425 | s2.push(s3); |
| 1426 | s3 = peg$currPos; |
| 1427 | s4 = peg$currPos; |
| 1428 | peg$silentFails++; |
| 1429 | if (input.substr(peg$currPos, 2) === peg$c24) { |
| 1430 | s5 = peg$c24; |
| 1431 | peg$currPos += 2; |
| 1432 | } else { |
no test coverage detected